Uses of Class
com.sun.javatest.InterviewParameters
-
Packages that use InterviewParameters Package Description 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.report This package provides API for generating reports about test runs.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 InterviewParameters in com.sun.javatest
Methods in com.sun.javatest that return InterviewParameters Modifier and Type Method Description InterviewParameters
TestSuite. createInterview()
Create a configuration interview that can be used to collection the configuration data for a test run.InterviewParameters
TestSuite. loadInterviewFromTemplate(java.io.File template, InterviewParameters ip)
Create a configuration interview based on specified template fileInterviewParameters
TestSuite. loadInterviewFromTemplate(java.util.Properties templateInfo, InterviewParameters newInterview)
Create a configuration interview based on specified map of template valuesstatic InterviewParameters
InterviewParameters. open(java.io.File file)
Create an InterviewParameters as determined by the contents of an interview file.static InterviewParameters
InterviewParameters. open(java.io.File file, TestSuite testSuite)
Create an InterviewParameters by populating the interview for a specified test suite with responses from a given file.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 InterviewParameters
InterviewParameters. open(java.io.File testSuitePath, java.io.File workDirPath, java.io.File configFilePath)
Open a a configuration file, based on paths for the configuration file, test suite and work directory.static InterviewParameters
InterviewParameters. open(java.lang.String testSuitePath, java.lang.String workDirPath, java.lang.String configFilePath)
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 InterviewParameters Modifier and Type Method Description static boolean
InterviewPropagator. isPropertyQuestion(java.lang.String key, InterviewParameters interview)
Returns is the specified question is properties questionInterviewParameters
TestSuite. loadInterviewFromTemplate(java.io.File template, InterviewParameters ip)
Create a configuration interview based on specified template fileInterviewParameters
TestSuite. loadInterviewFromTemplate(java.util.Properties templateInfo, InterviewParameters newInterview)
Create a configuration interview based on specified map of template valuesvoid
InterviewPropagator.ViewManager. logException(java.lang.Throwable th, InterviewParameters interview)
void
InterviewPropagator.ViewManager. notifyError(java.lang.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 InterviewParameters Modifier and Type Field Description protected InterviewParameters
ContextManager. currentConfig
protected InterviewParameters
ContextManager. currentTemplate
InterviewParameters
BasicSession.E_NewConfig. ip
InterviewParameters
BasicSession.U_NewConfig. ip
protected InterviewParameters
InterviewEditor. mainConfig
protected InterviewParameters
InterviewEditor. viewConfig
Methods in com.sun.javatest.exec that return InterviewParameters Modifier and Type Method Description InterviewParameters
ContextManager. getCurrentInterview()
Returns an InterviewParameters instance filled with the current interview values, or null if the interview is not loaded.InterviewParameters
ContextManager. getCurrentTemplate()
Returns an InterviewParameters instance filled with the current template values, or null if the template is not loaded.InterviewParameters
ContextManager. getInterview()
Get the permanent instance of the interview object used as a holder for both the configuration and the template.InterviewParameters
BasicSession. getInterviewParameters()
InterviewParameters
ExecModel. getInterviewParameters()
InterviewParameters
ExecTool. getInterviewParameters()
InterviewParameters
SessionExt. getInterviewParameters()
Returns InterviewParameters object, most likely the same object as getParamaters() According to the original idea there should not be such method in this interface, getParameters() should be enough.InterviewParameters
WorkDirChooseTool.ExecModelStub. getInterviewParameters()
InterviewParameters
ContextManager. getTemplate()
Get the active template.Methods in com.sun.javatest.exec with parameters of type InterviewParameters Modifier and Type Method Description protected ExecTool
ExecToolManager. addNewExecTool(TestSuite ts, WorkDirectory wd, InterviewParameters ip, java.lang.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(javax.swing.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 TestSuiteTool
ExecToolManager. 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 InterviewParameters Constructor Description E_NewConfig(InterviewParameters ip)
InterviewEditor(javax.swing.JComponent parent, UIFactory uif, InterviewParameters ip)
InterviewEditor(javax.swing.JComponent parent, UIFactory uif, InterviewParameters ip, ContextManager cm)
U_NewConfig(InterviewParameters ip)
-
Uses of InterviewParameters in com.sun.javatest.interview
Subclasses of InterviewParameters in com.sun.javatest.interview Modifier and Type Class Description class
BasicInterviewParameters
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
DefaultInterviewParameters
Deprecated.Use BasicInterviewParametersclass
LegacyParameters
A configuration interview for legacy test suites that use environment (.jte) files to define the environment used to run tests.class
SimpleInterviewParameters
A simple interview that can be used for simple test suites.Methods in com.sun.javatest.interview with parameters of type InterviewParameters Modifier and Type Method Description protected 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 InterviewParameters Constructor Description EnvironmentInterview(InterviewParameters parent)
Create an interview.ExcludeListInterview(InterviewParameters parent)
Create an interview.KeywordsInterview(InterviewParameters parent)
Create an interview.KnownFailuresListInterview(InterviewParameters parent)
Create an interview.PriorStatusInterview(InterviewParameters parent)
Create an interview.TestsInterview(InterviewParameters parent)
Create an interview.TimeoutFactorInterview(InterviewParameters parent)
Create an interview. -
Uses of InterviewParameters in com.sun.javatest.report
Methods in com.sun.javatest.report that return InterviewParameters Modifier and Type Method Description InterviewParameters
ReportSettings. getInterview()
Methods in com.sun.javatest.report with parameters of type InterviewParameters Modifier and Type Method Description abstract java.io.File
CustomReport. createReport(java.lang.String args, java.io.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 InterviewParameters Constructor Description Report(InterviewParameters params, java.io.File dir)
Deprecated.It is expected that you call writeReport() if you use this constructor.Report(InterviewParameters params, java.io.File dir, TestFilter tf)
Deprecated.It is expected that you call writeReport() if you use this constructor.ReportSettings(InterviewParameters p)
Settings(InterviewParameters params)
Deprecated. -
Uses of InterviewParameters in com.sun.javatest.tool
Methods in com.sun.javatest.tool that return InterviewParameters Modifier and Type Method Description protected InterviewParameters
Command. getConfig(CommandContext ctx)
A convenience method to get the configuration from a command context, and rewrapping any exception that might occur.InterviewParameters
CommandContext. getConfig()
Get the configuration associated with this object.InterviewParameters
CommandContext. getInterviewParameters()
Deprecated.Use getConfig().Methods in com.sun.javatest.tool with parameters of type InterviewParameters Modifier and Type Method Description Tool
Desktop. addDefaultTool(InterviewParameters ip)
Add a new default tool to the desktop.void
CustomPropagationController. notify(CustomPropagationController.EventType evt, InterviewParameters interview, java.util.Properties templateData)
Invoked when a template propagation event occurs.boolean
CustomPropagationController. preprocessData(java.util.Properties templateData, InterviewParameters interview)
Invoked before propagation process.void
CustomPropagationController. setInterview(InterviewParameters ip)
void
CommandContext. setInterviewParameters(InterviewParameters p)
Deprecated.Use setConfig().
-