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

Package | org.flexunit.internals.runners.statements
Interface | public interface IAsyncStatement
Implementors | AssignmentSequencer, ChildRunnerSequencer, ExpectAsync, ExpectException, Fail, FailOnTimeout, InvokeMethod, MethodCompleteWithParamsStatement, MethodRuleBase, RunAfters, RunAftersClass, RunAftersInline, RunBefores, RunBeforesClass, RunBeforesInline, StackAndFrameManagement, StatementSequencer, TheoryAnchor, TheoryBlockRunnerStatement

An `IAsyncStatement` is an interface for statements that need to be evaluated and report to a parent when the statement has finish evaluating. Often times, `IAsyncStatement` are chained together with each statement performing a specific task and notifying its parent when it has finished.

Public Methods

| Method | Defined By
--- | --- | ---
|  | evaluate(parentToken:AsyncTestToken):void Responisble for evaluating the current statement and reporting its completion to the provided parentToken. | IAsyncStatement

Method Detail

evaluate | () | method

`public function evaluate(parentToken:AsyncTestToken):void`

Responisble for evaluating the current statement and reporting its completion to the provided `parentToken`.

Parameters

| `parentToken:AsyncTestToken` — An `AsyncTestToken` that is used to notify a parent that the current statement has finished being evalutated.

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