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
Runner
Provides classes used to describe, collect, run and analyze multiple tests.
-
Uses of Test in junit.extensions
Classes in junit.extensions that implement TestModifier and TypeClassDescriptionclass
A TestSuite for active Tests.class
A Decorator that runs a test repeatedly.class
A Decorator for Tests.class
A 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 TypeClassDescriptionclass
The JUnit4TestAdapter enables running JUnit-4-style tests using a JUnit-3-style test runner.class
class
A test case defines the fixture to run multiple tests.class
ATestSuite
is aComposite
of 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) Test
JUnit4TestAdapterCache.createTest
(Description description) static Test
TestSuite.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 Test
TestSuite.testCaseForClass
(Class<?> each) static Test
Returns 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 TypeMethodDescriptionvoid
An error occurred.void
Adds an error to the list of errors.void
TestListener.addFailure
(Test test, AssertionFailedError e) A failure occurred.void
TestResult.addFailure
(Test test, AssertionFailedError e) Adds a failure to the list of failures.void
Adds a test to the suite.void
A test ended.void
Informs the result that a test was completed.void
TestResult.runProtected
(Test test, Protectable p) Runs a TestCase.void
TestSuite.runTest
(Test test, TestResult result) void
A test started.void
Informs 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 TypeMethodDescriptionvoid
void
BaseTestRunner.addFailure
(Test test, AssertionFailedError e) void
void
abstract void
BaseTestRunner.testFailed
(int status, Test test, Throwable e) -
Uses of Test in junit.textui
Methods in junit.textui with parameters of type TestModifier and TypeMethodDescriptionvoid
void
ResultPrinter.addFailure
(Test test, AssertionFailedError t) void
static TestResult
Runs a single test and collects its results.static void
TestRunner.runAndWait
(Test suite) Runs a single test and waits until the user types RETURN.void
void
TestRunner.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 Test
JUnit38ClassRunner.getTest()
static Test
SuiteMethod.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 TypeMethodDescriptionvoid
void
JUnit38ClassRunner.OldTestClassAdaptingListener.addFailure
(Test test, AssertionFailedError t) private Description
JUnit38ClassRunner.OldTestClassAdaptingListener.asDescription
(Test test) void
JUnit38ClassRunner.OldTestClassAdaptingListener.getEffectiveClass
(Test test) private String
private static Description
JUnit38ClassRunner.makeDescription
(Test test) private void
void
Constructors 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