KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > junit > runner > manipulation > Filterable


1 package org.junit.runner.manipulation;
2
3 /**
4  * Runners that allow filtering should implement this interface. Implement {@link #filter(Filter)}
5  * to remove tests that don't pass the filter.
6  */

7 public interface Filterable {
8
9     /**
10      * Remove tests that don't pass the parameter <code>filter</code>.
11      * @param filter the {@link Filter} to apply
12      * @throws NoTestsRemainException if all tests are filtered out
13      */

14     void filter(Filter filter) throws NoTestsRemainException;
15
16 }
17
Popular Tags