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

Class EDTestCaseEDJob

source code

       object --+                
                |                
EDObject.EDObject --+            
                    |            
  EDLogging.EDLogging --+        
                        |        
            EDTest.EDTest --+    
                            |    
        EDTestCase.EDTestCase --+
                                |
                               EDTestCaseEDJob

Unit & execution test for the EDParallelExecute class

Instance Methods [hide private]
 
__init__(self, _strTestName=None)
Constructor of the main pure virtual class.
source code
 
unitTestInitialState(self)
check the status after a job creation
source code
 
unitTestSetGetData(self)
check the status after a job creation
source code
 
unitTestExecute(self)
check the execution of a job (without callback)
source code
 
callBack(self, _strJobId)
Example of Call Back function ...
source code
 
unitTestExecuteCallback(self)
check the execution of a job (without callback)
source code
 
unitTestExecuteCallbackSuccess(self)
check the execution of a job (without callback)
source code
 
process(self)
to be overridden
source code

Inherited from EDTestCase.EDTestCase: getMethodFailureMessages, getNumberTestMethodFailure, getNumberTestMethodSuccess, getReasonForNotBeingExectuted, getTestSuiteName, getTestsDataHome, getTestsDataImagesHome, getTestsHome, isExecuted, postProcess, processKernel, setReasonForNotBeingExectuted, setTestSuiteName

Inherited from EDTest.EDTest: addTestMethod, execute, executeKernel, getListTest, getNumberOfTests, getTestName, preProcess, setTestName

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]
  strPluginName = 'EDPluginTestPluginFactory'
  strXmlInput = '<?xml version="1.0" ?>\n<XSDataString>\n <va...

Inherited from EDLogging.EDLogging (private): _EDObject__iId_class

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, _strTestName=None)
(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)

process(self)

source code 

to be overridden

Overrides: EDTest.EDTest.process
(inherited documentation)

Class Variable Details [hide private]

strXmlInput

Value:
'''<?xml version="1.0" ?>
<XSDataString>
    <value>Test string value.</value>
</XSDataString>'''