Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

junit.extensions.abbot.* (9)

junit.extensions: Javadoc index of package junit.extensions.


Package Samples:

junit.extensions.abbot

Classes:

ScriptTestSuite: Similar to TestSuite, except that it auto-generates a suite based on test scripts matching certain criteria. By default, generate a suite of all scripts found in a given directory for which the accept method returns true. Note that there is no guarantee of the order of the scripts. The ScriptTestSuite constructors which require a class argument provide a means for using custom fixtures derived from ScriptFixture . The default fixture preserves existing environment windows (e.g. the JUnit Swing UI TestRunner) and disposes of all windows generated by the code under test. Derived fixtures may provide ...
ExceptionTestCase: A TestCase that expects an Exception of class fExpected to be thrown. The other way to check that an expected exception is thrown is: try { shouldThrow(); } catch (SpecialException e) { return; } fail("Expected SpecialException"); To use ExceptionTestCase, create a TestCase like: new ExceptionTestCase("testShouldThrow", SpecialException.class);
TestDecorator: A Decorator for Tests. Use TestDecorator as the base class for defining new test decorators. Test decorator subclasses can be introduced to add behaviour before or after a test is run.
TestSetup: A Decorator to set up and tear down additional fixture state. Subclass TestSetup and insert it into your tests when you want to set up additional state once before the tests are run.
ActiveTestSuite: A TestSuite for active Tests. It runs each test in a separate thread and waits until all threads have terminated. -- Aarhus Radisson Scandinavian Center 11th floor
RepeatHelper: Convenience functions to wrap a given test case such that individual methods may be run with heavy repetition, and default suites run with light repetition.
ComponentTestFixture: Simple wrapper for testing components under JUnit. Derived classes provide a component which is placed within a frame and displayed prior to each test.
TestHelper: Provides automatic test suite generation given command-line arguments. Also allows for a single test to be run if it is specified.
ScriptTestCollector: Collects all available classes derived from ScriptTestCase in the current classpath.
ScriptFixture: Simple wrapper for a test script to run under JUnit.
Timer: Time and performance measurement utilities.
RepeatedTest: A Decorator that runs a test repeatedly.
ScriptTestSuiteTest: Verify we can extend a ScriptTestSuite.
ScriptTestCase: Use ScriptFixture instead.

Home | Contact Us | Privacy Policy | Terms of Service