TestSiphonTest Class Reference

List of all members.


Detailed Description

Test cases for testing functionality of the SiphonTest module.

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

Definition at line 61 of file TestSiphonTest.py.


Public Member Functions

def addResult
 Dummy callback method (needed by test modules).
def setUp
 Create temporary directory for storing created log files.
def tearDown
 Remove temporary log file directory including files stored in it.
def testInit
 Test initialization of TsharkTest module.
def testRunTestModule
 Test running Siphon with SiphonTest module.
def testRunTestModuleWithError
 Test causing Siphon to end with error code with SiphonTest module.

Private Attributes

 __logFilePath

Static Private Attributes

 __result = None
string __logFilePath = ""
string __siphonPath = "tools/siphon"

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 79 of file TestSiphonTest.py.

def setUp (   self  ) 

Create temporary directory for storing created log files.

Definition at line 88 of file TestSiphonTest.py.

def tearDown (   self  ) 

Remove temporary log file directory including files stored in it.

Definition at line 97 of file TestSiphonTest.py.

def testInit (   self  ) 

Test initialization of TsharkTest module.

Definition at line 109 of file TestSiphonTest.py.

def testRunTestModule (   self  ) 

Test running Siphon with SiphonTest module.

Definition at line 117 of file TestSiphonTest.py.

def testRunTestModuleWithError (   self  ) 

Test causing Siphon to end with error code with SiphonTest module.

Definition at line 160 of file TestSiphonTest.py.


Member Data Documentation

__result = None [static, private]

Definition at line 64 of file TestSiphonTest.py.

string __logFilePath = "" [static, private]

Definition at line 67 of file TestSiphonTest.py.

string __siphonPath = "tools/siphon" [static, private]

Definition at line 70 of file TestSiphonTest.py.

__logFilePath [private]

Definition at line 89 of file TestSiphonTest.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