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 voidTestDecorator. basicRun(TestResult result)The basic run behaviour.voidActiveTestSuite. run(TestResult result)voidRepeatedTest. run(TestResult result)voidTestDecorator. run(TestResult result)voidTestSetup. run(TestResult result)voidActiveTestSuite. runTest(Test test, TestResult result) -
Uses of TestResult in junit.framework
Methods in junit.framework that return TestResult Modifier and Type Method Description protected TestResultTestCase. createResult()Creates a default TestResult object.TestResultTestCase. 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 RunNotifierJUnit4TestAdapterCache. getNotifier(TestResult result, JUnit4TestAdapter adapter)voidJUnit4TestAdapter. run(TestResult result)voidJUnit4TestCaseFacade. run(TestResult result)voidTest. run(TestResult result)Runs a test and collects its result in a TestResult instance.voidTestCase. run(TestResult result)Runs the test case and collects the results in TestResult.voidTestSuite. run(TestResult result)Runs the tests and collects their result in a TestResult.voidTestSuite. runTest(Test test, TestResult result) -
Uses of TestResult in junit.textui
Methods in junit.textui that return TestResult Modifier and Type Method Description protected TestResultTestRunner. createTestResult()Creates the TestResult to be used for the test run.TestResultTestRunner. doRun(Test test)TestResultTestRunner. doRun(Test suite, boolean wait)static TestResultTestRunner. run(Test test)Runs a single test and collects its results.protected TestResultTestRunner. runSingleMethod(java.lang.String testCase, java.lang.String method, boolean wait)TestResultTestRunner. start(java.lang.String[] args)Starts a test run.Methods in junit.textui with parameters of type TestResult Modifier and Type Method Description (package private) voidResultPrinter. print(TestResult result, long runTime)protected voidResultPrinter. printErrors(TestResult result)protected voidResultPrinter. printFailures(TestResult result)protected voidResultPrinter. printFooter(TestResult result)
-