Uses of Class
com.sun.javatest.TestSuite.Fault
Packages that use TestSuite.Fault
Package
Description
This package provides facilities for reading, executing
and monitoring tests.
The JT Harness Tool API provides the command-line and GUI
infrastructure for the main JT Harness test harness.
-
Uses of TestSuite.Fault in com.sun.javatest
Subclasses of TestSuite.Fault in com.sun.javatestModifier and TypeClassDescriptionstatic class
static class
static class
An exception that is used to report that a given file is not a test suite.Methods in com.sun.javatest that throw TestSuite.FaultModifier and TypeMethodDescriptionprotected TestFinder
TestSuite.createBinaryTestFinder
(String finderClassName, String[] finderArgs, File testsDir, File jtdFile) In the case where a JTD file is found, attempt to load a binary test finder.TestSuite.createInterview()
Create a configuration interview that can be used to collection the configuration data for a test run.TestSuite.createScript
(TestDescription td, String[] exclTestCases, TestEnvironment scriptEnv, WorkDirectory workDir, BackupPolicy backupPolicy) Create and initialize a Script that can be used to run a test.protected TestFinder
TestSuite.createTestFinder()
Create a test finder to be used to access the tests in this test suite.protected void
Initialize this test suite, with args typically read from a .jtt file.<T> Class
<? extends T> Load a class using the class loader provided when this test suite was created.protected static <T> Class
<? extends T> TestSuite.loadClass
(String className, ClassLoader cl) Load a class using a specified loader, translating any errors that may arise into Fault.protected static <T> T
TestSuite.newInstance
(Class<? extends T> c) Create a new instance of a class, translating any exceptions that may arise into Fault.protected static <T> T
TestSuite.newInstance
(Class<? extends T> c, Class<?>[] argTypes, Object... args) Create a new instance of a class using a non-default constructor, translating any exceptions that may arise into Fault.static TestSuite
Open a test suite.void
A notification method that is called when a test suite run is starting. -
Uses of TestSuite.Fault in com.sun.javatest.tool
Methods in com.sun.javatest.tool that throw TestSuite.FaultModifier and TypeMethodDescriptionvoid
CommandContext.setTestSuite
(TestSuite ts) Set the test suite to be associated with this object.void
CommandContext.setWorkDirectory
(WorkDirectory wd) Set the work directory to be associated with this object.