TestIrpasTest Class Reference

List of all members.


Detailed Description

Test cases for testing functionality of the IrpasTest module.

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

Definition at line 35 of file TestIrpasTest.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 IrpasTest module.
def testRunCdp
 Test running cdp with IpasTest module.
def testRunCdpError
 Test causing error while starting cdp with IpasTest module.
def testRunIgrp
 Test running igrp with IpasTest module.
def testRunIgrpError
 Test causing error while starting igrp with IpasTest module.
def testRunIrdp
 Test running irdp with IpasTest module.
def testRunIrdpError
 Test causing error while starting irdp with IpasTest module.
def testRunIrdpResponder
 Test running irdpresponder with IrpasTest module.
def testRunIrdpResponderError
 Test causing error while starting irdp with IpasTest module.
def testRunAss
 Test running ass with IpasTest module.
def testRunAssError
 Test causing error while starting ass with IpasTest module.
def testRunFile2cable
 Test running file2cable with IpasTest module.
def testRunFile2cableError
 Test causing error while starting irdp with IpasTest module.
def testRunItrace
 Test running itrace with IpasTest module.
def testRunItraceError
 Test causing error while starting irdp with IpasTest module.
def testRunTctrace
 Test running tctrace with IpasTest module.
def testRunTctraceError
 Test causing error while starting tctrace with IpasTest module.
def testRunNetenum
 Test running netenum with IpasTest module.
def testRunNetenumError
 Test causing error while starting netenum with IpasTest module.
def testRunInetmask
 Test running inetmask with IpasTest module.
def testRunInetmaskError
 Test causing error while starting inetmask with IpasTest module.
def testRunProtos
 Test running protos with IrpasTest module.
def testRunProtosError
 Test causing error while starting netmask with IrpasTest module.
def testRunHsrp
 Test running hsrp with IrpasTest module.
def testRunHsrpError
 Test causing error while starting hsrp with IrpasTest module.
def testRunDhcpx
 Test running dhcpx with IrpasTest module.
def testRunDhcpxError
 Test causing error while starting dhcpx with IrpasTest module.

Private Attributes

 __logFilePath

Static Private Attributes

 __result = None
string __logFilePath = ""
string __irpasPath = "tools"
string __netInterface = "wlan0"

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 56 of file TestIrpasTest.py.

def setUp (   self  ) 

Create temporary directory for storing created log files.

Definition at line 65 of file TestIrpasTest.py.

def tearDown (   self  ) 

Remove temporary log file directory including files stored in it.

Definition at line 74 of file TestIrpasTest.py.

def testInit (   self  ) 

Test initialization of IrpasTest module.

Definition at line 86 of file TestIrpasTest.py.

def testRunCdp (   self  ) 

Test running cdp with IpasTest module.

Definition at line 94 of file TestIrpasTest.py.

def testRunCdpError (   self  ) 

Test causing error while starting cdp with IpasTest module.

Definition at line 124 of file TestIrpasTest.py.

def testRunIgrp (   self  ) 

Test running igrp with IpasTest module.

Definition at line 154 of file TestIrpasTest.py.

def testRunIgrpError (   self  ) 

Test causing error while starting igrp with IpasTest module.

Definition at line 193 of file TestIrpasTest.py.

def testRunIrdp (   self  ) 

Test running irdp with IpasTest module.

Definition at line 223 of file TestIrpasTest.py.

def testRunIrdpError (   self  ) 

Test causing error while starting irdp with IpasTest module.

Definition at line 253 of file TestIrpasTest.py.

def testRunIrdpResponder (   self  ) 

Test running irdpresponder with IrpasTest module.

Definition at line 283 of file TestIrpasTest.py.

def testRunIrdpResponderError (   self  ) 

Test causing error while starting irdp with IpasTest module.

Definition at line 315 of file TestIrpasTest.py.

def testRunAss (   self  ) 

Test running ass with IpasTest module.

Definition at line 347 of file TestIrpasTest.py.

def testRunAssError (   self  ) 

Test causing error while starting ass with IpasTest module.

Definition at line 377 of file TestIrpasTest.py.

def testRunFile2cable (   self  ) 

Test running file2cable with IpasTest module.

Definition at line 407 of file TestIrpasTest.py.

def testRunFile2cableError (   self  ) 

Test causing error while starting irdp with IpasTest module.

Definition at line 446 of file TestIrpasTest.py.

def testRunItrace (   self  ) 

Test running itrace with IpasTest module.

Definition at line 476 of file TestIrpasTest.py.

def testRunItraceError (   self  ) 

Test causing error while starting irdp with IpasTest module.

Definition at line 506 of file TestIrpasTest.py.

def testRunTctrace (   self  ) 

Test running tctrace with IpasTest module.

Definition at line 536 of file TestIrpasTest.py.

def testRunTctraceError (   self  ) 

Test causing error while starting tctrace with IpasTest module.

Definition at line 566 of file TestIrpasTest.py.

def testRunNetenum (   self  ) 

Test running netenum with IpasTest module.

Definition at line 596 of file TestIrpasTest.py.

def testRunNetenumError (   self  ) 

Test causing error while starting netenum with IpasTest module.

Definition at line 626 of file TestIrpasTest.py.

def testRunInetmask (   self  ) 

Test running inetmask with IpasTest module.

Definition at line 656 of file TestIrpasTest.py.

def testRunInetmaskError (   self  ) 

Test causing error while starting inetmask with IpasTest module.

Definition at line 686 of file TestIrpasTest.py.

def testRunProtos (   self  ) 

Test running protos with IrpasTest module.

Definition at line 716 of file TestIrpasTest.py.

def testRunProtosError (   self  ) 

Test causing error while starting netmask with IrpasTest module.

Definition at line 746 of file TestIrpasTest.py.

def testRunHsrp (   self  ) 

Test running hsrp with IrpasTest module.

Definition at line 776 of file TestIrpasTest.py.

def testRunHsrpError (   self  ) 

Test causing error while starting hsrp with IrpasTest module.

Definition at line 806 of file TestIrpasTest.py.

def testRunDhcpx (   self  ) 

Test running dhcpx with IrpasTest module.

This test expects a running DHCP server in the network

Definition at line 838 of file TestIrpasTest.py.

def testRunDhcpxError (   self  ) 

Test causing error while starting dhcpx with IrpasTest module.

Definition at line 868 of file TestIrpasTest.py.


Member Data Documentation

__result = None [static, private]

Definition at line 38 of file TestIrpasTest.py.

string __logFilePath = "" [static, private]

Definition at line 41 of file TestIrpasTest.py.

string __irpasPath = "tools" [static, private]

Definition at line 44 of file TestIrpasTest.py.

string __netInterface = "wlan0" [static, private]

Definition at line 47 of file TestIrpasTest.py.

__logFilePath [private]

Definition at line 66 of file TestIrpasTest.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