public abstract class BasicInterviewParameters extends InterviewParameters
InterviewParameters.JTIFault, InterviewParameters.TemplateManager, InterviewParameters.TestSuiteFault, InterviewParameters.WorkDirFaultInterview.BadHelpFault, Interview.Fault, Interview.HelpNotFoundFault, Interview.NotOnPathFault, Interview.ObserverParameters.ConcurrencyParameters, Parameters.EnvParameters, Parameters.ExcludeListParameters, Parameters.KeywordsParameters, Parameters.LegacyEnvParameters, Parameters.MutableConcurrencyParameters, Parameters.MutableExcludeListParameters, Parameters.MutableKeywordsParameters, Parameters.MutablePriorStatusParameters, Parameters.MutableTestsParameters, Parameters.MutableTimeoutFactorParameters, Parameters.PriorStatusParameters, Parameters.TestsParameters, Parameters.TimeoutFactorParameters| Modifier and Type | Field and Description |
|---|---|
protected TestsInterview |
iTests |
kflFilesEXPORT_IGNORE_ALL_EXCEPTIONS, EXPORT_IGNORE_NO_EXCEPTIONS, EXPORT_IGNORE_RUNTIME_EXCEPTIONS, EXTERNAL_PREF, helpSetFactory, INTERVIEW, LOCALE, MARKERS, MARKERS_PREF, QUESTION, SEMANTIC_MAX_VERSION, SEMANTIC_PRE_32, SEMANTIC_VERSION_32, SEMANTIC_VERSION_43, TEMPLATE_PREF| Modifier | Constructor and Description |
|---|---|
protected |
BasicInterviewParameters(java.lang.String tag)
Create a BasicInterviewParameters object.
|
protected |
BasicInterviewParameters(java.lang.String tag,
TestSuite ts)
Create a BasicInterviewParameters object.
|
| Modifier and Type | Method and Description |
|---|---|
protected TestsInterview |
createTestsInterview(InterviewParameters parent)
creation of {#link TestsInterview} is extracted into separate class
to enable 'hooks' and return {#link TestsInterview} sub class
|
void |
dispose()
Clean up an InterviewParameters object.
|
protected Question |
getConcurrencyFirstQuestion()
Get the first question concerning the number of tests that
may be run in parallel.
|
Parameters.ConcurrencyParameters |
getConcurrencyParameters()
Get an object which provides access to the integer specifying
the maximum number of tests that may be run in parallel.
|
java.lang.String |
getDescription()
Get a description for this configuration.
|
protected Question |
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 Question |
getExcludeListFirstQuestion()
Get the first question to be asked concerning the exclude list
to be used to exclude tests from the test run.
|
Parameters.ExcludeListParameters |
getExcludeListParameters()
Get an object which provides access to the exclude list which
identifies tests or test cases to be excluded from the test run.
|
protected Question |
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 |
getKeywordsFirstQuestion()
Get the first question to be asked concerning the keywords
that may be used to select tests for the test run.
|
Parameters.KeywordsParameters |
getKeywordsParameters()
Get an object which provides access to the keywords object which
identifies tests to be run according to their keywords.
|
protected Question |
getKflFirstQuestion() |
protected Question |
getKflSuccessorQuestion() |
java.io.File[] |
getKnownFailureFiles()
Get the current set of known failures list files.
|
KnownFailuresList |
getKnownFailuresList()
Get the combined known failures list - a calculated combination of
all the input KFL files which were specified.
|
protected int |
getMaxConcurrency()
Discover the maximum allowable concurrency value that should be accepted.
|
java.lang.String |
getName()
Get the name for this configuration.
|
protected Question |
getPriorStatusFirstQuestion()
Get the first question to be asked concerning whether tests should
be selected for execution according to their prior execution status.
|
Parameters.PriorStatusParameters |
getPriorStatusParameters()
Get an object which provides access to an array of booleans which
identify tests to be run according to their prior execution status.
|
protected Question |
getTestsFirstQuestion()
Get the first question to be asked concerning the set of tests
and folders of tests to be run.
|
Parameters.TestsParameters |
getTestsParameters()
Get an object which provides access to the paths identifying the tests
or folders of tests to be run.
|
TestSuite |
getTestSuite()
Get the test suite for which these parameters apply.
|
protected Question |
getTimeoutFactorFirstQuestion()
Get the first question concerning the scale factor to
be applied to the standard timeout for each test.
|
Parameters.TimeoutFactorParameters |
getTimeoutFactorParameters()
Get an object which provides access to the integer specifying
a scale factor to be applied to the standard timeout for the test.
|
WorkDirectory |
getWorkDirectory()
Get the work directory in which to store the results of the test run.
|
boolean |
isNameAndDescriptionInPrologEnabled()
Check whether or not to include standard questions in the
prolog to get a name and description for this configuration.
|
void |
setKnownFailureFiles(java.io.File[] files)
Set the set of KFL files.
|
void |
setNameAndDescriptionInPrologEnabled(boolean on)
Specify whether or not to include standard questions in the
prolog to get a name and description for this configuration.
|
void |
setTestSuite(TestSuite ts)
Set the test suite for the test run.
|
void |
setWorkDirectory(WorkDirectory wd)
Set the work directory for the test run.
|
checkForUpdates, clear, getBackupPolicy, getConcurrency, getConcurrencySuccessorQuestion, getEnv, getEnvFirstQuestion, getEnvSuccessorQuestion, getErrorMessage, getExcludeList, getExcludeListFilter, getExcludeTableFilter, getExcludeTableFirstQuestion, getExcludeTableSuccessorQuestion, getFile, getFilters, getKeywords, getKeywordsFilter, getKeywordsSuccessorQuestion, getMarkersEnabled, getMarkersFilterEnabled, getPriorStatusFilter, getPriorStatusSuccessorQuestion, getPriorStatusValues, getPrologSuccessorQuestion, getPropagationController, getRelevantTestFilter, getTemplateManger, getTemplatePath, getTests, getTestsSuccessorQuestion, getTimeoutFactor, getTimeoutFactorSuccessorQuestion, init, isAutoUpdatableKey, isAutoUpdatableKey, isFileLoaded, isFileNewer, isInterviewFile, isTemplate, isUpdatableKey, isValid, load, load, load, load, load, open, open, open, open, open, save, save, save, save, saveAs, saveAs, saveAs, setBackupPolicy, setFile, setMarkersEnabled, setMarkersFilterEnabled, setPropagationController, setTemplate, setTemplateManger, setTemplatePathaddObserver, callInterview, clearMarkedResponses, containsObserver, createChecklist, createChecklistItem, createChecklistItem, createChecklistItem, export, getAllQuestions, getCurrentQuestion, getDefaultImage, getExportIgnoreExceptionPolicy, getExternalProperties, getFirstQuestion, getHelpSet, getInterview, getInterviewSemantics, getParent, getPath, getPathToCurrent, getPropertyKeys, getQuestions, getRawPath, getResourceBundle, getResourceString, getResourceString, getRoot, getTag, getTitle, hasNext, hasValidNext, isChecklistEmpty, isChecksumValid, isEdited, isFinishable, isFirst, isInterviewFinishable, isLast, isRoot, isStarted, iteratePath, iteratePathToCurrent, last, load, next, pathContains, pathContains, prev, propagateTemplateForAll, readLocale, removeAllMarkers, removeMarkers, removeObserver, reset, retrieveProperty, retrieveTemplateKeys, retrieveTemplateProperty, setBaseTag, setCurrentQuestion, setDefaultImage, setEdited, setExportIgnoreExceptionPolicy, setFirstQuestion, setHelpSet, setHelpSet, setHelpSet, setInterviewSemantics, setResourceBundle, setResourceBundle, setTitle, storeProperty, storeTemplateProperties, storeTemplateProperty, updatePath, updatePath, verifyPathContains, writeLocaleclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetEnvParametersprotected TestsInterview iTests
protected BasicInterviewParameters(java.lang.String tag)
throws Interview.Fault
tag - the tag used to qualify questions in this interviewInterview.Fault - if there is a problem creating this objectprotected BasicInterviewParameters(java.lang.String tag,
TestSuite ts)
throws Interview.Fault
tag - the tag used to qualify questions in this interviewts - The test suite to which this interview applies.Interview.Fault - if there is a problem creating this objectpublic void dispose()
InterviewParametersdispose in class InterviewParametersprotected TestsInterview createTestsInterview(InterviewParameters parent) throws Interview.Fault
parent - Interview.Faultpublic void setNameAndDescriptionInPrologEnabled(boolean on)
on - if true, questions will be included in the standard
prolog to get a name and description for this configuration.isNameAndDescriptionInPrologEnabled()public boolean isNameAndDescriptionInPrologEnabled()
setNameAndDescriptionInPrologEnabled(boolean)public java.lang.String getName()
getName in class InterviewParameterssetNameAndDescriptionInPrologEnabled(boolean)public java.lang.String getDescription()
getDescription in class InterviewParameterspublic TestSuite getTestSuite()
ParametersParameters.setTestSuite(com.sun.javatest.TestSuite)public void setTestSuite(TestSuite ts)
ts - the test suite to be set.java.lang.NullPointerException - if ts is nulljava.lang.IllegalStateException - if the test suite has already been set to
something differentgetTestSuite()public WorkDirectory getWorkDirectory()
ParametersParameters.setWorkDirectory(com.sun.javatest.WorkDirectory)public void setWorkDirectory(WorkDirectory wd)
setWorkDirectory in interface ParameterssetWorkDirectory in class InterviewParameterswd - the work directory to be set.java.lang.NullPointerException - if wd is nulljava.lang.IllegalStateException - if the work directory has already been set to
something differentgetWorkDirectory()public Parameters.TestsParameters getTestsParameters()
Parametersprotected Question getTestsFirstQuestion()
InterviewParametersgetTestsFirstQuestion in class InterviewParametersInterviewParameters.getTestsSuccessorQuestion()public Parameters.ExcludeListParameters getExcludeListParameters()
Parametersprotected Question getExcludeListFirstQuestion()
InterviewParametersgetExcludeListFirstQuestion in class InterviewParametersInterviewParameters.getExcludeListSuccessorQuestion()protected Question getExcludeListSuccessorQuestion()
InterviewParametersgetExcludeListSuccessorQuestion in class InterviewParametersInterviewParameters.getExcludeListFirstQuestion()protected Question getKflFirstQuestion()
protected Question getKflSuccessorQuestion()
public KnownFailuresList getKnownFailuresList()
getKnownFailuresList in class InterviewParametersInterviewParameters.setKnownFailureFiles(java.io.File[]),
BasicInterviewParameterspublic void setKnownFailureFiles(java.io.File[] files)
InterviewParameterssetKnownFailureFiles in class InterviewParametersfiles - The known failures list files. The array should contain
one or more elements.public java.io.File[] getKnownFailureFiles()
InterviewParametersgetKnownFailureFiles in class InterviewParametersInterviewParameters.setKnownFailureFiles(java.io.File[])public Parameters.KeywordsParameters getKeywordsParameters()
Parametersprotected Question getKeywordsFirstQuestion()
InterviewParametersgetKeywordsFirstQuestion in class InterviewParametersInterviewParameters.getKeywordsSuccessorQuestion()public Parameters.PriorStatusParameters getPriorStatusParameters()
Parametersprotected Question getPriorStatusFirstQuestion()
InterviewParametersgetPriorStatusFirstQuestion in class InterviewParametersInterviewParameters.getPriorStatusSuccessorQuestion()public Parameters.ConcurrencyParameters getConcurrencyParameters()
Parametersprotected Question getConcurrencyFirstQuestion()
InterviewParametersgetConcurrencyFirstQuestion in class InterviewParametersInterviewParameters.getConcurrencySuccessorQuestion()protected int getMaxConcurrency()
Parameters.ConcurrencyParameters.MAX_CONCURRENCYpublic Parameters.TimeoutFactorParameters getTimeoutFactorParameters()
Parametersprotected Question getTimeoutFactorFirstQuestion()
InterviewParametersgetTimeoutFactorFirstQuestion in class InterviewParametersInterviewParameters.getTimeoutFactorSuccessorQuestion()protected Question getEpilogFirstQuestion()
InterviewParametersgetEpilogFirstQuestion in class InterviewParametersCopyright (c) 1996, 2014, Oracle and/or its affiliates. All rights reserved.