Packageorg.flexunit.runner.notification
Interfacepublic interface ITemporalRunListener extends IRunListener

Interface to be implemented by a listener that needs information on a test methods total execution time.



Public Methods
 MethodDefined By
 Inherited
Called when an atomic test flags that it assumes a condition that is false.
IRunListener
 Inherited
testFailure(failure:Failure):void
Called when an atomic test fails.
IRunListener
 Inherited
testFinished(description:IDescription):void
Called when an atomic test has finished, whether the test succeeds or fails.
IRunListener
 Inherited
testIgnored(description:IDescription):void
Called when a test will not be run, generally because a test method is annotated with the Ignore tag.
IRunListener
 Inherited
testRunFinished(result:Result):void
Called when all tests have finished and the test run is done.
IRunListener
 Inherited
testRunStarted(description:IDescription):void
Called before any tests have been run and the test run is starting.
IRunListener
 Inherited
testStarted(description:IDescription):void
Called when an atomic test is about to be begin.
IRunListener
  
testTimed(description:IDescription, runTime:Number):void
Called by the notifier when a test run completed
ITemporalRunListener
Method Detail
testTimed()method
public function testTimed(description:IDescription, runTime:Number):void

Called by the notifier when a test run completed

Parameters

description:IDescription — the test that completed
 
runTime:Number — time in ms that the test took to execute