TestSmurfTest Class Reference

List of all members.


Detailed Description

Test cases for testing functionallity of the SmurfTest module.

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

Definition at line 35 of file TestSmurfTest.py.


Public Member Functions

def addResult
 Dummy callback method (needed by test modules).
def setUp
 Create temporary directory for storing created log files and create temporary file with broadcast address.
def tearDown
 Remove temporary log file directory including files stored in it.
def testInit
 Test initialization of SmurfTest module.
def testRunTestModule
 Test running smurf with SmurfTest module.
def testRunTestModuleWithError
 Test causing smurf to fail while running it with SmurfTest module.

Private Attributes

 __logFilePath

Static Private Attributes

 __result = None
string __logFilePath = ""
string __smurfPath = "tools/dos"

Member Function Documentation

def addResult (   self,
  result 
)

Dummy callback method (needed by test modules).

Parameters:
result the result of the test (testenv.core.TestResult)

Definition at line 53 of file TestSmurfTest.py.

def setUp (   self  ) 

Create temporary directory for storing created log files and create temporary file with broadcast address.

Definition at line 62 of file TestSmurfTest.py.

def tearDown (   self  ) 

Remove temporary log file directory including files stored in it.

Definition at line 76 of file TestSmurfTest.py.

def testInit (   self  ) 

Test initialization of SmurfTest module.

Definition at line 89 of file TestSmurfTest.py.

def testRunTestModule (   self  ) 

Test running smurf with SmurfTest module.

Definition at line 97 of file TestSmurfTest.py.

def testRunTestModuleWithError (   self  ) 

Test causing smurf to fail while running it with SmurfTest module.

Definition at line 126 of file TestSmurfTest.py.


Member Data Documentation

__result = None [static, private]

Definition at line 38 of file TestSmurfTest.py.

string __logFilePath = "" [static, private]

Definition at line 41 of file TestSmurfTest.py.

string __smurfPath = "tools/dos" [static, private]

Definition at line 44 of file TestSmurfTest.py.

__logFilePath [private]

Definition at line 63 of file TestSmurfTest.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