Package | org.flexunit.rules |
Interface | public interface IMethodRule extends IAsyncStatement |
Implementors | EventRule |
Method | Defined By | ||
---|---|---|---|
Called when this rule is added to the wrapping set of statements before a test method
exectuion
| IMethodRule | ||
![]() | evaluate(parentToken:AsyncTestToken):void
Responisble for evaluating the current statement and reporting its completion to the provided
parentToken. | IAsyncStatement |
apply | () | method |
public function apply(base:IAsyncStatement, method:FrameworkMethod, test:Object):IAsyncStatement
Called when this rule is added to the wrapping set of statements before a test method exectuion
Parameters
base:IAsyncStatement — the next statement in the descending stack
| |
method:FrameworkMethod — the method that will be tested
| |
test:Object — instance where that method is declared
|
IAsyncStatement — an IAsyncStatement
|