API Documentation | All Packages | All Classes | Index | Frames No Frames |
ErrorReportingRunner

Package | org.flexunit.internals.runners
Class | public class ErrorReportingRunner
Inheritance | ErrorReportingRunner Object
Implements | IRunner

Runner responsible for reproting errors encountered when attempting to initialize a class instead of running tests

Public Properties

| Property | Defined By
--- | --- | ---
|  | description : IDescription [read-only] Describe the test class and add a child to it for each cause that was associated with the Error | ErrorReportingRunner

Public Methods

| Method | Defined By
--- | --- | ---
|  | ErrorReportingRunner(testClass:Class, cause:Error) Constructor. | ErrorReportingRunner
|  | pleaseStop():void Ask that the tests run stop before starting the next test. | ErrorReportingRunner
|  | run(notifier:IRunNotifier, previousToken:IAsyncTestToken):void Informs the notifier about each potential cause Error for the test class | ErrorReportingRunner

Property Detail

description | property

`description:IDescription` [read-only]

Describe the test class and add a child to it for each cause that was associated with the Error

Implementation
`public function get description():IDescription`
Constructor Detail

ErrorReportingRunner | () | Constructor

`public function ErrorReportingRunner(testClass:Class, cause:Error)`

Constructor.

Parameters

| `testClass:Class` — The test class that generated the error
| `cause:Error` — The error that was generated when attempting to find a

Method Detail

pleaseStop | () | method

`public function pleaseStop():void`

Ask that the tests run stop before starting the next test. Phrased politely because the test currently running will not be interrupted.

run | () | method |

`public function run(notifier:IRunNotifier, previousToken:IAsyncTestToken):void`

Informs the notifier about each potential cause Error for the test class

Parameters

| `notifier:IRunNotifier` — The notifer to notify about the cause Errors
| `previousToken:IAsyncTestToken` — A token that will be alerted when the notifer has been notified for each cause Error

Thu Apr 10 2014, 08:07 AM +10:00