| Package | org.flexunit.runner.manipulation.filters |
| Class | public class AbstractFilter |
| Inheritance | AbstractFilter Object |
| Implements | IFilter |
| Subclasses | DynamicFilter, IncludeAllFilter, MethodNameFilter |
| Method | Defined By | ||
|---|---|---|---|
Constructor
| AbstractFilter | ||
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
Returns a textual description of this Filter
| AbstractFilter | ||
shouldRun(description:IDescription):Boolean | AbstractFilter | ||
| AbstractFilter | () | Constructor |
public function AbstractFilter()Constructor
| apply | () | method |
public function 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. Only those that pass the filter will be run.
Parameters
child:Object — the runner to be filtered by the receiver
|
NoTestsRemainException — if the receiver removes all tests
|
| describe | () | method |
public function describe(description:IDescription):StringReturns a textual description of this Filter
Parameters
description:IDescription |
String — a textual description of this Filter
|
| shouldRun | () | method |
public function shouldRun(description:IDescription):Boolean
Parameters
description:IDescription — the description of the test to be run
|
Boolean — true if the test should be run
|