A TestSuite for active Tests.
Adds an error to the list of errors.
Adds a failure to the list of failures.
Adds a test to the suite.
Adds the tests from the given class to the suite
Protect constructor since it is a static only class
Asserts that two booleans are equal.
Asserts that two bytes are equal.
Asserts that two chars are equal.
Asserts that two doubles are equal concerning a delta.
Asserts that two floats are equal concerning a delta.
Asserts that two ints are equal.
Asserts that two longs are equal.
Asserts that two objects are equal.
Asserts that two shorts are equal.
Asserts that two booleans are equal.
Asserts that two bytes are equal.
Asserts that two chars are equal.
Asserts that two doubles are equal concerning a delta.
Asserts that two floats are equal concerning a delta.
Asserts that two ints are equal.
Asserts that two longs are equal.
Asserts that two objects are equal.
Asserts that two shorts are equal.
Asserts that two Strings are equal.
Asserts that two Strings are equal.
Asserts that a condition is false.
Asserts that a condition is false.
Thrown when an assertion failed.
Asserts that an object isn't null.
Asserts that an object isn't null.
Asserts that two objects refer to the same object.
Asserts that two objects refer to the same object.
Asserts that an object is null.
Asserts that an object is null.
Asserts that two objects refer to the same object.
Asserts that two objects refer to the same object.
Asserts that a condition is true.
Asserts that a condition is true.
An implementation of a TestCollector that consults the
class path.
Clears the status message.
Clears the status message.
Clears the status message.
Returns an enumeration of Strings with qualified class names
Thrown when an assert equals for Strings failed.
Constructs a comparison failure.
Counts the number of test cases that will be run by this test.
Counts the number of test cases executed by run(TestResult result).
Counts the number of test cases that will be run by this test.
Creates a default TestResult object
...as the moon sets over the early morning Merlin, Oregon
mountains, our intrepid adventurers type...
Creates the TestResult to be used for the test run.
Returns the component used to present the TraceView
Filters stack frames from internal JUnit classes
Returns a filtered stack trace
Returns the loader to be used.
Always use the StandardTestSuiteLoader.
Returns "..." in place of common prefix and "..." in
place of common suffix between expected and actual.
Gets the name of a TestCase
Returns the name of the suite.
Returns the Test corresponding to the given suite.
Gets a constructor which takes a single String as
its argument or a no arg constructor.
Uses the system class loader to load the test class
A TestSuite loader that can reload classes.
Unregisters a TestListener
A Decorator that runs a test repeatedly.
A convenience method to run this test, collecting the results with a
default TestResult object.
Runs a suite extracted from a TestCase subclass.
Runs a single test and collects its results.
Runs a test and collects its result in a TestResult instance.
Runs the test case and collects the results in TestResult.
Runs the tests and collects their result in a TestResult.
Runs a single test and waits until the user
types RETURN.
Runs the bare test sequence.
Gets the number of run tests.
Override to define how to handle a failed loading of
a test suite.
Override to define how to handle a failed loading of
a test suite.
Override to define how to handle a failed loading of
a test suite.
Execute the test method expecting that an Exception of
class fExpected or one of its subclasses will be thrown
Override to run the test and assert its state.
Sets the loading behaviour of the test runner
Sets the name of a TestCase
Sets the name of the suite.
Sets up the fixture, for example, open a network connection.
Checks whether the test run should stop
Shows details of a TestFailure
An implementation of a TestCollector that considers
a class to be a test class when it contains the
pattern "Test" in its name
A custom quick sort with support to customize the swap behaviour.
The standard test suite loader.
Informs the result that a test will be started.
Marks that the test run should stop.
Tears down the fixture, for example, close a network connection.
A Test can be run and collect its results.
Returns the test at the given index
A test case defines the fixture to run multiple tests.
No-arg constructor to enable serialization.
Constructs a test case with the given name.
A custom class loader which enables the reloading
of classes for each test run.
Constructs a TestCaseLoader.
Constructs a TestCaseLoader.
Collects Test class names to be presented
by the TestSelector.
Returns the number of tests in this suite
A TestFailure
collects a failed test together with
the caught exception.
Constructs a TestFailure with the given test and exception.
A Listener for test progress
A TestResult
collects the results of executing
a test case.
A listener interface for observing the
execution of a test run.
An AWT based user interface to run tests.
An AWT based user interface to run tests.
A command line based tool to run tests.
Constructs a TestRunner using the given ResultPrinter all the output
Constructs a TestRunner using the given stream for all the output
Returns the tests as an enumeration
A Decorator to set up and tear down additional fixture state.
A TestSuite
is a Composite
of Tests.
Constructs an empty TestSuite.
Constructs a TestSuite from the given class.
Constructs a TestSuite from the given class with the given name.
Constructs an empty TestSuite.
An interface to define how a test suite should be loaded.
Gets the thrown exception.
Returns a string representation of the test case
Returns a short description of the failure.
Truncates a String to the maximum length.