Package | org.flexunit.token |
Interface | public interface IAsyncTestToken |
Implementors | AsyncTestToken |
Property | Defined By | ||
---|---|---|---|
parentToken : IAsyncTestToken
Returns the parentToken of the AsyncTestToken. | IAsyncTestToken |
Method | Defined By | ||
---|---|---|---|
addNotificationMethod(method:Function, debugClassName:String = null):IAsyncTestToken
Adds a notification method to the AsyncTestToken and returns the token. | IAsyncTestToken | ||
sendResult(error:Error = null):void
If any notification methods exist, invokes the notification methods with a ChildResult that
contains a references to this token and the provided error. | IAsyncTestToken |
parentToken | property |
parentToken:IAsyncTestToken
Returns the parentToken of the AsyncTestToken
.
public function get parentToken():IAsyncTestToken
public function set parentToken(value:IAsyncTestToken):void
addNotificationMethod | () | method |
public function addNotificationMethod(method:Function, debugClassName:String = null):IAsyncTestToken
Adds a notification method
to the AsyncTestToken
and returns the token.
Parameters
method:Function — A Function that will be invoked when results are sent.
| |
debugClassName:String (default = null ) — The name of the class.
|
IAsyncTestToken — this AsyncTestToken with the added method .
|
sendResult | () | method |
public function sendResult(error:Error = null):void
If any notification methods exist, invokes the notification methods with a ChildResult
that
contains a references to this token and the provided error
.
Parameters
error:Error (default = null )
|