TestBasicCancel Class Reference

Inheritance diagram for TestBasicCancel:

TestCase TestUnit TestConfigurationContainer

List of all members.


Detailed Description

Scenario: basic test: cancel.

This scenario simulates an ordinary call which is cancelled by the caller.

Call flow:

 		caller a          sipProxy        callee c
 		|               |               |
 		| (1) INVITE    |               |
 		| =============>|               |
 		|               | (2) INVITE    |
 		|               | ============> |
 		| (3) 100       |               |
 		| <=============|               |
 		|               | (4) 180       |
 		|               | <============ |
 		| (5) 180       |               |
 		| <=============|               |
 		| (6) CANCEL    |               |
 		| ============> |               |
 		|               | (7) CANCEL    |
 		|               | ============> |
 		|               | (8) 487       |
 		|               |<============= |
 		| (9) 487       |               |
 		| <=============|               |
 		| (10) ACK      |               |
 		| ============> |               |
 		|               | (11) ACK      |
 		|               | ============> |
 		|               | (12) 200 OK   |
 		|               |<============= |
 		| (13) 200 OK   |               |
 		| <=============|               |
 	

Author:
Enrico Hartung <enrico@iptel.org>
License:
GPL

Definition at line 64 of file TestBasicCancel.py.


Public Member Functions

def initTestCase
 This function is expected to be overridden by the child class.
def test
 Abstract method for implementation of the scenario to test.

Member Function Documentation

def initTestCase (   self  ) 

This function is expected to be overridden by the child class.

Here the files to adopted have to be defined.

Reimplemented from TestCase.

Definition at line 66 of file TestBasicCancel.py.

def test (   self  ) 

Abstract method for implementation of the scenario to test.

This method is supposed to be overwritten by the child class including the scenario.

In this method access to configuration data is offered (see core.testenv.TestConfigurationContainer).

Reimplemented from TestCase.

Definition at line 77 of file TestBasicCancel.py.


The documentation for this class was generated from the following file:

Generated on Mon Aug 11 17:28:34 2008 for TestEnv by  doxygen 1.5.5