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

## Deprecated API

Contents

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

Deprecated Classes
com.sun.javatest.interview.DefaultInterviewParameters Use BasicInterviewParameters
com.sun.javatest.util.DirectoryClassLoader use PathClassLoader
com.sun.javatest.report.Report.Settings Use com.sun.javatest.report.ReportSettings instead

Deprecated Exceptions
com.sun.interview.Interview.BadHelpFault No longer used in this API, direct JavaHelp usage was removed.
com.sun.interview.Interview.HelpNotFoundFault No longer used in this API, direct JavaHelp usage was removed.

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.ExcludeList.Entry.getBugIds() use getBugIdStrings() instead
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.interview.Interview.isChecksumValid(Map, boolean) As of version 4.4.1, checksums are no longer calculated or checked. True is always returned.
com.sun.javatest.report.Report.Settings.isPlainEnabled()
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.report.Report.Settings.setBackupLevels(int)
com.sun.javatest.util.MainFrame.setContext(Container) replaced by @link(#setFrame)
com.sun.javatest.report.Report.Settings.setEnableBackups(boolean)
com.sun.javatest.report.Report.Settings.setEnableHtmlReport(boolean)
com.sun.javatest.report.Report.Settings.setEnablePlainReport(boolean)
com.sun.javatest.report.Report.Settings.setEnableXmlReport(boolean)
com.sun.javatest.report.Report.Settings.setFilter(CompositeFilter)
com.sun.javatest.report.Report.Settings.setHtmlMainReport(boolean, boolean)
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(Report.Settings, File) use writeReports(ReportSettings s, File dir)

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.ExcludeList.Entry(String, String, int[], String[], String) use constructor with String[] bugIDs instead
com.sun.javatest.Harness(File) Use Harness() instead
com.sun.javatest.report.Report.Settings(InterviewParameters)
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, 2011, Oracle and/or its affiliates. All rights reserved.