org.junit.runner.manipulation.Filterable |
Known Indirect Subclasses
AllTests,
BlockJUnit4ClassRunner,
Categories,
Enclosed,
JUnit38ClassRunner,
JUnit4,
JUnit4ClassRunner,
JUnit4TestAdapter,
Parameterized,
ParentRunner<T>,
Suite,
SuiteMethod,
Theories
AllTests |
Runner for use with JUnit 3.8.x-style AllTests classes
(those that only implement a static suite()
method). |
BlockJUnit4ClassRunner |
Implements the JUnit 4 standard test case class model, as defined by the
annotations in the org.junit package. |
Categories |
From a given set of test classes, runs only the classes and methods that are
annotated with either the category given with the @IncludeCategory
annotation, or a subtype of that category. |
Enclosed |
If you put tests in inner classes, Ant, for example, won't find them. |
JUnit38ClassRunner |
|
JUnit4 |
Aliases the current default JUnit 4 class runner, for future-proofing. |
JUnit4ClassRunner |
This class is deprecated.
Included for backwards compatibility with JUnit 4.4. Will be
removed in the next release. Please use
BlockJUnit4ClassRunner in place of JUnit4ClassRunner .
This may disappear as soon as 1 April 2009
|
JUnit4TestAdapter |
|
Parameterized |
The custom runner Parameterized implements parameterized tests. |
ParentRunner<T> |
Provides most of the functionality specific to a Runner that implements a
"parent node" in the test tree, with children defined by objects of some data
type T . |
Suite |
Using Suite as a runner allows you to manually
build a suite containing tests from many classes. |
SuiteMethod |
Runner for use with JUnit 3.8.x-style AllTests classes
(those that only implement a static suite()
method). |
Theories |
|
|
Class Overview
Runners that allow filtering should implement this interface. Implement filter(Filter)
to remove tests that don't pass the filter.
Summary
Public Methods |
abstract
void
|
filter(Filter filter)
Remove tests that don't pass the parameter filter .
|
Public Methods
public
abstract
void
filter
(Filter filter)
Remove tests that don't pass the parameter filter
.