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

## Deprecated API

Contents

- Deprecated Classes
- Deprecated Fields
- Deprecated Methods
- Deprecated Constructors

Deprecated Classes
com.sun.javatest.interview.DefaultInterviewParameters Use BasicInterviewParameters
com.sun.javatest.util.DirectoryClassLoader use PathClassLoader

Deprecated Fields
com.sun.javatest.TestFinder.env This feature was available in earlier versions of JT Harness but does not interact well with JT Harness 3.0's GUI features. Use with discretion, if at all.
com.sun.javatest.exec.InterviewEditor.templateMode

Deprecated Methods
com.sun.javatest.TestDescription.getClassDir() use `getParameter("classDir")` instead
com.sun.javatest.util.MainFrame.getContext() replaced by acquireFrame.
com.sun.javatest.InterviewParameters.getExcludeTableFilter() Use getExcludeListFilter().
com.sun.javatest.InterviewParameters.getExcludeTableFirstQuestion() Use getExcludeListFirstQuestion().
com.sun.javatest.InterviewParameters.getExcludeTableSuccessorQuestion() Use getExcludeListFirstQuestion().
com.sun.javatest.TestDescription.getExecuteArgs() use `getParameter("executeArgs")` instead
com.sun.javatest.TestDescription.getExecuteClass() use `getParameter("executeClass")` instead
com.sun.javatest.tool.CommandContext.getInterviewParameters() Use getConfig().
com.sun.javatest.util.ReadAheadIterator.getOutputQueueSize() Will not be supported in the future.
com.sun.javatest.TestDescription.getRoot() No longer relevant for some test suites, so will not be supported in the future. If needed the value can be determined by asking the test suite's `TestFinder`.
com.sun.javatest.TestDescription.getRootRelativeDir() Use getRootRelativeFile().getParent()
com.sun.javatest.tool.ToolManager.getTaskMenuActions() There is no tasks menu anymore.
com.sun.javatest.TestDescription.getTimeout() use `getParameter("timeout")` instead
com.sun.javatest.util.ReadAheadIterator.getUsedElementCount() Will not be supported in the future.
com.sun.javatest.tool.ToolManager.getWindowOpenMenuActions()
com.sun.javatest.TestResultTable.getWorkDir() Use getWorkDirectory
com.sun.javatest.finder.BinaryTestFinder.init(File, File) Use init(File, File TestEnvironment) with null args as needed.
com.sun.javatest.lib.MultiTest.init(String[]) Use `decodeArg(String)` and `init()` instead.
com.sun.javatest.TestFinder.init(String[], File, File[], TestFilter[], TestEnvironment) Use one of the other init() methods. This functionality is no longer supported. Methods on TestResultTable should yield similar results.
com.sun.javatest.util.ReadAheadIterator.isSourceExhausted() Use hasNext().
com.sun.interview.FloatQuestion.isValid() see #isValueValid
com.sun.interview.IntQuestion.isValid() see #isValueValid
com.sun.javatest.Status.notApplicable(String)
com.sun.javatest.TestFinderQueue.repeat(TestDescription[]) retained for historical purposes
com.sun.javatest.util.MainFrame.restoreContext(Container) replaced by releaseFrame.
com.sun.javatest.util.MainFrame.setContext(Container) replaced by @link(#setFrame)
com.sun.interview.ChoiceQuestion.setI18NChoices(String[]) Use the other setChoices() methods, which support i18n as an option.
com.sun.javatest.tool.CommandContext.setInterviewParameters(InterviewParameters) Use setConfig().
com.sun.javatest.exec.ContextManager.setWorkDir(WorkDirectory) use #setWorkDirectory(WorkDirectory) instead
com.sun.javatest.exec.ExecToolManager.showTestSuite(TestSuite)
com.sun.javatest.exec.ExecToolManager.showWorkDirectory(WorkDirectory)
com.sun.javatest.report.Report.writeReport() Use `writeReport(Settings, File)` It is expected that you use a deprecated constructor if you use this method.

Deprecated Constructors
com.sun.javatest.finder.BinaryTestFinder(File) Use BinaryTestFinder(File testSuiteRoot, File jtdFile) instead
com.sun.javatest.finder.BinaryTestFinder(File, File) Use BinaryTestFinder(File, File, TestEnvironment) with null as the last argument.
com.sun.javatest.Harness(File) Use Harness() instead
com.sun.javatest.report.Report(InterviewParameters, File) It is expected that you call writeReport() if you use this constructor.
com.sun.javatest.report.Report(InterviewParameters, File, TestFilter) It is expected that you call writeReport() if you use this constructor.
com.sun.javatest.TestResultTable() This method will become private. XXX make this method private

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.