Packageorg.flexunit.runner.manipulation.filters
Classpublic class MethodNameFilter
InheritanceMethodNameFilter Inheritance AbstractFilter Inheritance Object

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



Public Methods
 MethodDefined By
  
MethodNameFilter(methodNames:Array)
Constructor
MethodNameFilter
 Inherited
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
Booleantrue if the test should be run