TestForwardOfflineVoip Class Reference

Inheritance diagram for TestForwardOfflineVoip:

TestCase TestUnit TestConfigurationContainer

List of all members.


Detailed Description

Scenario: forwarding on offline test (voip).

A caller a calls an user b who is not online and not registered but subscribed in the database. User a is forwarded to another voip number.

Call flow:

 		caller a        sip-router       callee c
 		|               |               |                                                               
 		| (1) INVITE    |               |                                                               
 		| ============> |               |                                                               
 		|  (2) 407      |               |                                                               
 		| <============ |               |                                                               
 		|  (3) ACK      |               |                                                               
 		| ============> |               |                                                               
 		| (4) INVITE    |               |                                                               
 		| ============> |               |                                                               
 		|               |  (5) INVITE   |                                                               
 		|               | ============> |                                                               
 		|               |  (6) 100      |                                                               
 		|               | <============ |                                                               
 		| (7) 100       |               |                                                               
 		| <============ |               |                                                               
 		|               |  (8) 200      |                                                               
 		|               | <============ |                                                               
 		|  (9) 200      |               |                                                               
 		| <============ |               |                                                               
 		|  (10) ACK     |               |                                                               
 		| ============> |               |                                                               
 		|               |  (11) ACK     |                                                               
 		|               | ============> |                                                               
 		|               |  (12) BYE     |                                                               
 		|               | <============ |                                                               
 		| (13) BYE      |               |                                                               
 		| <============ |               |                                                               
 		|  (14) 200     |               |                                                               
 		| ============> |               |                                                               
 		|               |  (14) 200     |                                                               
 		|               | ============> |                                                               
 	

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

Definition at line 70 of file TestForwardOfflineVoip.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 73 of file TestForwardOfflineVoip.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 84 of file TestForwardOfflineVoip.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