| 
    TestCenter Reference
    
   | 
 
Implementation of the TestCase superclass for functional test cases. More...
  
Public Member Functions | |
| __init__ (self, testCaseName, isNewlyCreated=False) | |
| Default constructor for the test case.   | |
  Public Member Functions inherited from TestCenterAdvanced.TestCase.TestCase | |
| __del__ (self) | |
| The default destructor.   | |
| destroyContext (self) | |
| activate (self) | |
| deactivate (self) | |
| setTestCaseListener (self, testCaseListener) | |
| addExtraTestCaseResult (self, extraTestCaseResult) | |
| callFieldValueTestCase (self, filename, testcase) | |
| Call the given field-value test case from the given field-value test case set.   | |
| isValid (self) | |
| Has test case loaded without syntax errors?   | |
| hasNetwork (self) | |
| Check whether the test case has a network attached.   | |
| networkFileName (self) | |
| Returns the absolute file name of the attached network or an empty string if no network is attached.   | |
| openFiles (self) | |
| Open the files associated with the test case.   | |
| openNetwork (self) | |
| Open the internal network of the test case.   | |
| getType (self) | |
| Return the type of this test case (generic of functional).   | |
| getModule (self) | |
| Return the module, might be None.   | |
| getName (self) | |
| Return the name of the test case.   | |
| getListOfTestFuncs (self) | |
| Get a list of test functions this test has.   | |
| getPackage (self) | |
| Return the identifier of the package the test case is in.   | |
| getTestCaseNode (self) | |
| Return the XML node with the test case's information.   | |
| run (self, resultNode) | |
| Run the test case and store results in the given xml data structure.   | |
| getDocumentation (self, functionName) | |
| Get the documentation for the given test function.   | |
Protected Attributes | |
| _testCaseType | |
  Protected Attributes inherited from TestCenterAdvanced.TestCase.TestCase | |
| _dataDirectory | |
Additional Inherited Members | |
  Public Attributes inherited from TestCenterAdvanced.TestCase.TestCase | |
| futureDone | |
| callFieldValueTestCase | |
  Protected Member Functions inherited from TestCenterAdvanced.TestCase.TestCase | |
| _getTestCaseInfo (self, testCaseName) | |
| _getTestFunction (self, funcName) | |
| _loadScriptFile (self, filename) | |
| Load the test cases script file.   | |
| _callGroupFunction (self, groupFunctionName) | |
| _callableFunctions (self) | |
| _buildVirtualFunctions (self, isNewlyCreated) | |
| Build an XML node with the virtual functions.   | |
  Static Protected Attributes inherited from TestCenterAdvanced.TestCase.TestCase | |
| _ctx = None | |
| The TestCase's context.   | |
| _testHelper = None | |
| The instance of the TestHelper singleton.   | |
| _testCaseName = None | |
| The name of the current test case.   | |
| _testCaseType = None | |
| The type of the test case.   | |
Implementation of the TestCase superclass for functional test cases.
This is a dummy at the moment.
Definition at line 26 of file TestCaseFunctional.py.
| 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.
      
  | 
  protected | 
Definition at line 28 of file TestCaseFunctional.py.
Referenced by TestCenterAdvanced.TestCase.TestCase.__init__(), and TestCenterAdvanced.TestCase.TestCase.getType().