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.
|
Modifier and Type | Method and 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 file
|
InterviewParameters |
TestSuite.loadInterviewFromTemplate(java.util.Properties templateInfo,
InterviewParameters newInterview)
Create a configuration interview based on specified map of template values
|
static 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 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.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.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.
|
Modifier and Type | Method and Description |
---|---|
static boolean |
InterviewPropagator.isPropertyQuestion(java.lang.String key,
InterviewParameters interview)
Returns is the specified question is properties question
|
InterviewParameters |
TestSuite.loadInterviewFromTemplate(java.io.File template,
InterviewParameters ip)
Create a configuration interview based on specified template file
|
InterviewParameters |
TestSuite.loadInterviewFromTemplate(java.util.Properties templateInfo,
InterviewParameters newInterview)
Create a configuration interview based on specified map of template values
|
void |
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) |
Modifier and Type | Field and Description |
---|---|
protected InterviewParameters |
ContextManager.currentConfig |
protected InterviewParameters |
ContextManager.currentTemplate |
InterviewParameters |
BasicSession.U_NewConfig.ip |
InterviewParameters |
BasicSession.E_NewConfig.ip |
protected InterviewParameters |
InterviewEditor.mainConfig |
protected InterviewParameters |
InterviewEditor.viewConfig |
Modifier and Type | Method and 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 |
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 |
BasicSession.getInterviewParameters() |
InterviewParameters |
ExecModel.getInterviewParameters() |
InterviewParameters |
WorkDirChooseTool.ExecModelStub.getInterviewParameters() |
InterviewParameters |
ContextManager.getTemplate()
Get the active template.
|
Modifier and Type | Method and 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 changed
|
static 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 |
QSW_Listener.finishQSW(TestSuite ts,
WorkDirectory wd,
InterviewParameters ip,
boolean showConfigEditorFlag,
boolean runTestsFlag)
Invoked when user decided to open new TestSuite
|
void |
ExecToolManager.finishQSW(TestSuite ts,
WorkDirectory wd,
InterviewParameters ip,
boolean showConfigEditorFlag,
boolean runTestsFlag)
QSW_Listener interface method
|
Tool |
ExecToolManager.startTool(InterviewParameters p)
Start an ExecTool for a particular configuration.
|
void |
ExecTool.update(InterviewParameters ip)
Invoked when manager orders to use new ip
|
protected 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.
|
Constructor and 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) |
Modifier and Type | Class and 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 BasicInterviewParameters
|
class |
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.
|
Modifier and Type | Method and Description |
---|---|
protected TestsInterview |
BasicInterviewParameters.createTestsInterview(InterviewParameters parent)
creation of {#link TestsInterview} is extracted into separate class
to enable 'hooks' and return {#link TestsInterview} sub class
|
Constructor and 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.
|
Modifier and Type | Method and Description |
---|---|
InterviewParameters |
ReportSettings.getInterview() |
Modifier and Type | Method and 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) |
Constructor and 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.
|
Modifier and Type | Method and Description |
---|---|
InterviewParameters |
CommandContext.getConfig()
Get the configuration associated with this object.
|
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.getInterviewParameters()
Deprecated.
Use getConfig().
|
Modifier and Type | Method and 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().
|
Copyright (c) 1996, 2014, Oracle and/or its affiliates. All rights reserved.