Package com.sun.javatest
Tests are represented by test descriptions
,
which are contained in a test suite
. They are
read by a test finder
, and executed by a
test script
, to produce a
test result
. Internally, the test results
are stored in a test result table
;
externally, the results are stored in a
work directory
.
Some configuration parameters
are required
in order to read and run tests: these parameters may be collected by
a configuration interview
.
Some limited support is also provided for an earlier parameter mechanism
based on parameter files
.
The finder used to locate the tests, the interview used to configure them and the script used to execute them are all determined by the test suite of which they are part.
- Since:
- 3.0
-
ClassDescriptionBasic filter which accepts all tests presented to it.A basic implementation of Parameters for all except the EnvParameters subsection.Command provides the ability to invoke arbitrary Java code from within a Script.A filter which uses one or more filters to implement its accept method.Traditional implementation of the test execution engine which has been used throughout the JT Harness 2.x harness.Deprecated.This class provides a utility for command-line editing of configuration (.jti) files.This exception is used to indicate a problem with the command line arguments.This exception is used to report problems that arise when using this API.A utility to rewrite links within a set of HTML files.An exception to report bad command line arguments.A set of tests to be excluded from a test run.An entry in the exclude list.This exception is used to report problems manipulating an exclude list.A test filter that filters out tests that appear in an
ExcludeList
.A class to handle downloading exclude lists from a server.An implementation of Parameters, using data read from a .jtp file.The object responsible for coordinating the execution of a test run.This exception is used to report problems while executing a test run.This interface provides a means for Harness to report on events that might be of interest as it executes.Filters tests based on a set of initial files or URLs.Configuration parameters provided via an interview.Indicates problems when accessing the configuration file.The template manager is used to change behavior of template saving, the default implementation is the context manager of corresponding test suite.Indicates problems when accessing the test suite.Indicates problems when accessing the work directory.Special error class to be used for errors which may pop out of JT Harness and be seen by the user.This class is set for JT Harness running as an application.A filter for sets of keywords, as found on test descriptions.An exception used to report errors while using a Keywords object.A test filter that filters tests according to the keywords on a test description.Support class to read and process a list of tests and test cases which are known to fail during execution.An entry in the exclude list.This exception is used to report problems manipulating an exclude list.This filter designed to show only the results from the last test run.Information about the last or current test run.An extension to the basic test filter which provides observer capabilities.An observer that is notified when the filter has been changed.This filter knows how to deal with the the Parameters interface to get the necessary filtering effect.Configuration parameters for a test run.An interface providing basic abstract access to an integer specifying the maximum number of tests that can be run in parallel.An interface providing basic abstract access to the environment used to run each test.An interface providing basic abstract access to an exclude list, defining tests to be excluded from the test run.An interface providing basic abstract access to a keywords object which can be used to select tests according to their keywords.An interface providing abstract access to environments, as contained in a set of .jte files, as used by older, legacy test suites.An interface providing abstract access to an integer specifying the maximum number of tests that can be run in parallel.An interface providing abstract access to an exclude list, as defined by a set of files, defining tests to be excluded from the test run.An interface providing abstract access to a keywords object which can be used to select tests according to their keywords.An interface providing abstract access to a set of booleans which can be used to select tests according to their prior execution status.An interface providing abstract access to a set of paths defining the tests and folders of tests to be run.An interface providing abstract access to an integer specifying a scale factor for the standard timeout used for each test.An interface providing basic abstract access to a set of booleans which can be used to select tests according to their prior execution status.An interface providing basic abstract access to the set of paths defining the tests and folders of tests to be run.An interface providing basic abstract access to an integer specifying a scale factor for the standard timeout used for each test.Information about this release of the JT Harness test harness.A table providing simple named locks for arbitrary resources.Script is the abstract base class providing the ability to control how a test is to be compiled and executed.Interface for extended testTimeout control.A class to embody the result of a test: a status-code and a related message.A test filter that filters tests according to their prior execution status.Template support utility methods.This interface is implemented by tests to be run by standard scripts.TestDescription objects embody the parameters of a test and provide the ability to run a test.A table representing the collection of environments found in a set of environment files.This exception is to report problems usingTestEnvContext
objects.This class provides "environments", as embodied by groups of related properties.A class representing an entry in a test environment.This exception is used to report resolving values in an environment.A filter interface for TestDescriptions.This exception is to report problems that occur while filtering tests.An interface for notification about why a test has been filtered out.Base implementation for test finders which search for test descriptions given a starting location.This interface is used to report significant errors found while reading files, but which are not of themselves serious enough to stop reading further.This exception is to report serious problems that occur while finding tests.An iterator-based interface to the tests in a test suite, as read by a test finder.This interface provides a means for TestFinder to report on events that might be of interest as it executes.The TestResult object encapsulates the results from a test.This exception is to report problems using TestResult objects.An interface to observe activity in a TestResult as it is created.This exception ay occur anytime the JTR file is being read from the filesystem.This exception is thrown if the JTR file cannot be found.Class which maintains a cache of the results currently existing inside a work directory.Interface which allows an external class to monitor the cache's activities.Collected results from a test suite.Exception class to communicate any special conditions which may occur while using this class.Observer to monitor changes to a TestResultTable.Keeps track of the path to a specific node in the TestResultTable tree.Extension to TreeObserver to receive notifications related to events happened on tree nodes.Defines an iterator/enumerator interface for retrieving tests out of the tree.Interface to a node which contitutes the skeleton of the test result tree.Observer interface to watch a single tree node.Tree-aware observer of the TRT.TestRunner is the abstract base class providing the ability to control how tests are run.A class providing information about and access to the tests in a test suite.An exception used to report errors while using a TestSUite object.An exception that is used to report that a given file is not a test suite.This is the implementation of a tree node structure for TestResultTable.A class providing access to the working state of a test run, as embodied in a work directory.Signals that there is a serious, unrecoverable problem when trying to open or create a work directory.This exception is used to report problems that arise when using work directories.Signals that there is a problem trying to initialize from the data in the work directory.Signals that a work directory does not match the given test suite.Signals that a directory (while valid in itself) is not a valid work directory.Signals that a problem occurred while trying to purge files in work directory.Signals that the template pointed to by that directory is missing.Signals that there is a problem trying to determine the test suite appropriate for the work directory.Signals that a work directory already exists when an attempt is made to create one.