- aboutToStart(Test, TestResult) - Method in class junit.swingui.FailureRunView
-
- aboutToStart(Test, TestResult) - Method in class junit.swingui.TestHierarchyRunView
-
- aboutToStart(Test) - Method in class junit.swingui.TestRunner
-
- activate() - Method in class junit.swingui.FailureRunView
-
- activate() - Method in class junit.swingui.TestHierarchyRunView
-
- ActiveTestSuite - Class in junit.extensions
-
A TestSuite for active Tests.
- ActiveTestSuite() - Constructor for class junit.extensions.ActiveTestSuite
-
- ActiveTestSuite(Class) - Constructor for class junit.extensions.ActiveTestSuite
-
- ActiveTestSuite(String) - Constructor for class junit.extensions.ActiveTestSuite
-
- ActiveTestSuite(Class, String) - Constructor for class junit.extensions.ActiveTestSuite
-
- addError(Test, Throwable) - Method in interface junit.framework.TestListener
-
An error occurred.
- addError(Test, Throwable) - Method in class junit.framework.TestResult
-
Adds an error to the list of errors.
- addError(Test, Throwable) - Method in class junit.runner.BaseTestRunner
-
- addError(Test, Throwable) - Method in class junit.textui.ResultPrinter
-
- addFailure(Test, AssertionFailedError) - Method in interface junit.framework.TestListener
-
A failure occurred.
- addFailure(Test, AssertionFailedError) - Method in class junit.framework.TestResult
-
Adds a failure to the list of failures.
- addFailure(Test, AssertionFailedError) - Method in class junit.runner.BaseTestRunner
-
- addFailure(Test, AssertionFailedError) - Method in class junit.textui.ResultPrinter
-
- addGrid(Panel, Component, int, int, int, int, double, int) - Method in class junit.awtui.TestRunner
-
- addListener(TestListener) - Method in class junit.framework.TestResult
-
Registers a TestListener
- addTab(JTabbedPane) - Method in class junit.swingui.FailureRunView
-
- addTab(JTabbedPane) - Method in class junit.swingui.TestHierarchyRunView
-
- addTest(Test) - Method in class junit.framework.TestSuite
-
Adds a test to the suite.
- addTestSuite(Class) - Method in class junit.framework.TestSuite
-
Adds the tests from the given class to the suite
- addToGrid(Component, int, int, int, int, double, double, int, int, Insets) - Method in class junit.swingui.CounterPanel
-
- Assert - Class in junit.framework
-
A set of assert methods.
- Assert() - Constructor for class junit.framework.Assert
-
Protect constructor since it is a static only class
- assertEquals(String, Object, Object) - Static method in class junit.framework.Assert
-
Asserts that two objects are equal.
- assertEquals(Object, Object) - Static method in class junit.framework.Assert
-
Asserts that two objects are equal.
- assertEquals(String, String, String) - Static method in class junit.framework.Assert
-
Asserts that two Strings are equal.
- assertEquals(String, String) - Static method in class junit.framework.Assert
-
Asserts that two Strings are equal.
- assertEquals(String, double, double, double) - Static method in class junit.framework.Assert
-
Asserts that two doubles are equal concerning a delta.
- assertEquals(double, double, double) - Static method in class junit.framework.Assert
-
Asserts that two doubles are equal concerning a delta.
- assertEquals(String, float, float, float) - Static method in class junit.framework.Assert
-
Asserts that two floats are equal concerning a delta.
- assertEquals(float, float, float) - Static method in class junit.framework.Assert
-
Asserts that two floats are equal concerning a delta.
- assertEquals(String, long, long) - Static method in class junit.framework.Assert
-
Asserts that two longs are equal.
- assertEquals(long, long) - Static method in class junit.framework.Assert
-
Asserts that two longs are equal.
- assertEquals(String, boolean, boolean) - Static method in class junit.framework.Assert
-
Asserts that two booleans are equal.
- assertEquals(boolean, boolean) - Static method in class junit.framework.Assert
-
Asserts that two booleans are equal.
- assertEquals(String, byte, byte) - Static method in class junit.framework.Assert
-
Asserts that two bytes are equal.
- assertEquals(byte, byte) - Static method in class junit.framework.Assert
-
Asserts that two bytes are equal.
- assertEquals(String, char, char) - Static method in class junit.framework.Assert
-
Asserts that two chars are equal.
- assertEquals(char, char) - Static method in class junit.framework.Assert
-
Asserts that two chars are equal.
- assertEquals(String, short, short) - Static method in class junit.framework.Assert
-
Asserts that two shorts are equal.
- assertEquals(short, short) - Static method in class junit.framework.Assert
-
Asserts that two shorts are equal.
- assertEquals(String, int, int) - Static method in class junit.framework.Assert
-
Asserts that two ints are equal.
- assertEquals(int, int) - Static method in class junit.framework.Assert
-
Asserts that two ints are equal.
- assertFalse(String, boolean) - Static method in class junit.framework.Assert
-
Asserts that a condition is false.
- assertFalse(boolean) - Static method in class junit.framework.Assert
-
Asserts that a condition is false.
- AssertionFailedError - Error in junit.framework
-
Thrown when an assertion failed.
- AssertionFailedError() - Constructor for error junit.framework.AssertionFailedError
-
- AssertionFailedError(String) - Constructor for error junit.framework.AssertionFailedError
-
- assertNotNull(Object) - Static method in class junit.framework.Assert
-
Asserts that an object isn't null.
- assertNotNull(String, Object) - Static method in class junit.framework.Assert
-
Asserts that an object isn't null.
- assertNotSame(String, Object, Object) - Static method in class junit.framework.Assert
-
Asserts that two objects do not refer to the same object.
- assertNotSame(Object, Object) - Static method in class junit.framework.Assert
-
Asserts that two objects do not refer to the same object.
- assertNull(Object) - Static method in class junit.framework.Assert
-
Asserts that an object is null.
- assertNull(String, Object) - Static method in class junit.framework.Assert
-
Asserts that an object is null.
- assertSame(String, Object, Object) - Static method in class junit.framework.Assert
-
Asserts that two objects refer to the same object.
- assertSame(Object, Object) - Static method in class junit.framework.Assert
-
Asserts that two objects refer to the same object.
- assertTrue(String, boolean) - Static method in class junit.framework.Assert
-
Asserts that a condition is true.
- assertTrue(boolean) - Static method in class junit.framework.Assert
-
Asserts that a condition is true.
- reload(Class) - Method in class junit.runner.ReloadingTestSuiteLoader
-
- reload(Class) - Method in class junit.runner.StandardTestSuiteLoader
-
Uses the system class loader to load the test class
- reload(Class) - Method in interface junit.runner.TestSuiteLoader
-
- ReloadingTestSuiteLoader - Class in junit.runner
-
A TestSuite loader that can reload classes.
- ReloadingTestSuiteLoader() - Constructor for class junit.runner.ReloadingTestSuiteLoader
-
- removeListener(TestListener) - Method in class junit.framework.TestResult
-
Unregisters a TestListener
- removeUpdate(DocumentEvent) - Method in class junit.swingui.TestRunner
-
- RepeatedTest - Class in junit.extensions
-
A Decorator that runs a test repeatedly.
- RepeatedTest(Test, int) - Constructor for class junit.extensions.RepeatedTest
-
- rerun() - Method in class junit.awtui.TestRunner
-
- reset() - Method in class junit.awtui.ProgressBar
-
- reset() - Method in class junit.awtui.TestRunner
-
- reset() - Method in class junit.swingui.CounterPanel
-
- reset() - Method in class junit.swingui.TestRunner
-
- ResultPrinter - Class in junit.textui
-
- ResultPrinter(PrintStream) - Constructor for class junit.textui.ResultPrinter
-
- revealFailure(Test) - Method in class junit.swingui.FailureRunView
-
- revealFailure(Test) - Method in class junit.swingui.TestHierarchyRunView
-
- run(Class) - Static method in class junit.awtui.TestRunner
-
- run(TestResult) - Method in class junit.extensions.ActiveTestSuite
-
- run(TestResult) - Method in class junit.extensions.RepeatedTest
-
- run(TestResult) - Method in class junit.extensions.TestDecorator
-
- run(TestResult) - Method in class junit.extensions.TestSetup
-
- run(TestResult) - Method in interface junit.framework.Test
-
Runs a test and collects its result in a TestResult instance.
- run() - Method in class junit.framework.TestCase
-
A convenience method to run this test, collecting the results with a
default TestResult object.
- run(TestResult) - Method in class junit.framework.TestCase
-
Runs the test case and collects the results in TestResult.
- run(TestCase) - Method in class junit.framework.TestResult
-
Runs a TestCase.
- run(TestResult) - Method in class junit.framework.TestSuite
-
Runs the tests and collects their result in a TestResult.
- run(Class) - Static method in class junit.swingui.TestRunner
-
- run(Class) - Static method in class junit.textui.TestRunner
-
Runs a suite extracted from a TestCase subclass.
- run(Test) - Static method in class junit.textui.TestRunner
-
Runs a single test and collects its results.
- runAndWait(Test) - Static method in class junit.textui.TestRunner
-
Runs a single test and waits until the user
types RETURN.
- runBare() - Method in class junit.framework.TestCase
-
Runs the bare test sequence.
- runCount() - Method in class junit.framework.TestResult
-
Gets the number of run tests.
- runFailed(String) - Method in class junit.awtui.TestRunner
-
- runFailed(String) - Method in class junit.runner.BaseTestRunner
-
Override to define how to handle a failed loading of
a test suite.
- runFailed(String) - Method in class junit.swingui.TestRunner
-
- runFailed(String) - Method in class junit.textui.TestRunner
-
- runFinished() - Method in class junit.extensions.ActiveTestSuite
-
- runFinished(Test, TestResult) - Method in class junit.swingui.FailureRunView
-
- runFinished(Test, TestResult) - Method in class junit.swingui.TestHierarchyRunView
-
- runFinished(Test) - Method in class junit.swingui.TestRunner
-
- runProtected(Test, Protectable) - Method in class junit.framework.TestResult
-
Runs a TestCase.
- runSingleMethod(String, String, boolean) - Method in class junit.textui.TestRunner
-
- runSuite() - Method in class junit.awtui.TestRunner
-
- runSuite() - Method in class junit.swingui.TestRunner
-
- runTest(Test, TestResult) - Method in class junit.extensions.ActiveTestSuite
-
- runTest() - Method in class junit.extensions.ExceptionTestCase
-
Execute the test method expecting that an Exception of
class fExpected or one of its subclasses will be thrown
- runTest() - Method in class junit.framework.TestCase
-
Override to run the test and assert its state.
- runTest(Test, TestResult) - Method in class junit.framework.TestSuite
-
- runTest(Test) - Method in class junit.swingui.TestRunner
-
- tearDown() - Method in class junit.extensions.TestSetup
-
Tears down the fixture.
- tearDown() - Method in class junit.framework.TestCase
-
Tears down the fixture, for example, close a network connection.
- terminate() - Method in class junit.swingui.TestRunner
-
Terminates the TestRunner
- Test - Interface in junit.framework
-
A Test can be run and collect its results.
- testAt(int) - Method in class junit.framework.TestSuite
-
Returns the test at the given index
- TestCase - Class in junit.framework
-
A test case defines the fixture to run multiple tests.
- TestCase() - Constructor for class junit.framework.TestCase
-
No-arg constructor to enable serialization.
- TestCase(String) - Constructor for class junit.framework.TestCase
-
Constructs a test case with the given name.
- TestCaseClassLoader - Class in junit.runner
-
A custom class loader which enables the reloading
of classes for each test run.
- TestCaseClassLoader() - Constructor for class junit.runner.TestCaseClassLoader
-
Constructs a TestCaseLoader.
- TestCaseClassLoader(String) - Constructor for class junit.runner.TestCaseClassLoader
-
Constructs a TestCaseLoader.
- TestCollector - Interface in junit.runner
-
Collects Test class names to be presented
by the TestSelector.
- testCount() - Method in class junit.framework.TestSuite
-
Returns the number of tests in this suite
- TestDecorator - Class in junit.extensions
-
A Decorator for Tests.
- TestDecorator(Test) - Constructor for class junit.extensions.TestDecorator
-
- testEnded(String) - Method in class junit.awtui.TestRunner
-
- testEnded(String) - Method in class junit.runner.BaseTestRunner
-
- testEnded(String) - Method in interface junit.runner.TestRunListener
-
- testEnded(String) - Method in class junit.swingui.TestRunner
-
- testEnded(String) - Method in class junit.textui.TestRunner
-
- testFailed(int, Test, Throwable) - Method in class junit.awtui.TestRunner
-
- testFailed(int, Test, Throwable) - Method in class junit.runner.BaseTestRunner
-
- testFailed(int, String, String) - Method in interface junit.runner.TestRunListener
-
- testFailed(int, Test, Throwable) - Method in class junit.swingui.TestRunner
-
- testFailed(int, Test, Throwable) - Method in class junit.textui.TestRunner
-
- TestFailure - Class in junit.framework
-
A TestFailure
collects a failed test together with
the caught exception.
- TestFailure(Test, Throwable) - Constructor for class junit.framework.TestFailure
-
Constructs a TestFailure with the given test and exception.
- TestHierarchyRunView - Class in junit.swingui
-
A hierarchical view of a test run.
- TestHierarchyRunView(TestRunContext) - Constructor for class junit.swingui.TestHierarchyRunView
-
- TestListener - Interface in junit.framework
-
A Listener for test progress
- TestResult - Class in junit.framework
-
A TestResult
collects the results of executing
a test case.
- TestResult() - Constructor for class junit.framework.TestResult
-
- TestRunContext - Interface in junit.swingui
-
The interface for accessing the Test run context.
- testRunEnded(long) - Method in interface junit.runner.TestRunListener
-
- TestRunListener - Interface in junit.runner
-
A listener interface for observing the
execution of a test run.
- TestRunner - Class in junit.awtui
-
An AWT based user interface to run tests.
- TestRunner() - Constructor for class junit.awtui.TestRunner
-
- TestRunner - Class in junit.swingui
-
A Swing based user interface to run tests.
- TestRunner() - Constructor for class junit.swingui.TestRunner
-
- TestRunner - Class in junit.textui
-
A command line based tool to run tests.
- TestRunner() - Constructor for class junit.textui.TestRunner
-
Constructs a TestRunner.
- TestRunner(PrintStream) - Constructor for class junit.textui.TestRunner
-
Constructs a TestRunner using the given stream for all the output
- TestRunner(ResultPrinter) - Constructor for class junit.textui.TestRunner
-
Constructs a TestRunner using the given ResultPrinter all the output
- testRunStarted(String, int) - Method in interface junit.runner.TestRunListener
-
- testRunStopped(long) - Method in interface junit.runner.TestRunListener
-
- tests() - Method in class junit.framework.TestSuite
-
Returns the tests as an enumeration
- testSelected() - Method in class junit.swingui.FailureRunView
-
- testSelected() - Method in class junit.swingui.TestHierarchyRunView
-
- TestSelector - Class in junit.swingui
-
A test class selector.
- TestSelector(Frame, TestCollector) - Constructor for class junit.swingui.TestSelector
-
- TestSelector.DoubleClickListener - Class in junit.swingui
-
- TestSelector.KeySelectListener - Class in junit.swingui
-
- TestSetup - Class in junit.extensions
-
A Decorator to set up and tear down additional fixture state.
- TestSetup(Test) - Constructor for class junit.extensions.TestSetup
-
- testStarted(String) - Method in class junit.awtui.TestRunner
-
- testStarted(String) - Method in class junit.runner.BaseTestRunner
-
- testStarted(String) - Method in interface junit.runner.TestRunListener
-
- testStarted(String) - Method in class junit.swingui.TestRunner
-
- testStarted(String) - Method in class junit.textui.TestRunner
-
- TestSuite - Class in junit.framework
-
A TestSuite
is a Composite
of Tests.
- TestSuite() - Constructor for class junit.framework.TestSuite
-
Constructs an empty TestSuite.
- TestSuite(Class) - Constructor for class junit.framework.TestSuite
-
Constructs a TestSuite from the given class.
- TestSuite(Class, String) - Constructor for class junit.framework.TestSuite
-
Constructs a TestSuite from the given class with the given name.
- TestSuite(String) - Constructor for class junit.framework.TestSuite
-
Constructs an empty TestSuite.
- TestSuite(Class[]) - Constructor for class junit.framework.TestSuite
-
Constructs a TestSuite from the given array of classes.
- TestSuite(Class[], String) - Constructor for class junit.framework.TestSuite
-
Constructs a TestSuite from the given array of classes with the given name.
- TestSuiteLoader - Interface in junit.runner
-
An interface to define how a test suite should be loaded.
- testViewChanged() - Method in class junit.swingui.TestRunner
-
- textChanged() - Method in class junit.swingui.TestRunner
-
- thrownException() - Method in class junit.framework.TestFailure
-
Gets the thrown exception.
- toString() - Method in class junit.extensions.RepeatedTest
-
- toString() - Method in class junit.extensions.TestDecorator
-
- toString() - Method in class junit.framework.TestCase
-
Returns a string representation of the test case
- toString() - Method in class junit.framework.TestFailure
-
Returns a short description of the failure.
- toString() - Method in class junit.framework.TestSuite
-
- trace() - Method in class junit.framework.TestFailure
-
- truncate(String) - Static method in class junit.runner.BaseTestRunner
-
Truncates a String to the maximum length.