| Package | org.flexunit.events.rule |
| Class | public class EventRule |
| Inheritance | EventRule MethodRuleBase AsyncStatementBase Object |
| Implements | IMethodRule |
| Method | Defined By | ||
|---|---|---|---|
| EventRule | |||
![]() |
Called when this rule is added to the wrapping set of statements before a test method
exectuion
| MethodRuleBase | |
evaluate(parentToken:AsyncTestToken):void [override] | EventRule | ||
from(dispatcher:IEventDispatcher):IEventExpectation | EventRule | ||
![]() | toString():String [override]
A method which must be overriden in subclasses. | MethodRuleBase | |
| Method | Defined By | ||
|---|---|---|---|
handleStatementComplete(result:ChildResult):void [override] | EventRule | ||
![]() | proceedToNextStatement():void
Convenience method for notifying the next statement that it can begin its pretest work
| MethodRuleBase | |
![]() | sendComplete(error:Error = null):void
If the parentToken has not already been alerted that the statement has completed, alert the parent token that
the current statement has finished. | AsyncStatementBase | |
| EventRule | () | Constructor |
public function EventRule()| evaluate | () | method |
override public function evaluate(parentToken:AsyncTestToken):voidParameters
parentToken:AsyncTestToken |
| from | () | method |
public function from(dispatcher:IEventDispatcher):IEventExpectationParameters
dispatcher:IEventDispatcher |
IEventExpectation |
| handleStatementComplete | () | method |
override protected function handleStatementComplete(result:ChildResult):voidParameters
result:ChildResult |