All Packages Class Hierarchy
A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
Q
R
S
T
U
V
W
X
Y
Z
Index of all Fields and Methods
- ActiveTest(Test).
Constructor for class junit.extensions.ActiveTest
-
- addError(Test, Throwable).
Method in class junit.framework.TestResult
- Adds an error to the list of errors.
- addError(Test, Throwable).
Method in class junit.textui.TextTestResult
- Adds an error to the list of errors.
- addError(TestResult, Test, Throwable).
Method in class junit.ui.TestRunner
-
- addFailure(Test, Throwable).
Method in class junit.framework.TestResult
- Adds a failure to the list of failures.
- addFailure(Test, Throwable).
Method in class junit.textui.TextTestResult
- Adds a failure to the list of failures.
- addFailure(TestResult, Test, Throwable).
Method in class junit.ui.TestRunner
-
- addTest(Test).
Method in class junit.framework.TestSuite
- Adds a test to the suite.
- assert(boolean).
Method in class junit.framework.TestCase
- Asserts that a condition is true.
- assert(String, boolean).
Method in class junit.framework.TestCase
- Asserts that a condition is true.
- assertEquals(double, double, double).
Method in class junit.framework.TestCase
- Asserts that two doubles are equal.
- assertEquals(long, long).
Method in class junit.framework.TestCase
- Asserts that two longs are equal.
- assertEquals(Object, Object).
Method in class junit.framework.TestCase
- Asserts that two objects are equal.
- assertEquals(String, double, double, double).
Method in class junit.framework.TestCase
- Asserts that two doubles are equal.
- assertEquals(String, long, long).
Method in class junit.framework.TestCase
- Asserts that two longs are equal.
- assertEquals(String, Object, Object).
Method in class junit.framework.TestCase
- Asserts that two objects are equal.
- AssertionFailedError().
Constructor for class junit.framework.AssertionFailedError
-
- AssertionFailedError(String).
Constructor for class junit.framework.AssertionFailedError
-
- assertNotNull(Object).
Method in class junit.framework.TestCase
- Asserts that an object isn't null.
- assertNotNull(String, Object).
Method in class junit.framework.TestCase
- Asserts that an object isn't null.
- assertNull(Object).
Method in class junit.framework.TestCase
- Asserts that an object is null.
- assertNull(String, Object).
Method in class junit.framework.TestCase
- Asserts that an object is null.
- assertSame(Object, Object).
Method in class junit.framework.TestCase
- Asserts that two objects refer to the same object.
- assertSame(String, Object, Object).
Method in class junit.framework.TestCase
- Asserts that two objects refer to the same object.
- canRerun().
Method in class junit.ui.LoadingTestRunner
- Returns whether this TestRunner can rerun a test.
- canRerun().
Method in class junit.ui.TestRunner
- Returns whether this TestRunner can rerun a test.
- countTestCases().
Method in class junit.extensions.RepeatedTest
-
- 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.extensions.TestDecorator
-
- countTestCases().
Method in class junit.framework.TestSuite
- Counts the number of test cases that will be run by this test.
- createFileMenu().
Method in class junit.ui.TestRunner
- Creates the file menu.
- createMenus(MenuBar).
Method in class junit.ui.TestRunner
-
- createResult().
Method in class junit.framework.TestCase
- Creates a default TestResult object
- createTestResult().
Method in class junit.textui.TestRunner
- Creates the TestResult to be used for the test run.
- createTestResult(TestRunner).
Method in class junit.ui.TestRunner
-
- doRun(Test, boolean).
Method in class junit.textui.TestRunner
-
- endTest(Test).
Method in class junit.framework.TestResult
- Informs the result that a test was completed.
- endTest(TestResult, Test).
Method in class junit.ui.TestRunner
-
- errors().
Method in class junit.framework.TestResult
- Returns an Enumeration for the errors
- fail().
Method in class junit.framework.TestCase
- Fails a test with no message.
- fail(String).
Method in class junit.framework.TestCase
- Fails a test with the given message.
- failedTest().
Method in class junit.framework.TestFailure
- Gets the failed test.
- failures().
Method in class junit.framework.TestResult
- Returns an Enumeration for the failures
- fErrors.
Variable in class junit.framework.TestResult
-
- fFailedTest.
Variable in class junit.framework.TestFailure
-
- fFailures.
Variable in class junit.framework.TestResult
-
- fRunTests.
Variable in class junit.framework.TestResult
-
- fTest.
Variable in class junit.extensions.TestDecorator
-
- fThrownException.
Variable in class junit.framework.TestFailure
-
- getResource(String).
Method in class junit.ui.TestCaseClassLoader
-
- getResourceAsStream(String).
Method in class junit.ui.TestCaseClassLoader
-
- getResult().
Method in class junit.framework.TestCase
- Returns the currently active
TestResult
object
- isExcluded(String).
Method in class junit.ui.TestCaseClassLoader
-
- loadClass(String, boolean).
Method in class junit.ui.TestCaseClassLoader
-
- LoadingTestRunner().
Constructor for class junit.ui.LoadingTestRunner
-
- LoadingTestRunner(String).
Constructor for class junit.ui.LoadingTestRunner
-
- loadSuiteClass(String).
Method in class junit.ui.LoadingTestRunner
-
- loadSuiteClass(String).
Method in class junit.ui.TestRunner
-
- main(String[]).
Static method in class junit.ui.LoadingTestRunner
- main entrypoint
- main(String[]).
Static method in class junit.textui.TestRunner
- main entry point.
- main(String[]).
Static method in class junit.ui.TestRunner
- main entrypoint
- name().
Method in class junit.framework.TestCase
- Gets the name of the test case.
- notEqualsMessage(String, Object, Object).
Method in class junit.framework.TestCase
- Returns the message for a failed equals test
- print().
Method in class junit.textui.TextTestResult
- Prints failures to the standard output
- printErrors().
Method in class junit.textui.TextTestResult
- Prints the errors to the standard output
- printFailures().
Method in class junit.textui.TextTestResult
- Prints failures to the standard output
- printHeader().
Method in class junit.textui.TextTestResult
- Prints the header of the report
- RepeatedTest(Test, int).
Constructor for class junit.extensions.RepeatedTest
-
- reset().
Method in class junit.ui.TestRunner
-
- run().
Method in class junit.framework.TestCase
- A convenience method to run this test, collecting the results with a
default TestResult object.
- run().
Method in class junit.ui.TestRunner
- runs a suite.
- run(Test).
Static method in class junit.textui.TestRunner
- Runs a single test and collects its results.
- run(TestCase).
Method in class junit.framework.TestResult
- Runs a TestCase.
- run(TestResult).
Method in class junit.extensions.ActiveTest
-
- run(TestResult).
Method in class junit.extensions.RepeatedTest
-
- run(TestResult).
Method in interface junit.framework.Test
- Runs a test and collects its result in a TestResult instance.
- run(TestResult).
Method in class junit.framework.TestCase
- Runs the test case and collects the results in TestResult.
- run(TestResult).
Method in class junit.extensions.TestDecorator
-
- run(TestResult).
Method in class junit.extensions.TestSetup
-
- run(TestResult).
Method in class junit.framework.TestSuite
- Runs the tests and collects their result in a TestResult.
- runAndWait(Test).
Static method in class junit.textui.TestRunner
- Runs a single test and waits until the users
types RETURN.
- runBare().
Method in class junit.framework.TestCase
- Runs the bar test sequence.
- runSuite().
Method in class junit.ui.TestRunner
-
- runTest().
Method in class junit.framework.TestCase
- Override to run the test and assert its state.
- runTests().
Method in class junit.framework.TestResult
- Gets the number of run tests.
- setSuiteName(String).
Method in class junit.ui.TestRunner
-
- setUp().
Method in class junit.framework.TestCase
- Sets up the fixture, for example, open a network connection.
- setUp().
Method in class junit.extensions.TestSetup
- Sets up the fixture.
- shouldStop().
Method in class junit.framework.TestResult
- Checks whether the test run should stop
- start(String[]).
Method in class junit.textui.TestRunner
- Starts a test run.
- start(String[]).
Method in class junit.ui.TestRunner
- Starts the TestRunner
- startTest(Test).
Method in class junit.framework.TestResult
- Informs the result that a test will be started.
- startTest(Test).
Method in class junit.textui.TextTestResult
- Informs the result that a test will be started.
- startTest(TestResult, Test).
Method in class junit.ui.TestRunner
-
- stop().
Method in class junit.framework.TestResult
- Marks that the test run should stop.
- tearDown().
Method in class junit.framework.TestCase
- Tears down the fixture, for example, close a network connection.
- tearDown().
Method in class junit.extensions.TestSetup
- Tears down the fixture.
- TestCase(String).
Constructor for class junit.framework.TestCase
- Constructs a test case with the given name.
- TestCaseClassLoader().
Constructor for class junit.ui.TestCaseClassLoader
- Constructs a TestCaseLoader.
- TestDecorator(Test).
Constructor for class junit.extensions.TestDecorator
-
- testErrors().
Method in class junit.framework.TestResult
- Gets the number of detected errors.
- TestFailure(Test, Throwable).
Constructor for class junit.framework.TestFailure
- Constructs a TestFailure with the given test and exception.
- testFailures().
Method in class junit.framework.TestResult
- Gets the number of detected failures.
- TestResult().
Constructor for class junit.framework.TestResult
-
- TestRunner().
Constructor for class junit.textui.TestRunner
-
- TestRunner().
Constructor for class junit.ui.TestRunner
-
- TestRunner(String).
Constructor for class junit.ui.TestRunner
-
- TestSetup(Test).
Constructor for class junit.extensions.TestSetup
-
- 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.
- TextTestResult().
Constructor for class junit.textui.TextTestResult
-
- thrownException().
Method in class junit.framework.TestFailure
- Gets the thrown exception.
- toString().
Method in class junit.extensions.ActiveTest
-
- toString().
Method in class junit.extensions.RepeatedTest
-
- toString().
Method in class junit.framework.TestCase
- Returns a string representation of the test case
- toString().
Method in class junit.extensions.TestDecorator
-
- toString().
Method in class junit.framework.TestFailure
- Returns a short description of the failure.
- wasSuccessful().
Method in class junit.framework.TestResult
- Returns whether the entire test was successful or not.