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

Class EDTestCasePluginExecute

source code

       object --+                    
                |                    
EDObject.EDObject --+                
                    |                
  EDLogging.EDLogging --+            
                        |            
            EDTest.EDTest --+        
                            |        
        EDTestCase.EDTestCase --+    
                                |    
EDTestCasePlugin.EDTestCasePlugin --+
                                    |
                                   EDTestCasePluginExecute
Known Subclasses:

This is the main class for all Plugin Execution tests

Instance Methods [hide private]
 
__init__(self, _strPluginName, _strPluginDir=None, _strTestName=None)
Initialise the Plugin Execution test
source code
 
preProcess(self)
Initialize the plugin to be launched
source code
 
testExecute(self) source code
 
process(self)
to be overridden
source code
 
getErrorMessages(self)
Returns the error messages for the plugin launcher
source code
 
getWarningMessages(self)
Returns the warning messages for the plugin launcher
source code
 
getRefConfigFile(self)
Returns the reference configuration file (from edna/conf directory)
source code
 
setDataInputFile(self, _strDataInputFile, _strDataInputKey=None)
Sets the data input file
source code
 
getDataInputFile(self, _strDataInputKey=None)
Returns the data input file
source code
 
setReferenceDataOutputFile(self, _strReferenceDataOutputFile, _strDataOutputKey=None)
Sets the data input file
source code
 
getReferenceDataOutputFile(self, _strDataOutputKey=None)
Returns the data input file
source code
 
getEdnaSite(self)
Returns the EDNA_SITE environment variable
source code
 
run(self)
Executes the plugin and checks that the data output is not None
source code
 
setNoExpectedWarningMessages(self, _iNoExpectedWarningMessages) source code
 
setNoExpectedErrorMessages(self, _iNoExpectedErrorMessages) source code
 
setAcceptPluginFailure(self, _bValue) source code

Inherited from EDTestCasePlugin.EDTestCasePlugin: createPlugin, getConfigurationFile, getDictReplace, getPlugin, getPluginConfig, getPluginConfiguration, getPluginHome, getPluginName, getPluginTestsDataHome, loadTestImage, readAndParseFile, setConfigurationFile, setPluginTestsDataHome, setRequiredPluginConfiguration

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, 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]

Inherited from EDTestCasePlugin.EDTestCasePlugin: URL_EDNA_SITE

Inherited from EDLogging.EDLogging (private): _EDObject__iId_class

Properties [hide private]
  errorMessages
read-only only property
  warningMessages
read-only only property

Inherited from EDTestCasePlugin.EDTestCasePlugin: dictReplace, plugin, pluginHome, pluginName, pluginTestDataHome

Inherited from object: __class__

Method Details [hide private]

__init__(self, _strPluginName, _strPluginDir=None, _strTestName=None)
(Constructor)

source code 

Initialise the Plugin Execution test

  • Edna site
  • Configuration files
  • Data input file
  • Plugin launcher
Overrides: object.__init__

preProcess(self)

source code 

Initialize the plugin to be launched

Overrides: EDTest.EDTest.preProcess

process(self)

source code 

to be overridden

Overrides: EDTest.EDTest.process
(inherited documentation)

Property Details [hide private]

errorMessages

read-only only property

Get Method:
getErrorMessages(self) - Returns the error messages for the plugin launcher

warningMessages

read-only only property

Get Method:
getWarningMessages(self) - Returns the warning messages for the plugin launcher