Module EDTest :: Class EDTest
[hide private]
[frames] | no frames]

Class EDTest

source code

       object --+        
                |        
EDObject.EDObject --+    
                    |    
  EDLogging.EDLogging --+
                        |
                       EDTest
Known Subclasses:

Parent class for plugin test cases

Instance Methods [hide private]
 
__init__(self, _strTestName='Test')
Constructor of the main pure virtual class.
source code
string
getTestName(self)
getter for TestName
source code
 
setTestName(self, _strTestName)
Setter for test name
source code
 
addTestMethod(self, _pyClassMethod)
Add a method to the list of tests
source code
integer
getNumberOfTests(self)
getter for the number of tests
source code
list
getListTest(self)
getter for the list of tests
source code
 
executeKernel(self) source code
 
execute(self) source code
 
preProcess(self)
to be overwritten
source code
 
process(self)
to be overridden
source code
 
postProcess(self)
to be overridden
source code
 
processKernel(self)
to be overridden
source code

Inherited from EDLogging.EDLogging: ASSERT, DEBUG, ERROR, WARNING, error, isVerboseDebug, log, screen, setAllLogLevels, setLogFileName, setLogFileOff, setLogLevel, setTestOff, setTestOn, setVerboseDebugOff, setVerboseDebugOn, setVerboseOff, setVerboseOn, unitTest, warning, writeErrorTrace

Inherited from EDObject.EDObject: getClassName, getId, getRunTime, getSemaphoreValue, getTimeEnd, getTimeInit, locked, setTimeEnd, setTimeInit, synchronizeOff, synchronizeOn

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Variables [hide private]

Inherited from EDLogging.EDLogging (private): _EDObject__iId_class

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, _strTestName='Test')
(Constructor)

source code 

Constructor of the main pure virtual class.
This constructor implements:
- the creation of the semaphore
- definition of timer object (uninitialized as potentially not used)

Overrides: object.__init__
(inherited documentation)

getTestName(self)

source code 

getter for TestName

Returns: string
test name

setTestName(self, _strTestName)

source code 

Setter for test name

Parameters:
  • _strTestName (string) - name of the test

getNumberOfTests(self)

source code 

getter for the number of tests

Returns: integer
number of tests

getListTest(self)

source code 

getter for the list of tests

Returns: list
list of tests