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

Class EDTestCasePluginUnit

source code

       object --+                    
                |                    
EDObject.EDObject --+                
                    |                
  EDLogging.EDLogging --+            
                        |            
            EDTest.EDTest --+        
                            |        
        EDTestCase.EDTestCase --+    
                                |    
EDTestCasePlugin.EDTestCasePlugin --+
                                    |
                                   EDTestCasePluginUnit

This is the main class for all Plugin Unit tests

Instance Methods [hide private]
 
__init__(self, _strPluginName, _strPluginDir=None, _strTestName=None)
Initialize the Plugin Unit test
source code
 
preProcess(self)
Creates the main plugin instance
source code
 
getPlugin(self)
Returns the main plugin instance
source code
 
getPluginConfiguration(self, _strConfigurationFileName)
Returns the plugin configuration from a configuration file
source code
 
cleanUp(self, _edPlugin)
Cleans up some empty directories (mainly working directories that were created automatically, but not filled as Unit tests do not execute the plugin)
source code

Inherited from EDTestCasePlugin.EDTestCasePlugin: createPlugin, getConfigurationFile, getDictReplace, getPluginConfig, 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, process, 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]

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 

Initialize the Plugin Unit test

Overrides: object.__init__

preProcess(self)

source code 

Creates the main plugin instance

Overrides: EDTest.EDTest.preProcess

getPlugin(self)

source code 

Returns the main plugin instance

Overrides: EDTestCasePlugin.EDTestCasePlugin.getPlugin

getPluginConfiguration(self, _strConfigurationFileName)

source code 

Returns the plugin configuration from a configuration file

Overrides: EDTestCasePlugin.EDTestCasePlugin.getPluginConfiguration