public class JUnit38ClassRunner extends Runner implements Filterable, Sortable
| Constructor and Description |
|---|
JUnit38ClassRunner(Class<?> klass) |
JUnit38ClassRunner(Test test) |
| Modifier and Type | Method and Description |
|---|---|
TestListener |
createAdaptingListener(RunNotifier notifier) |
void |
filter(Filter filter)
Remove tests that don't pass the parameter
filter. |
Description |
getDescription() |
void |
run(RunNotifier notifier)
Run the tests for this runner.
|
void |
sort(Sorter sorter)
Sorts the tests using
sorter |
public JUnit38ClassRunner(Class<?> klass)
public JUnit38ClassRunner(Test test)
public void run(RunNotifier notifier)
Runnerpublic TestListener createAdaptingListener(RunNotifier notifier)
public Description getDescription()
getDescription in interface DescribablegetDescription in class RunnerDescription showing the tests to be run by the receiverpublic void filter(Filter filter) throws NoTestsRemainException
Filterablefilter.filter in interface Filterablefilter - the Filter to applyNoTestsRemainException - if all tests are filtered outCopyright © 2002–2017 JUnit. All rights reserved.