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

Package | org.flexunit.runner.external
Interface | public interface IExternalDependencyRunner extends IRunner
Implementors | Parameterized, Suite, Theories

IExternalDependencyRunner instances are IRunners which support the notion of external dependencies or data that is not present until a potentially asynchronous operation occurs

Public Properties
Hide Inherited Public Properties
Show Inherited Public Properties

| Property | Defined By
--- | --- | ---
|  | dependencyWatcher : IExternalRunnerDependencyWatcher [write-only] Setter for a dependency watcher. | IExternalDependencyRunner
|  | description : IDescription [read-only] | IRunner
|  | externalDependencyError : String [write-only] Setter to indicate an error occured while attempting to load exteranl dependencies for this test. | IExternalDependencyRunner

Public Methods
Hide Inherited Public Methods
Show Inherited Public Methods

| Method | Defined By
--- | --- | ---
|  | pleaseStop():void Ask that the tests run stop before starting the next test. | IRunner
|  | run(notifier:IRunNotifier, previousToken:IAsyncTestToken):void Run the tests for this runner. | IRunner

Property Detail

dependencyWatcher | property

`dependencyWatcher:IExternalRunnerDependencyWatcher` [write-only]

Setter for a dependency watcher. This is a class that implements IExternalRunnerDependencyWatcher and watches for any external dependencies (such as loading data) are finalized before execution of tests is allowed to commence.

Implementation
`public function set dependencyWatcher(value:IExternalRunnerDependencyWatcher):void`

externalDependencyError | property |

`externalDependencyError:String` [write-only]

Setter to indicate an error occured while attempting to load exteranl dependencies for this test. It accepts a string to allow the creator of the external dependency loader to pass a viable error string back to the user.

Implementation
`public function set externalDependencyError(value:String):void`

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