Uses of Interface
junit.framework.Test
-
Packages that use Test Package Description junit.extensions Provides extended functionality for JUnit v3.x.junit.framework Provides JUnit v3.x core classes.junit.runner Provides JUnit v3.x test runners.junit.textui Provides JUnit v3.x command line based tool to run tests.org.junit.internal.runners Provides implementations ofRunnerorg.junit.runner Provides classes used to describe, collect, run and analyze multiple tests. -
-
Uses of Test in junit.extensions
Classes in junit.extensions that implement Test Modifier and Type Class Description classActiveTestSuiteA TestSuite for active Tests.classRepeatedTestA Decorator that runs a test repeatedly.classTestDecoratorA Decorator for Tests.classTestSetupA Decorator to set up and tear down additional fixture state.Fields in junit.extensions declared as Test Modifier and Type Field Description protected TestTestDecorator. fTestMethods in junit.extensions that return Test Modifier and Type Method Description TestTestDecorator. getTest()Methods in junit.extensions with parameters of type Test Modifier and Type Method Description voidActiveTestSuite. runTest(Test test, TestResult result)Constructors in junit.extensions with parameters of type Test Constructor Description RepeatedTest(Test test, int repeat)TestDecorator(Test test)TestSetup(Test test) -
Uses of Test in junit.framework
Classes in junit.framework that implement Test Modifier and Type Class Description classJUnit4TestAdapterThe JUnit4TestAdapter enables running JUnit-4-style tests using a JUnit-3-style test runner.classJUnit4TestCaseFacadeclassTestCaseA test case defines the fixture to run multiple tests.classTestSuiteATestSuiteis aCompositeof Tests.Fields in junit.framework declared as Test Modifier and Type Field Description protected TestTestFailure. fFailedTestMethods in junit.framework that return Test Modifier and Type Method Description TestJUnit4TestAdapterCache. asTest(Description description)static TestTestSuite. createTest(java.lang.Class<?> theClass, java.lang.String name)...as the moon sets over the early morning Merlin, Oregon mountains, our intrepid adventurers type...TestTestFailure. failedTest()Gets the failed test.TestTestSuite. testAt(int index)Returns the test at the given index.static TestTestSuite. warning(java.lang.String message)Returns a test which will fail and log a warning message.Methods in junit.framework that return types with arguments of type Test Modifier and Type Method Description java.util.List<Test>JUnit4TestAdapterCache. asTestList(Description description)java.util.List<Test>JUnit4TestAdapter. getTests()java.util.Enumeration<Test>TestSuite. tests()Returns the tests as an enumeration.Methods in junit.framework with parameters of type Test Modifier and Type Method Description voidTestListener. addError(Test test, java.lang.Throwable e)An error occurred.voidTestResult. addError(Test test, java.lang.Throwable e)Adds an error to the list of errors.voidTestListener. addFailure(Test test, AssertionFailedError e)A failure occurred.voidTestResult. addFailure(Test test, AssertionFailedError e)Adds a failure to the list of failures.voidTestSuite. addTest(Test test)Adds a test to the suite.voidTestListener. endTest(Test test)A test ended.voidTestResult. endTest(Test test)Informs the result that a test was completed.voidTestResult. runProtected(Test test, Protectable p)Runs a TestCase.voidTestSuite. runTest(Test test, TestResult result)voidTestListener. startTest(Test test)A test started.voidTestResult. startTest(Test test)Informs the result that a test will be started.Constructors in junit.framework with parameters of type Test Constructor Description TestFailure(Test failedTest, java.lang.Throwable thrownException)Constructs a TestFailure with the given test and exception. -
Uses of Test in junit.runner
Methods in junit.runner that return Test Modifier and Type Method Description TestBaseTestRunner. getTest(java.lang.String suiteClassName)Returns the Test corresponding to the given suite.Methods in junit.runner with parameters of type Test Modifier and Type Method Description voidBaseTestRunner. addError(Test test, java.lang.Throwable e)voidBaseTestRunner. addFailure(Test test, AssertionFailedError e)voidBaseTestRunner. endTest(Test test)voidBaseTestRunner. startTest(Test test)abstract voidBaseTestRunner. testFailed(int status, Test test, java.lang.Throwable e) -
Uses of Test in junit.textui
Methods in junit.textui with parameters of type Test Modifier and Type Method Description voidResultPrinter. addError(Test test, java.lang.Throwable e)voidResultPrinter. addFailure(Test test, AssertionFailedError t)TestResultTestRunner. doRun(Test test)TestResultTestRunner. doRun(Test suite, boolean wait)voidResultPrinter. endTest(Test test)static TestResultTestRunner. run(Test test)Runs a single test and collects its results.static voidTestRunner. runAndWait(Test suite)Runs a single test and waits until the user types RETURN.voidResultPrinter. startTest(Test test)voidTestRunner. testFailed(int status, Test test, java.lang.Throwable e) -
Uses of Test in org.junit.internal.runners
Methods in org.junit.internal.runners that return Test Modifier and Type Method Description static TestSuiteMethod. testFromSuiteMethod(java.lang.Class<?> klass)Constructors in org.junit.internal.runners with parameters of type Test Constructor Description JUnit38ClassRunner(Test test) -
Uses of Test in org.junit.runner
Methods in org.junit.runner with parameters of type Test Modifier and Type Method Description ResultJUnitCore. run(Test test)Run all the tests contained in JUnit 3.8.xtest.
-