|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use WorkDirectory | |
---|---|
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.interview | This package provides a configuration interview for legacy test suites which do not provide their own interview, and also provides sub-interviews which may be used to build a custom interview with standard questions for the standard sections. |
com.sun.javatest.tool | The JT Harness Tool API provides the command-line and GUI infrastructure for the main JT Harness test harness. |
Uses of WorkDirectory in com.sun.javatest |
---|
Fields in com.sun.javatest declared as WorkDirectory | |
---|---|
protected WorkDirectory |
Script.workDir
The work directory for the test run. |
Methods in com.sun.javatest that return WorkDirectory | |
---|---|
static WorkDirectory |
WorkDirectory.convert(java.io.File dir,
TestSuite ts)
Convert an existing directory into a work directory. |
static WorkDirectory |
WorkDirectory.create(java.io.File dir,
TestSuite ts)
Create a new work directory with a given name, and for a given test suite. |
WorkDirectory |
TestResultTable.getWorkDir()
Deprecated. Use getWorkDirectory |
WorkDirectory |
TestResultTable.getWorkDirectory()
Get the work directory associated with this object. |
WorkDirectory |
Parameters.getWorkDirectory()
Get the work directory in which to store the results of the test run. |
WorkDirectory |
BasicParameters.getWorkDirectory()
|
WorkDirectory |
TestRunner.getWorkDirectory()
Get the work directory to be used to store the test results generated by this test runner. |
static WorkDirectory |
WorkDirectory.open(java.io.File dir)
Open an existing work directory, using the default test suite associated with it. |
static WorkDirectory |
WorkDirectory.open(java.io.File dir,
TestSuite testSuite)
Open an existing work directory, using an explicit test suite. |
Methods in com.sun.javatest with parameters of type WorkDirectory | |
---|---|
java.util.logging.Logger |
TestSuite.createLog(WorkDirectory wd,
java.lang.String b,
java.lang.String key)
Creates general purpose logger with given key and ResourceBundleName registered for given WorkDirectory. |
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. |
void |
TestSuite.eraseLog(WorkDirectory wd)
Cleans the log file in given WorkDirectory |
java.util.logging.Logger |
TestSuite.getLog(WorkDirectory wd,
java.lang.String key)
Returns general purpose logger with given key registered for given WorkDirectory. |
java.util.logging.Logger |
TestSuite.getNotificationLog(WorkDirectory wd)
|
com.sun.javatest.logging.ObservedFile |
TestSuite.getObservedFile(WorkDirectory wd)
|
static java.io.File |
TemplateUtilities.getTemplateFile(WorkDirectory wd)
Get the path to the template associated with the work dir. |
static java.lang.String |
TemplateUtilities.getTemplatePath(WorkDirectory wd)
Get the path to the template associated with the work dir. |
void |
Script.initWorkDir(WorkDirectory workDir)
Initialize the work directory to be used to store the results obtained when running the test, and to store any temporary files that may be required by the test. |
static InterviewParameters |
InterviewParameters.open(java.io.File file,
WorkDirectory workDir)
Create an InterviewParameters by populating the interview for a specified work directory with responses from a given file. |
static LastRunInfo |
LastRunInfo.readInfo(WorkDirectory wd)
Given a work directory, attempt to create an instance using the information found in it. |
void |
TestResult.reloadFromWorkDir(WorkDirectory workDir)
Reconstruct the results of a previously run test. |
static void |
TemplateUtilities.setTemplateFile(WorkDirectory wd,
java.io.File t,
boolean changeable)
Associate a template file with a work directory. |
void |
LastRunFilter.setWorkDirectory(WorkDirectory wd)
Can be called at any time to change the context of this filter. |
void |
TestResultTable.setWorkDirectory(WorkDirectory wd)
Set the work directory associated with this object. |
abstract void |
InterviewParameters.setWorkDirectory(WorkDirectory workDir)
Set the work directory to be used for this test run. |
void |
Parameters.setWorkDirectory(WorkDirectory wd)
Set the work directory for which these parameters apply. |
void |
BasicParameters.setWorkDirectory(WorkDirectory wd)
Set the work directory for the test run. |
static void |
LastRunInfo.writeInfo(WorkDirectory workdir,
long start,
long stop,
java.lang.String config,
java.util.ArrayList testURLs)
Given a work directory, write the given run information in it. |
void |
TestResult.writeResults(WorkDirectory workDir,
BackupPolicy backupPolicy)
Writes the TestResult into a version 2 jtr file. |
Constructors in com.sun.javatest with parameters of type WorkDirectory | |
---|---|
LastRunFilter(WorkDirectory wd)
|
|
TestResult(TestDescription td,
WorkDirectory workDir)
Reconstruct the results of a previously run test. |
|
TestResult(WorkDirectory workDir,
java.lang.String workRelativePath)
Reconstruct the results of a previously run test. |
|
TestResultCache(WorkDirectory workDir,
TestResultCache.Observer observer)
Primary constructor for a cache. |
|
TestResultTable(WorkDirectory wd)
Create a table for the tests in a work directory and its associated test suite and test finder. |
|
TestResultTable(WorkDirectory wd,
TestFinder tf)
Create a table for the tests in a work directory and its associated test suite, overriding the test suite's default test finder. |
Uses of WorkDirectory in com.sun.javatest.exec |
---|
Methods in com.sun.javatest.exec that return WorkDirectory | |
---|---|
WorkDirectory[] |
ExecTool.getLoadedWorkDirectories()
|
WorkDirectory |
ExecTool.getWorkDirectory()
Get the currently loaded work directory, if any. |
WorkDirectory |
WorkDirChooseTool.getWorkDirectory()
|
WorkDirectory |
ContextManager.getWorkDirectory()
Get the active work directory. |
Methods in com.sun.javatest.exec with parameters of type WorkDirectory | |
---|---|
static com.sun.javatest.exec.LogViewer |
AccessWrapper.createLogViewer(WorkDirectory workDir,
UIFactory uif,
javax.swing.JComponent parent)
|
protected void |
ContextManager.openTree(WorkDirectory wd)
|
protected void |
ContextManager.setWorkDir(WorkDirectory w)
Deprecated. use #setWorkDirectory(WorkDirectory) instead |
void |
ExecTool.setWorkDir(WorkDirectory wd,
boolean addToFileHistory)
|
protected void |
ContextManager.setWorkDirectory(WorkDirectory w)
|
ExecTool |
ExecToolManager.showWorkDirectory(WorkDirectory wd)
Create an ExecTool instance using the given work directory. |
Constructors in com.sun.javatest.exec with parameters of type WorkDirectory | |
---|---|
ExecTool(ExecToolManager mgr,
WorkDirectory workDir)
Create an ExecTool for a specific test suite and work directory. |
Uses of WorkDirectory in com.sun.javatest.interview |
---|
Methods in com.sun.javatest.interview that return WorkDirectory | |
---|---|
WorkDirectory |
BasicInterviewParameters.getWorkDirectory()
|
Methods in com.sun.javatest.interview with parameters of type WorkDirectory | |
---|---|
void |
BasicInterviewParameters.setWorkDirectory(WorkDirectory wd)
Set the work directory for the test run. |
Uses of WorkDirectory in com.sun.javatest.tool |
---|
Methods in com.sun.javatest.tool that return WorkDirectory | |
---|---|
WorkDirectory[] |
Tool.getLoadedWorkDirectories()
Get a list of any work directories that are being used by this tool. |
WorkDirectory |
WorkDirChooser.getSelectedWorkDirectory()
Get the work directory that was most recently selected by the user. |
WorkDirectory |
CommandContext.getWorkDirectory()
Get the work directory associated with this object. |
WorkDirectory |
SelectedWorkDirApprover.getWorkDirectory()
|
Methods in com.sun.javatest.tool with parameters of type WorkDirectory | |
---|---|
static FileHistory |
FileHistory.getFileHistory(WorkDirectory wd,
java.lang.String name)
Get a shared FileHistory object for a specified file and work directory. |
void |
WorkDirChooser.setSelectedWorkDirectory(WorkDirectory wd)
Set the work directory selected by the user. |
void |
CommandContext.setWorkDirectory(WorkDirectory wd)
Set the work directory to be associated with this object. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |