Filterable (JUnit API)
Date: 2011-08-22

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.junit.runner.manipulation
Interface Filterable

All Known Implementing Classes:
  AllTests, BlockJUnit4ClassRunner, Categories, Enclosed, org.junit.internal.runners.JUnit38ClassRunner, JUnit4, Parameterized, ParentRunner, Suite, org.junit.internal.runners.SuiteMethod, Theories

    public interface Filterable

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

Method Summary
`void` | `filter(Filter filter)` Remove tests that don't pass the parameter `filter`.

Method Detail

### filter

    void filter(Filter filter)
                throws NoTestsRemainException

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

  Parameters:
    `filter` - the `Filter` to apply
  Throws:
    `NoTestsRemainException` - if all tests are filtered out

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD