Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES

## Uses of Class
com.sun.javatest.WorkDirectory

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.
`void` | `Parameters.setWorkDirectory(WorkDirectory wd)` Set the work directory for which these parameters apply.
`abstract void` | `InterviewParameters.setWorkDirectory(WorkDirectory workDir)` Set the work directory to be used for this test run.
`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

Fields in com.sun.javatest.exec declared as WorkDirectory
`protected WorkDirectory` | `BasicSession.wd` Instance of workdir
`WorkDirectory` | `BasicSession.E_NewWD.wd`

Methods in com.sun.javatest.exec that return WorkDirectory
`static WorkDirectory` | `WorkDirChooseTool.chooseWD(javax.swing.JComponent parent, java.io.File dir, TestSuite ts, int mode)`
`static WorkDirectory` | `WorkDirChooseTool.chooseWD(javax.swing.JComponent parent, java.io.File dir, TestSuite ts, int mode, boolean noTemplate)`
`WorkDirectory` | `ExecTool.getWorkDirectory()`
`WorkDirectory` | `ExecModel.getWorkDirectory()`
`WorkDirectory` | `WorkDirChooseTool.getWorkDirectory()`
`WorkDirectory` | `WorkDirChooseTool.ExecModelStub.getWorkDirectory()`
`WorkDirectory` | `ContextManager.getWorkDirectory()` Get the active work directory.

Methods in com.sun.javatest.exec with parameters of type WorkDirectory
`protected ExecTool` | `ExecToolManager.addNewExecTool(TestSuite ts, WorkDirectory wd, InterviewParameters ip, java.lang.String errorKey)`
`protected void` | `BasicSessionControl.applyWorkDir(WorkDirectory wd)` Applies value of the selected work directory.
`protected void` | `BasicSession.applyWorkDir(WorkDirectory wd)` Associates session with the work dir.
`static com.sun.javatest.exec.LogViewer` | `AccessWrapper.createLogViewer(WorkDirectory workDir, UIFactory uif, javax.swing.JComponent parent)`
`void` | `QSW_Listener.finishQSW(TestSuite ts, WorkDirectory wd, InterviewParameters ip, boolean showConfigEditorFlag, boolean runTestsFlag)` Invoked when user decided to open new TestSuite
`void` | `ExecToolManager.finishQSW(TestSuite ts, WorkDirectory wd, InterviewParameters ip, boolean showConfigEditorFlag, boolean runTestsFlag)` QSW_Listener interface method
`protected void` | `BasicSession.loadInterviewFromFile(WorkDirectory wd, java.io.File cfgFile)` Loads interview from file.
`protected void` | `ContextManager.openTree(WorkDirectory wd)`
`void` | `BasicSessionControl.restoreConfigFromWD(WorkDirectory wd)` Tries to restore latest available configuration for the session.
`protected void` | `ContextManager.setWorkDir(WorkDirectory w)` Deprecated. use #setWorkDirectory(WorkDirectory) instead
`void` | `ExecTool.setWorkDir(WorkDirectory wd, boolean addToFileHistory)`
`void` | `ExecModel.setWorkDir(WorkDirectory wd, boolean addToFileHistory)`
`void` | `WorkDirChooseTool.ExecModelStub.setWorkDir(WorkDirectory wd, boolean addToFileHistory)`
`protected void` | `ContextManager.setWorkDirectory(WorkDirectory w)`
`ExecTool` | `ExecToolManager.showWorkDirectory(WorkDirectory wd)` Deprecated.
`void` | `ExecTool.update(WorkDirectory wd)` Invoked when manager orders to use new wd.
`protected void` | `ContextManager.updatedWorkDirectory(WorkDirectory wd)` Invoked when the value of the work directory has been modified.
`protected void` | `BasicSession.updateWorkDir(WorkDirectory wd, boolean doRestoreConfig)` Sets the work dir to the new specified value, inovkes applyWorkDir() method, notifies observers of the work dir change.

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.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES

Copyright (c) 1996, 2010, Oracle and/or its affiliates. All rights reserved.