TestCenter Reference
|
Implementation of the TestCase superclass for functional test cases. More...
Public Member Functions | |
def | __init__ (self, testCaseName, isNewlyCreated=False) |
Default constructor for the test case. 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 | getName (self) |
Return the name of the test case. 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 | run (self, resultNode) |
Run the test case and store results in the given xml data structure. More... | |
def | getDocumentation (self, functionName) |
Get the documentation for the given test function. More... | |
Additional Inherited Members | |
![]() | |
futureDone | |
Implementation of the TestCase superclass for functional test cases.
This is a dummy at the moment.
Definition at line 26 of file TestCaseFunctional.py.
def TestCenterAdvanced.TestCaseFunctional.FunctionalTestCase.__init__ | ( | self, | |
testCaseName, | |||
isNewlyCreated = False |
|||
) |
Default constructor for the test case.
testCaseName | The name of the test case. |
isNewlyCreated | Indicates if the test case is newly created to suppress the warning that no test functions exist. |
Reimplemented from TestCenterAdvanced.TestCase.TestCase.
Definition at line 27 of file TestCaseFunctional.py.
References TestCenterAdvanced.TestCase.TestCase._testCaseType, TestCenterAdvanced.TestCaseFunctional.FunctionalTestCase._testCaseType, and TestCenterAdvanced.TestCaseGeneric.GenericTestCase._testCaseType.