|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.junit.runner.Runner
public abstract class Runner
A Runner runs tests and notifies a RunNotifier
of significant events as it does so. You will need to subclass Runner
when using RunWith to invoke a custom runner. When creating
a custom runner, in addition to implementing the abstract methods here you must
also provide a constructor that takes as an argument the Class containing
the tests.
Description,
RunWith| Constructor Summary | |
|---|---|
Runner()
|
|
| Method Summary | |
|---|---|
abstract Description |
getDescription()
|
abstract void |
run(RunNotifier notifier)
Run the tests for this runner. |
int |
testCount()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Runner()
| Method Detail |
|---|
public abstract Description getDescription()
Description showing the tests to be run by the receiverpublic abstract void run(RunNotifier notifier)
notifier - will be notified of events while tests are being run--tests being
started, finishing, and failingpublic int testCount()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||