TestSetup Class Reference

List of all members.


Detailed Description

Storage class for a setup.

Author:
Enrico Hartung <enrico@iptel.org>

Monica Sarbu <monica@iptel.org>

License:
GPL

Definition at line 27 of file TestSetup.py.


Public Member Functions

def __init__
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.

Private Attributes

 _services
 _routes
 _classes
 _db

Static Private Attributes

string _db = "dbUrl1"
list _services = []
list _routes = []
list _classes = []

Member Function Documentation

def __init__ (   self  ) 

Definition at line 40 of file TestSetup.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 53 of file TestSetup.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 69 of file TestSetup.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 80 of file TestSetup.py.


Member Data Documentation

string _db = "dbUrl1" [static, private]

Definition at line 29 of file TestSetup.py.

list _services = [] [static, private]

Definition at line 32 of file TestSetup.py.

list _routes = [] [static, private]

Definition at line 35 of file TestSetup.py.

list _classes = [] [static, private]

Definition at line 38 of file TestSetup.py.

_services [private]

Definition at line 41 of file TestSetup.py.

_routes [private]

Definition at line 42 of file TestSetup.py.

_classes [private]

Definition at line 43 of file TestSetup.py.

_db [private]

Definition at line 44 of file TestSetup.py.


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

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