Package Peach :: Package Engine :: Module engine :: Class EngineWatchPlexer
[hide private]

Class EngineWatchPlexer

source code


Allows multiple watchers to be attached and will distribute messages out to them.

Instance Methods [hide private]
 
__init__(self) source code
 
setTotalVariations(self, totalVariations) source code
 
OnRunStarting(self, run)
Called when a run is starting.
source code
 
OnRunFinished(self, run)
Called when a run is finished.
source code
 
OnTestStarting(self, run, test, totalVariations)
Called on start of a test.
source code
 
OnTestFinished(self, run, test)
Called on completion of a test.
source code
 
OnTestCaseStarting(self, run, test, variationCount)
Called on start of a test case.
source code
 
OnTestCaseReceived(self, run, test, variationCount, value)
Called when data is received from test case.
source code
 
OnTestCaseException(self, run, test, variationCount, exception)
Called when an exception occurs during a test case.
source code
 
OnTestCaseFinished(self, run, test, variationCount, actionValues)
Called when a test case has completed.
source code
 
OnFault(self, run, test, variationCount, monitorData, value) source code

Inherited from EngineWatcher: OnStopRun

Method Details [hide private]

setTotalVariations(self, totalVariations)

source code 
Overrides: EngineWatcher.setTotalVariations

OnRunStarting(self, run)

source code 

Called when a run is starting.

Overrides: EngineWatcher.OnRunStarting
(inherited documentation)

OnRunFinished(self, run)

source code 

Called when a run is finished.

Overrides: EngineWatcher.OnRunFinished
(inherited documentation)

OnTestStarting(self, run, test, totalVariations)

source code 

Called on start of a test. Each test has multiple variations.

Overrides: EngineWatcher.OnTestStarting
(inherited documentation)

OnTestFinished(self, run, test)

source code 

Called on completion of a test.

Overrides: EngineWatcher.OnTestFinished
(inherited documentation)

OnTestCaseStarting(self, run, test, variationCount)

source code 

Called on start of a test case.

Overrides: EngineWatcher.OnTestCaseStarting
(inherited documentation)

OnTestCaseReceived(self, run, test, variationCount, value)

source code 

Called when data is received from test case.

Overrides: EngineWatcher.OnTestCaseReceived
(inherited documentation)

OnTestCaseException(self, run, test, variationCount, exception)

source code 

Called when an exception occurs during a test case.

Overrides: EngineWatcher.OnTestCaseException
(inherited documentation)

OnTestCaseFinished(self, run, test, variationCount, actionValues)

source code 

Called when a test case has completed.

Overrides: EngineWatcher.OnTestCaseFinished
(inherited documentation)

OnFault(self, run, test, variationCount, monitorData, value)

source code 
Overrides: EngineWatcher.OnFault