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 InterviewParametersTestSuite. createInterview()Create a configuration interview that can be used to collection the configuration data for a test run.InterviewParametersTestSuite. loadInterviewFromTemplate(java.io.File template, InterviewParameters ip)Create a configuration interview based on specified template fileInterviewParametersTestSuite. loadInterviewFromTemplate(java.util.Map<java.lang.String,java.lang.String> templateInfo, InterviewParameters newInterview)Create a configuration interview based on specified map of template valuesstatic InterviewParametersInterviewParameters. open(java.io.File file)Create an InterviewParameters as determined by the contents of an interview file.static InterviewParametersInterviewParameters. 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 InterviewParametersInterviewParameters. 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 InterviewParametersInterviewParameters. 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 InterviewParametersInterviewParameters. 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 booleanInterviewPropagator. isPropertyQuestion(java.lang.String key, InterviewParameters interview)Returns is the specified question is properties questionInterviewParametersTestSuite. loadInterviewFromTemplate(java.io.File template, InterviewParameters ip)Create a configuration interview based on specified template fileInterviewParametersTestSuite. loadInterviewFromTemplate(java.util.Map<java.lang.String,java.lang.String> templateInfo, InterviewParameters newInterview)Create a configuration interview based on specified map of template valuesvoidInterviewPropagator.ViewManager. logException(java.lang.Throwable th, InterviewParameters interview)voidInterviewPropagator.ViewManager. notifyError(java.lang.String message, InterviewParameters interview)voidInterviewPropagator.TestRefresher. refreshTestTree(InterviewParameters ip)voidInterviewPropagator.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 InterviewParametersContextManager. currentConfigprotected InterviewParametersContextManager. currentTemplateInterviewParametersBasicSession.E_NewConfig. ipInterviewParametersBasicSession.U_NewConfig. ipprotected InterviewParametersInterviewEditor. mainConfigprotected InterviewParametersInterviewEditor. viewConfigMethods in com.sun.javatest.exec that return InterviewParameters Modifier and Type Method Description InterviewParametersContextManager. getCurrentInterview()Returns an InterviewParameters instance filled with the current interview values, or null if the interview is not loaded.InterviewParametersContextManager. getCurrentTemplate()Returns an InterviewParameters instance filled with the current template values, or null if the template is not loaded.InterviewParametersContextManager. getInterview()Get the permanent instance of the interview object used as a holder for both the configuration and the template.InterviewParametersBasicSession. getInterviewParameters()InterviewParametersExecModel. getInterviewParameters()InterviewParametersExecTool. getInterviewParameters()InterviewParametersSessionExt. getInterviewParameters()Returns InterviewParameters object, most likely the same object as getParamaters()InterviewParametersWorkDirChooseTool.ExecModelStub. getInterviewParameters()InterviewParametersContextManager. getTemplate()Get the active template.Methods in com.sun.javatest.exec with parameters of type InterviewParameters Modifier and Type Method Description protected ExecToolExecToolManager. addNewExecTool(TestSuite ts, WorkDirectory wd, InterviewParameters ip, java.lang.String errorKey)voidBasicSessionControl. changed(InterviewParameters p)InterviewEditor.Observer method.voidInterviewEditor.Observer. changed(InterviewParameters p)Invoked when value of interview parameters has been changedstatic voidInterviewEditor. copy(InterviewParameters from, InterviewParameters to)protected InterviewEditorBasicSessionControl. createInterviewEditor(InterviewParameters ip)Creates an InterviewEditor instance.static com.sun.javatest.exec.CE_TemplateDialogAccessWrapper. createTemplateDialog(javax.swing.JComponent parent, InterviewParameters config, ExecModel model, UIFactory uif)static booleanInterviewEditor. equal(InterviewParameters a, InterviewParameters b)Compares two InterviewParameters objects for equivalence.voidExecToolManager. finishQSW(TestSuite ts, WorkDirectory wd, InterviewParameters ip, boolean showConfigEditorFlag, boolean runTestsFlag)QSW_Listener interface methodvoidQSW_Listener. finishQSW(TestSuite ts, WorkDirectory wd, InterviewParameters ip, boolean showConfigEditorFlag, boolean runTestsFlag)Invoked when user decided to open new TestSuiteToolExecToolManager. startTool(InterviewParameters p)Start an ExecTool for a particular configuration.voidExecTool. update(InterviewParameters ip)Invoked when manager orders to use new ipprotected voidContextManager. updatedCurrentConfig(InterviewParameters ip)Invoked when the value of the current configuration has been modified.protected voidContextManager. updatedCurrentTemplate(InterviewParameters ip)Invoked when the value of the current template has been modified.protected voidBasicSession. 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 classBasicInterviewParametersA 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.classDefaultInterviewParametersDeprecated.Use BasicInterviewParametersclassLegacyParametersA configuration interview for legacy test suites that use environment (.jte) files to define the environment used to run tests.classSimpleInterviewParametersA 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 TestsInterviewBasicInterviewParameters. 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 InterviewParametersReportSettings. getInterview()Methods in com.sun.javatest.report with parameters of type InterviewParameters Modifier and Type Method Description abstract java.io.FileCustomReport. createReport(java.lang.String args, java.io.File rootDir, InterviewParameters ip, TestFilter filter)Write a report without the context of a GUI.voidReportSettings. 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 interviewParameters)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 InterviewParametersCommand. getConfig(CommandContext ctx)A convenience method to get the configuration from a command context, and rewrapping any exception that might occur.InterviewParametersCommandContext. getConfig()Get the configuration associated with this object.InterviewParametersCommandContext. getInterviewParameters()Deprecated.Use getConfig().Methods in com.sun.javatest.tool with parameters of type InterviewParameters Modifier and Type Method Description ToolDesktop. addDefaultTool(InterviewParameters ip)Add a new default tool to the desktop.voidCustomPropagationController. notify(CustomPropagationController.EventType evt, InterviewParameters interview, java.util.Map<java.lang.String,java.lang.String> templateData)Invoked when a template propagation event occurs.booleanCustomPropagationController. preprocessData(java.util.Map<java.lang.String,java.lang.String> templateData, InterviewParameters interview)Invoked before propagation process.voidCustomPropagationController. setInterview(InterviewParameters ip)voidCommandContext. setInterviewParameters(InterviewParameters p)Deprecated.Use setConfig().
-