Packageorg.flexunit.rules
Interfacepublic interface IMethodRule extends IAsyncStatement
Implementors EventRule



Public Methods
 MethodDefined By
  
Called when this rule is added to the wrapping set of statements before a test method exectuion
IMethodRule
 Inherited
evaluate(parentToken:AsyncTestToken):void
Responisble for evaluating the current statement and reporting its completion to the provided parentToken.
IAsyncStatement
Method Detail
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

Returns
IAsyncStatement — an IAsyncStatement