Home | History | Annotate | Download | only in manipulation
      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  * @since 4.0
      8  */
      9 public interface Filterable {
     10 
     11     /**
     12      * Remove tests that don't pass the parameter <code>filter</code>.
     13      *
     14      * @param filter the {@link Filter} to apply
     15      * @throws NoTestsRemainException if all tests are filtered out
     16      */
     17     void filter(Filter filter) throws NoTestsRemainException;
     18 
     19 }
     20