Interface Filterable

All Known Implementing Classes:
AllTests, BlockJUnit4ClassRunner, BlockJUnit4ClassRunnerWithParameters, Categories, Enclosed, JUnit38ClassRunner, JUnit4, JUnit4ClassRunner, JUnit4TestAdapter, Parameterized, ParentRunner, Suite, 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.
Since:
4.0
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    filter(Filter filter)
    Remove tests that don't pass the parameter filter.