Packageorg.flexunit.internals.runners.statements
Interfacepublic 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
 MethodDefined 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.