Test Class Reference

List of all members.


Detailed Description

Storage class for a single test from a scenario.

Author:
Enrico Hartung <enrico@iptel.org>

Monica Sarbu <monica@iptel.org>

License:
GPL

Definition at line 27 of file Test.py.


Public Member Functions

def __init__
 Init function for a Test.
def set
 Generic setter for the protected attributes of an object of this class.
def get
 Generic getter for the protected attributes of an object of this class.
def add
 Generic adder for the protected attributes of an object of this class.
def __str__
 Return string representation of this object.

Private Attributes

 _method
 _from
 _to
 _desc
 _hangup
 _cancel
 _static
 _password
 _service
 _target
 _host
 _l
 _m
 _r
 _sigcomp_from
 _sigcomp_to
 _check
 _timeout

Static Private Attributes

string _method = ""
string _xml = ""
string _password = ""
string _from = ""
string _to = ""
string _static = "no"
string _hangup = ""
string _cancel = "no"
string _service = ""
string _host = ""
string _target = ""
string _sigcomp_from = "no"
string _sigcomp_to = "no"
string _l = "1"
string _m = "1"
string _r = "10"
list _check = []
string _desc = ""
int _timeout = 0

Member Function Documentation

def __init__ (   self  ) 

Init function for a Test.

Definition at line 90 of file Test.py.

def set (   self,
  name,
  value 
)

Generic setter for the protected attributes of an object of this class.

Parameters:
name name of attribute without '_' (string)
value value the attribute should be set to (void)

Definition at line 118 of file Test.py.

def get (   self,
  name 
)

Generic getter for the protected attributes of an object of this class.

Parameters:
name name of attribute without '_' (string)
Returns:
value the attribute is set to (void)

Definition at line 132 of file Test.py.

def add (   self,
  name,
  value 
)

Generic adder for the protected attributes of an object of this class.

Parameters:
name name of attribute without '_' (string)
value value that should be added (list)

Definition at line 143 of file Test.py.

def __str__ (   self  ) 

Return string representation of this object.

Returns:
formated string (string)

Definition at line 157 of file Test.py.


Member Data Documentation

string _method = "" [static, private]

Definition at line 30 of file Test.py.

string _xml = "" [static, private]

Definition at line 33 of file Test.py.

string _password = "" [static, private]

Definition at line 36 of file Test.py.

string _from = "" [static, private]

Definition at line 39 of file Test.py.

string _to = "" [static, private]

Definition at line 42 of file Test.py.

string _static = "no" [static, private]

Definition at line 45 of file Test.py.

string _hangup = "" [static, private]

Definition at line 49 of file Test.py.

string _cancel = "no" [static, private]

Definition at line 53 of file Test.py.

string _service = "" [static, private]

Definition at line 56 of file Test.py.

string _host = "" [static, private]

Definition at line 59 of file Test.py.

string _target = "" [static, private]

Definition at line 62 of file Test.py.

string _sigcomp_from = "no" [static, private]

Definition at line 65 of file Test.py.

string _sigcomp_to = "no" [static, private]

Definition at line 66 of file Test.py.

string _l = "1" [static, private]

Definition at line 69 of file Test.py.

string _m = "1" [static, private]

Definition at line 72 of file Test.py.

string _r = "10" [static, private]

Definition at line 75 of file Test.py.

list _check = [] [static, private]

Definition at line 78 of file Test.py.

string _desc = "" [static, private]

Definition at line 81 of file Test.py.

int _timeout = 0 [static, private]

Definition at line 84 of file Test.py.

_method [private]

Definition at line 91 of file Test.py.

_from [private]

Definition at line 93 of file Test.py.

_to [private]

Definition at line 94 of file Test.py.

_desc [private]

Definition at line 95 of file Test.py.

_hangup [private]

Definition at line 96 of file Test.py.

_cancel [private]

Definition at line 97 of file Test.py.

_static [private]

Definition at line 98 of file Test.py.

_password [private]

Definition at line 99 of file Test.py.

_service [private]

Definition at line 100 of file Test.py.

_target [private]

Definition at line 101 of file Test.py.

_host [private]

Definition at line 102 of file Test.py.

_l [private]

Definition at line 103 of file Test.py.

_m [private]

Definition at line 104 of file Test.py.

_r [private]

Definition at line 105 of file Test.py.

_sigcomp_from [private]

Definition at line 106 of file Test.py.

_sigcomp_to [private]

Definition at line 107 of file Test.py.

_check [private]

Definition at line 108 of file Test.py.

_timeout [private]

Definition at line 109 of file Test.py.


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

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