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

A

ActiveTestSuite - class junit.extensions.ActiveTestSuite.
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
 
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
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
 
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
 
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
 
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.
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 refer to the same object.
assertNotSame(Object, Object) - Static method in class junit.framework.Assert
Asserts that two objects 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.

B

BOLD_FONT - Static variable in class junit.swingui.StatusLine
 
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.
browseTestClasses() - Method in class junit.swingui.TestRunner
 

C

ClassPathTestCollector - class junit.runner.ClassPathTestCollector.
An implementation of a TestCollector that consults the class path.
ClassPathTestCollector() - Constructor for class junit.runner.ClassPathTestCollector
 
ComparisonFailure - error junit.framework.ComparisonFailure.
Thrown when an assert equals for Strings failed.
ComparisonFailure(String, String, String) - Constructor for class junit.framework.ComparisonFailure
Constructs a comparison failure.
CounterPanel - class junit.swingui.CounterPanel.
A panel with test run counters
CounterPanel() - Constructor for class junit.swingui.CounterPanel
 
classNameFromFile(String) - Method in class junit.runner.ClassPathTestCollector
 
clear() - Method in interface junit.runner.FailureDetailView
Clears the view
clear() - Method in class junit.swingui.DefaultFailureDetailView
Clears the output.
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
 
collectFilesInPath(String) - Method in class junit.runner.ClassPathTestCollector
 
collectTests() - Method in class junit.runner.ClassPathTestCollector
 
collectTests() - Method in interface junit.runner.TestCollector
Returns an enumeration of Strings with qualified class names
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.awtui.TestRunner
 
createCounterPanel() - Method in class junit.swingui.TestRunner
 
createFailedPanel() - Method in class junit.swingui.TestRunner
 
createFailureDetailView() - Method in class junit.swingui.TestRunner
 
createFrame() - 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.
createLoader() - Method in class junit.runner.ReloadingTestSuiteLoader
 
createLogo() - Method in class junit.swingui.TestRunner
 
createMenus(MenuBar) - Method in class junit.awtui.TestRunner
 
createMenus(JMenuBar) - Method in class junit.swingui.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
 
createTest(Class, String) - Static method in class junit.framework.TestSuite
...as the moon sets over the early morning Merlin, Oregon mountains, our intrepid adventurers type...
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

DefaultFailureDetailView - class junit.swingui.DefaultFailureDetailView.
A view that shows a stack trace of a failure
DefaultFailureDetailView() - Constructor for class junit.swingui.DefaultFailureDetailView
 
doRun(Test) - Method in class junit.textui.TestRunner
 
doRun(Test, boolean) - Method in class junit.textui.TestRunner
 

E

EXCEPTION_EXIT - Static variable in class junit.textui.TestRunner
 
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
 
elapsedTimeAsString(long) - Method in class junit.runner.BaseTestRunner
Returns the formatted string of the elapsed time.
elapsedTimeAsString(long) - Method in class junit.textui.ResultPrinter
Returns the formatted string of the elapsed time.
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.runner.BaseTestRunner
 
endTest(Test) - Method in class junit.textui.ResultPrinter
 
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
exceptionMessage() - Method in class junit.framework.TestFailure
 
extractClassName(String) - Method in class junit.runner.BaseTestRunner
Extract the class name from a String in VA/Java style

F

FAILURE_EXIT - Static variable in class junit.textui.TestRunner
 
FailureDetailView - interface junit.runner.FailureDetailView.
A view to show a details about a failure
FailureRunView - class junit.swingui.FailureRunView.
A view presenting the test failures as a list.
FailureRunView(TestRunContext) - Constructor for class junit.swingui.FailureRunView
 
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
 
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
 
fRunTests - Variable in class junit.framework.TestResult
 
fRunner - Variable in class junit.awtui.TestRunner
 
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
 
fail(String) - Static method in class junit.framework.Assert
Fails a test with the given message.
fail() - Static method in class junit.framework.Assert
Fails a test with no 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.
failureSelected() - Method in class junit.awtui.TestRunner
 
failures() - Method in class junit.framework.TestResult
Returns an Enumeration for the failures

G

getComponent() - Method in interface junit.runner.FailureDetailView
Returns the component used to present the TraceView
getComponent() - Method in class junit.swingui.DefaultFailureDetailView
Returns the component used to present the trace
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
getFilteredTrace(String) - Static method in class junit.runner.BaseTestRunner
Filters stack frames from internal JUnit classes
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.
getMessage() - Method in class junit.framework.ComparisonFailure
Returns "..." in place of common prefix and "..." in place of common suffix between expected and actual.
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
 
getPreferences() - 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
 
getSelectedTest() - Method in class junit.swingui.FailureRunView
 
getSelectedTest() - Method in class junit.swingui.TestHierarchyRunView
 
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.
getTestConstructor(Class) - Static method in class junit.framework.TestSuite
Gets a constructor which takes a single String as its argument or a no arg constructor.
getWriter() - Method in class junit.textui.ResultPrinter
 

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
 
inVAJava() - Static method in class junit.runner.BaseTestRunner
 
insertUpdate(DocumentEvent) - Method in class junit.swingui.TestRunner
 
isExcluded(String) - Method in class junit.runner.TestCaseClassLoader
 
isFailure() - Method in class junit.framework.TestFailure
 
isTestClass(String) - Method in class junit.runner.ClassPathTestCollector
 
isTestClass(String) - Method in class junit.runner.LoadingTestCollector
 
isTestClass(String) - Method in class junit.runner.SimpleTestCollector
 

J

junit.awtui - package junit.awtui
 
junit.extensions - package junit.extensions
 
junit.framework - package junit.framework
 
junit.runner - package junit.runner
 
junit.swingui - package junit.swingui
 
junit.textui - package junit.textui
 

L

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
 
Logo - class junit.awtui.Logo.
 
Logo() - Constructor for class junit.awtui.Logo
 
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
 
loadSuiteClass(String) - Method in class junit.runner.BaseTestRunner
Returns the loaded Class for a suite name.

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
 

P

PLAIN_FONT - Static variable in class junit.awtui.TestRunner
 
PLAIN_FONT - Static variable in class junit.swingui.StatusLine
 
ProgressBar - class junit.awtui.ProgressBar.
 
ProgressBar() - Constructor for class junit.awtui.ProgressBar
 
Protectable - interface junit.framework.Protectable.
A Protectable can be run and can throw a Throwable.
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
 
printDefect(TestFailure, int) - Method in class junit.textui.ResultPrinter
 
printDefectHeader(TestFailure, int) - Method in class junit.textui.ResultPrinter
 
printDefectTrace(TestFailure) - Method in class junit.textui.ResultPrinter
 
printDefects(Enumeration, int, String) - Method in class junit.textui.ResultPrinter
 
printErrors(TestResult) - Method in class junit.textui.ResultPrinter
 
printFailures(TestResult) - Method in class junit.textui.ResultPrinter
 
printFooter(TestResult) - Method in class junit.textui.ResultPrinter
 
printHeader(long) - Method in class junit.textui.ResultPrinter
 
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
protect() - Method in interface junit.framework.Protectable
Run the the following method protected.

R

ReloadingTestSuiteLoader - class junit.runner.ReloadingTestSuiteLoader.
A TestSuite loader that can reload classes.
ReloadingTestSuiteLoader() - Constructor for class junit.runner.ReloadingTestSuiteLoader
 
RepeatedTest - class junit.extensions.RepeatedTest.
A Decorator that runs a test repeatedly.
RepeatedTest(Test, int) - Constructor for class junit.extensions.RepeatedTest
 
ResultPrinter - class junit.textui.ResultPrinter.
 
ResultPrinter(PrintStream) - Constructor for class junit.textui.ResultPrinter
 
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
 
removeListener(TestListener) - Method in class junit.framework.TestResult
Unregisters a TestListener
removeUpdate(DocumentEvent) - Method in class junit.swingui.TestRunner
 
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
 
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(Test) - 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.
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
 

S

STATUS_ERROR - Static variable in interface junit.runner.TestRunListener
 
STATUS_FAILURE - Static variable in interface junit.runner.TestRunListener
 
SUCCESS_EXIT - Static variable in class junit.textui.TestRunner
 
SUITE_METHODNAME - Static variable in class junit.runner.BaseTestRunner
 
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() - Constructor for class junit.runner.Sorter
 
Sorter.Swapper - interface junit.runner.Sorter.Swapper.
 
StandardTestSuiteLoader - class junit.runner.StandardTestSuiteLoader.
The standard test suite loader.
StandardTestSuiteLoader() - Constructor for class junit.runner.StandardTestSuiteLoader
 
StatusLine - class junit.swingui.StatusLine.
A status line component.
StatusLine(int) - Constructor for class junit.swingui.StatusLine
 
savePreferences() - Static method in class junit.runner.BaseTestRunner
 
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.
setPreference(String, String) - Method in class junit.runner.BaseTestRunner
 
setPreferences(Properties) - Static method in class junit.runner.BaseTestRunner
 
setPrinter(ResultPrinter) - Method in class junit.textui.TestRunner
 
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
showFailure(TestFailure) - Method in class junit.swingui.DefaultFailureDetailView
Shows a TestFailure
showInfo(String) - Method in class junit.swingui.StatusLine
 
showStackRaw() - Static method in class junit.runner.BaseTestRunner
 
sortStrings(Vector, int, int, Sorter.Swapper) - Static method in class junit.runner.Sorter
 
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 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.runner.BaseTestRunner
 
startTest(Test) - Method in class junit.textui.ResultPrinter
 
step(boolean) - Method in class junit.awtui.ProgressBar
 
stop() - Method in class junit.framework.TestResult
Marks that the test run should stop.
swap(Vector, int, int) - Method in interface junit.runner.Sorter.Swapper
 

T

Test - interface junit.framework.Test.
A Test can be run and collect its results.
TestCase - class junit.framework.TestCase.
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 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.
TestDecorator - class junit.extensions.TestDecorator.
A Decorator for Tests.
TestDecorator(Test) - Constructor for class junit.extensions.TestDecorator
 
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.
TestHierarchyRunView - class junit.swingui.TestHierarchyRunView.
A hierarchical view of a test run.
TestHierarchyRunView(TestRunContext) - Constructor for class junit.swingui.TestHierarchyRunView
 
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.
TestRunListener - interface junit.runner.TestRunListener.
A listener interface for observing the execution of a test run.
TestRunner - class junit.awtui.TestRunner.
An AWT based user interface to run tests.
TestRunner() - Constructor for class junit.awtui.TestRunner
 
TestRunner - class junit.swingui.TestRunner.
A Swing based user interface to run tests.
TestRunner() - Constructor for class junit.swingui.TestRunner
 
TestRunner - class junit.textui.TestRunner.
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
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, String) - Constructor for class junit.framework.TestSuite
Constructs a TestSuite from the given class with the given name.
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.
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
testAt(int) - Method in class junit.framework.TestSuite
Returns the test at the given index
testCount() - Method in class junit.framework.TestSuite
Returns the number of tests in this suite
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
 
testRunEnded(long) - Method in interface junit.runner.TestRunListener
 
testRunStarted(String, int) - Method in interface junit.runner.TestRunListener
 
testRunStopped(long) - Method in interface junit.runner.TestRunListener
 
testSelected() - Method in class junit.swingui.FailureRunView
 
testSelected() - Method in class junit.swingui.TestHierarchyRunView
 
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
 
testViewChanged() - Method in class junit.swingui.TestRunner
 
tests() - Method in class junit.framework.TestSuite
Returns the tests as an enumeration
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.

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.

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