TestTcpdumpTest Class Reference

List of all members.


Detailed Description

Test cases for testing functionality of the TcpdumpTest module.

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

Definition at line 55 of file TestTcpdumpTest.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 TcpdumpTest module.
def testRunTestModule
 Test running tcpdump with TcpdumpTest module.
def testRunTestModuleWithError
 Test running tcpdump with with unknown argument with TcpdumpTest module to provoke error.

Private Attributes

 __logFilePath

Static Private Attributes

 __result = None
string __logFilePath = ""
string __tcpdumpPath = "tools"

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 73 of file TestTcpdumpTest.py.

def setUp (   self  ) 

Create temporary directory for storing created log files.

Definition at line 82 of file TestTcpdumpTest.py.

def tearDown (   self  ) 

Remove temporary log file directory including files stored in it.

Definition at line 91 of file TestTcpdumpTest.py.

def testInit (   self  ) 

Test initialization of TcpdumpTest module.

Definition at line 103 of file TestTcpdumpTest.py.

def testRunTestModule (   self  ) 

Test running tcpdump with TcpdumpTest module.

Definition at line 111 of file TestTcpdumpTest.py.

def testRunTestModuleWithError (   self  ) 

Test running tcpdump with with unknown argument with TcpdumpTest module to provoke error.

Definition at line 151 of file TestTcpdumpTest.py.


Member Data Documentation

__result = None [static, private]

Definition at line 58 of file TestTcpdumpTest.py.

string __logFilePath = "" [static, private]

Definition at line 61 of file TestTcpdumpTest.py.

string __tcpdumpPath = "tools" [static, private]

Definition at line 64 of file TestTcpdumpTest.py.

__logFilePath [private]

Definition at line 83 of file TestTcpdumpTest.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