A B C D E F G H I L M N P R S T U V W

A

aboutToStart(Test) - Method in class junit.swingui.TestRunner
 
ActiveTestSuite - class junit.extensions.ActiveTestSuite.
A TestSuite for active Tests.
ActiveTestSuite() - Constructor for class junit.extensions.ActiveTestSuite
 
addError(Test, Throwable) - Method in class junit.awtui.TestRunner
 
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.swingui.TestRunner
 
addError(Test, Throwable) - Method in class junit.textui.TestRunner
 
addFailure(Test, AssertionFailedError) - Method in class junit.awtui.TestRunner
 
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.swingui.TestRunner
 
addFailure(Test, AssertionFailedError) - Method in class junit.textui.TestRunner
 
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
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
Assert - class junit.framework.Assert.
A set of assert methods.
Assert() - Constructor for class junit.framework.Assert
Protect constructor since it is a static only class
assert(boolean) - Static method in class junit.framework.Assert
Deprecated. use assertTrue
assert(String, boolean) - Static method in class junit.framework.Assert
Deprecated. use assertTrue
assertEquals(boolean, boolean) - Static method in class junit.framework.Assert
Asserts that two booleans are equal.
assertEquals(byte, byte) - Static method in class junit.framework.Assert
Asserts that two bytes are equal.
assertEquals(char, char) - Static method in class junit.framework.Assert
Asserts that two chars are equal.
assertEquals(double, double, double) - Static method in class junit.framework.Assert
Asserts that two doubles 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(int, int) - Static method in class junit.framework.Assert
Asserts that two ints are equal.
assertEquals(long, long) - Static method in class junit.framework.Assert
Asserts that two longs are equal.
assertEquals(Object, Object) - Static method in class junit.framework.Assert
Asserts that two objects are equal.
assertEquals(short, short) - Static method in class junit.framework.Assert
Asserts that two shorts are equal.
assertEquals(String, 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(String, char, char) - Static method in class junit.framework.Assert
Asserts that two chars are equal.
assertEquals(String, 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(String, int, int) - Static method in class junit.framework.Assert
Asserts that two ints are equal.
assertEquals(String, long, long) - Static method in class junit.framework.Assert
Asserts that two longs are equal.
assertEquals(String, Object, Object) - Static method in class junit.framework.Assert
Asserts that two objects are equal.
assertEquals(String, short, short) - Static method in class junit.framework.Assert
Asserts that two shorts are equal.
AssertionFailedError - error junit.framework.AssertionFailedError.
Thrown when an assertion failed.
AssertionFailedError() - Constructor for class junit.framework.AssertionFailedError
 
AssertionFailedError(String) - Constructor for class 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.
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(Object, Object) - Static method in class junit.framework.Assert
Asserts that two objects refer to the same object.
assertSame(String, Object, Object) - Static method in class junit.framework.Assert
Asserts that two objects refer to the same object.
assertTrue(boolean) - Static method in class junit.framework.Assert
Asserts that a condition is true.
assertTrue(String, boolean) - Static method in class junit.framework.Assert
Asserts that a condition is true.

B

BaseTestRunner - class junit.runner.BaseTestRunner.
Base class for all test runners.
BaseTestRunner() - Constructor for class junit.runner.BaseTestRunner
 
basicRun(TestResult) - Method in class junit.extensions.TestDecorator
The basic run behaviour.
BOLD_FONT - Static variable in class junit.swingui.StatusLine
 
browseTestClasses() - Method in class junit.swingui.TestRunner
 

C

classNameFromFile(String) - Method in class junit.runner.ClassPathTestCollector
 
ClassPathTestCollector - class junit.runner.ClassPathTestCollector.
An implementation of a TestCollector that consults the class path.
ClassPathTestCollector() - Constructor for class junit.runner.ClassPathTestCollector
 
clear() - Method in interface junit.runner.FailureDetailView
Clears the view
clear() - Method in class junit.swingui.StatusLine
 
clearStatus() - Method in class junit.awtui.TestRunner
 
clearStatus() - Method in class junit.runner.BaseTestRunner
Clears the status message.
clearStatus() - Method in class junit.swingui.TestRunner
 
collectTests() - Method in class junit.runner.ClassPathTestCollector
 
collectTests() - Method in interface junit.runner.TestCollector
Returns an enumeration of Strings with qualified class names
CounterPanel - class junit.swingui.CounterPanel.
A panel with test run counters
CounterPanel() - Constructor for class junit.swingui.CounterPanel
 
countTestCases() - Method in class junit.extensions.RepeatedTest
 
countTestCases() - Method in class junit.extensions.TestDecorator
 
countTestCases() - Method in interface junit.framework.Test
Counts the number of test cases that will be run by this test.
countTestCases() - Method in class junit.framework.TestCase
Counts the number of test cases executed by run(TestResult result).
countTestCases() - Method in class junit.framework.TestSuite
Counts the number of test cases that will be run by this test.
createBrowseButton() - Method in class junit.swingui.TestRunner
 
createCounterPanel() - Method in class junit.swingui.TestRunner
 
createFailedPanel() - Method in class junit.swingui.TestRunner
 
createFailureDetailView() - Method in class junit.swingui.TestRunner
 
createFrame(String) - Method in class junit.swingui.TestRunner
 
createJUnitMenu() - Method in class junit.awtui.TestRunner
Creates the JUnit menu.
createJUnitMenu() - Method in class junit.swingui.TestRunner
Creates the JUnit menu.
createLogo() - Method in class junit.swingui.TestRunner
 
createMenus(JMenuBar) - Method in class junit.swingui.TestRunner
 
createMenus(MenuBar) - Method in class junit.awtui.TestRunner
 
createQuitButton() - Method in class junit.swingui.TestRunner
 
createResult() - Method in class junit.framework.TestCase
Creates a default TestResult object
createRunButton() - Method in class junit.swingui.TestRunner
 
createStatusLine() - Method in class junit.swingui.TestRunner
 
createSuiteCombo() - Method in class junit.swingui.TestRunner
 
createTestResult() - Method in class junit.awtui.TestRunner
 
createTestResult() - Method in class junit.swingui.TestRunner
 
createTestResult() - Method in class junit.textui.TestRunner
Creates the TestResult to be used for the test run.
createTestRunViews() - Method in class junit.swingui.TestRunner
 
createUI(String) - Method in class junit.awtui.TestRunner
 
createUI(String) - Method in class junit.swingui.TestRunner
 
createUseLoaderCheckBox() - Method in class junit.swingui.TestRunner
 

D

doRun(Test, boolean) - Method in class junit.textui.TestRunner
 

E

elapsedTimeAsString(long) - Method in class junit.runner.BaseTestRunner
Returns the formatted string of the elapsed time.
endTest(Test) - Method in class junit.awtui.TestRunner
 
endTest(Test) - Method in interface junit.framework.TestListener
A test ended.
endTest(Test) - Method in class junit.framework.TestResult
Informs the result that a test was completed.
endTest(Test) - Method in class junit.swingui.TestRunner
 
endTest(Test) - Method in class junit.textui.TestRunner
 
errorCount() - Method in class junit.framework.TestResult
Gets the number of detected errors.
errors() - Method in class junit.framework.TestResult
Returns an Enumeration for the errors
ExceptionTestCase - class junit.extensions.ExceptionTestCase.
A TestCase that expects an Exception of class fExpected to be thrown.
ExceptionTestCase(String, Class) - Constructor for class junit.extensions.ExceptionTestCase
 
extractClassName(String) - Method in class junit.runner.BaseTestRunner
Extract the class name from a String in VA/Java style

F

fail() - Static method in class junit.framework.Assert
Fails a test with no message.
fail(String) - Static method in class junit.framework.Assert
Fails a test with the given message.
failedTest() - Method in class junit.framework.TestFailure
Gets the failed test.
failureCount() - Method in class junit.framework.TestResult
Gets the number of detected failures.
FailureDetailView - interface junit.runner.FailureDetailView.
A view to show a details about a failure
failures() - Method in class junit.framework.TestResult
Returns an Enumeration for the failures
failureSelected() - Method in class junit.awtui.TestRunner
 
fError - Variable in class junit.awtui.ProgressBar
 
fErrors - Variable in class junit.framework.TestResult
 
fExceptions - Variable in class junit.awtui.TestRunner
 
fFailedTest - Variable in class junit.framework.TestFailure
 
fFailedTests - Variable in class junit.awtui.TestRunner
 
fFailureList - Variable in class junit.awtui.TestRunner
 
fFailures - Variable in class junit.framework.TestResult
 
fFrame - Variable in class junit.awtui.TestRunner
 
fFrame - Variable in class junit.swingui.TestRunner
 
filterStack(String) - Static method in class junit.runner.BaseTestRunner
Filters stack frames from internal JUnit classes
fListeners - Variable in class junit.framework.TestResult
 
fLogo - Variable in class junit.awtui.TestRunner
 
fNumberOfErrors - Variable in class junit.awtui.TestRunner
 
fNumberOfFailures - Variable in class junit.awtui.TestRunner
 
fNumberOfRuns - Variable in class junit.awtui.TestRunner
 
fProgress - Variable in class junit.awtui.ProgressBar
 
fProgressIndicator - Variable in class junit.awtui.TestRunner
 
fProgressX - Variable in class junit.awtui.ProgressBar
 
fQuitButton - Variable in class junit.awtui.TestRunner
 
fRerunButton - Variable in class junit.awtui.TestRunner
 
fRun - Variable in class junit.awtui.TestRunner
 
fRunner - Variable in class junit.awtui.TestRunner
 
fRunTests - Variable in class junit.framework.TestResult
 
fStatusLine - Variable in class junit.awtui.TestRunner
 
fSuiteField - Variable in class junit.awtui.TestRunner
 
fTest - Variable in class junit.extensions.TestDecorator
 
fTestResult - Variable in class junit.awtui.TestRunner
 
fThrownException - Variable in class junit.framework.TestFailure
 
fTotal - Variable in class junit.awtui.ProgressBar
 
fTraceArea - Variable in class junit.awtui.TestRunner
 
fUseLoadingRunner - Variable in class junit.awtui.TestRunner
 

G

getComponent() - Method in interface junit.runner.FailureDetailView
Returns the component used to present the TraceView
getFailures() - Method in interface junit.swingui.TestRunContext
Returns the failure model
getFailures() - Method in class junit.swingui.TestRunner
 
getFilteredTrace(Throwable) - Static method in class junit.runner.BaseTestRunner
Returns a filtered stack trace
getIconResource(Class, String) - Static method in class junit.swingui.TestRunner
 
getLoader() - Method in class junit.runner.BaseTestRunner
Returns the loader to be used.
getLoader() - Method in class junit.textui.TestRunner
Always use the StandardTestSuiteLoader.
getName() - Method in class junit.framework.TestCase
Gets the name of a TestCase
getName() - Method in class junit.framework.TestSuite
Returns the name of the suite.
getPreference(String) - Static method in class junit.runner.BaseTestRunner
 
getPreference(String, int) - Static method in class junit.runner.BaseTestRunner
 
getResource(String) - Method in class junit.runner.TestCaseClassLoader
 
getResourceAsStream(String) - Method in class junit.runner.TestCaseClassLoader
 
getRunner() - Method in class junit.awtui.TestRunner
 
getSuiteText() - Method in class junit.swingui.TestRunner
 
getTest() - Method in class junit.extensions.TestDecorator
 
getTest(String) - Method in class junit.runner.BaseTestRunner
Returns the Test corresponding to the given suite.

H

handleTestSelected(Test) - Method in interface junit.swingui.TestRunContext
Handles the selection of a Test.
handleTestSelected(Test) - Method in class junit.swingui.TestRunner
 

I

id() - Static method in class junit.runner.Version
 
insertUpdate(DocumentEvent) - Method in class junit.swingui.TestRunner
 
inVAJava() - Static method in class junit.runner.BaseTestRunner
 
isExcluded(String) - Method in class junit.runner.TestCaseClassLoader
 
isTestClass(String) - Method in class junit.runner.ClassPathTestCollector
 
isTestClass(String) - Method in class junit.runner.LoadingTestCollector
 
isTestClass(String) - Method in class junit.runner.SimpleTestCollector
 

L

load(String) - Method in class junit.runner.ReloadingTestSuiteLoader
 
load(String) - Method in class junit.runner.StandardTestSuiteLoader
Uses the system class loader to load the test class
load(String) - Method in interface junit.runner.TestSuiteLoader
 
loadClass(String, boolean) - Method in class junit.runner.TestCaseClassLoader
 
loadImage(String) - Method in class junit.awtui.Logo
 
LoadingTestCollector - class junit.runner.LoadingTestCollector.
An implementation of a TestCollector that loads all classes on the class path and tests whether it is assignable from Test or provides a static suite method.
LoadingTestCollector() - Constructor for class junit.runner.LoadingTestCollector
 
loadSuiteClass(String) - Method in class junit.runner.BaseTestRunner
Returns the loaded Class for a suite name.
Logo - class junit.awtui.Logo.
 
Logo() - Constructor for class junit.awtui.Logo
 

M

main(String[]) - Static method in class junit.awtui.TestRunner
 
main(String[]) - Static method in class junit.swingui.TestRunner
 
main(String[]) - Static method in class junit.textui.TestRunner
 
main(String[]) - Static method in class junit.ui.TestRunner
Deprecated.  

N

name() - Method in class junit.framework.TestCase
Deprecated. use getName()

P

paint(Graphics) - Method in class junit.awtui.Logo
 
paint(Graphics) - Method in class junit.awtui.ProgressBar
 
paintBackground(Graphics) - Method in class junit.awtui.Logo
 
paintBackground(Graphics) - Method in class junit.awtui.ProgressBar
 
paintStatus(Graphics) - Method in class junit.awtui.ProgressBar
 
pause(boolean) - Method in class junit.textui.TestRunner
 
PLAIN_FONT - Static variable in class junit.awtui.TestRunner
 
PLAIN_FONT - Static variable in class junit.swingui.StatusLine
 
print(TestResult) - Method in class junit.textui.TestRunner
Prints failures to the standard output
printErrors(TestResult) - Method in class junit.textui.TestRunner
Prints the errors to the standard output
printFailures(TestResult) - Method in class junit.textui.TestRunner
Prints failures to the standard output
printHeader(TestResult) - Method in class junit.textui.TestRunner
Prints the header of the report
processArguments(String[]) - Method in class junit.runner.BaseTestRunner
Processes the command line arguments and returns the name of the suite class to run or null
ProgressBar - class junit.awtui.ProgressBar.
 
ProgressBar() - Constructor for class junit.awtui.ProgressBar
 
protect() - Method in interface junit.framework.Protectable
Run the the following method protected.
Protectable - interface junit.framework.Protectable.
A Protectable can be run and can throw a Throwable.

R

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 junit.runner.ReloadingTestSuiteLoader.
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 junit.extensions.RepeatedTest.
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
 
run() - Method in class junit.awtui.TestRunner
Deprecated. use runSuite() instead
run() - Method in class junit.framework.TestCase
A convenience method to run this test, collecting the results with a default TestResult object.
run() - Method in class junit.swingui.TestRunner
Deprecated. use runSuite() instead
run(Class) - Static method in class junit.awtui.TestRunner
 
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.
run(TestCase) - Method in class junit.framework.TestResult
Runs a TestCase.
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(TestResult) - Method in class junit.framework.TestCase
Runs the test case and collects the results in TestResult.
run(TestResult) - Method in class junit.framework.TestSuite
Runs the tests and collects their result in a TestResult.
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(Test) - Method in class junit.extensions.ActiveTestSuite
 
runFinished(Test) - Method in class junit.swingui.TestRunner
 
runProtected(Test, Protectable) - Method in class junit.framework.TestResult
Runs a TestCase.
runSuite() - Method in class junit.awtui.TestRunner
 
runSuite() - Method in class junit.swingui.TestRunner
 
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) - Method in class junit.swingui.TestRunner
 
runTest(Test, TestResult) - Method in class junit.extensions.ActiveTestSuite
 
runTest(Test, TestResult) - Method in class junit.framework.TestSuite
 
runTests() - Method in class junit.framework.TestResult
Deprecated. use runCount instead

S

scale(int) - Method in class junit.awtui.ProgressBar
 
setBounds(int, int, int, int) - Method in class junit.awtui.ProgressBar
 
setErrorValue(int) - Method in class junit.swingui.CounterPanel
 
setFailureValue(int) - Method in class junit.swingui.CounterPanel
 
setLoading(boolean) - Method in class junit.runner.BaseTestRunner
Sets the loading behaviour of the test runner
setName(String) - Method in class junit.framework.TestCase
Sets the name of a TestCase
setName(String) - Method in class junit.framework.TestSuite
Sets the name of the suite.
setRunValue(int) - Method in class junit.swingui.CounterPanel
 
setSuite(String) - Method in class junit.swingui.TestRunner
 
setSuiteName(String) - Method in class junit.awtui.TestRunner
 
setTotal(int) - Method in class junit.swingui.CounterPanel
 
setUp() - Method in class junit.extensions.TestSetup
Sets up the fixture.
setUp() - Method in class junit.framework.TestCase
Sets up the fixture, for example, open a network connection.
shouldStop() - Method in class junit.framework.TestResult
Checks whether the test run should stop
showError(String) - Method in class junit.swingui.StatusLine
 
showFailure(TestFailure) - Method in interface junit.runner.FailureDetailView
Shows details of a TestFailure
showInfo(String) - Method in class junit.swingui.StatusLine
 
SimpleTestCollector - class junit.runner.SimpleTestCollector.
An implementation of a TestCollector that considers a class to be a test class when it contains the pattern "Test" in its name
SimpleTestCollector() - Constructor for class junit.runner.SimpleTestCollector
 
Sorter - class junit.runner.Sorter.
A custom quick sort with support to customize the swap behaviour.
Sorter.Swapper - interface junit.runner.Sorter.Swapper.
 
Sorter() - Constructor for class junit.runner.Sorter
 
sortStrings(Vector, int, int, Sorter.Swapper) - Static method in class junit.runner.Sorter
 
StandardTestSuiteLoader - class junit.runner.StandardTestSuiteLoader.
The standard test suite loader.
StandardTestSuiteLoader() - Constructor for class junit.runner.StandardTestSuiteLoader
 
start(int) - Method in class junit.awtui.ProgressBar
 
start(String[]) - Method in class junit.awtui.TestRunner
Starts the TestRunner
start(String[]) - Method in class junit.swingui.TestRunner
Starts the TestRunner
start(String[]) - Method in class junit.textui.TestRunner
Starts a test run.
startTest(Test) - Method in class junit.awtui.TestRunner
 
startTest(Test) - Method in interface junit.framework.TestListener
A test started.
startTest(Test) - Method in class junit.framework.TestResult
Informs the result that a test will be started.
startTest(Test) - Method in class junit.swingui.TestRunner
 
startTest(Test) - Method in class junit.textui.TestRunner
 
StatusLine - class junit.swingui.StatusLine.
A status line component.
StatusLine(int) - Constructor for class junit.swingui.StatusLine
 
step(boolean) - Method in class junit.awtui.ProgressBar
 
stop() - Method in class junit.framework.TestResult
Marks that the test run should stop.
SUITE_METHODNAME - Static variable in class junit.runner.BaseTestRunner
 
swap(Vector, int, int) - Method in interface junit.runner.Sorter.Swapper
 

T

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 junit.framework.Test.
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 junit.framework.TestCase.
A test case defines the fixture to run multiple tests.
TestCase(String) - Constructor for class junit.framework.TestCase
Constructs a test case with the given name.
TestCaseClassLoader - class junit.runner.TestCaseClassLoader.
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 junit.runner.TestCollector.
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 junit.extensions.TestDecorator.
A Decorator for Tests.
TestDecorator(Test) - Constructor for class junit.extensions.TestDecorator
 
testErrors() - Method in class junit.framework.TestResult
Deprecated. use errorCount instead
TestFailure - class junit.framework.TestFailure.
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.
testFailures() - Method in class junit.framework.TestResult
Deprecated. use failureCount instead
TestListener - interface junit.framework.TestListener.
A Listener for test progress
TestResult - class junit.framework.TestResult.
A TestResult collects the results of executing a test case.
TestResult() - Constructor for class junit.framework.TestResult
 
TestRunContext - interface junit.swingui.TestRunContext.
The interface for accessing the Test run context.
TestRunner - class junit.awtui.TestRunner.
An AWT based user interface to run tests.
TestRunner - class junit.swingui.TestRunner.
A Swing based user interface to run tests.
TestRunner - class junit.textui.TestRunner.
A command line based tool to run tests.
TestRunner - class junit.ui.TestRunner.
Deprecated. use junit.awtui.TestRunner.
TestRunner() - Constructor for class junit.awtui.TestRunner
 
TestRunner() - Constructor for class junit.swingui.TestRunner
 
TestRunner() - Constructor for class junit.textui.TestRunner
Constructs a TestRunner.
TestRunner() - Constructor for class junit.ui.TestRunner
Deprecated.  
TestRunner(PrintStream) - Constructor for class junit.textui.TestRunner
Constructs a TestRunner using the given stream for all the output
tests() - Method in class junit.framework.TestSuite
Returns the tests as an enumeration
TestSetup - class junit.extensions.TestSetup.
A Decorator to set up and tear down additional fixture state.
TestSetup(Test) - Constructor for class junit.extensions.TestSetup
 
TestSuite - class junit.framework.TestSuite.
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(String) - Constructor for class junit.framework.TestSuite
Constructs an empty TestSuite.
TestSuiteLoader - interface junit.runner.TestSuiteLoader.
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
 
truncate(String) - Static method in class junit.runner.BaseTestRunner
Truncates a String to the maximum length.

U

useReloadingTestSuiteLoader() - Method in class junit.runner.BaseTestRunner
 

V

Version - class junit.runner.Version.
This class defines the current version of JUnit

W

wasSuccessful() - Method in class junit.framework.TestResult
Returns whether the entire test was successful or not.
writer() - Method in class junit.textui.TestRunner
 

A B C D E F G H I L M N P R S T U V W