Package | org.flexunit.internals.runners.model |
Class | public class EachTestNotifier |
Inheritance | EachTestNotifier ![]() |
EachTestNotifier
is responsible for instructing a provided
IRunNotifier
about the execution of a specific test. The
EachTestNotifier
is provided with an IRunNotifier
and a corresponding IDescription
of the test that is to be
executed. It will report to the IRunNotifier
as it is notified
about the execution of the test, providing the necessary description or failure
to the IRunNotifier
.
Method | Defined By | ||
---|---|---|---|
Constructor. | EachTestNotifier | ||
addFailedAssumption(error:Error):void
Instructs the notifier that the test method has failed an assumption. | EachTestNotifier | ||
addFailure(targetException:Error):void
Instructs the notifier that the test method has encountered a failure. | EachTestNotifier | ||
fireTestFinished():void
Instructs the notifier that the test method has finished running. | EachTestNotifier | ||
fireTestIgnored():void
Instructs the notifier that the test method has been ignored. | EachTestNotifier | ||
fireTestStarted():void
Instructs the notifier that the test method has started. | EachTestNotifier |
EachTestNotifier | () | Constructor |
public function EachTestNotifier(notifier:IRunNotifier, description:IDescription)
Constructor.
Parametersnotifier:IRunNotifier — The IRunNotifier to notify regarding the execution of a specific test.
| |
description:IDescription — An IDescription of the current test.
|
addFailedAssumption | () | method |
public function addFailedAssumption(error:Error):void
Instructs the notifier that the test method has failed an assumption.
Parameters
error:Error — The assumption that was violated when running the test method.
|
addFailure | () | method |
public function addFailure(targetException:Error):void
Instructs the notifier that the test method has encountered a failure.
Parameters
targetException:Error — The exception that was thrown when running the test method.
|
fireTestFinished | () | method |
public function fireTestFinished():void
Instructs the notifier that the test method has finished running.
fireTestIgnored | () | method |
public function fireTestIgnored():void
Instructs the notifier that the test method has been ignored.
fireTestStarted | () | method |
public function fireTestStarted():void
Instructs the notifier that the test method has started.