Uses of Interface
junit.framework.Test
Packages that use Test
Package
Description
Provides extended functionality for JUnit v3.x.
Provides JUnit v3.x core classes.
Provides JUnit v3.x test runners.
Provides JUnit v3.x command line based tool to run tests.
Provides implementations of
RunnerProvides classes used to describe, collect, run and analyze multiple tests.
-
Uses of Test in junit.extensions
Classes in junit.extensions that implement TestModifier and TypeClassDescriptionclassA TestSuite for active Tests.classA Decorator that runs a test repeatedly.classA Decorator for Tests.classA Decorator to set up and tear down additional fixture state.Fields in junit.extensions declared as TestMethods in junit.extensions that return TestMethods in junit.extensions with parameters of type TestConstructors in junit.extensions with parameters of type Test -
Uses of Test in junit.framework
Classes in junit.framework that implement TestModifier and TypeClassDescriptionclassThe JUnit4TestAdapter enables running JUnit-4-style tests using a JUnit-3-style test runner.classclassA test case defines the fixture to run multiple tests.classATestSuiteis aCompositeof Tests.Fields in junit.framework declared as TestFields in junit.framework with type parameters of type TestMethods in junit.framework that return TestModifier and TypeMethodDescriptionJUnit4TestAdapterCache.asTest(Description description) (package private) TestJUnit4TestAdapterCache.createTest(Description description) static TestTestSuite.createTest(Class<?> theClass, String name) ...as the moon sets over the early morning Merlin, Oregon mountains, our intrepid adventurers type...TestFailure.failedTest()Gets the failed test.TestSuite.testAt(int index) Returns the test at the given index.private TestTestSuite.testCaseForClass(Class<?> each) static TestReturns a test which will fail and log a warning message.Methods in junit.framework that return types with arguments of type TestModifier and TypeMethodDescriptionJUnit4TestAdapterCache.asTestList(Description description) JUnit4TestAdapter.getTests()TestSuite.tests()Returns the tests as an enumeration.Methods in junit.framework with parameters of type TestModifier and TypeMethodDescriptionvoidAn error occurred.voidAdds 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.voidAdds a test to the suite.voidA test ended.voidInforms the result that a test was completed.voidTestResult.runProtected(Test test, Protectable p) Runs a TestCase.voidTestSuite.runTest(Test test, TestResult result) voidA test started.voidInforms the result that a test will be started.Constructors in junit.framework with parameters of type TestModifierConstructorDescriptionTestFailure(Test failedTest, Throwable thrownException) Constructs a TestFailure with the given test and exception. -
Uses of Test in junit.runner
Methods in junit.runner that return TestModifier and TypeMethodDescriptionReturns the Test corresponding to the given suite.Methods in junit.runner with parameters of type TestModifier and TypeMethodDescriptionvoidvoidBaseTestRunner.addFailure(Test test, AssertionFailedError e) voidvoidabstract voidBaseTestRunner.testFailed(int status, Test test, Throwable e) -
Uses of Test in junit.textui
Methods in junit.textui with parameters of type TestModifier and TypeMethodDescriptionvoidvoidResultPrinter.addFailure(Test test, AssertionFailedError t) voidstatic TestResultRuns a single test and collects its results.static voidTestRunner.runAndWait(Test suite) Runs a single test and waits until the user types RETURN.voidvoidTestRunner.testFailed(int status, Test test, Throwable e) -
Uses of Test in org.junit.internal.runners
Fields in org.junit.internal.runners declared as TestMethods in org.junit.internal.runners that return TestModifier and TypeMethodDescriptionprivate TestJUnit38ClassRunner.getTest()static TestSuiteMethod.testFromSuiteMethod(Class<?> klass) Methods in org.junit.internal.runners that return types with arguments of type TestModifier and TypeMethodDescriptionJUnit38ClassRunner.OldTestClassAdaptingListener.getEffectiveClass(Test test) Methods in org.junit.internal.runners with parameters of type TestModifier and TypeMethodDescriptionvoidvoidJUnit38ClassRunner.OldTestClassAdaptingListener.addFailure(Test test, AssertionFailedError t) private DescriptionJUnit38ClassRunner.OldTestClassAdaptingListener.asDescription(Test test) voidJUnit38ClassRunner.OldTestClassAdaptingListener.getEffectiveClass(Test test) private Stringprivate static DescriptionJUnit38ClassRunner.makeDescription(Test test) private voidvoidConstructors in org.junit.internal.runners with parameters of type Test -
Uses of Test in org.junit.runner
Methods in org.junit.runner with parameters of type Test