TestContainer Class Reference

Inheritance diagram for TestContainer:

TestEnv TestGroup TestSuite

List of all members.


Detailed Description

This abstract class is the parent class for all classes containing test cases, groups or suites.

It provides general functionallity.

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

Definition at line 27 of file TestContainer.py.


Public Member Functions

def __init__
 Basic constructor of all test containers.
def addTestUnit
 Add a test unit to this test container.
def setTestUnits
 Set test units of this test container.
def getTestUnits
 Get test units of this suite.

Private Attributes

 __testUnits

Static Private Attributes

list __testUnits = []

Member Function Documentation

def __init__ (   self  ) 

Basic constructor of all test containers.

Reimplemented in TestEnv, TestGroup, and TestSuite.

Definition at line 36 of file TestContainer.py.

def addTestUnit (   self,
  value 
)

Add a test unit to this test container.

Parameters:
value a test group (testenv.core.TestGroup)

Definition at line 46 of file TestContainer.py.

def setTestUnits (   self,
  value 
)

Set test units of this test container.

Parameters:
value a list of test units (list of testenv.core.TestUnit)

Definition at line 56 of file TestContainer.py.

def getTestUnits (   self  ) 

Get test units of this suite.

Returns:
a list of test units (list of testenv.core.TestUnit)

Definition at line 66 of file TestContainer.py.


Member Data Documentation

list __testUnits = [] [static, private]

Definition at line 30 of file TestContainer.py.

__testUnits [private]

Definition at line 37 of file TestContainer.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