Uses of Class
junit.framework.TestResult
-
Packages that use TestResult 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. -
-
Uses of TestResult in junit.extensions
Methods in junit.extensions with parameters of type TestResult Modifier and Type Method Description void
TestDecorator. basicRun(TestResult result)
The basic run behaviour.void
ActiveTestSuite. run(TestResult result)
void
RepeatedTest. run(TestResult result)
void
TestDecorator. run(TestResult result)
void
TestSetup. run(TestResult result)
void
ActiveTestSuite. runTest(Test test, TestResult result)
-
Uses of TestResult in junit.framework
Methods in junit.framework that return TestResult Modifier and Type Method 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.Methods in junit.framework with parameters of type TestResult Modifier and Type Method Description RunNotifier
JUnit4TestAdapterCache. getNotifier(TestResult result, JUnit4TestAdapter adapter)
void
JUnit4TestAdapter. run(TestResult result)
void
JUnit4TestCaseFacade. run(TestResult result)
void
Test. run(TestResult result)
Runs a test and collects its result in a TestResult instance.void
TestCase. run(TestResult result)
Runs the test case and collects the results in TestResult.void
TestSuite. run(TestResult result)
Runs the tests and collects their result in a TestResult.void
TestSuite. runTest(Test test, TestResult result)
-
Uses of TestResult in junit.textui
Methods in junit.textui that return TestResult Modifier and Type Method 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.Methods in junit.textui with parameters of type TestResult Modifier and Type Method Description protected void
ResultPrinter. printErrors(TestResult result)
protected void
ResultPrinter. printFailures(TestResult result)
protected void
ResultPrinter. printFooter(TestResult result)
-