TestSuite Class Reference

Inheritance diagram for TestSuite:

TestUnit TestContainer TestConfigurationContainer

List of all members.


Detailed Description

This class is supposed to store test suites.

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

Definition at line 31 of file TestSuite.py.


Public Member Functions

def __init__
 Constructor.
def init
 Pseudo constructor.
def initTestSuite
 This function is expected to be overridden by the child class.
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__

Static Private Attributes

list _setup = []

Member Function Documentation

def __init__ (   self  ) 

Constructor.

Call constructors of super classes.

Reimplemented from TestConfigurationContainer.

Definition at line 41 of file TestSuite.py.

def init (   self  ) 

Pseudo constructor.

This function is called by the __init__ function from the parent.

Reimplemented from TestUnit.

Definition at line 53 of file TestSuite.py.

def initTestSuite (   self  ) 

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

Definition at line 62 of file TestSuite.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 73 of file TestSuite.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 88 of file TestSuite.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 (void)

Definition at line 99 of file TestSuite.py.

def __str__ (   self  ) 

Definition at line 107 of file TestSuite.py.


Member Data Documentation

list _setup = [] [static, private]

Definition at line 33 of file TestSuite.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