Uses of Class
com.sun.javatest.InterviewParameters
Packages that use InterviewParameters
Package
Description
This package provides facilities for reading, executing
and monitoring tests.
The Test Manager Tool provides a GUI for opening, browsing, configuring,
and running tests and test suites, and for browsing the results.
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.
This package provides API for generating reports about test runs.
The JT Harness Tool API provides the command-line and GUI
infrastructure for the main JT Harness test harness.
-
Uses of InterviewParameters in com.sun.javatest
Methods in com.sun.javatest that return InterviewParametersModifier and TypeMethodDescriptionTestSuite.createInterview()
Create a configuration interview that can be used to collection the configuration data for a test run.TestSuite.loadInterviewFromTemplate
(File template, InterviewParameters ip) Create a configuration interview based on specified template fileTestSuite.loadInterviewFromTemplate
(Map<String, String> templateInfo, InterviewParameters newInterview) Create a configuration interview based on specified map of template valuesstatic InterviewParameters
Create an InterviewParameters as determined by the contents of an interview file.static InterviewParameters
Create an InterviewParameters by populating the interview for a specified test suite with responses from a given file.static InterviewParameters
InterviewParameters.open
(File file, WorkDirectory workDir) Create an InterviewParameters by populating the interview for a specified work directory with responses from a given file.static InterviewParameters
Open a a configuration file, based on paths for the configuration file, test suite and work directory.static InterviewParameters
Open a a configuration file, based on paths for the configuration file, test suite and work directory.Methods in com.sun.javatest with parameters of type InterviewParametersModifier and TypeMethodDescriptionstatic boolean
InterviewPropagator.isPropertyQuestion
(String key, InterviewParameters interview) Returns is the specified question is properties questionTestSuite.loadInterviewFromTemplate
(File template, InterviewParameters ip) Create a configuration interview based on specified template fileTestSuite.loadInterviewFromTemplate
(Map<String, String> templateInfo, InterviewParameters newInterview) Create a configuration interview based on specified map of template valuesvoid
InterviewPropagator.ViewManager.logException
(Throwable th, InterviewParameters interview) void
InterviewPropagator.ViewManager.notifyError
(String message, InterviewParameters interview) void
InterviewPropagator.TestRefresher.refreshTestTree
(InterviewParameters ip) void
InterviewPropagator.ViewManager.showView
(InterviewPropagator prop, InterviewParameters interview) -
Uses of InterviewParameters in com.sun.javatest.exec
Fields in com.sun.javatest.exec declared as InterviewParametersModifier and TypeFieldDescriptionprotected InterviewParameters
ContextManager.currentConfig
protected InterviewParameters
ContextManager.currentTemplate
final InterviewParameters
BasicSession.E_NewConfig.ip
final InterviewParameters
BasicSession.U_NewConfig.ip
protected InterviewParameters
InterviewEditor.mainConfig
protected InterviewParameters
InterviewEditor.viewConfig
Methods in com.sun.javatest.exec that return InterviewParametersModifier and TypeMethodDescriptionContextManager.getCurrentInterview()
Returns an InterviewParameters instance filled with the current interview values, or null if the interview is not loaded.ContextManager.getCurrentTemplate()
Returns an InterviewParameters instance filled with the current template values, or null if the template is not loaded.ContextManager.getInterview()
Get the permanent instance of the interview object used as a holder for both the configuration and the template.BasicSession.getInterviewParameters()
ExecModel.getInterviewParameters()
ExecTool.getInterviewParameters()
SessionExt.getInterviewParameters()
Returns InterviewParameters object, most likely the same object as getParamaters()WorkDirChooseTool.ExecModelStub.getInterviewParameters()
ContextManager.getTemplate()
Get the active template.Methods in com.sun.javatest.exec with parameters of type InterviewParametersModifier and TypeMethodDescriptionprotected ExecTool
ExecToolManager.addNewExecTool
(TestSuite ts, WorkDirectory wd, InterviewParameters ip, String errorKey) void
BasicSessionControl.changed
(InterviewParameters p) InterviewEditor.Observer method.void
InterviewEditor.Observer.changed
(InterviewParameters p) Invoked when value of interview parameters has been changedstatic void
InterviewEditor.copy
(InterviewParameters from, InterviewParameters to) protected InterviewEditor
BasicSessionControl.createInterviewEditor
(InterviewParameters ip) Creates an InterviewEditor instance.static com.sun.javatest.exec.CE_TemplateDialog
AccessWrapper.createTemplateDialog
(JComponent parent, InterviewParameters config, ExecModel model, UIFactory uif) static boolean
InterviewEditor.equal
(InterviewParameters a, InterviewParameters b) Compares two InterviewParameters objects for equivalence.void
ExecToolManager.finishQSW
(TestSuite ts, WorkDirectory wd, InterviewParameters ip, boolean showConfigEditorFlag, boolean runTestsFlag) QSW_Listener interface methodvoid
QSW_Listener.finishQSW
(TestSuite ts, WorkDirectory wd, InterviewParameters ip, boolean showConfigEditorFlag, boolean runTestsFlag) Invoked when user decided to open new TestSuiteExecToolManager.startTool
(InterviewParameters p) Start an ExecTool for a particular configuration.void
ExecTool.update
(InterviewParameters ip) Invoked when manager orders to use new ipprotected void
ContextManager.updatedCurrentConfig
(InterviewParameters ip) Invoked when the value of the current configuration has been modified.protected void
ContextManager.updatedCurrentTemplate
(InterviewParameters ip) Invoked when the value of the current template has been modified.protected void
BasicSession.updateNewConfig
(InterviewParameters ip) Method invoked as a reaction on U_NewConfig update.Constructors in com.sun.javatest.exec with parameters of type InterviewParametersModifierConstructorDescriptionInterviewEditor
(JComponent parent, UIFactory uif, InterviewParameters ip) InterviewEditor
(JComponent parent, UIFactory uif, InterviewParameters ip, ContextManager cm) -
Uses of InterviewParameters in com.sun.javatest.interview
Subclasses of InterviewParameters in com.sun.javatest.interviewModifier and TypeClassDescriptionclass
A basic implementation of InterviewParameters that uses standard interviews for all the various interview sections, except the environment section, which remains to be implemented by subtypes.class
Deprecated.Use BasicInterviewParametersclass
A configuration interview for legacy test suites that use environment (.jte) files to define the environment used to run tests.class
A simple interview that can be used for simple test suites.Methods in com.sun.javatest.interview with parameters of type InterviewParametersModifier and TypeMethodDescriptionprotected TestsInterview
BasicInterviewParameters.createTestsInterview
(InterviewParameters parent) creation of {#link TestsInterview} is extracted into separate class to enable 'hooks' and return {#link TestsInterview} sub classConstructors in com.sun.javatest.interview with parameters of type InterviewParametersModifierConstructorDescriptionCreate an interview.Create an interview.KeywordsInterview
(InterviewParameters parent) Create an interview.Create an interview.Create an interview.TestsInterview
(InterviewParameters parent) Create an interview.Create an interview. -
Uses of InterviewParameters in com.sun.javatest.report
Methods in com.sun.javatest.report that return InterviewParametersMethods in com.sun.javatest.report with parameters of type InterviewParametersModifier and TypeMethodDescriptionabstract File
CustomReport.createReport
(String args, File rootDir, InterviewParameters ip, TestFilter filter) Write a report without the context of a GUI.void
ReportSettings.setInterview
(InterviewParameters p) Constructors in com.sun.javatest.report with parameters of type InterviewParametersModifierConstructorDescriptionReport
(InterviewParameters params, File dir) Deprecated.It is expected that you call writeReport() if you use this constructor.Report
(InterviewParameters params, File dir, TestFilter tf) Deprecated.It is expected that you call writeReport() if you use this constructor.ReportSettings
(InterviewParameters interviewParameters) Settings
(InterviewParameters params) Deprecated. -
Uses of InterviewParameters in com.sun.javatest.tool
Methods in com.sun.javatest.tool that return InterviewParametersModifier and TypeMethodDescriptionprotected InterviewParameters
Command.getConfig
(CommandContext ctx) A convenience method to get the configuration from a command context, and rewrapping any exception that might occur.CommandContext.getConfig()
Get the configuration associated with this object.CommandContext.getInterviewParameters()
Deprecated.Use getConfig().Methods in com.sun.javatest.tool with parameters of type InterviewParametersModifier and TypeMethodDescriptionDesktop.addDefaultTool
(InterviewParameters ip) Add a new default tool to the desktop.void
CustomPropagationController.notify
(CustomPropagationController.EventType evt, InterviewParameters interview, Map<String, String> templateData) Invoked when a template propagation event occurs.boolean
CustomPropagationController.preprocessData
(Map<String, String> templateData, InterviewParameters interview) Invoked before propagation process.void
CustomPropagationController.setInterview
(InterviewParameters ip) void
CommandContext.setInterviewParameters
(InterviewParameters p) Deprecated.Use setConfig().