Package | Description |
---|---|
com.sun.javatest |
This package provides facilities for reading, executing
and monitoring tests.
|
com.sun.javatest.exec |
The Test Manager Tool provides a GUI for opening, browsing, configuring,
and running tests and test suites, and for browsing the results.
|
com.sun.javatest.tool |
The JT Harness Tool API provides the command-line and GUI
infrastructure for the main JT Harness test harness.
|
Modifier and Type | Class and Description |
---|---|
static class |
TestSuite.DuplicateLogNameFault |
static class |
TestSuite.NoSuchLogFault |
static class |
TestSuite.NotTestSuiteFault
An exception that is used to report that a given file is not a test suite.
|
Modifier and Type | Method and Description |
---|---|
protected TestFinder |
TestSuite.createBinaryTestFinder(java.lang.String finderClassName,
java.lang.String[] finderArgs,
java.io.File testsDir,
java.io.File jtdFile)
In the case where a JTD file is found, attempt to load a binary test finder.
|
InterviewParameters |
TestSuite.createInterview()
Create a configuration interview that can be used to collection the configuration
data for a test run.
|
Script |
TestSuite.createScript(TestDescription td,
java.lang.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.
|
javax.help.HelpSet[] |
TestSuite.getAdditionalDocs()
Get helpsets containing any related documents for this test suite.
|
protected void |
TestSuite.init(java.lang.String[] args)
Initialize this test suite, with args typically read from a .jtt file.
|
java.lang.Class |
TestSuite.loadClass(java.lang.String className)
Load a class using the class loader provided when this test suite was created.
|
protected static java.lang.Class |
TestSuite.loadClass(java.lang.String className,
java.lang.ClassLoader cl)
Load a class using a specified loader, translating any errors that may arise
into Fault.
|
InterviewParameters |
TestSuite.loadInterviewFromTemplate(java.io.File template,
InterviewParameters ip)
Create a configuration interview based on specified template file
|
InterviewParameters |
TestSuite.loadInterviewFromTemplate(java.util.Properties templateInfo,
InterviewParameters newInterview)
Create a configuration interview based on specified map of template values
|
protected static java.lang.Object |
TestSuite.newInstance(java.lang.Class c)
Create a new instance of a class, translating any exceptions that may arise
into Fault.
|
protected static java.lang.Object |
TestSuite.newInstance(java.lang.Class c,
java.lang.Class[] argTypes,
java.lang.Object[] args)
Create a new instance of a class using a non-default constructor,
translating any exceptions that may arise into Fault.
|
static TestSuite |
TestSuite.open(java.io.File root)
Open a test suite.
|
void |
TestSuite.starting(Harness harness)
A notification method that is called when a test suite run is starting.
|
Constructor and Description |
---|
TestSuite(java.io.File root,
java.util.Map tsInfo,
java.lang.ClassLoader cl)
Create a TestSuite object.
|
Modifier and Type | Method and Description |
---|---|
void |
ExecModel.setWorkDir(WorkDirectory wd,
boolean addToFileHistory) |
void |
WorkDirChooseTool.ExecModelStub.setWorkDir(WorkDirectory wd,
boolean addToFileHistory) |
void |
ExecTool.setWorkDir(WorkDirectory wd,
boolean addToFileHistory) |
ExecTool |
ExecToolManager.showTestSuite(TestSuite ts)
Deprecated.
|
ExecTool |
ExecToolManager.showWorkDirectory(WorkDirectory wd)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
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.
|
Copyright (c) 1996, 2011, Oracle and/or its affiliates. All rights reserved.