Packageorg.flexunit.token
Classpublic class ChildResult
InheritanceChildResult Inheritance Object

The 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.



Public Properties
 PropertyDefined By
  error : Error
The Error associated with the result.
ChildResult
  token : AsyncTestToken
The AsyncTestToken associated with the result.
ChildResult
Public Methods
 MethodDefined By
  
ChildResult(token:AsyncTestToken, error:Error = null)
Creates a new ChildResult with the provided token and erorr.
ChildResult
Property Detail
errorproperty
public var error:Error

The Error associated with the result.

tokenproperty 
public var token:AsyncTestToken

The AsyncTestToken associated with the result.

Constructor Detail
ChildResult()Constructor
public function ChildResult(token:AsyncTestToken, error:Error = null)

Creates a new ChildResult with the provided token and erorr.

Parameters
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.