org.junit.runner.manipulation.Filterable Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of junit Show documentation
Show all versions of junit Show documentation
JUnit is a unit testing framework for Java, created by Erich Gamma and Kent Beck.
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.
*
* @since 4.0
*/
public interface Filterable {
/**
* Remove tests that don't pass the parameter filter
.
*
* @param filter the {@link Filter} to apply
* @throws NoTestsRemainException if all tests are filtered out
*/
void filter(Filter filter) throws NoTestsRemainException;
}