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 |
---|---|
class |
ChoiceArrayQuestion
A
question to which the response is one of a number of choices. |
class |
ChoiceQuestion
A
question to which the response is one of a number of choices. |
class |
CompositeQuestion
A specialized base class for questions which have more than one value to be
manipulated by the user.
|
class |
ErrorQuestion
A "null" question with no response.
|
class |
FileListQuestion
A
question to which the response is one or more filenames. |
class |
FileQuestion
A
question to which the response is a filename. |
class |
FinalQuestion
A special type of question used to indicate the last of
the questions of an interview.
|
class |
FloatQuestion
A
question to which the response is an floating point number. |
class |
InetAddressQuestion
A
question to which the response is an IP address. |
class |
IntQuestion
A
question to which the response is an integer. |
class |
ListQuestion
A
question to support the construction of an
open-ended set of complex values determined by a specified subinterview. |
class |
NullQuestion
A "null" question with no response.
|
class |
PropertiesQuestion
A
question which consists of many key-value pairs. |
class |
StringListQuestion
A
question to which the response is an array of strings. |
class |
StringQuestion
A
question to which the response is a string. |
class |
TreeQuestion
A
question to which the response is a set of selected
nodes within a tree. |
class |
YesNoQuestion
A
question to which the response is yes or no. |
Modifier and Type | Method and Description |
---|---|
protected Question |
Interview.callInterview(Interview i,
Question q)
Return a special type of question used to indicate that
a sub-interview interview should be called before proceeding
to the next question in this interview.
|
Question |
Interview.getCurrentQuestion()
Get the current question in the interview.
|
Question |
Interview.getFirstQuestion()
Get the first question of the interview.
|
Question |
ErrorQuestion.getNext() |
protected abstract Question |
Question.getNext()
Get the next question to be asked.
|
protected Question |
FinalQuestion.getNext()
Get the next question in the series.
|
Question[] |
Interview.getPath()
Get the set of questions on the current path.
|
Question[] |
Interview.getPathToCurrent()
Get the set of questions on the current path up to and
including the current question.
|
Question[] |
Interview.getRawPath(boolean includeFinals)
Get the current set path of questions, including some things normally
hidden.
|
Modifier and Type | Method and Description |
---|---|
protected Question |
Interview.callInterview(Interview i,
Question q)
Return a special type of question used to indicate that
a sub-interview interview should be called before proceeding
to the next question in this interview.
|
void |
Interview.Observer.currentQuestionChanged(Question q)
Invoked when the current question in the interview has been changed.
|
static com.sun.javatest.tool.jthelp.HelpID |
Help.getHelpID(Question q)
Get the JavaHelp HelpID identifying the "more info" help for this
question, or null if none.
|
boolean |
Interview.hasNext(Question q)
Determine if a question has a non-null successor.
|
boolean |
Interview.hasValidNext(Question q)
Determine if a question has a successor which is neither null
nor an ErrorQuestion.
|
boolean |
Interview.isFirst(Question q)
Determine if a question is the first question of the interview.
|
boolean |
Interview.isLast(Question q)
Determine if a question is the last question of the interview.
|
boolean |
Interview.pathContains(Question q)
Check if the path contains a specific question.
|
void |
Interview.setCurrentQuestion(Question q)
Jump to a specific question in the interview.
|
protected void |
Interview.setFirstQuestion(Question q)
Set the first question for an interview.
|
void |
Interview.updatePath(Question q)
Update the current path, typically because a response to
a question has changed.
|
void |
Interview.verifyPathContains(Question q)
Verify that the current path contains a specified question,
and throw an exception if it does not.
|
Constructor and Description |
---|
WizPrint(Interview interview,
Question[] questions)
Create an object for printing a set of questions from an interview.
|
Modifier and Type | Method and Description |
---|---|
protected abstract Question |
InterviewParameters.getConcurrencyFirstQuestion()
Get the first question concerning the number of tests that
may be run in parallel.
|
protected Question |
InterviewParameters.getConcurrencySuccessorQuestion()
Get the next question after those concerning the number
of tests that may be run in parallel.
|
protected abstract Question |
InterviewParameters.getEnvFirstQuestion()
Get the first question to be asked concerning the environment to be
set up and used for each test to be run.
|
protected Question |
InterviewParameters.getEnvSuccessorQuestion()
Get the next question to be asked after those concerning
the environment to be set up and used for each test to be run.
|
protected abstract Question |
InterviewParameters.getEpilogFirstQuestion()
Get the first question of the epilog, which should be asked after
all the other questions in the configuration interview have been asked.
|
protected abstract Question |
InterviewParameters.getExcludeListFirstQuestion()
Get the first question to be asked concerning the exclude list
to be used to exclude tests from the test run.
|
protected Question |
InterviewParameters.getExcludeListSuccessorQuestion()
Get the next question to be asked after those concerning
the exclude list to be used to exclude tests from the test run.
|
protected Question |
InterviewParameters.getExcludeTableFirstQuestion()
Deprecated.
Use getExcludeListFirstQuestion().
|
protected Question |
InterviewParameters.getExcludeTableSuccessorQuestion()
Deprecated.
Use getExcludeListFirstQuestion().
|
protected abstract Question |
InterviewParameters.getKeywordsFirstQuestion()
Get the first question to be asked concerning the keywords
that may be used to select tests for the test run.
|
protected Question |
InterviewParameters.getKeywordsSuccessorQuestion()
Get the next question to be asked after those concerning
the keywords that may be used to select tests for the test run.
|
protected abstract Question |
InterviewParameters.getPriorStatusFirstQuestion()
Get the first question to be asked concerning whether tests should
be selected for execution according to their prior execution status.
|
protected Question |
InterviewParameters.getPriorStatusSuccessorQuestion()
Get the next question to be asked after those concerning
whether tests should be selected for execution according to their
prior execution status.
|
protected Question |
InterviewParameters.getPrologSuccessorQuestion()
Get the next question to the asked after the initial prolog
of questions.
|
protected abstract Question |
InterviewParameters.getTestsFirstQuestion()
Get the first question to be asked concerning the set of tests
and folders of tests to be run.
|
protected Question |
InterviewParameters.getTestsSuccessorQuestion()
Get the next question to be asked after those concerning
the tests and folders of tests to be run.
|
protected abstract Question |
InterviewParameters.getTimeoutFactorFirstQuestion()
Get the first question concerning the scale factor to
be applied to the standard timeout for each test.
|
protected Question |
InterviewParameters.getTimeoutFactorSuccessorQuestion()
Get the next question after those concerning the scale factor to
be applied to the standard timeout for each test.
|
Modifier and Type | Method and Description |
---|---|
static boolean |
InterviewPropagator.isPropertyQuestion(java.lang.String key,
java.util.Map<java.lang.String,Question> allQ)
Returns is the specified question is properties question
|
Modifier and Type | Method and Description |
---|---|
void |
ServiceViewer.currentQuestionChanged(Question q) |
Modifier and Type | Method and Description |
---|---|
protected void |
ContextManager.registerCustomQuestionRenderer(java.lang.Class<? extends Question> question,
com.sun.interview.wizard.QuestionRenderer renderer)
Register custom config editor's question renderer for specified question class.
|
Modifier and Type | Class and Description |
---|---|
class |
TestsInterview.TreeOrFileChoiceQuestion
Represents Tests Selection Choice Question.
|
Modifier and Type | Field and Description |
---|---|
protected Question |
TestsInterview.cachedTestsError |
protected Question |
TestsInterview.qEnd |
Modifier and Type | Method and Description |
---|---|
protected Question |
BasicInterviewParameters.getConcurrencyFirstQuestion() |
Question |
SimpleInterviewParameters.getEnvFirstQuestion() |
protected Question |
LegacyParameters.getEnvFirstQuestion()
Get the first question to be asked concerning the environment to be
set up and used for each test to be run.
|
protected Question |
BasicInterviewParameters.getEpilogFirstQuestion() |
protected Question |
BasicInterviewParameters.getExcludeListFirstQuestion() |
protected Question |
BasicInterviewParameters.getExcludeListSuccessorQuestion() |
protected Question |
BasicInterviewParameters.getKeywordsFirstQuestion() |
protected Question |
BasicInterviewParameters.getKflFirstQuestion() |
protected Question |
BasicInterviewParameters.getKflSuccessorQuestion() |
protected Question |
TestsInterview.TreeOrFileChoiceQuestion.getNext() |
protected Question |
BasicInterviewParameters.getPriorStatusFirstQuestion() |
protected Question |
BasicInterviewParameters.getTestsFirstQuestion() |
protected Question |
BasicInterviewParameters.getTimeoutFactorFirstQuestion() |
Copyright (c) 1996, 2015, Oracle and/or its affiliates. All rights reserved.