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)
Runner
public TestListener createAdaptingListener(RunNotifier notifier)
public Description getDescription()
getDescription
in interface Describable
getDescription
in class Runner
Description
showing the tests to be run by the receiverpublic void filter(Filter filter) throws NoTestsRemainException
Filterable
filter
.filter
in interface Filterable
filter
- the Filter
to applyNoTestsRemainException
- if all tests are filtered outCopyright © 2002–2022 JUnit. All rights reserved.