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

Package | org.flexunit.rules
Interface | public interface IMethodRule extends IAsyncStatement
Implementors | EventRule

Public Methods
Hide Inherited Public Methods
Show Inherited Public Methods

| Method | Defined By
--- | --- | ---
|  | 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 | IMethodRule
|  | 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

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