Package | Description |
---|---|
com.sun.interview |
This package provides a means for creating a set of questions
to be asked by a "wizard".
|
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.
|
Modifier and Type | Class and Description |
---|---|
static class |
Interview.BadHelpFault
This exception is to report problems found while opening a JavaHelp help set.
|
static class |
Interview.HelpNotFoundFault
This exception is thrown when a named help set cannot be found.
|
static class |
Interview.NotOnPathFault
This exception is thrown when a question is expected to be on
the current path, and is not.
|
static class |
InterviewSet.CycleFault
This exception will be thrown when an attempt to made to specify a dependency
that would create a dependency cycle.
|
Modifier and Type | Method and Description |
---|---|
Interview |
Interview.getInterview(java.lang.String tag)
Get a sub-interview with a given tag name.
|
void |
Interview.last()
Advance to the last question in the interview.
|
void |
Interview.load(java.util.Map data)
Load the state for questions from an archive map.
|
void |
Interview.load(java.util.Map data,
boolean checkChecksum)
Load the state for questions from an archive map.
|
void |
Interview.next()
Advance to the next question in the interview.
|
void |
Interview.prev()
Back up to the previous question in the interview.
|
void |
Interview.setCurrentQuestion(Question q)
Jump to a specific question in the interview.
|
void |
InetAddressQuestion.setValue(java.lang.String newValue)
Set the current value.
|
void |
IntQuestion.setValue(java.lang.String s)
Set the response to this question to the value represented by
a string-valued argument.
|
void |
FloatQuestion.setValue(java.lang.String s)
Set the response to this question to the value represented by
a string-valued argument.
|
abstract void |
Question.setValue(java.lang.String s)
Set the response to this question to the value represented by
a string-valued argument.
|
void |
IntQuestion.setValue(java.lang.String s,
java.util.Locale l)
Set the response to this question to the value represented by
a string-valued argument, given in certain locale.
|
void |
FloatQuestion.setValue(java.lang.String s,
java.util.Locale l)
Set the response to this question to the value represented by
a string-valued argument, given in certain locale.
|
abstract void |
CompositeQuestion.setValue(java.lang.String id,
java.lang.String s)
Set the response to this question to the value represented by
a string-valued argument.
|
void |
PropertiesQuestion.setValue(java.lang.String key,
java.lang.String v)
Set a specific property within this question.
|
Modifier and Type | Class and Description |
---|---|
static class |
InterviewParameters.JTIFault
Indicates problems when accessing the configuration file.
|
static class |
InterviewParameters.TestSuiteFault
Indicates problems when accessing the test suite.
|
static class |
InterviewParameters.WorkDirFault
Indicates problems when accessing the work directory.
|
Modifier and Type | Method and Description |
---|---|
void |
InterviewParameters.init(java.lang.String[] args)
Initialize an InterviewParameters object.
|
boolean |
InterviewParameters.load()
Load the interview with the contents of the file associated with
the interview.
|
boolean |
InterviewParameters.load(java.io.File file)
Load the interview with the contents of a specified file,
which will become the default file associated with the interview.
|
void |
EditJTI.load(java.io.File inFile)
Load a configuration file to be edited.
|
void |
EditJTI.load(java.io.File inFile,
TestSuite ts)
Load a configuration file to be edited.
|
void |
EditJTI.load(java.io.File inFile,
java.net.URLClassLoader loader)
Load a configuration file to be edited, using a specified class loader
to load the interview class.
|
void |
InterviewParameters.load(java.util.Map data,
boolean checkChecksum) |
boolean |
InterviewParameters.load(java.util.Map data,
java.io.File file)
Load the interview with data that has already been read from a specified file,
which will become the default file associated with the interview.
|
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.
|
void |
InterviewParameters.save()
Save the current set of answers for the interview in the standard
file associated with the interview.
|
void |
InterviewParameters.save(java.io.File file)
Save the current state of the interview in a specified file,
and make that file the new file associated with the interview.
|
void |
EditJTI.save(java.io.File file)
Save the edited configuration in a specified file.
|
void |
InterviewParameters.save(java.io.File file,
boolean isTemplate)
Save the current state of the interview in a specified file,
and make that file the new file associated with the interview.
|
void |
InterviewParameters.saveAs(java.io.File file)
Save the current state of the interview in a specified file,
including the paths for the test suite and work directory.
|
void |
InterviewParameters.saveAs(java.io.File file,
boolean saveTestSuite,
boolean saveWorkDir)
Save the current state of the interview in a specified file.
|
void |
InterviewParameters.saveAs(java.io.File file,
boolean saveTestSuite,
boolean saveWorkDir,
boolean isTemplate)
Save the current state of the interview in a specified file.
|
Modifier and Type | Method and Description |
---|---|
static void |
InterviewEditor.copy(InterviewParameters from,
InterviewParameters to) |
protected void |
InterviewEditor.doSave(java.io.File file)
Does actual save work.
|
InterviewParameters |
ContextManager.getTemplate()
Get the active template.
|
void |
ExecModel.setWorkDir(WorkDirectory wd,
boolean addToFileHistory) |
void |
WorkDirChooseTool.ExecModelStub.setWorkDir(WorkDirectory wd,
boolean addToFileHistory) |
void |
ExecTool.setWorkDir(WorkDirectory wd,
boolean addToFileHistory) |
ExecTool |
ExecToolManager.showTestSuite(TestSuite ts)
Deprecated.
|
ExecTool |
ExecToolManager.showWorkDirectory(WorkDirectory wd)
Deprecated.
|
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 |
---|
BasicInterviewParameters(java.lang.String tag)
Create a BasicInterviewParameters object.
|
BasicInterviewParameters(java.lang.String tag,
TestSuite ts)
Create a BasicInterviewParameters object.
|
ConcurrencyInterview(Interview parent)
Create an interview.
|
DefaultInterviewParameters(java.lang.String tag)
Deprecated.
Create a BasicInterviewParameters object.
|
DefaultInterviewParameters(java.lang.String tag,
TestSuite ts)
Deprecated.
Create a BasicInterviewParameters object.
|
EnvironmentInterview(InterviewParameters parent)
Create an interview.
|
ExcludeListInterview(InterviewParameters parent)
Create an interview.
|
KeywordsInterview(InterviewParameters parent)
Create an interview.
|
KnownFailuresListInterview(InterviewParameters parent)
Create an interview.
|
LegacyParameters()
Create a configuration interview for legacy tests suites.
|
LegacyParameters(TestSuite testSuite)
Create a configuration interview for legacy tests suites.
|
PriorStatusInterview(InterviewParameters parent)
Create an interview.
|
SimpleInterviewParameters() |
TestsInterview(InterviewParameters parent)
Create an interview.
|
TimeoutFactorInterview(InterviewParameters parent)
Create an interview.
|
Copyright (c) 1996, 2011, Oracle and/or its affiliates. All rights reserved.