| Package | org.flexunit.token |
| Class | public class ChildResult |
| Inheritance | ChildResult Object |
ChildResult stores an AsyncTestToken and a potential Error
associated with the execution of an IAsyncStatement. ChildResults are created
in order to provided information about the execution of one particular task to another task.
ChildResults are used throughout much of FlexUnit4. They are used to report information to
FlexUnitCore, runners, statements, and parts of a test when a certain activity has finished.
| Property | Defined By | ||
|---|---|---|---|
| error : Error
The Error associated with the result. | ChildResult | ||
| token : AsyncTestToken
The AsyncTestToken associated with the result. | ChildResult | ||
| Method | Defined By | ||
|---|---|---|---|
ChildResult(token:AsyncTestToken, error:Error = null)
Creates a new ChildResult with the provided token and erorr. | ChildResult | ||
| error | property |
public var error:Error
The Error associated with the result.
| token | property |
public var token:AsyncTestToken
The AsyncTestToken associated with the result.
| ChildResult | () | Constructor |
public function ChildResult(token:AsyncTestToken, error:Error = null)
Creates a new ChildResult with the provided token and erorr.
token:AsyncTestToken — The token to associate with this result.
| |
error:Error (default = null) — The potential Error that was generated from this operation. If an
Error was not genereated, the error will default to null.
|