blob: 782c0f709b3627a8ae56a73a4771d8e2ebbd5bbc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
package org.junit.runner.manipulation;
/**
* Runners that allow filtering should implement this interface. Implement {@link #filter(Filter)}
* to remove tests that don't pass the filter.
*/
public interface Filterable {
/**
* Remove tests that don't pass the parameter <code>filter</code>.
* @param filter the {@link Filter} to apply
* @throws NoTestsRemainException if all tests are filtered out
*/
void filter(Filter filter) throws NoTestsRemainException;
}
|