| 
    TestCenter Reference
    
   | 
 
The implementation of the TestCase superclass for generic testing. More...
  
Public Member Functions | |
| __init__ (self, testCaseName, moduleName=None) | |
| The default constructor.   | |
| run (self, xmlNode) | |
| Prior to running the actual test the module name is set to the result node.   | |
| getName (self) | |
| Return the name of the test case.   | |
| getModulesToTest (self, moduleList, packageList) | |
| Get the list of modules to test.   | |
  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.   | |
| 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.   | |
| getDocumentation (self, functionName) | |
| Get the documentation for the given test function.   | |
Protected Attributes | |
| _testCaseType | |
| _moduleName | |
| _testCaseName | |
  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.   | |
The implementation of the TestCase superclass for generic testing.
Definition at line 29 of file TestCaseGeneric.py.
| TestCenterAdvanced.TestCaseGeneric.GenericTestCase.__init__ | ( | self, | |
| testCaseName, | |||
| moduleName = None ) | 
The default constructor.
Reimplemented from TestCenterAdvanced.TestCase.TestCase.
Definition at line 32 of file TestCaseGeneric.py.
| 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().
| 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, TestCenterAdvanced.TestCase.TestCase._testCaseName, and TestCenterAdvanced.TestCaseGeneric.GenericTestCase._testCaseName.
Referenced by TestCenterAdvanced.TestCase.TestCase.openFiles(), and TestCenterAdvanced.TestCase.TestCase.run().
| 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.TestCaseGeneric.GenericTestCase._moduleName.
      
  | 
  protected | 
Definition at line 34 of file TestCaseGeneric.py.
Referenced by TestCenterAdvanced.TestCaseGeneric.GenericTestCase.getName(), and TestCenterAdvanced.TestCaseGeneric.GenericTestCase.run().
      
  | 
  protected | 
Definition at line 43 of file TestCaseGeneric.py.
Referenced by TestCenterAdvanced.TestCase.TestCase.__init__(), TestCenterAdvanced.TestCase.TestCase._loadScriptFile(), TestCenterAdvanced.TestCase.TestCase.activate(), TestCenterAdvanced.TestCase.TestCase.getName(), and TestCenterAdvanced.TestCaseGeneric.GenericTestCase.getName().
      
  | 
  protected | 
Definition at line 33 of file TestCaseGeneric.py.
Referenced by TestCenterAdvanced.TestCase.TestCase.__init__(), and TestCenterAdvanced.TestCase.TestCase.getType().