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

A

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
 
ActiveTestTest - Class in junit.tests.extensions
Testing the ActiveTest support
ActiveTestTest() - Constructor for class junit.tests.extensions.ActiveTestTest
 
ActiveTestTest.SuccessTest - Class in junit.tests.extensions
 
ActiveTestTest.SuccessTest() - Constructor for class junit.tests.extensions.ActiveTestTest.SuccessTest
 
add(IMoney) - Method in interface junit.samples.money.IMoney
Adds a money to this money.
add(IMoney) - Method in class junit.samples.money.Money
Adds a money to this money.
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.tests.framework.TestListenerTest
 
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.tests.framework.TestListenerTest
 
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
addMoney(Money) - Method in interface junit.samples.money.IMoney
Adds a simple Money to this money.
addMoney(Money) - Method in class junit.samples.money.Money
 
addMoneyBag(MoneyBag) - Method in interface junit.samples.money.IMoney
Adds a MoneyBag to this money.
addMoneyBag(MoneyBag) - Method in class junit.samples.money.Money
 
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
 
AllTests - Class in junit.samples
TestSuite that runs all the sample tests
AllTests() - Constructor for class junit.samples.AllTests
 
AllTests - Class in junit.tests
TestSuite that runs all the JUnit tests
AllTests() - Constructor for class junit.tests.AllTests
 
AllTests - Class in junit.tests.extensions
TestSuite that runs all the extension tests
AllTests() - Constructor for class junit.tests.extensions.AllTests
 
AllTests - Class in junit.tests.framework
TestSuite that runs all the sample tests
AllTests() - Constructor for class junit.tests.framework.AllTests
 
AllTests - Class in junit.tests.runner
TestSuite that runs all the sample tests
AllTests() - Constructor for class junit.tests.runner.AllTests
 
amount() - Method in class junit.samples.money.Money
 
appendTo(MoneyBag) - Method in interface junit.samples.money.IMoney
Append this to a MoneyBag m.
appendTo(MoneyBag) - Method in class junit.samples.money.Money
 
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.
AssertTest - Class in junit.tests.framework
 
AssertTest() - Constructor for class junit.tests.framework.AssertTest
 
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

BaseTestRunner - Class in junit.runner
Base class for all test runners.
BaseTestRunner() - Constructor for class junit.runner.BaseTestRunner
 
BaseTestRunnerTest - Class in junit.tests.runner
 
BaseTestRunnerTest() - Constructor for class junit.tests.runner.BaseTestRunnerTest
 
BaseTestRunnerTest.MockRunner - Class in junit.tests.runner
 
BaseTestRunnerTest.MockRunner() - Constructor for class junit.tests.runner.BaseTestRunnerTest.MockRunner
 
BaseTestRunnerTest.NonStatic - Class in junit.tests.runner
 
BaseTestRunnerTest.NonStatic() - Constructor for class junit.tests.runner.BaseTestRunnerTest.NonStatic
 
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

centerWindow(Component) - Static method in class junit.swingui.TestSelector
 
checkEnableOK(ListSelectionEvent) - Method in class junit.swingui.TestSelector
 
ClassLoaderTest - Class in junit.tests.runner
 
ClassLoaderTest() - Constructor for class junit.tests.runner.ClassLoaderTest
 
classNameFromFile(String) - Method in class junit.runner.ClassPathTestCollector
 
ClassPathTestCollector - Class in junit.runner
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.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
compact(String) - Method in class junit.framework.ComparisonCompactor
 
ComparisonCompactor - Class in junit.framework
 
ComparisonCompactor(int, String, String) - Constructor for class junit.framework.ComparisonCompactor
 
ComparisonCompactorTest - Class in junit.tests.framework
 
ComparisonCompactorTest() - Constructor for class junit.tests.framework.ComparisonCompactorTest
 
ComparisonFailure - Error in junit.framework
Thrown when an assert equals for Strings failed.
ComparisonFailure(String, String, String) - Constructor for error junit.framework.ComparisonFailure
Constructs a comparison failure.
ComparisonFailureTest - Class in junit.tests.framework
 
ComparisonFailureTest() - Constructor for class junit.tests.framework.ComparisonFailureTest
 
CounterPanel - Class in junit.swingui
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.
countTestCases() - Method in class junit.tests.framework.TestImplementorTest.DoubleTestCase
 
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
 
currency() - Method in class junit.samples.money.Money
 

D

DefaultFailureDetailView - Class in junit.swingui
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
 
DoublePrecisionAssertTest - Class in junit.tests.framework
 
DoublePrecisionAssertTest() - Constructor for class junit.tests.framework.DoublePrecisionAssertTest
 

E

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.tests.framework.TestListenerTest
 
endTest(Test) - Method in class junit.textui.ResultPrinter
 
equals(Object) - Method in class junit.samples.money.Money
 
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
EXCEPTION_EXIT - Static variable in class junit.textui.TestRunner
 
exceptionMessage() - Method in class junit.framework.TestFailure
 
ExceptionTestCase - Class in junit.extensions
A TestCase that expects an Exception of class fExpected to be thrown.
ExceptionTestCase(String, Class) - Constructor for class junit.extensions.ExceptionTestCase
 
ExceptionTestCaseTest - Class in junit.tests.extensions
 
ExceptionTestCaseTest() - Constructor for class junit.tests.extensions.ExceptionTestCaseTest
 
ExceptionTestCaseTest.ThrowExceptionTestCase - Class in junit.tests.extensions
 
ExceptionTestCaseTest.ThrowExceptionTestCase(String, Class) - Constructor for class junit.tests.extensions.ExceptionTestCaseTest.ThrowExceptionTestCase
 
ExceptionTestCaseTest.ThrowNoExceptionTestCase - Class in junit.tests.extensions
 
ExceptionTestCaseTest.ThrowNoExceptionTestCase(String, Class) - Constructor for class junit.tests.extensions.ExceptionTestCaseTest.ThrowNoExceptionTestCase
 
ExceptionTestCaseTest.ThrowRuntimeExceptionTestCase - Class in junit.tests.extensions
 
ExceptionTestCaseTest.ThrowRuntimeExceptionTestCase(String, Class) - Constructor for class junit.tests.extensions.ExceptionTestCaseTest.ThrowRuntimeExceptionTestCase
 
ExtensionTest - Class in junit.tests.extensions
A test case testing the extensions to the testing framework.
ExtensionTest() - Constructor for class junit.tests.extensions.ExtensionTest
 
extractClassName(String) - Method in class junit.runner.BaseTestRunner
Extract the class name from a String in VA/Java style

F

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.
failNotEquals(String, Object, Object) - Static method in class junit.framework.Assert
 
failNotSame(String, Object, Object) - Static method in class junit.framework.Assert
 
failSame(String) - Static method in class junit.framework.Assert
 
Failure - Class in junit.tests.framework
A test case testing the testing framework.
Failure() - Constructor for class junit.tests.framework.Failure
 
FAILURE_EXIT - Static variable in class junit.textui.TestRunner
 
failureCount() - Method in class junit.framework.TestResult
Gets the number of detected failures.
FailureDetailView - Interface in junit.runner
A view to show a details about a failure
FailureRunView - Class in junit.swingui
A view presenting the test failures as a list.
FailureRunView(TestRunContext) - Constructor for class junit.swingui.FailureRunView
 
failures() - Method in class junit.framework.TestResult
Returns an Enumeration for the failures
failureSelected() - Method in class junit.awtui.TestRunner
 
fEmpty - Variable in class junit.samples.VectorTest
 
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
 
fFull - Variable in class junit.samples.VectorTest
 
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
 
fResult - Variable in class junit.tests.framework.SuiteTest
 
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
 
fValue1 - Variable in class junit.samples.SimpleTest
 
fValue2 - Variable in class junit.samples.SimpleTest
 
fWasRun - Variable in class junit.tests.WasRun
 

G

getActual() - Method in error junit.framework.ComparisonFailure
Gets the actual string value
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
getExpected() - Method in error junit.framework.ComparisonFailure
Gets the expected string value
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 error 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
 
getSelectedItem() - Method in class junit.swingui.TestSelector
 
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
 
hashCode() - Method in class junit.samples.money.Money
 

I

id() - Static method in class junit.runner.Version
 
IMoney - Interface in junit.samples.money
The common interface for simple Monies and MoneyBags
InheritedTestCase - Class in junit.tests.framework
Test class used in SuiteTest
InheritedTestCase() - Constructor for class junit.tests.framework.InheritedTestCase
 
inMac() - Static method in class junit.runner.BaseTestRunner
 
insertUpdate(DocumentEvent) - Method in class junit.swingui.TestRunner
 
instanciateClass(String, Object) - Method in class junit.swingui.TestRunner
 
inVAJava() - Static method in class junit.runner.BaseTestRunner
 
isEmpty() - Method in class junit.swingui.TestSelector
 
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
 
isZero() - Method in interface junit.samples.money.IMoney
Tests whether this money is zero
isZero() - Method in class junit.samples.money.Money
 

J

junit.awtui - package junit.awtui
 
junit.extensions - package junit.extensions
 
junit.framework - package junit.framework
 
junit.runner - package junit.runner
 
junit.samples - package junit.samples
 
junit.samples.money - package junit.samples.money
 
junit.swingui - package junit.swingui
 
junit.tests - package junit.tests
 
junit.tests.extensions - package junit.tests.extensions
 
junit.tests.framework - package junit.tests.framework
 
junit.tests.runner - package junit.tests.runner
 
junit.textui - package junit.textui
 

K

keySelectTestClass(char) - Method in class junit.swingui.TestSelector
 
keyTyped(KeyEvent) - Method in class junit.swingui.TestSelector.KeySelectListener
 

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
 
LoadedFromJar - Class in junit.tests.runner
 
LoadedFromJar() - Constructor for class junit.tests.runner.LoadedFromJar
 
loadImage(String) - Method in class junit.awtui.Logo
 
LoadingTestCollector - Class in junit.runner
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 in junit.awtui
 
Logo() - Constructor for class junit.awtui.Logo
 

M

MacProgressBar - Class in junit.swingui
http://java.sun.com/developer/technicalArticles/JavaLP/JavaToMac2/
MacProgressBar(JTextField) - Constructor for class junit.swingui.MacProgressBar
 
main(String[]) - Static method in class junit.awtui.TestRunner
 
main(String[]) - Static method in class junit.runner.Version
 
main(String[]) - Static method in class junit.samples.AllTests
 
main(String[]) - Static method in class junit.samples.money.MoneyTest
 
main(String[]) - Static method in class junit.samples.SimpleTest
 
main(String[]) - Static method in class junit.samples.VectorTest
 
main(String[]) - Static method in class junit.swingui.TestRunner
 
main(String[]) - Static method in class junit.tests.AllTests
 
main(String[]) - Static method in class junit.tests.extensions.AllTests
 
main(String[]) - Static method in class junit.tests.framework.AllTests
 
main(String[]) - Static method in class junit.tests.runner.AllTests
 
main(String[]) - Static method in class junit.tests.runner.TextFeedbackTest
 
main(String[]) - Static method in class junit.textui.TestRunner
 
Money - Class in junit.samples.money
A simple Money.
Money(int, String) - Constructor for class junit.samples.money.Money
Constructs a money from the given amount and currency.
MoneyTest - Class in junit.samples.money
 
MoneyTest() - Constructor for class junit.samples.money.MoneyTest
 
mouseClicked(MouseEvent) - Method in class junit.swingui.TestSelector.DoubleClickListener
 
multiply(int) - Method in interface junit.samples.money.IMoney
Multiplies a money by the given factor.
multiply(int) - Method in class junit.samples.money.Money
 

N

negate() - Method in interface junit.samples.money.IMoney
Negates this money.
negate() - Method in class junit.samples.money.Money
 
NoArgTestCaseTest - Class in junit.tests.framework
 
NoArgTestCaseTest() - Constructor for class junit.tests.framework.NoArgTestCaseTest
 
noTestCase() - Method in class junit.tests.framework.NoTestCases
 
noTestCase() - Method in class junit.tests.framework.OneTestCase
 
NoTestCaseClass - Class in junit.tests.framework
Test class used in SuiteTest
NoTestCaseClass() - Constructor for class junit.tests.framework.NoTestCaseClass
 
NoTestCases - Class in junit.tests.framework
 
NoTestCases() - Constructor for class junit.tests.framework.NoTestCases
 
NotPublicTestCase - Class in junit.tests.framework
 
NotPublicTestCase() - Constructor for class junit.tests.framework.NotPublicTestCase
 
NotVoidTestCase - Class in junit.tests.framework
 
NotVoidTestCase() - Constructor for class junit.tests.framework.NotVoidTestCase
 

O

okSelected() - Method in class junit.swingui.TestSelector
 
OneTestCase - Class in junit.tests.framework
 
OneTestCase() - Constructor for class junit.tests.framework.OneTestCase
 
OverrideTestCase - Class in junit.tests.framework
Test class used in SuiteTest
OverrideTestCase() - Constructor for class junit.tests.framework.OverrideTestCase
 

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
 
printDefect(TestFailure, int) - Method in class junit.textui.ResultPrinter
 
printDefectHeader(TestFailure, int) - Method in class junit.textui.ResultPrinter
 
printDefects(Enumeration, int, String) - Method in class junit.textui.ResultPrinter
 
printDefectTrace(TestFailure) - 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
ProgressBar - Class in junit.awtui
 
ProgressBar() - Constructor for class junit.awtui.ProgressBar
 
protect() - Method in interface junit.framework.Protectable
Run the the following method protected.
Protectable - Interface in junit.framework
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 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
 
RepeatedTestTest - Class in junit.tests.extensions
Testing the RepeatedTest support.
RepeatedTestTest(String) - Constructor for class junit.tests.extensions.RepeatedTestTest
 
RepeatedTestTest.SuccessTest - Class in junit.tests.extensions
 
RepeatedTestTest.SuccessTest() - Constructor for class junit.tests.extensions.RepeatedTestTest.SuccessTest
 
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(TestResult) - Method in class junit.tests.framework.TestImplementorTest.DoubleTestCase
 
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.tests.runner.BaseTestRunnerTest.MockRunner
 
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
 
runTest() - Method in class junit.tests.extensions.ActiveTestTest.SuccessTest
 
runTest() - Method in class junit.tests.extensions.RepeatedTestTest.SuccessTest
 
runTest() - Method in class junit.tests.framework.Failure
 
runTest() - Method in class junit.tests.framework.Success
 
runTest() - Method in class junit.tests.WasRun
 

S

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) - Static 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.
setUp() - Method in class junit.samples.money.MoneyTest
 
setUp() - Method in class junit.samples.SimpleTest
 
setUp() - Method in class junit.samples.VectorTest
 
setUp() - Method in class junit.tests.framework.SuiteTest
 
setUp() - Method in class junit.tests.framework.TestListenerTest
 
setUp() - Method in class junit.tests.runner.StackFilterTest
 
setUp() - Method in class junit.tests.runner.TextFeedbackTest
 
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
 
SimpleTest - Class in junit.samples
Some simple tests.
SimpleTest() - Constructor for class junit.samples.SimpleTest
 
SimpleTestCollector - Class in junit.runner
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
 
SimpleTestCollectorTest - Class in junit.tests.runner
 
SimpleTestCollectorTest() - Constructor for class junit.tests.runner.SimpleTestCollectorTest
 
Sorter - Class in junit.runner
A custom quick sort with support to customize the swap behaviour.
Sorter() - Constructor for class junit.runner.Sorter
 
Sorter.Swapper - Interface in junit.runner
 
SorterTest - Class in junit.tests.runner
 
SorterTest() - Constructor for class junit.tests.runner.SorterTest
 
sortStrings(Vector, int, int, Sorter.Swapper) - Static method in class junit.runner.Sorter
 
StackFilterTest - Class in junit.tests.runner
 
StackFilterTest() - Constructor for class junit.tests.runner.StackFilterTest
 
StandardTestSuiteLoader - Class in junit.runner
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 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.tests.framework.TestListenerTest
 
startTest(Test) - Method in class junit.textui.ResultPrinter
 
STATUS_ERROR - Static variable in interface junit.runner.TestRunListener
 
STATUS_FAILURE - Static variable in interface junit.runner.TestRunListener
 
StatusLine - Class in junit.swingui
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.
subtract(IMoney) - Method in interface junit.samples.money.IMoney
Subtracts a money from this money.
subtract(IMoney) - Method in class junit.samples.money.Money
 
Success - Class in junit.tests.framework
A test case testing the testing framework.
Success() - Constructor for class junit.tests.framework.Success
 
SUCCESS_EXIT - Static variable in class junit.textui.TestRunner
 
suite() - Static method in class junit.samples.AllTests
 
suite() - Static method in class junit.samples.SimpleTest
 
suite() - Static method in class junit.samples.VectorTest
 
suite() - Static method in class junit.tests.AllTests
 
suite() - Static method in class junit.tests.extensions.AllTests
 
suite() - Static method in class junit.tests.framework.AllTests
 
suite() - Static method in class junit.tests.framework.SuiteTest
 
suite() - Static method in class junit.tests.runner.AllTests
 
suite() - Method in class junit.tests.runner.BaseTestRunnerTest.NonStatic
 
SUITE_METHODNAME - Static variable in class junit.runner.BaseTestRunner
 
SuiteTest - Class in junit.tests.framework
A fixture for testing the "auto" test suite feature.
SuiteTest(String) - Constructor for class junit.tests.framework.SuiteTest
 
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 in junit.framework
A Test can be run and collect its results.
test() - Method in class junit.tests.extensions.ExceptionTestCaseTest.ThrowExceptionTestCase
 
test() - Method in class junit.tests.extensions.ExceptionTestCaseTest.ThrowNoExceptionTestCase
 
test() - Method in class junit.tests.extensions.ExceptionTestCaseTest.ThrowRuntimeExceptionTestCase
 
test2() - Method in class junit.tests.framework.InheritedTestCase
 
testActiveRepeatedTest() - Method in class junit.tests.extensions.ActiveTestTest
 
testActiveRepeatedTest0() - Method in class junit.tests.extensions.ActiveTestTest
 
testActiveRepeatedTest1() - Method in class junit.tests.extensions.ActiveTestTest
 
testActiveTest() - Method in class junit.tests.extensions.ActiveTestTest
 
testAdd() - Method in class junit.samples.SimpleTest
 
testAddTestSuite() - Method in class junit.tests.framework.SuiteTest
 
testAssertEquals() - Method in class junit.tests.framework.AssertTest
 
testAssertEqualsNaNFails() - Method in class junit.tests.framework.DoublePrecisionAssertTest
Test for the special Double.NaN value.
testAssertEqualsNull() - Method in class junit.tests.framework.AssertTest
 
testAssertFalse() - Method in class junit.tests.framework.AssertTest
 
testAssertNaNEqualsFails() - Method in class junit.tests.framework.DoublePrecisionAssertTest
 
testAssertNaNEqualsNaN() - Method in class junit.tests.framework.DoublePrecisionAssertTest
 
testAssertNegInfinityEqualsInfinity() - Method in class junit.tests.framework.DoublePrecisionAssertTest
 
testAssertNotNull() - Method in class junit.tests.framework.AssertTest
 
testAssertNotSame() - Method in class junit.tests.framework.AssertTest
 
testAssertNotSameFailsNull() - Method in class junit.tests.framework.AssertTest
 
testAssertNull() - Method in class junit.tests.framework.AssertTest
 
testAssertNullNotEqualsNull() - Method in class junit.tests.framework.AssertTest
 
testAssertNullNotEqualsString() - Method in class junit.tests.framework.AssertTest
 
testAssertPosInfinityEqualsInfinity() - Method in class junit.tests.framework.DoublePrecisionAssertTest
 
testAssertPosInfinityNotEquals() - Method in class junit.tests.framework.DoublePrecisionAssertTest
 
testAssertPosInfinityNotEqualsNegInfinity() - Method in class junit.tests.framework.DoublePrecisionAssertTest
 
testAssertSame() - Method in class junit.tests.framework.AssertTest
 
testAssertStringEquals() - Method in class junit.tests.framework.AssertTest
 
testAssertStringNotEqualsNull() - Method in class junit.tests.framework.AssertTest
 
testAssertTrue() - Method in class junit.tests.framework.AssertTest
 
testAt(int) - Method in class junit.framework.TestSuite
Returns the test at the given index
testBagMultiply() - Method in class junit.samples.money.MoneyTest
 
testBagNegate() - Method in class junit.samples.money.MoneyTest
 
testBagNotEquals() - Method in class junit.samples.money.MoneyTest
 
testBagSimpleAdd() - Method in class junit.samples.money.MoneyTest
 
testBagSubtract() - Method in class junit.samples.money.MoneyTest
 
testBagSumAdd() - Method in class junit.samples.money.MoneyTest
 
testBug609972() - Method in class junit.tests.framework.ComparisonCompactorTest
 
testCapacity() - Method in class junit.samples.VectorTest
 
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.
testCase() - Method in class junit.tests.framework.OneTestCase
 
testCase(int) - Method in class junit.tests.framework.OneTestCase
 
testCase() - Method in class junit.tests.framework.OverrideTestCase
 
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.
TestCaseClassLoaderTest - Class in junit.tests.runner
A TestCase for testing the TestCaseClassLoader
TestCaseClassLoaderTest() - Constructor for class junit.tests.runner.TestCaseClassLoaderTest
 
TestCaseTest - Class in junit.tests.framework
A test case testing the testing framework.
TestCaseTest() - Constructor for class junit.tests.framework.TestCaseTest
 
testCaseToString() - Method in class junit.tests.framework.TestCaseTest
 
testClassLoading() - Method in class junit.tests.runner.TestCaseClassLoaderTest
 
testClone() - Method in class junit.samples.VectorTest
 
TestCollector - Interface in junit.runner
Collects Test class names to be presented by the TestSelector.
testComparisonErrorEndSameComplete() - Method in class junit.tests.framework.ComparisonCompactorTest
 
testComparisonErrorEndSameCompleteContext() - Method in class junit.tests.framework.ComparisonCompactorTest
 
testComparisonErrorOverlapingMatches() - Method in class junit.tests.framework.ComparisonCompactorTest
 
testComparisonErrorOverlapingMatches2() - Method in class junit.tests.framework.ComparisonCompactorTest
 
testComparisonErrorOverlapingMatches2Context() - Method in class junit.tests.framework.ComparisonCompactorTest
 
testComparisonErrorOverlapingMatchesContext() - Method in class junit.tests.framework.ComparisonCompactorTest
 
testComparisonErrorStartSameComplete() - Method in class junit.tests.framework.ComparisonCompactorTest
 
testComparisonErrorWithActualNull() - Method in class junit.tests.framework.ComparisonCompactorTest
 
testComparisonErrorWithActualNullContext() - Method in class junit.tests.framework.ComparisonCompactorTest
 
testComparisonErrorWithExpectedNull() - Method in class junit.tests.framework.ComparisonCompactorTest
 
testComparisonErrorWithExpectedNullContext() - Method in class junit.tests.framework.ComparisonCompactorTest
 
testConnection() - Method in class junit.tests.framework.ComparisonFailureTest
 
testContains() - Method in class junit.samples.VectorTest
 
testCount() - Method in class junit.framework.TestSuite
Returns the number of tests in this suite
testCreateSuiteFromArray() - Method in class junit.tests.framework.SuiteTest
 
TestDecorator - Class in junit.extensions
A Decorator for Tests.
TestDecorator(Test) - Constructor for class junit.extensions.TestDecorator
 
testDivideByZero() - Method in class junit.samples.SimpleTest
 
testElementAt() - Method in class junit.samples.VectorTest
 
testEmptySuite() - Method in class junit.tests.runner.TextFeedbackTest
 
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.tests.runner.BaseTestRunnerTest.MockRunner
 
testEnded(String) - Method in class junit.textui.TestRunner
 
testEndSame() - Method in class junit.tests.framework.ComparisonCompactorTest
 
testEquals() - Method in class junit.samples.SimpleTest
 
testError() - Method in class junit.tests.framework.TestCaseTest
 
testError() - Method in class junit.tests.framework.TestListenerTest
 
testError() - Method in class junit.tests.runner.TextFeedbackTest
 
testError() - Method in class junit.tests.runner.TextRunnerTest
 
testErrorTearingDownDoesntMaskErrorRunning() - Method in class junit.tests.framework.TestCaseTest
 
testExceptionRunningAndTearDown() - Method in class junit.tests.framework.TestCaseTest
 
testExceptionSubclass() - Method in class junit.tests.extensions.ExceptionTestCaseTest
 
testExceptionTest() - Method in class junit.tests.extensions.ExceptionTestCaseTest
 
testFail() - Method in class junit.tests.framework.AssertTest
 
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.tests.runner.BaseTestRunnerTest.MockRunner
 
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.
testFailure() - Method in class junit.tests.extensions.ExceptionTestCaseTest
 
testFailure() - Method in class junit.tests.framework.TestCaseTest
 
testFailure() - Method in class junit.tests.framework.TestListenerTest
 
testFailure() - Method in class junit.tests.runner.TextFeedbackTest
 
testFailure() - Method in class junit.tests.runner.TextRunnerTest
 
testFilter() - Method in class junit.tests.runner.StackFilterTest
 
TestHierarchyRunView - Class in junit.swingui
A hierarchical view of a test run.
TestHierarchyRunView(TestRunContext) - Constructor for class junit.swingui.TestHierarchyRunView
 
TestImplementorTest - Class in junit.tests.framework
Test an implementor of junit.framework.Test other than TestCase or TestSuite
TestImplementorTest() - Constructor for class junit.tests.framework.TestImplementorTest
 
TestImplementorTest.DoubleTestCase - Class in junit.tests.framework
 
TestImplementorTest.DoubleTestCase(TestCase) - Constructor for class junit.tests.framework.TestImplementorTest.DoubleTestCase
 
testInheritedTests() - Method in class junit.tests.framework.SuiteTest
 
testInvokeNonStaticSuite() - Method in class junit.tests.runner.BaseTestRunnerTest
 
testIsZero() - Method in class junit.samples.money.MoneyTest
 
testJarClassLoading() - Method in class junit.tests.runner.TestCaseClassLoaderTest
 
TestListener - Interface in junit.framework
A Listener for test progress
TestListenerTest - Class in junit.tests.framework
 
TestListenerTest() - Constructor for class junit.tests.framework.TestListenerTest
 
testMessage() - Method in class junit.tests.framework.ComparisonCompactorTest
 
testMissingDirectory() - Method in class junit.tests.runner.SimpleTestCollectorTest
 
testMixedSimpleAdd() - Method in class junit.samples.money.MoneyTest
 
testMoneyBagEquals() - Method in class junit.samples.money.MoneyTest
 
testMoneyBagHash() - Method in class junit.samples.money.MoneyTest
 
testMoneyEquals() - Method in class junit.samples.money.MoneyTest
 
testMoneyHash() - Method in class junit.samples.money.MoneyTest
 
testNamelessTestCase() - Method in class junit.tests.framework.TestCaseTest
 
testNoArgTestCasePasses() - Method in class junit.tests.framework.TestCaseTest
 
testNoContextStartAndEndSame() - Method in class junit.tests.framework.ComparisonCompactorTest
 
testNoException() - Method in class junit.tests.extensions.ExceptionTestCaseTest
 
testNormalize2() - Method in class junit.samples.money.MoneyTest
 
testNormalize3() - Method in class junit.samples.money.MoneyTest
 
testNormalize4() - Method in class junit.samples.money.MoneyTest
 
testNoTestCaseClass() - Method in class junit.tests.framework.SuiteTest
 
testNoTestCases() - Method in class junit.tests.framework.SuiteTest
 
testNotExistingTestCase() - Method in class junit.tests.framework.SuiteTest
 
testNothing() - Method in class junit.tests.framework.NoArgTestCaseTest
 
testNotInvoked() - Method in class junit.tests.runner.TextRunnerSingleMethodTest.InvocationTest
 
testNotPublic() - Method in class junit.tests.framework.NotPublicTestCase
 
testNotPublicTestCase() - Method in class junit.tests.framework.SuiteTest
 
testNotVoid() - Method in class junit.tests.framework.NotVoidTestCase
 
testNotVoidTestCase() - Method in class junit.tests.framework.SuiteTest
 
testOneTest() - Method in class junit.tests.runner.TextFeedbackTest
 
testOneTestCase() - Method in class junit.tests.framework.SuiteTest
 
testPrint() - Method in class junit.samples.money.MoneyTest
 
testPublic() - Method in class junit.tests.framework.NotPublicTestCase
 
testRemoveAll() - Method in class junit.samples.VectorTest
 
testRemoveElement() - Method in class junit.samples.VectorTest
 
testRepeatedMoreThanOnce() - Method in class junit.tests.extensions.RepeatedTestTest
 
testRepeatedNegative() - Method in class junit.tests.extensions.RepeatedTestTest
 
testRepeatedOnce() - Method in class junit.tests.extensions.RepeatedTestTest
 
testRepeatedZero() - Method in class junit.tests.extensions.RepeatedTestTest
 
TestResult - Class in junit.framework
A TestResult collects the results of executing a test case.
TestResult() - Constructor for class junit.framework.TestResult
 
testRunAndTearDownFails() - Method in class junit.tests.framework.TestCaseTest
 
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
testRunningErrorInTestSetup() - Method in class junit.tests.extensions.ExtensionTest
 
testRunningErrorsInTestSetup() - Method in class junit.tests.extensions.ExtensionTest
 
testRunReturnsResult() - Method in class junit.tests.runner.TextRunnerTest
 
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
testSame() - Method in class junit.tests.framework.ComparisonCompactorTest
 
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.DoubleClickListener() - Constructor for class junit.swingui.TestSelector.DoubleClickListener
 
TestSelector.KeySelectListener - Class in junit.swingui
 
TestSelector.KeySelectListener() - Constructor for class junit.swingui.TestSelector.KeySelectListener
 
TestSetup - Class in junit.extensions
A Decorator to set up and tear down additional fixture state.
TestSetup(Test) - Constructor for class junit.extensions.TestSetup
 
testSetupErrorDontTearDown() - Method in class junit.tests.extensions.ExtensionTest
 
testSetupErrorInTestSetup() - Method in class junit.tests.extensions.ExtensionTest
 
testSetupFails() - Method in class junit.tests.framework.TestCaseTest
 
testShadowedTests() - Method in class junit.tests.framework.SuiteTest
 
testSimpleAdd() - Method in class junit.samples.money.MoneyTest
 
testSimpleBagAdd() - Method in class junit.samples.money.MoneyTest
 
testSimpleMultiply() - Method in class junit.samples.money.MoneyTest
 
testSimpleNegate() - Method in class junit.samples.money.MoneyTest
 
testSimpleSubtract() - Method in class junit.samples.money.MoneyTest
 
testSimplify() - Method in class junit.samples.money.MoneyTest
 
testSingle() - Method in class junit.tests.runner.TextRunnerSingleMethodTest
 
testSort() - Method in class junit.tests.runner.SorterTest
 
testStartAndEndContext() - Method in class junit.tests.framework.ComparisonCompactorTest
 
testStartAndEndContextWithEllipses() - Method in class junit.tests.framework.ComparisonCompactorTest
 
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.tests.runner.BaseTestRunnerTest.MockRunner
 
testStarted(String) - Method in class junit.textui.TestRunner
 
testStartSame() - Method in class junit.tests.framework.ComparisonCompactorTest
 
testStartStop() - Method in class junit.tests.framework.TestListenerTest
 
testSuccess() - Method in class junit.tests.framework.NoTestCaseClass
 
testSuccess() - Method in class junit.tests.framework.Success
 
testSuccess() - Method in class junit.tests.framework.TestCaseTest
 
testSuccess() - Method in class junit.tests.runner.TextRunnerTest
 
testSuccessfulRun() - Method in class junit.tests.framework.TestImplementorTest
 
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.
testTearDownAfterError() - Method in class junit.tests.framework.TestCaseTest
 
testTearDownFails() - Method in class junit.tests.framework.TestCaseTest
 
testTearDownSetupFails() - Method in class junit.tests.framework.TestCaseTest
 
testThrowing() - Method in class junit.tests.framework.ComparisonFailureTest
 
testTwoTests() - Method in class junit.tests.runner.TextFeedbackTest
 
testViewChanged() - Method in class junit.swingui.TestRunner
 
testVoid() - Method in class junit.tests.framework.NotVoidTestCase
 
testWasInvoked() - Method in class junit.tests.runner.TextRunnerSingleMethodTest.InvocationTest
 
testWasRun() - Method in class junit.tests.framework.TestCaseTest
 
testWrongException() - Method in class junit.tests.extensions.ExceptionTestCaseTest
 
textChanged() - Method in class junit.swingui.TestRunner
 
TextFeedbackTest - Class in junit.tests.runner
 
TextFeedbackTest() - Constructor for class junit.tests.runner.TextFeedbackTest
 
TextRunnerSingleMethodTest - Class in junit.tests.runner
Test invoking a single test method of a TestCase.
TextRunnerSingleMethodTest() - Constructor for class junit.tests.runner.TextRunnerSingleMethodTest
 
TextRunnerSingleMethodTest.InvocationTest - Class in junit.tests.runner
 
TextRunnerSingleMethodTest.InvocationTest() - Constructor for class junit.tests.runner.TextRunnerSingleMethodTest.InvocationTest
 
TextRunnerTest - Class in junit.tests.runner
 
TextRunnerTest() - Constructor for class junit.tests.runner.TextRunnerTest
 
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
 
toString() - Method in class junit.samples.money.Money
 
trace() - Method in class junit.framework.TestFailure
 
truncate(String) - Static method in class junit.runner.BaseTestRunner
Truncates a String to the maximum length.

U

updateBarColor() - Method in class junit.swingui.MacProgressBar
 
useReloadingTestSuiteLoader() - Method in class junit.runner.BaseTestRunner
 

V

VectorTest - Class in junit.samples
A sample test case, testing java.util.Vector.
VectorTest() - Constructor for class junit.samples.VectorTest
 
verify() - Method in class junit.tests.runner.ClassLoaderTest
 
verify() - Method in class junit.tests.runner.LoadedFromJar
 
Version - Class in junit.runner
This class defines the current version of JUnit

W

warning(String) - Static method in class junit.framework.TestSuite
Returns a test which will fail and log a warning message.
WasRun - Class in junit.tests
A helper test case for testing whether the testing method is run.
WasRun() - Constructor for class junit.tests.WasRun
 
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 K L M N O P R S T U V W