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

A

actionPerformed(ActionEvent). Method in class test.ui.TestRunner
Method to handle events for the ActionListener interface.
activeSuite(). Static method in class samples.VectorTest
ActiveTest(Test). Constructor for class samples.ActiveTest
addError(Test, Throwable). Method in class test.framework.TestResult
Adds an error to the list of errors.
addError(Test, Throwable). Method in class test.ui.UITestResult
Adds an error to the list of errors.
addError(TestResult, Test, Throwable). Method in class test.ui.TestRunner
This method was created by a SmartGuide.
addFailure(Test, Throwable). Method in class test.framework.TestResult
Adds a failure to the list of failures.
addFailure(Test, Throwable). Method in class test.ui.UITestResult
Adds a failure to the list of failures.
addFailure(TestResult, Test, Throwable). Method in class test.ui.TestRunner
This method was created by a SmartGuide.
addTest(Test). Method in class test.framework.TestSuite
Adds a test to the suite.
AllTests(). Constructor for class samples.AllTests
assert(boolean). Method in class test.framework.TestCase
Asserts that a condition is true.
assert(String, boolean). Method in class test.framework.TestCase
Asserts that a condition is true.
assertEquals(double, double, double). Method in class test.framework.TestCase
Asserts that two doubles are equal.
assertEquals(long, long). Method in class test.framework.TestCase
Asserts that two longs are equal.
assertEquals(Object, Object). Method in class test.framework.TestCase
Asserts that two objects are equal.
assertEquals(String, double, double, double). Method in class test.framework.TestCase
Asserts that two doubles are equal.
assertEquals(String, long, long). Method in class test.framework.TestCase
Asserts that two longs are equal.
assertEquals(String, Object, Object). Method in class test.framework.TestCase
Asserts that two objects are equal.
AssertionFailedError(). Constructor for class test.framework.AssertionFailedError
AssertionFailedError(String). Constructor for class test.framework.AssertionFailedError

C

countTestCases(). Method in class samples.RepeatedTest
countTestCases(). Method in interface test.framework.Test
Counts the number of test cases that will be run by this test.
countTestCases(). Method in class test.framework.TestCase
Counts the number of test cases executed by run(TestResult result).
countTestCases(). Method in class samples.TestDecorator
countTestCases(). Method in class test.framework.TestSuite
Counts the number of test cases that will be run by this test.

D

defaultResult(). Method in class test.framework.TestCase
Returns a default TestResult object

E

endTest(Test). Method in class test.framework.TestResult
Informs the result that a test was completed.
endTest(Test). Method in class test.ui.UITestResult
Informs the result that a test was completed.
endTest(TestResult, Test). Method in class test.ui.TestRunner
This method was created by a SmartGuide.
errors(). Method in class test.framework.TestResult
Returns an Enumeration for the errors

F

failedTest(). Method in class test.framework.TestFailure
Gets the failed test.
failures(). Method in class test.framework.TestResult
Returns an Enumeration for the failures
fEmpty. Variable in class samples.VectorTest
fError. Variable in class samples.TestTest
fErrors. Variable in class test.framework.TestResult
fFailedTest. Variable in class test.framework.TestFailure
fFailure. Variable in class samples.TestTest
fFailures. Variable in class test.framework.TestResult
fFull. Variable in class samples.VectorTest
fRunTests. Variable in class test.framework.TestResult
fSuccess. Variable in class samples.TestTest
fTest. Variable in class samples.TestDecorator
fThrownException. Variable in class test.framework.TestFailure
fValue1. Variable in class samples.SimpleTest
fValue2. Variable in class samples.SimpleTest

I

itemStateChanged(ItemEvent). Method in class test.ui.TestRunner
Method to handle events for the ItemListener interface.

M

main(String[]). Static method in class test.textui.TestRunner
main(String[]). Static method in class test.ui.TestRunner
main entrypoint - starts the part when it is run as an application
main(String[]). Static method in class samples.VectorTest
mouseClicked(MouseEvent). Method in class test.ui.TestRunner
Method to handle events for the MouseListener interface.
mouseEntered(MouseEvent). Method in class test.ui.TestRunner
Method to handle events for the MouseListener interface.
mouseExited(MouseEvent). Method in class test.ui.TestRunner
Method to handle events for the MouseListener interface.
mousePressed(MouseEvent). Method in class test.ui.TestRunner
Method to handle events for the MouseListener interface.
mouseReleased(MouseEvent). Method in class test.ui.TestRunner
Method to handle events for the MouseListener interface.

N

name(). Method in class test.framework.TestCase
Gets the name of the test case.
notEqualsMessage(String, Object, Object). Method in class test.framework.TestCase

R

RepeatedTest(Test, int). Constructor for class samples.RepeatedTest
run(). Method in class test.framework.TestCase
A convenience method to run this test, collecting the results with a default TestResult object.
run(). Method in class test.ui.TestRunner
This method was created by a SmartGuide.
run(Test). Static method in class test.textui.TestRunner
Runs a single test and collects its results.
run(TestResult). Method in class samples.ActiveTest
run(TestResult). Method in class samples.RepeatedTest
run(TestResult). Method in interface test.framework.Test
Runs a test and collects its result in a TestResult instance.
run(TestResult). Method in class test.framework.TestCase
Runs the test case and collects the results in TestResult.
run(TestResult). Method in class samples.TestDecorator
run(TestResult). Method in class samples.TestSetup
run(TestResult). Method in class test.framework.TestSuite
Runs the tests and collects their result in a TestResult.
runSuite(). Method in class test.ui.TestRunner
This method was created by a SmartGuide.
runTest(). Method in class test.framework.TestCase
Override to run the test and assert its state.
runTests(). Method in class test.framework.TestResult
Gets the number of run tests.

S

setSuiteName(String). Method in class test.ui.TestRunner
setUp(). Method in class samples.SimpleTest
Sets up the fixture, for example, open a network connection.
setUp(). Method in class test.framework.TestCase
Sets up the fixture, for example, open a network connection.
setUp(). Method in class samples.TestSetup
Sets up the fixture.
setUp(). Method in class samples.TestTest
Sets up the fixture, for example, open a network connection.
setUp(). Method in class samples.VectorTest
Sets up the fixture, for example, open a network connection.
shouldStop(). Method in class test.framework.TestResult
Checks whether the test run should stop
SimpleTest(String). Constructor for class samples.SimpleTest
startTest(Test). Method in class test.framework.TestResult
Informs the result that a test will be started.
stop(). Method in class test.framework.TestResult
Marks that the test run should stop.
suite(). Static method in class samples.AllTests
suite(). Static method in class samples.SimpleTest
suite(). Static method in class samples.TestTest
suite(). Static method in class samples.VectorTest

T

tearDown(). Method in class test.framework.TestCase
Tears down the fixture, for example, close a network connection.
tearDown(). Method in class samples.TestSetup
Tears down the fixture.
testAdd(). Method in class samples.SimpleTest
testCapacity(). Method in class samples.VectorTest
TestCase(String). Constructor for class test.framework.TestCase
Constructs a test case with the given name.
testClone(). Method in class samples.VectorTest
testContains(). Method in class samples.VectorTest
TestDecorator(Test). Constructor for class samples.TestDecorator
testDivideByZero(). Method in class samples.SimpleTest
testElementAt(). Method in class samples.VectorTest
testEquals(). Method in class samples.SimpleTest
testError(). Method in class samples.TestTest
testErrors(). Method in class test.framework.TestResult
Gets the number of detected errors.
testFailure(). Method in class samples.TestTest
TestFailure(Test, Throwable). Constructor for class test.framework.TestFailure
Constructs a TestFailure with the given test and exception.
testFailures(). Method in class test.framework.TestResult
Gets the number of detected failures.
testRemoveAll(). Method in class samples.VectorTest
testRemoveElement(). Method in class samples.VectorTest
TestResult(). Constructor for class test.framework.TestResult
TestRunner(). Constructor for class test.textui.TestRunner
TestRunner(). Constructor for class test.ui.TestRunner
Constructor
TestRunner(String). Constructor for class test.ui.TestRunner
TestMonitor constructor comment.
TestSetup(Test). Constructor for class samples.TestSetup
testSuccess(). Method in class samples.TestTest
TestSuite(). Constructor for class test.framework.TestSuite
TestTest(String). Constructor for class samples.TestTest
textValueChanged(TextEvent). Method in class test.ui.TestRunner
Method to handle events for the TextListener interface.
thrownException(). Method in class test.framework.TestFailure
Gets the thrown exception.
toString(). Method in class samples.ActiveTest
toString(). Method in class samples.RepeatedTest
toString(). Method in class test.framework.TestCase
Returns a string representation of the test case
toString(). Method in class samples.TestDecorator
toString(). Method in class test.framework.TestFailure
Returns a short description of the failure.
toString(). Method in class test.framework.TestSuite
Returns a string representation of the test suite

V

VectorTest(String). Constructor for class samples.VectorTest

W

wasSuccessful(). Method in class test.framework.TestResult
Returns whether the entire test was successful or not.
windowActivated(WindowEvent). Method in class test.ui.TestRunner
Method to handle events for the WindowListener interface.
windowClosed(WindowEvent). Method in class test.ui.TestRunner
Method to handle events for the WindowListener interface.
windowClosing(WindowEvent). Method in class test.ui.TestRunner
Method to handle events for the WindowListener interface.
windowDeactivated(WindowEvent). Method in class test.ui.TestRunner
Method to handle events for the WindowListener interface.
windowDeiconified(WindowEvent). Method in class test.ui.TestRunner
Method to handle events for the WindowListener interface.
windowIconified(WindowEvent). Method in class test.ui.TestRunner
Method to handle events for the WindowListener interface.
windowOpened(WindowEvent). Method in class test.ui.TestRunner
Method to handle events for the WindowListener interface.