Package | Description |
---|---|
junit.extensions |
Provides extended functionality for JUnit v3.x.
|
junit.framework |
Provides JUnit v3.x core classes.
|
junit.textui |
Provides JUnit v3.x command line based tool to run tests.
|
Modifier and Type | Method and Description |
---|---|
void |
TestDecorator.basicRun(TestResult result)
The basic run behaviour.
|
void |
TestSetup.run(TestResult result) |
void |
RepeatedTest.run(TestResult result) |
void |
TestDecorator.run(TestResult result) |
void |
ActiveTestSuite.run(TestResult result) |
void |
ActiveTestSuite.runTest(Test test,
TestResult result) |
Modifier and Type | Method and Description |
---|---|
protected TestResult |
TestCase.createResult()
Creates a default TestResult object.
|
TestResult |
TestCase.run()
A convenience method to run this test, collecting the results with a
default TestResult object.
|
Modifier and Type | Method and Description |
---|---|
RunNotifier |
JUnit4TestAdapterCache.getNotifier(TestResult result,
JUnit4TestAdapter adapter) |
void |
JUnit4TestAdapter.run(TestResult result) |
void |
TestCase.run(TestResult result)
Runs the test case and collects the results in TestResult.
|
void |
JUnit4TestCaseFacade.run(TestResult result) |
void |
Test.run(TestResult result)
Runs a test and collects its result in a TestResult instance.
|
void |
TestSuite.run(TestResult result)
Runs the tests and collects their result in a TestResult.
|
void |
TestSuite.runTest(Test test,
TestResult result) |
Modifier and Type | Method and Description |
---|---|
protected TestResult |
TestRunner.createTestResult()
Creates the TestResult to be used for the test run.
|
TestResult |
TestRunner.doRun(Test test) |
TestResult |
TestRunner.doRun(Test suite,
boolean wait) |
static TestResult |
TestRunner.run(Test test)
Runs a single test and collects its results.
|
protected TestResult |
TestRunner.runSingleMethod(java.lang.String testCase,
java.lang.String method,
boolean wait) |
TestResult |
TestRunner.start(java.lang.String[] args)
Starts a test run.
|
Modifier and Type | Method and Description |
---|---|
(package private) void |
ResultPrinter.print(TestResult result,
long runTime) |
protected void |
ResultPrinter.printErrors(TestResult result) |
protected void |
ResultPrinter.printFailures(TestResult result) |
protected void |
ResultPrinter.printFooter(TestResult result) |