carbidecpp20devenv/plugins/org.eclipse.test.source_3.3.0.v20080507/src/org.junit4_4.3.1/junitsrc/org/junit/runner/manipulation/Filterable.java
author Deepak Modgil <Deepak.Modgil@Nokia.com>
Fri, 03 Apr 2009 17:08:57 +0100
changeset 0 20e4ed35fd3f
permissions -rw-r--r--
DP tools release version Revision: 200912

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;

}