Overview
Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
R
S
T
U
V
W
A
about()
- Method in class junit.awtui.
TestRunner
about()
- Method in class junit.swingui.
TestRunner
AboutDialog
- class junit.awtui.
AboutDialog
.
AboutDialog
- class junit.swingui.
AboutDialog
.
The AboutDialog.
AboutDialog(Frame)
- Constructor for class junit.awtui.
AboutDialog
AboutDialog(JFrame)
- Constructor for class junit.swingui.
AboutDialog
aboutToStart(Test)
- Method in class junit.swingui.
TestRunner
aboutToStart(Test, TestResult)
- Method in interface junit.swingui.
TestRunView
Informs that the suite is about to start
aboutToStart(Test, TestResult)
- Method in class junit.swingui.
TestHierarchyRunView
aboutToStart(Test, TestResult)
- Method in class junit.swingui.
FailureRunView
activate()
- Method in interface junit.swingui.
TestRunView
Activates the TestRunView
activate()
- Method in class junit.swingui.
TestHierarchyRunView
activate()
- Method in class junit.swingui.
FailureRunView
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(Class, String)
- Constructor for class junit.extensions.
ActiveTestSuite
ActiveTestSuite(String)
- Constructor for class junit.extensions.
ActiveTestSuite
ActiveTestTest
- class junit.tests.extensions.
ActiveTestTest
.
Testing the ActiveTest support
ActiveTestTest.SuccessTest
- class junit.tests.extensions.
ActiveTestTest.SuccessTest
.
ActiveTestTest.SuccessTest()
- Constructor for class junit.tests.extensions.
ActiveTestTest.SuccessTest
ActiveTestTest()
- Constructor for class junit.tests.extensions.
ActiveTestTest
add(IMoney)
- Method in class junit.samples.money.
MoneyBag
add(IMoney)
- Method in class junit.samples.money.
Money
Adds a money to this money.
add(IMoney)
- Method in interface junit.samples.money.
IMoney
Adds a money to this money.
addError(Test)
- Method in class junit.swingui.
TestTreeModel
Remembers a test error
addError(Test, Throwable)
- Method in class junit.framework.
TestResult
Adds an error to the list of errors.
addError(Test, Throwable)
- Method in interface junit.framework.
TestListener
An error occurred.
addError(Test, Throwable)
- Method in class junit.runner.
BaseTestRunner
addError(Test, Throwable)
- Method in class junit.swingui.
TestSuitePanel
addError(Test, Throwable)
- Method in class junit.tests.framework.
TestListenerTest
addError(Test, Throwable)
- Method in class junit.textui.
ResultPrinter
addFailure(Test)
- Method in class junit.swingui.
TestTreeModel
Remembers a test failure
addFailure(Test, AssertionFailedError)
- Method in class junit.framework.
TestResult
Adds a failure to the list of failures.
addFailure(Test, AssertionFailedError)
- Method in interface junit.framework.
TestListener
A failure occurred.
addFailure(Test, AssertionFailedError)
- Method in class junit.runner.
BaseTestRunner
addFailure(Test, AssertionFailedError)
- Method in class junit.swingui.
TestSuitePanel
addFailure(Test, AssertionFailedError)
- Method in class junit.tests.framework.
TestListenerTest
addFailure(Test, AssertionFailedError)
- Method in class junit.textui.
ResultPrinter
addGrid(JPanel, Component, int, int, int, int, double, int)
- Method in class junit.swingui.
TestRunner
addGrid(Panel, Component, int, int, int, int, double, int)
- Method in class junit.awtui.
TestRunner
addListener(TestListener)
- Method in class junit.framework.
TestResult
Registers a TestListener
addListeners()
- Method in class junit.swingui.
TestSelector
addMoney(Money)
- Method in class junit.samples.money.
MoneyBag
addMoney(Money)
- Method in class junit.samples.money.
Money
addMoney(Money)
- Method in interface junit.samples.money.
IMoney
Adds a simple Money to this money.
addMoneyBag(MoneyBag)
- Method in class junit.samples.money.
MoneyBag
addMoneyBag(MoneyBag)
- Method in class junit.samples.money.
Money
addMoneyBag(MoneyBag)
- Method in interface junit.samples.money.
IMoney
Adds a MoneyBag to this money.
addRunTest(Test)
- Method in class junit.swingui.
TestTreeModel
Remembers that a test was run
addTab(JTabbedPane)
- Method in interface junit.swingui.
TestRunView
Adds the TestRunView to the test run views tab
addTab(JTabbedPane)
- Method in class junit.swingui.
TestHierarchyRunView
addTab(JTabbedPane)
- Method in class junit.swingui.
FailureRunView
addTest(Test)
- Method in class junit.framework.
TestSuite
Adds a test to the suite.
addTestMethod(Method, Vector, Class)
- Method in class junit.framework.
TestSuite
addTestSuite(Class)
- Method in class junit.framework.
TestSuite
Adds the tests from the given class to the suite
addToCounterPanel(Panel, Component, int, int, int, int, double, double, int, int, Insets)
- Method in class junit.awtui.
TestRunner
addToGrid(Component, int, int, int, int, double, double, int, int, Insets)
- Method in class junit.swingui.
CounterPanel
addToHistory(String)
- Method in class junit.swingui.
TestRunner
addTreeModelListener(TreeModelListener)
- Method in class junit.swingui.
TestTreeModel
adds a TreeModelListener
AllTests
- class junit.samples.
AllTests
.
TestSuite that runs all the sample tests
AllTests
- class junit.tests.
AllTests
.
TestSuite that runs all the JUnit tests
AllTests
- class junit.tests.extensions.
AllTests
.
TestSuite that runs all the extension tests
AllTests
- class junit.tests.framework.
AllTests
.
TestSuite that runs all the sample tests
AllTests
- class junit.tests.runner.
AllTests
.
TestSuite that runs all the sample tests
AllTests()
- Constructor for class junit.samples.
AllTests
AllTests()
- Constructor for class junit.tests.
AllTests
AllTests()
- Constructor for class junit.tests.extensions.
AllTests
AllTests()
- Constructor for class junit.tests.framework.
AllTests
AllTests()
- Constructor for class junit.tests.runner.
AllTests
amount()
- Method in class junit.samples.money.
Money
appendBag(MoneyBag)
- Method in class junit.samples.money.
MoneyBag
appendFailure(String, Test, Throwable)
- Method in class junit.awtui.
TestRunner
appendFailure(Test, Throwable)
- Method in class junit.swingui.
TestRunner
appendMoney(Money)
- Method in class junit.samples.money.
MoneyBag
appendTo(MoneyBag)
- Method in class junit.samples.money.
MoneyBag
appendTo(MoneyBag)
- Method in class junit.samples.money.
Money
appendTo(MoneyBag)
- Method in interface junit.samples.money.
IMoney
Append this to a MoneyBag m.
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
assertEquals(boolean, boolean)
- Static method in class junit.framework.
Assert
Asserts that two booleans are equal.
assertEquals(byte, byte)
- Static method in class junit.framework.
Assert
Asserts that two bytes are equal.
assertEquals(char, char)
- Static method in class junit.framework.
Assert
Asserts that two chars are equal.
assertEquals(double, double, double)
- Static method in class junit.framework.
Assert
Asserts that two doubles are equal concerning a delta.
assertEquals(float, float, float)
- Static method in class junit.framework.
Assert
Asserts that two floats are equal concerning a delta.
assertEquals(int, int)
- Static method in class junit.framework.
Assert
Asserts that two ints are equal.
assertEquals(long, long)
- Static method in class junit.framework.
Assert
Asserts that two longs are equal.
assertEquals(Object, Object)
- Static method in class junit.framework.
Assert
Asserts that two objects are equal.
assertEquals(short, short)
- Static method in class junit.framework.
Assert
Asserts that two shorts are equal.
assertEquals(String, boolean, boolean)
- Static method in class junit.framework.
Assert
Asserts that two booleans are equal.
assertEquals(String, byte, byte)
- Static method in class junit.framework.
Assert
Asserts that two bytes are equal.
assertEquals(String, char, char)
- Static method in class junit.framework.
Assert
Asserts that two chars are equal.
assertEquals(String, double, double, double)
- Static method in class junit.framework.
Assert
Asserts that two doubles are equal concerning a delta.
assertEquals(String, float, float, float)
- Static method in class junit.framework.
Assert
Asserts that two floats are equal concerning a delta.
assertEquals(String, int, int)
- Static method in class junit.framework.
Assert
Asserts that two ints are equal.
assertEquals(String, long, long)
- Static method in class junit.framework.
Assert
Asserts that two longs are equal.
assertEquals(String, Object, Object)
- Static method in class junit.framework.
Assert
Asserts that two objects are equal.
assertEquals(String, short, short)
- Static method in class junit.framework.
Assert
Asserts that two shorts are equal.
assertEquals(String, String)
- Static method in class junit.framework.
Assert
Asserts that two Strings are equal.
assertEquals(String, String, String)
- Static method in class junit.framework.
Assert
Asserts that two Strings are equal.
assertFalse(boolean)
- Static method in class junit.framework.
Assert
Asserts that a condition is false.
assertFalse(String, boolean)
- Static method in class junit.framework.
Assert
Asserts that a condition is false.
AssertionFailedError
- error junit.framework.
AssertionFailedError
.
Thrown when an assertion failed.
AssertionFailedError()
- Constructor for class junit.framework.
AssertionFailedError
AssertionFailedError(String)
- Constructor for class junit.framework.
AssertionFailedError
assertNotNull(Object)
- Static method in class junit.framework.
Assert
Asserts that an object isn't null.
assertNotNull(String, Object)
- Static method in class junit.framework.
Assert
Asserts that an object isn't null.
assertNotSame(Object, Object)
- Static method in class junit.framework.
Assert
Asserts that two objects do not refer to the same object.
assertNotSame(String, 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(Object, Object)
- Static method in class junit.framework.
Assert
Asserts that two objects refer to the same object.
assertSame(String, Object, Object)
- Static method in class junit.framework.
Assert
Asserts that two objects refer to the same object.
AssertTest
- class junit.tests.framework.
AssertTest
.
AssertTest()
- Constructor for class junit.tests.framework.
AssertTest
assertTrue(boolean)
- Static method in class junit.framework.
Assert
Asserts that a condition is true.
assertTrue(String, boolean)
- Static method in class junit.framework.
Assert
Asserts that a condition is true.
B
BaseTestRunner
- class junit.runner.
BaseTestRunner
.
Base class for all test runners.
BaseTestRunner()
- Constructor for class junit.runner.
BaseTestRunner
BaseTestRunnerTest
- class junit.tests.runner.
BaseTestRunnerTest
.
BaseTestRunnerTest.MockRunner
- class junit.tests.runner.
BaseTestRunnerTest.MockRunner
.
BaseTestRunnerTest.MockRunner()
- Constructor for class junit.tests.runner.
BaseTestRunnerTest.MockRunner
BaseTestRunnerTest.NonStatic
- class junit.tests.runner.
BaseTestRunnerTest.NonStatic
.
BaseTestRunnerTest.NonStatic()
- Constructor for class junit.tests.runner.
BaseTestRunnerTest.NonStatic
BaseTestRunnerTest()
- Constructor for class junit.tests.runner.
BaseTestRunnerTest
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
classFromFile(String)
- Method in class junit.runner.
LoadingTestCollector
ClassLoaderTest
- class junit.tests.runner.
ClassLoaderTest
.
ClassLoaderTest()
- Constructor for class junit.tests.runner.
ClassLoaderTest
classNameFromFile(String)
- Method in class junit.runner.
ClassPathTestCollector
ClassPathTestCollector
- class junit.runner.
ClassPathTestCollector
.
An implementation of a TestCollector that consults the class path.
ClassPathTestCollector()
- Constructor for class junit.runner.
ClassPathTestCollector
clear()
- Method in interface junit.runner.
FailureDetailView
Clears the view
clear()
- Method in class junit.swingui.
StatusLine
clear()
- Method in class junit.swingui.
DefaultFailureDetailView
Clears the output.
clear()
- Method in class junit.swingui.
DefaultFailureDetailView.StackTraceListModel
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
cloneListeners()
- Method in class junit.framework.
TestResult
Returns a copy of the listeners.
collectFilesInPath(String)
- Method in class junit.runner.
ClassPathTestCollector
collectFilesInRoots(Vector)
- Method in class junit.runner.
ClassPathTestCollector
collectTests()
- Method in interface junit.runner.
TestCollector
Returns an enumeration of Strings with qualified class names
collectTests()
- Method in 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.
ComparisonFailureTest
- class junit.tests.framework.
ComparisonFailureTest
.
ComparisonFailureTest()
- Constructor for class junit.tests.framework.
ComparisonFailureTest
contains(Money)
- Method in class junit.samples.money.
MoneyBag
CounterPanel
- class junit.swingui.
CounterPanel
.
A panel with test run counters
CounterPanel()
- Constructor for class junit.swingui.
CounterPanel
countTestCases()
- Method in class junit.extensions.
TestDecorator
countTestCases()
- Method in class junit.extensions.
RepeatedTest
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.framework.
TestCase
Counts the number of test cases executed by run(TestResult result).
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.tests.framework.
TestImplementorTest.DoubleTestCase
create(IMoney, IMoney)
- Static method in class junit.samples.money.
MoneyBag
createActiveTestSuite()
- Method in class junit.tests.extensions.
ActiveTestTest
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
createLogo()
- Method in class junit.swingui.
AboutDialog
createMenus(JMenuBar)
- Method in class junit.swingui.
TestRunner
createMenus(MenuBar)
- Method in class junit.awtui.
TestRunner
createOutputField(int)
- Method in class junit.swingui.
CounterPanel
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...
createTestCollector()
- Method in class junit.swingui.
TestRunner
createTestList(TestCollector)
- Method in class junit.swingui.
TestSelector
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
defaultExclusions
- Variable in class junit.runner.
TestCaseClassLoader
default excluded paths
DefaultFailureDetailView
- class junit.swingui.
DefaultFailureDetailView
.
A view that shows a stack trace of a failure
DefaultFailureDetailView.StackEntryRenderer
- class junit.swingui.
DefaultFailureDetailView.StackEntryRenderer
.
Renderer for stack entries
DefaultFailureDetailView.StackEntryRenderer()
- Constructor for class junit.swingui.
DefaultFailureDetailView.StackEntryRenderer
DefaultFailureDetailView.StackTraceListModel
- class junit.swingui.
DefaultFailureDetailView.StackTraceListModel
.
A ListModel representing the scanned failure stack trace.
DefaultFailureDetailView.StackTraceListModel()
- Constructor for class junit.swingui.
DefaultFailureDetailView.StackTraceListModel
DefaultFailureDetailView()
- Constructor for class junit.swingui.
DefaultFailureDetailView
defineLayout()
- Method in class junit.swingui.
TestSelector
displayString(String)
- Static method in class junit.swingui.
TestSelector.TestCellRenderer
doRun(Test)
- Method in class junit.textui.
TestRunner
doRun(Test, boolean)
- Method in class junit.textui.
TestRunner
doRunTest(Test)
- Method in class junit.swingui.
TestRunner
DoublePrecisionAssertTest
- class junit.tests.framework.
DoublePrecisionAssertTest
.
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.tests.runner.
TextFeedbackTest.TestResultPrinter
elapsedTimeAsString(long)
- Method in class junit.textui.
ResultPrinter
Returns the formatted string of the elapsed time.
endTest(Test)
- Method in class junit.framework.
TestResult
Informs the result that a test was completed.
endTest(Test)
- Method in interface junit.framework.
TestListener
A test ended.
endTest(Test)
- Method in class junit.runner.
BaseTestRunner
endTest(Test)
- Method in class junit.swingui.
TestSuitePanel
A test ended.
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.
MoneyBag
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 junit.extensions.
ExceptionTestCase
.
A TestCase that expects an Exception of class fExpected to be thrown.
ExceptionTestCase(String, Class)
- Constructor for class junit.extensions.
ExceptionTestCase
ExceptionTestCaseTest
- class junit.tests.extensions.
ExceptionTestCaseTest
.
ExceptionTestCaseTest.ThrowExceptionTestCase
- class junit.tests.extensions.
ExceptionTestCaseTest.ThrowExceptionTestCase
.
ExceptionTestCaseTest.ThrowExceptionTestCase(String, Class)
- Constructor for class junit.tests.extensions.
ExceptionTestCaseTest.ThrowExceptionTestCase
ExceptionTestCaseTest.ThrowNoExceptionTestCase
- class junit.tests.extensions.
ExceptionTestCaseTest.ThrowNoExceptionTestCase
.
ExceptionTestCaseTest.ThrowNoExceptionTestCase(String, Class)
- Constructor for class junit.tests.extensions.
ExceptionTestCaseTest.ThrowNoExceptionTestCase
ExceptionTestCaseTest.ThrowRuntimeExceptionTestCase
- class junit.tests.extensions.
ExceptionTestCaseTest.ThrowRuntimeExceptionTestCase
.
ExceptionTestCaseTest.ThrowRuntimeExceptionTestCase(String, Class)
- Constructor for class junit.tests.extensions.
ExceptionTestCaseTest.ThrowRuntimeExceptionTestCase
ExceptionTestCaseTest()
- Constructor for class junit.tests.extensions.
ExceptionTestCaseTest
exceptionToString(Throwable)
- Static method in class junit.framework.
TestSuite
Converts the stack trace into a string
EXCLUDED_FILE
- Static variable in class junit.runner.
TestCaseClassLoader
name of excluded properties file
execTest(String, boolean)
- Method in class junit.tests.runner.
TextRunnerTest
expected(String[])
- Method in class junit.tests.runner.
TextFeedbackTest
ExtensionTest
- class junit.tests.extensions.
ExtensionTest
.
A test case testing the extensions to the testing framework.
ExtensionTest.TornDown
- class junit.tests.extensions.
ExtensionTest.TornDown
.
ExtensionTest.TornDown(Test)
- Constructor for class junit.tests.extensions.
ExtensionTest.TornDown
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
f12CHF
- Variable in class junit.samples.money.
MoneyTest
f14CHF
- Variable in class junit.samples.money.
MoneyTest
f21USD
- Variable in class junit.samples.money.
MoneyTest
f7USD
- Variable in class junit.samples.money.
MoneyTest
fActiveTestDeathCount
- Variable in class junit.extensions.
ActiveTestSuite
fActual
- Variable in class junit.framework.
ComparisonFailure
fail()
- Static method in class junit.framework.
Assert
Fails a test with no message.
fail(String)
- Static method in class junit.framework.
Assert
Fails a test with the given message.
failedTest()
- Method in class junit.framework.
TestFailure
Gets the failed test.
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 junit.tests.framework.
Failure
.
A test case testing the testing framework.
FAILURE_EXIT
- Static variable in class junit.textui.
TestRunner
Failure()
- Constructor for class junit.tests.framework.
Failure
failureCount()
- Method in class junit.framework.
TestResult
Gets the number of detected failures.
FailureDetailView
- interface junit.runner.
FailureDetailView
.
A view to show a details about a failure
FAILUREDETAILVIEW_KEY
- Static variable in class junit.swingui.
TestRunner
FailureRunView
- class junit.swingui.
FailureRunView
.
A view presenting the test failures as a list.
FailureRunView.FailureListCellRenderer
- class junit.swingui.
FailureRunView.FailureListCellRenderer
.
Renders TestFailures in a JList
FailureRunView.FailureListCellRenderer()
- Constructor for class junit.swingui.
FailureRunView.FailureListCellRenderer
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
fAmount
- Variable in class junit.samples.money.
Money
fCancel
- Variable in class junit.swingui.
TestSelector
fColumn
- Variable in class junit.textui.
ResultPrinter
fCounterPanel
- Variable in class junit.swingui.
TestRunner
fCurrency
- Variable in class junit.samples.money.
Money
fDescription
- Variable in class junit.swingui.
TestSelector
fEmpty
- Variable in class junit.samples.
VectorTest
fEndCount
- Variable in class junit.tests.framework.
TestListenerTest
fError
- Variable in class junit.awtui.
ProgressBar
fError
- Variable in class junit.swingui.
ProgressBar
fErrorCount
- Variable in class junit.tests.framework.
TestListenerTest
fErrorIcon
- Variable in class junit.swingui.
TestSuitePanel.TestTreeCellRenderer
fErrorIcon
- Variable in class junit.swingui.
FailureRunView.FailureListCellRenderer
fErrorIcon
- Variable in class junit.swingui.
CounterPanel
fErrors
- Variable in class junit.framework.
TestResult
fErrors
- Variable in class junit.swingui.
TestTreeModel
fExceptions
- Variable in class junit.awtui.
TestRunner
fExcluded
- Variable in class junit.runner.
TestCaseClassLoader
excluded paths
fExpected
- Variable in class junit.extensions.
ExceptionTestCase
fExpected
- Variable in class junit.framework.
ComparisonFailure
fFailedTest
- Variable in class junit.framework.
TestFailure
fFailedTests
- Variable in class junit.awtui.
TestRunner
fFailureCount
- Variable in class junit.tests.framework.
TestListenerTest
fFailureIcon
- Variable in class junit.swingui.
TestSuitePanel.TestTreeCellRenderer
fFailureIcon
- Variable in class junit.swingui.
FailureRunView.FailureListCellRenderer
fFailureIcon
- Variable in class junit.swingui.
CounterPanel
fFailureList
- Variable in class junit.awtui.
TestRunner
fFailureList
- Variable in class junit.swingui.
FailureRunView
fFailures
- Variable in class junit.framework.
TestResult
fFailures
- Variable in class junit.swingui.
TestTreeModel
fFailures
- Variable in class junit.swingui.
TestRunner
fFailureView
- Variable in class junit.swingui.
TestRunner
fFiltered
- Variable in class junit.tests.runner.
StackFilterTest
fFrame
- Variable in class junit.awtui.
TestRunner
fFrame
- Variable in class junit.swingui.
TestRunner
fFull
- Variable in class junit.samples.
VectorTest
fgFilterStack
- Static variable in class junit.runner.
BaseTestRunner
fgMaxMessageLength
- Static variable in class junit.runner.
BaseTestRunner
fHeight
- Variable in class junit.awtui.
Logo
filterLine(String)
- Static method in class junit.runner.
BaseTestRunner
fImage
- Variable in class junit.awtui.
Logo
findMoney(String)
- Method in class junit.samples.money.
MoneyBag
findTest(Test, Test, Vector)
- Method in class junit.swingui.
TestTreeModel
Finds the path to a test.
fireNodeChanged(TreePath, int)
- Method in class junit.swingui.
TestTreeModel
Fires a node changed event
fireTestChanged(Test, boolean)
- Method in class junit.swingui.
TestSuitePanel
fLeafIcon
- Variable in class junit.swingui.
TestSelector.TestCellRenderer
fLines
- Variable in class junit.swingui.
DefaultFailureDetailView.StackTraceListModel
fList
- Variable in class junit.swingui.
TestSelector
fList
- Variable in class junit.swingui.
DefaultFailureDetailView
fListeners
- Variable in class junit.framework.
TestResult
fLoader
- Variable in class junit.runner.
LoadingTestCollector
fLoading
- Variable in class junit.runner.
BaseTestRunner
fLogo
- Variable in class junit.awtui.
TestRunner
fLogo
- Variable in class junit.swingui.
TestRunner
fMB1
- Variable in class junit.samples.money.
MoneyTest
fMB2
- Variable in class junit.samples.money.
MoneyTest
fModel
- Variable in class junit.swingui.
TestSuitePanel
fModelListeners
- Variable in class junit.swingui.
TestTreeModel
fMonies
- Variable in class junit.samples.money.
MoneyBag
fName
- Variable in class junit.framework.
TestSuite
fName
- Variable in class junit.framework.
TestCase
the name of the test case
fNumberOfErrors
- Variable in class junit.awtui.
TestRunner
fNumberOfErrors
- Variable in class junit.swingui.
CounterPanel
fNumberOfFailures
- Variable in class junit.awtui.
TestRunner
fNumberOfFailures
- Variable in class junit.swingui.
CounterPanel
fNumberOfRuns
- Variable in class junit.awtui.
TestRunner
fNumberOfRuns
- Variable in class junit.swingui.
CounterPanel
fOk
- Variable in class junit.swingui.
TestSelector
fOkIcon
- Variable in class junit.swingui.
TestSuitePanel.TestTreeCellRenderer
format(String, Object, Object)
- Static method in class junit.framework.
Assert
fOther
- Variable in class junit.swingui.
TestSelector.ParallelSwapper
fPathItems
- Variable in class junit.runner.
TestCaseClassLoader
scanned class path
fPreferences
- Static variable in class junit.runner.
BaseTestRunner
fPrinter
- Variable in class junit.textui.
TestRunner
fProgress
- Variable in class junit.awtui.
ProgressBar
fProgressIndicator
- Variable in class junit.awtui.
TestRunner
fProgressIndicator
- Variable in class junit.swingui.
TestRunner
fProgressX
- Variable in class junit.awtui.
ProgressBar
fQuitButton
- Variable in class junit.awtui.
TestRunner
fQuitButton
- Variable in class junit.swingui.
TestRunner
fRerunButton
- Variable in class junit.awtui.
TestRunner
fRerunButton
- Variable in class junit.swingui.
TestRunner
fResult
- Variable in class junit.tests.framework.
TestListenerTest
fResult
- Variable in class junit.tests.framework.
SuiteTest
fRoot
- Variable in class junit.swingui.
TestTreeModel
fRun
- Variable in class junit.awtui.
TestRunner
fRun
- Variable in class junit.swingui.
TestRunner
fRunContext
- Variable in class junit.swingui.
FailureRunView
fRunner
- Variable in class junit.awtui.
TestRunner
fRunner
- Variable in class junit.swingui.
TestRunner
fRunTests
- Variable in class junit.framework.
TestResult
fRunTests
- Variable in class junit.swingui.
TestTreeModel
fScrolledList
- Variable in class junit.swingui.
TestSelector
fScrollTree
- Variable in class junit.swingui.
TestSuitePanel
fSelectedItem
- Variable in class junit.swingui.
TestSelector
fStartCount
- Variable in class junit.tests.framework.
TestListenerTest
fStatusLine
- Variable in class junit.awtui.
TestRunner
fStatusLine
- Variable in class junit.swingui.
TestRunner
fStop
- Variable in class junit.framework.
TestResult
fSuite
- Variable in class junit.tests.extensions.
RepeatedTestTest
fSuiteCombo
- Variable in class junit.swingui.
TestRunner
fSuiteField
- Variable in class junit.awtui.
TestRunner
fSuiteIcon
- Variable in class junit.swingui.
TestSelector.TestCellRenderer
fTest
- Variable in class junit.extensions.
TestDecorator
fTest
- Variable in class junit.tests.framework.
TestImplementorTest
fTestCase
- Variable in class junit.tests.framework.
TestImplementorTest.DoubleTestCase
fTestContext
- Variable in class junit.swingui.
TestHierarchyRunView
fTestResult
- Variable in class junit.awtui.
TestRunner
fTestResult
- Variable in class junit.swingui.
TestRunner
fTestRunViews
- Variable in class junit.swingui.
TestRunner
fTests
- Variable in class junit.framework.
TestSuite
fTestViewTab
- Variable in class junit.swingui.
TestRunner
fThrownException
- Variable in class junit.framework.
TestFailure
fTimesRepeat
- Variable in class junit.extensions.
RepeatedTest
fTornDown
- Variable in class junit.tests.extensions.
ExtensionTest.TornDown
fTornDown
- Variable in class junit.tests.framework.
TestCaseTest.TornDown
fTotal
- Variable in class junit.awtui.
ProgressBar
fTotal
- Variable in class junit.swingui.
CounterPanel
fTraceArea
- Variable in class junit.awtui.
TestRunner
fTree
- Variable in class junit.swingui.
TestSuitePanel
fTreeBrowser
- Variable in class junit.swingui.
TestHierarchyRunView
fUnfiltered
- Variable in class junit.tests.runner.
StackFilterTest
fUseLoadingRunner
- Variable in class junit.awtui.
TestRunner
fUseLoadingRunner
- Variable in class junit.swingui.
TestRunner
fValue1
- Variable in class junit.samples.
SimpleTest
fValue2
- Variable in class junit.samples.
SimpleTest
fWasRun
- Variable in class junit.tests.
WasRun
fWidth
- Variable in class junit.awtui.
Logo
fWriter
- Variable in class junit.textui.
ResultPrinter
G
GAP
- Static variable in class junit.awtui.
TestRunner
GAP
- Static variable in class junit.swingui.
TestRunner
gatherFiles(File, String, Hashtable)
- Method in class junit.runner.
ClassPathTestCollector
getChild(Object, int)
- Method in class junit.swingui.
TestTreeModel
Gets the test at the given index
getChildCount(Object)
- Method in class junit.swingui.
TestTreeModel
Gets the number of tests.
getClassData(File)
- Method in class junit.runner.
TestCaseClassLoader
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
getElementAt(int)
- Method in class junit.swingui.
DefaultFailureDetailView.StackTraceListModel
getFailures()
- Method in class junit.swingui.
TestRunner
getFailures()
- Method in interface junit.swingui.
TestRunContext
Returns the failure model
getFilteredTrace(String)
- Static method in class junit.runner.
BaseTestRunner
Filters stack frames from internal JUnit classes
getFilteredTrace(Throwable)
- Static method in class junit.runner.
BaseTestRunner
Returns a filtered stack trace
getIconResource(Class, String)
- Static method in class junit.swingui.
TestRunner
getIndexOfChild(Object, Object)
- Method in class junit.swingui.
TestTreeModel
Gets the index of a test in a test suite
getListCellRendererComponent(JList, Object, int, boolean, boolean)
- Method in class junit.swingui.
TestSelector.TestCellRenderer
getListCellRendererComponent(JList, Object, int, boolean, boolean)
- Method in class junit.swingui.
FailureRunView.FailureListCellRenderer
getListCellRendererComponent(JList, Object, int, boolean, boolean)
- Method in class junit.swingui.
DefaultFailureDetailView.StackEntryRenderer
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.
getModel()
- Method in class junit.swingui.
DefaultFailureDetailView
getName()
- Method in class junit.framework.
TestSuite
Returns the name of the suite.
getName()
- Method in class junit.framework.
TestCase
Gets the name of a TestCase
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
getPreferencesFile()
- Static method in class junit.runner.
BaseTestRunner
getResource(String)
- Method in class junit.runner.
TestCaseClassLoader
getResourceAsStream(String)
- Method in class junit.runner.
TestCaseClassLoader
getRoot()
- Method in class junit.swingui.
TestTreeModel
Returns the root of the tree
getRunner()
- Method in class junit.awtui.
TestRunner
getSelectedItem()
- Method in class junit.swingui.
TestSelector
getSelectedTest()
- Method in class junit.swingui.
TestSuitePanel
Returns the selected test or null if multiple or none is selected
getSelectedTest()
- Method in interface junit.swingui.
TestRunView
Returns the currently selected Test in the View
getSelectedTest()
- Method in class junit.swingui.
TestHierarchyRunView
getSelectedTest()
- Method in class junit.swingui.
FailureRunView
getSettingsFile()
- Method in class junit.swingui.
TestRunner
getSize()
- Method in class junit.swingui.
DefaultFailureDetailView.StackTraceListModel
getStatusColor()
- Method in class junit.awtui.
ProgressBar
getStatusColor()
- Method in class junit.swingui.
ProgressBar
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.
getTree()
- Method in class junit.swingui.
TestSuitePanel
Returns the Tree
getTreeCellRendererComponent(JTree, Object, boolean, boolean, boolean, int, boolean)
- Method in class junit.swingui.
TestSuitePanel.TestTreeCellRenderer
getWriter()
- Method in class junit.textui.
ResultPrinter
H
handleTestSelected(Test)
- Method in class junit.swingui.
TestRunner
handleTestSelected(Test)
- Method in interface junit.swingui.
TestRunContext
Handles the selection of a Test.
hashCode()
- Method in class junit.samples.money.
MoneyBag
hashCode()
- Method in class junit.samples.money.
Money
hasPublicConstructor(Class)
- Method in class junit.runner.
LoadingTestCollector
hasSuiteMethod(Class)
- Method in class junit.runner.
LoadingTestCollector
HISTORY_LENGTH
- Static variable in class junit.swingui.
TestRunner
I
id()
- Static method in class junit.runner.
Version
IMoney
- interface junit.samples.money.
IMoney
.
The common interface for simple Monies and MoneyBags
InheritedTestCase
- class junit.tests.framework.
InheritedTestCase
.
Test class used in SuiteTest
InheritedTestCase()
- Constructor for class junit.tests.framework.
InheritedTestCase
insertUpdate(DocumentEvent)
- Method in class junit.swingui.
TestRunner
inVAJava()
- Static method in class junit.runner.
BaseTestRunner
isEmpty()
- Method in class junit.swingui.
TestSelector
isError(Test)
- Method in class junit.swingui.
TestTreeModel
Tests whether a test was an error
isErrorSelected()
- Method in class junit.awtui.
TestRunner
isExcluded(String)
- Method in class junit.runner.
TestCaseClassLoader
isFailure()
- Method in class junit.framework.
TestFailure
isFailure(Test)
- Method in class junit.swingui.
TestTreeModel
Tests whether a test was a failure
isJar(String)
- Method in class junit.runner.
TestCaseClassLoader
isJDK11()
- Static method in class junit.tests.runner.
AllTests
isLeaf(Object)
- Method in class junit.swingui.
TestTreeModel
Tests if the test is a leaf.
isPublicTestMethod(Method)
- Method in class junit.framework.
TestSuite
isTestCaseClassLoader(ClassLoader)
- Method in class junit.tests.runner.
LoadedFromJar
isTestCaseClassLoader(ClassLoader)
- Method in class junit.tests.runner.
ClassLoaderTest
isTestClass(Class)
- Method in class junit.runner.
LoadingTestCollector
isTestClass(String)
- Method in class junit.runner.
SimpleTestCollector
isTestClass(String)
- Method in class junit.runner.
LoadingTestCollector
isTestClass(String)
- Method in class junit.runner.
ClassPathTestCollector
isTestMethod(Method)
- Method in class junit.framework.
TestSuite
isTestSuite(Object)
- Method in class junit.swingui.
TestTreeModel
Tests if the node is a TestSuite.
isZero()
- Method in class junit.samples.money.
MoneyBag
isZero()
- Method in class junit.samples.money.
Money
isZero()
- Method in interface junit.samples.money.
IMoney
Tests whether this money is zero
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 interface junit.runner.
TestSuiteLoader
load(String)
- Method in class junit.runner.
StandardTestSuiteLoader
Uses the system class loader to load the test class
load(String)
- Method in class junit.runner.
ReloadingTestSuiteLoader
loadClass(String, boolean)
- Method in class junit.runner.
TestCaseClassLoader
LoadedFromJar
- class junit.tests.runner.
LoadedFromJar
.
LoadedFromJar()
- Constructor for class junit.tests.runner.
LoadedFromJar
loadFileData(String, String)
- Method in class junit.runner.
TestCaseClassLoader
loadFrameIcon()
- Method in class junit.awtui.
TestRunner
loadFrameIcon()
- Method in class junit.swingui.
TestRunner
loadHistory(JComboBox)
- Method in class junit.swingui.
TestRunner
loadIcons()
- Method in class junit.swingui.
TestSuitePanel.TestTreeCellRenderer
loadIcons()
- Method in class junit.swingui.
FailureRunView.FailureListCellRenderer
loadImage(String)
- Method in class junit.awtui.
Logo
LoadingTestCollector
- class junit.runner.
LoadingTestCollector
.
An implementation of a TestCollector that loads all classes on the class path and tests whether it is assignable from Test or provides a static suite method.
LoadingTestCollector()
- Constructor for class junit.runner.
LoadingTestCollector
loadJarData(String, String)
- Method in class junit.runner.
TestCaseClassLoader
loadSuiteClass(String)
- Method in class junit.runner.
BaseTestRunner
Returns the loaded Class for a suite name.
Logo
- class junit.awtui.
Logo
.
Logo()
- Constructor for class junit.awtui.
Logo
lookupClassData(String)
- Method in class junit.runner.
TestCaseClassLoader
M
main(String[])
- Static method in class junit.awtui.
TestRunner
main(String[])
- Static method in class junit.samples.
VectorTest
main(String[])
- Static method in class junit.samples.
SimpleTest
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.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.
TextFeedbackTest
main(String[])
- Static method in class junit.tests.runner.
AllTests
main(String[])
- Static method in class junit.textui.
TestRunner
matchesKey(String, char)
- Static method in class junit.swingui.
TestSelector.TestCellRenderer
Money
- class junit.samples.money.
Money
.
A simple Money.
Money(int, String)
- Constructor for class junit.samples.money.
Money
Constructs a money from the given amount and currency.
MoneyBag
- class junit.samples.money.
MoneyBag
.
A MoneyBag defers exchange rate conversions.
MoneyBag()
- Constructor for class junit.samples.money.
MoneyBag
MoneyTest
- class junit.samples.money.
MoneyTest
.
MoneyTest()
- Constructor for class junit.samples.money.
MoneyTest
mouseClicked(MouseEvent)
- Method in class junit.swingui.
TestSelector.DoubleClickListener
multiply(int)
- Method in class junit.samples.money.
MoneyBag
multiply(int)
- Method in class junit.samples.money.
Money
multiply(int)
- Method in interface junit.samples.money.
IMoney
Multiplies a money by the given factor.
N
negate()
- Method in class junit.samples.money.
MoneyBag
negate()
- Method in class junit.samples.money.
Money
negate()
- Method in interface junit.samples.money.
IMoney
Negates this money.
NoArgTestCaseTest
- class junit.tests.framework.
NoArgTestCaseTest
.
NoArgTestCaseTest()
- Constructor for class junit.tests.framework.
NoArgTestCaseTest
noTestCase()
- Method in class junit.tests.framework.
OneTestCase
noTestCase()
- Method in class junit.tests.framework.
NoTestCases
NoTestCaseClass
- class junit.tests.framework.
NoTestCaseClass
.
Test class used in SuiteTest
NoTestCaseClass()
- Constructor for class junit.tests.framework.
NoTestCaseClass
NoTestCases
- class junit.tests.framework.
NoTestCases
.
NoTestCases()
- Constructor for class junit.tests.framework.
NoTestCases
NotPublicTestCase
- class junit.tests.framework.
NotPublicTestCase
.
NotPublicTestCase()
- Constructor for class junit.tests.framework.
NotPublicTestCase
NotVoidTestCase
- class junit.tests.framework.
NotVoidTestCase
.
NotVoidTestCase()
- Constructor for class junit.tests.framework.
NotVoidTestCase
O
okSelected()
- Method in class junit.swingui.
TestSelector
OneTestCase
- class junit.tests.framework.
OneTestCase
.
OneTestCase()
- Constructor for class junit.tests.framework.
OneTestCase
output
- Variable in class junit.tests.runner.
TextFeedbackTest
OverrideTestCase
- class junit.tests.framework.
OverrideTestCase
.
Test class used in SuiteTest
OverrideTestCase()
- Constructor for class junit.tests.framework.
OverrideTestCase
P
paint(Graphics)
- Method in class junit.awtui.
ProgressBar
paint(Graphics)
- Method in class junit.awtui.
Logo
paintBackground(Graphics)
- Method in class junit.awtui.
ProgressBar
paintBackground(Graphics)
- Method in class junit.awtui.
Logo
paintStatus(Graphics)
- Method in class junit.awtui.
ProgressBar
paintStep(int, int)
- 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
postInfo(String)
- Method in class junit.swingui.
TestRunner
postStatus(String)
- Method in class junit.swingui.
TestRunner
print(TestResult, long)
- Method in class junit.textui.
ResultPrinter
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
printWaitPrompt()
- 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 junit.awtui.
ProgressBar
.
ProgressBar
- class junit.swingui.
ProgressBar
.
A progress bar showing the green/red status
ProgressBar()
- Constructor for class junit.awtui.
ProgressBar
&n