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

Quick Search    Search Deep

com.simscomputing.testbed.gui.* (11)

com.simscomputing.testbed: Javadoc index of package com.simscomputing.testbed.


Package Samples:

com.simscomputing.testbed.gui

Classes:

FileSystemClassLoader: This class is almost a trivial subclass of URLClassLoader. The one thing that I'm baffled by is that if I overload loadClass(), then newly loaded classes have their class loader set to this class. If I don't, then new classes have their class loader set to the primordial class loader. I've no idea why this behaves this way. I've tested it under Linux JDK 1.2 and Windows JDK 1.3 beta. I need newly loaded classes to have their class loader set to FileSystemClassLoader so that can be reloaded when the user clicks "Re-Exercise". Why not just find the class file in the file system and call defineClass() ...
TestCaseCollection: Users of the Test Bed typically subclass this class and put their test cases in the subclass. Of special note are the setupCollection(), teardownCollection(), setup(), and teardown() methods. The first is called before any test cases in a Collection class are exercised. The second is called after all such test cases are exercised. Finally, setup() and teardown() are called before and after each test case. These methods allow the programmer to perform initialization and cleanup.
ClearBox: Provides access to private and protected constructors, methods, and fields in arbitrary classes. Inspired by a similar class written by Creig Smith .
Tester: A tester provides a user interface for testing Java classes. All testers, such as DefaultTester and GuiTester, implement Tester.
Main: A simple command line interface for exercising TestCaseCollections. The functionality mirrors the functionality of the GUI.
TestResult: For each test, a TestResult object indicates whether the test passed and how long the test took to execute in milliseconds.
Reporter: A reporter shows the results of a test. All reporters, such as DefaultReporter and HtmlReporter, implement Reporter.
ClassTester: Loads a class given its class name (eg, java.lang.String) and prepares to exercise it.
TestFailedException: Subclasses RuntimeException so it doesn't need to be declared in each test case.
TesterListener: Provides progress information on a test case collection that is being exercised.
TestResultCollection: Provides methods that operate against a collection of TestResult objects.
TesterProgress: Contains a snapshot of progress made in exercising a TestCaseCollection.
NoSuchTestException: Indicates that the specified test method does not exist.
Resources: Storage place for various resouces used by the Test Bed.
DirectoryTester: Exercises all class files in the specified directory.
DefaultTester: Exercises all classes specified on the command line.
Resources: Storage place for various resouces used by the GUI.
ClassFileFilter: A file filter that displays Java class files only.
DirectoryFilter: A file filter that displays directories only.
DefaultReporter: A reporter that writes its result to stdout.
ReporterInternalFrame: Graphically displays a TestResultCollection.
Main: The main frame for the test bed GUI.
ClassNameDialog: Gathers a class name from the user.
ClearBoxTest: Unit test for the ClearBox class.
AboutDialog: Shows program information.

Home | Contact Us | Privacy Policy | Terms of Service