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

Package | org.flexunit.runner.manipulation.filters
Class | public class MethodNameFilter
Inheritance | MethodNameFilter AbstractFilter Object

Filter that matches method names. A matching method name means the method will be executed

Public Methods
Hide Inherited Public Methods
Show Inherited Public Methods

| Method | Defined By
--- | --- | ---
|  | MethodNameFilter(methodNames:Array) Constructor | MethodNameFilter
|  | apply(child:Object):void Invoke with a org.flexunit.runner.IRunner to cause all tests it intends to run to first be checked with the filter. | AbstractFilter
|  | describe(description:IDescription):String [override] Returns a textual description of this Filter | MethodNameFilter
|  | shouldRun(description:IDescription):Boolean [override] | MethodNameFilter

Constructor Detail

MethodNameFilter | () | Constructor

`public function MethodNameFilter(methodNames:Array)`

Constructor

Parameters

| `methodNames:Array`

Method Detail

describe | () | method

`override public function describe(description:IDescription):String`

Returns a textual description of this Filter

Parameters

| `description:IDescription`

Returns

| `String` — a textual description of this Filter

shouldRun | () | method |

`override public function shouldRun(description:IDescription):Boolean`

Parameters

| `description:IDescription` — the description of the test to be run

Returns

| `Boolean` — `true` if the test should be run

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