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

Package | org.flexunit.runner.manipulation
Interface | public interface IFilterable
Implementors | BlockFlexUnit4ClassRunner, FlexUnit1ClassRunner, Suite

IRunners that allow filtering should implement this interface. Implement `#filter(Filter)` to remove tests that don't pass the filter.

Public Methods

| Method | Defined By
--- | --- | ---
|  | filter(filter:IFilter):void Remove tests that don't pass the parameter filter. | IFilterable

Method Detail

filter | () | method

`public function filter(filter:IFilter):void`

Remove tests that don't pass the parameter `filter`.

Parameters

| `filter:IFilter` — the `Filter` to apply

Throws

| `NoTestsRemainException` — if all tests are filtered out

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