Package org.junit.runner.manipulation
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
-
Method Details
-
filter
Remove tests that don't pass the parameterfilter
.- Parameters:
filter
- theFilter
to apply- Throws:
NoTestsRemainException
- if all tests are filtered out
-