TestCenter Reference
|
The implementation of the TestCase superclass for generic testing. More...
Public Member Functions | |
def | __init__ (self, testCaseName, moduleName=None) |
The default constructor. More... | |
def | run (self, xmlNode) |
Prior to running the actual test the module name is set to the result node. More... | |
def | getName (self) |
Return the name of the test case. More... | |
def | getModulesToTest (self, moduleList, packageList) |
Get the list of modules to test. More... | |
![]() | |
def | __del__ (self) |
The default destructor. More... | |
def | destroyContext (self) |
def | activate (self) |
def | deactivate (self) |
def | setTestCaseListener (self, testCaseListener) |
def | addExtraTestCaseResult (self, extraTestCaseResult) |
def | callFieldValueTestCase (self, filename, testcase) |
Call the given field-value test case from the given field-value test case set. More... | |
def | isValid (self) |
Has test case loaded without syntax errors? More... | |
def | hasNetwork (self) |
Check whether the test case has a network attached. More... | |
def | networkFileName (self) |
Returns the absolute file name of the attached network or an empty string if no network is attached. More... | |
def | openFiles (self) |
Open the files associated with the test case. More... | |
def | openNetwork (self) |
Open the internal network of the test case. More... | |
def | getType (self) |
Return the type of this test case (generic of functional). More... | |
def | getModule (self) |
Return the module, might be None. More... | |
def | getListOfTestFuncs (self) |
Get a list of test functions this test has. More... | |
def | getPackage (self) |
Return the identifier of the package the test case is in. More... | |
def | getTestCaseNode (self) |
Return the XML node with the test case's information. More... | |
def | getDocumentation (self, functionName) |
Get the documentation for the given test function. More... | |
Additional Inherited Members | |
![]() | |
futureDone | |
The implementation of the TestCase superclass for generic testing.
Definition at line 29 of file TestCaseGeneric.py.
def TestCenterAdvanced.TestCaseGeneric.GenericTestCase.__init__ | ( | self, | |
testCaseName, | |||
moduleName = None |
|||
) |
The default constructor.
Reimplemented from TestCenterAdvanced.TestCase.TestCase.
Definition at line 32 of file TestCaseGeneric.py.
References TestCenterAdvanced.TestCaseGeneric.GenericTestCase._moduleName, TestCenterAdvanced.TestCase.TestCase._testCaseType, TestCenterAdvanced.TestCaseFunctional.FunctionalTestCase._testCaseType, and TestCenterAdvanced.TestCaseGeneric.GenericTestCase._testCaseType.
def TestCenterAdvanced.TestCaseGeneric.GenericTestCase.getModulesToTest | ( | self, | |
moduleList, | |||
packageList | |||
) |
Get the list of modules to test.
Definition at line 75 of file TestCaseGeneric.py.
References TestCenterAdvanced.TestCaseGeneric.GenericTestCase.__testModule().
def TestCenterAdvanced.TestCaseGeneric.GenericTestCase.getName | ( | self | ) |
Return the name of the test case.
Reimplemented from TestCenterAdvanced.TestCase.TestCase.
Definition at line 68 of file TestCaseGeneric.py.
References TestCenterAdvanced.TestCaseGeneric.GenericTestCase._moduleName, and TestCenterAdvanced.TestCase.TestCase._testCaseName.
Referenced by TestCenterAdvanced.TestCase.TestCase.openFiles(), and TestCenterAdvanced.TestCase.TestCase.run().
def TestCenterAdvanced.TestCaseGeneric.GenericTestCase.run | ( | self, | |
xmlNode | |||
) |
Prior to running the actual test the module name is set to the result node.
Reimplemented from TestCenterAdvanced.TestCase.TestCase.
Definition at line 41 of file TestCaseGeneric.py.
References TestCenterAdvanced.TestCase.TestCase._ctx, TestCenterAdvanced.TestCaseGeneric.GenericTestCase._moduleName, TestCenterAdvanced.TestCase.TestCase._testCaseName, and TestCenterAdvanced.TestCase.TestCase._testHelper.