|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.junit.runner.Runner org.junit.internal.runners.JUnit4ClassRunner
BlockJUnit4ClassRunner
in place of JUnit4ClassRunner
.
This may disappear as soon as 1 April 2009
@Deprecated public class JUnit4ClassRunner
Constructor Summary | |
---|---|
JUnit4ClassRunner(Class<?> klass)
Deprecated. |
Method Summary | |
---|---|
void |
filter(Filter filter)
Deprecated. Remove tests that don't pass the parameter filter . |
Description |
getDescription()
Deprecated. |
void |
run(RunNotifier notifier)
Deprecated. Run the tests for this runner. |
void |
sort(Sorter sorter)
Deprecated. Sorts the tests using sorter |
Methods inherited from class org.junit.runner.Runner |
---|
testCount |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JUnit4ClassRunner(Class<?> klass) throws InitializationError
InitializationError
Method Detail |
---|
public void run(RunNotifier notifier)
Runner
run
in class Runner
notifier
- will be notified of events while tests are being run--tests being
started, finishing, and failingpublic 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 apply
NoTestsRemainException
- if all tests are filtered outpublic void sort(Sorter sorter)
Sortable
sorter
sort
in interface Sortable
sorter
- the Sorter
to use for sorting the tests
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |