TestCenter Reference
TestCenterAdvanced.TestCaseFunctional.FunctionalTestCase Class Reference

TestCase superclass for functional test cases. More...

Inheritance diagram for TestCenterAdvanced.TestCaseFunctional.FunctionalTestCase:
TestCenterAdvanced.TestCase.TestCase

Public Member Functions

 getType (self)
 Return the type of this test case (generic or functional).
 
- Public Member Functions inherited from TestCenterAdvanced.TestCase.TestCase
 __init__ (self, testCaseName, isNewlyCreated=False)
 Initialize the test case.
 
 __del__ (self)
 
 destroyContext (self)
 
 activate (self)
 Registers the test case at the TestHelper.
 
 deactivate (self)
 Resets the test helper.
 
 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)
 Return True if the loaded test case is syntactically valid and should be executable.
 
 hasNetwork (self)
 Return True if 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.
 
 getModule (self)
 Return the module representing this test case, or None.
 
 getName (self)
 Return the name of the test case.
 
 getListOfTestFuncs (self)
 Get the list of test functions in this test.
 
 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, etree.Element 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.
 

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.
 
- Protected Attributes inherited from TestCenterAdvanced.TestCase.TestCase
 _ctx
 
 _testCaseName
 
 _testHelper
 
 _dataDirectory
 

Detailed Description

TestCase superclass for functional test cases.

Definition at line 17 of file TestCaseFunctional.py.

Member Function Documentation

◆ getType()

TestCenterAdvanced.TestCaseFunctional.FunctionalTestCase.getType (   self)

Return the type of this test case (generic or functional).

Reimplemented from TestCenterAdvanced.TestCase.TestCase.

Definition at line 20 of file TestCaseFunctional.py.

Referenced by TestCenterAdvanced.TestCase.TestCase.run().


The documentation for this class was generated from the following file: