|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.javatest.BasicParameters
public abstract class BasicParameters
A basic implementation of Parameters for all except the EnvParameters subsection.
| Nested Class Summary |
|---|
| Field Summary | |
|---|---|
protected java.lang.String |
concurrencyError
A string to identify any errors that may have occurred when setting the concurrency, or null if there were no such errors. |
protected java.lang.String |
excludeListError
A string to identify any errors that may have occurred when setting the exclude list parameters, or null if there were no such errors. |
protected java.lang.String |
keywordsError
A string to identify any errors that may have occurred when setting the keywords parameters, or null if there were no such errors. |
protected java.lang.String |
testSuiteError
A string to identify any errors that may have occurred when setting the test suite, or null if there were no such errors. |
protected java.lang.String |
timeoutFactorError
A string to identify any errors that may have occurred when setting the timeout factor, or null if there were no such errors. |
protected java.lang.String |
workDirError
A string to identify any errors that may have occurred when setting the work directory, or null if there were no such errors. |
| Fields inherited from interface com.sun.javatest.Parameters.MutableTestsParameters |
|---|
ALL_TESTS, SPECIFIED_TESTS |
| Fields inherited from interface com.sun.javatest.Parameters.MutableExcludeListParameters |
|---|
CHECK_EVERY_RUN, CHECK_EVERY_X_DAYS, CUSTOM_EXCLUDE_LIST, INITIAL_EXCLUDE_LIST, LATEST_EXCLUDE_LIST, NO_EXCLUDE_LIST |
| Fields inherited from interface com.sun.javatest.Parameters.MutableKeywordsParameters |
|---|
ALL_OF, ANY_OF, EXPR, MATCH_KEYWORDS, NO_KEYWORDS |
| Fields inherited from interface com.sun.javatest.Parameters.MutablePriorStatusParameters |
|---|
MATCH_PRIOR_STATUS, NO_PRIOR_STATUS |
| Fields inherited from interface com.sun.javatest.Parameters.ConcurrencyParameters |
|---|
MAX_CONCURRENCY, MIN_CONCURRENCY |
| Fields inherited from interface com.sun.javatest.Parameters.TimeoutFactorParameters |
|---|
MAX_TIMEOUT_FACTOR, MIN_TIMEOUT_FACTOR |
| Constructor Summary | |
|---|---|
BasicParameters()
|
|
| Method Summary | |
|---|---|
protected static boolean |
equal(boolean[] b1,
boolean[] b2)
Compare two boolean arrays for equality. |
protected static boolean |
equal(java.io.File[] f1,
java.io.File[] f2)
Compare two arrays of Files for equality. |
protected static java.io.File[] |
getAbsoluteFiles(java.io.File baseDir,
java.io.File[] files)
Convert a set of files to be absolute files. |
int |
getConcurrency()
Get an integer specifying the maximum 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.io.File[] |
getCustomExcludeFiles()
Get the files used to define the exclude list when the exclude list mode is set to CUSTOM_EXCLUDE_LIST. |
java.lang.String |
getErrorMessage()
If there is an error in any of the configuration values, as indicated by isValid, this method will provide a detail message about one or more of the invalid values. |
java.io.File[] |
getExcludeFiles()
Get the set of files which define the exclude list. |
ExcludeList |
getExcludeList()
Get an exclude list which identifies tests or test cases to be excluded from the test run. |
TestFilter |
getExcludeListFilter()
Get a filter which will filter tests according to the result of getExcludeList(). |
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. |
int |
getExcludeMode()
Get the current exclude list mode. |
TestFilter[] |
getFilters()
Get an array of the non-null filters returned from getExcludeListFilter, getKeywordsFilter, getPriorStatusFilter, and getRelevantTestFilter. |
Keywords |
getKeywords()
Get a keywords object which identifies tests to be run according to their keywords. |
TestFilter |
getKeywordsFilter()
Get a filter which will filter tests according to the result of getKeywords(). |
int |
getKeywordsMode()
Get the current keywords mode. |
Parameters.KeywordsParameters |
getKeywordsParameters()
Get an object which provides access to the keywords object which identifies tests to be run according to their keywords. |
int |
getLatestExcludeAutoCheckInterval()
Get the interval, in days, to be used when automatically checking for exclude list updates and the auto check mode is set to CHECK_EVERY_X_DAYS. |
int |
getLatestExcludeAutoCheckMode()
Get the mode which defines how often to automatically check for updated exclude lists, when the exclude list mode is set to LATEST_EXCLUDE_LIST, and the automatic check is enabled. |
int |
getMatchKeywordsMode()
Get a value which indicates how to interpret the match value, when the keywords mode is set to MATCH_KEYWORDS. |
java.lang.String |
getMatchKeywordsValue()
Get a value that identifies which tests are to be selected, when the keywords mode is set to MATCH_KEYWORDS. |
boolean[] |
getMatchPriorStatusValues()
Get an array of booleans which identify which tests to be run, according to their prior execution status. |
TestFilter |
getPriorStatusFilter()
Get a filter which will filter tests according to the result of getPriorStatusValus(). |
int |
getPriorStatusMode()
Get the current mode determining whether tests are selected or not 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. |
boolean[] |
getPriorStatusValues()
Get an array of booleans which identify tests to be run according to their prior execution status. |
TestFilter |
getRelevantTestFilter()
Get a test-suite specific filter which will filter tests according to test-suite-specific criteria, as perhaps determined by a configuration interview. |
java.lang.String[] |
getSpecifiedTests()
Get the set of specified tests to be used as the set of tests to be run when the mode is set to SPECIFIED_TESTS. |
java.lang.String[] |
getTests()
Get the paths identifying the tests or folders of tests within the test suite to be run. |
int |
getTestsMode()
Get the current mode for how the tests are specified. |
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. |
float |
getTimeoutFactor()
Get an integer specifying a scale factor to be applied to the standard timeout for the 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 |
isLatestExcludeAutoCheckEnabled()
Check if the automatic check for newer exclude lists is enabled when the exclude list mode is set to LATEST_EXCLUDE_LIST. |
boolean |
isValid()
Determine whether all the configuration values are valid. |
void |
setConcurrency(int conc)
Set an integer specifying the maximum number of tests that may be run in parallel. |
void |
setCustomExcludeFiles(java.io.File[] files)
Set the files used to define the exclude list when the exclude list mode is set to CUSTOM_EXCLUDE_LIST. |
void |
setExcludeFiles(java.io.File[] files)
Set the set of files used to define the exclude list. |
void |
setExcludeMode(int mode)
Set the current exclude list mode. |
void |
setKeywords(int mode,
java.lang.String value)
Set the details of the keywords to be used, if any, to filter tests for execution. |
void |
setKeywordsMode(int mode)
Set the current keywords mode. |
void |
setLatestExcludeAutoCheckEnabled(boolean b)
Specify if the automatic check for newer exclude lists is enabled when the exclude list mode is set to LATEST_EXCLUDE_LIST. |
void |
setLatestExcludeAutoCheckInterval(int days)
Set the interval, in days, to be used when automatically checking for exclude list updates and the auto check mode is set to CHECK_EVERY_X_DAYS. |
void |
setLatestExcludeAutoCheckMode(int mode)
Set the mode which defines how often to automatically check for updated exclude lists, when the exclude list mode is set to LATEST_EXCLUDE_LIST, and the automatic check is enabled. |
void |
setMatchKeywords(int mode,
java.lang.String value)
Set how to match a tests keywords when the keywords mode is set to MATCH_KEYWORDS. |
void |
setMatchPriorStatusValues(boolean[] v)
Set an array of booleans to identify which tests to be run, according to their prior execution status. |
void |
setPriorStatusMode(int mode)
Set the current mode determining whether tests are selected or not according to their prior execution status. |
void |
setPriorStatusValues(boolean[] values)
Set which prior status values should be used, if any, to select tests for execution. |
void |
setSpecifiedTests(java.lang.String[] tests)
Set the specified tests to be be run when the mode is set to SPECIFIED_TESTS. |
void |
setTests(java.lang.String[] tests)
Specify the tests to be executed. |
void |
setTestsMode(int mode)
Set the current mode for how the tests are specified. |
void |
setTestSuite(java.io.File file)
Set the test suite for the test run. |
void |
setTestSuite(TestSuite ts)
Set the test suite for the test run. |
void |
setTimeoutFactor(float tf)
Set an integer specifying a scale factor to be applied to the standard timeout for the test. |
void |
setWorkDirectory(java.io.File dir)
Set the work directory for the test run. |
void |
setWorkDirectory(WorkDirectory wd)
Set the work directory for the test run. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.sun.javatest.Parameters |
|---|
getEnv, getEnvParameters |
| Field Detail |
|---|
protected java.lang.String testSuiteError
protected java.lang.String workDirError
protected java.lang.String excludeListError
protected java.lang.String keywordsError
protected java.lang.String concurrencyError
protected java.lang.String timeoutFactorError
| Constructor Detail |
|---|
public BasicParameters()
| Method Detail |
|---|
public TestSuite getTestSuite()
Parameters
getTestSuite in interface ParametersParameters.setTestSuite(com.sun.javatest.TestSuite)public void setTestSuite(java.io.File file)
file - a path defining the test suite to be opened and set as the test
suite for the test run.getTestSuite(),
setTestSuite(TestSuite)public void setTestSuite(TestSuite ts)
setTestSuite in interface Parametersts - the test suite to be set.
java.lang.NullPointerException - if ts is null
java.lang.IllegalStateException - if the test suite has already been set to
something differentgetTestSuite()public WorkDirectory getWorkDirectory()
Parameters
getWorkDirectory in interface ParametersParameters.setWorkDirectory(com.sun.javatest.WorkDirectory)public void setWorkDirectory(java.io.File dir)
dir - a path defining the work directory to be opened and set as the
work directory for the test run.getWorkDirectory(),
setWorkDirectory(WorkDirectory)public void setWorkDirectory(WorkDirectory wd)
setWorkDirectory in interface Parameterswd - the work directory to be set.
java.lang.NullPointerException - if wd is null
java.lang.IllegalStateException - if the work directory has already been set to
something differentgetWorkDirectory()public Parameters.TestsParameters getTestsParameters()
Parameters
getTestsParameters in interface Parameterspublic java.lang.String[] getTests()
Parameters
getTests in interface ParametersgetTests in interface Parameters.TestsParametersParameters.TestsParameters.getTests()public void setTests(java.lang.String[] tests)
Parameters.MutableTestsParameters
setTests in interface Parameters.MutableTestsParameterstests - If null, set the tests mode to ALL_TESTS;
if not null, set the tests mode to SPECIFIED_TESTS, and set
the specified tests.Parameters.TestsParameters.getTests()public int getTestsMode()
Parameters.MutableTestsParameters
getTestsMode in interface Parameters.MutableTestsParametersParameters.MutableTestsParameters.setTestsMode(int),
Parameters.MutableTestsParameters.ALL_TESTS,
Parameters.MutableTestsParameters.SPECIFIED_TESTSpublic void setTestsMode(int mode)
Parameters.MutableTestsParameters
setTestsMode in interface Parameters.MutableTestsParametersmode - use ALL_TESTS if all tests are to be run, irrespective of
the selected tests, or SPECIFIED_TESTS if a set of specified
tests are to be run.Parameters.MutableTestsParameters.getTestsMode(),
Parameters.MutableTestsParameters.ALL_TESTS,
Parameters.MutableTestsParameters.SPECIFIED_TESTSpublic java.lang.String[] getSpecifiedTests()
Parameters.MutableTestsParameters
getSpecifiedTests in interface Parameters.MutableTestsParametersParameters.MutableTestsParameters.setSpecifiedTests(java.lang.String[]),
Parameters.TestsParameters.getTests()public void setSpecifiedTests(java.lang.String[] tests)
Parameters.MutableTestsParameters
setSpecifiedTests in interface Parameters.MutableTestsParameterstests - an array of paths identifying the tests to be runParameters.MutableTestsParameters.getSpecifiedTests(),
Parameters.TestsParameters.getTests()public Parameters.ExcludeListParameters getExcludeListParameters()
Parameters
getExcludeListParameters in interface Parameterspublic java.io.File[] getExcludeFiles()
Parameters.MutableExcludeListParameters
getExcludeFiles in interface Parameters.MutableExcludeListParametersParameters.MutableExcludeListParameters.getExcludeFiles(),
Parameters.MutableExcludeListParameters.setExcludeFiles(java.io.File[])public void setExcludeFiles(java.io.File[] files)
Parameters.MutableExcludeListParameters
setExcludeFiles in interface Parameters.MutableExcludeListParametersfiles - If null, the exclude mode will be set to NO_EXCLUDE_LIST;
if not null, the exclude mode will be set to CUSTOM_EXCLUDE_LIST
and the custom exclude files will be set to this valueParameters.MutableExcludeListParameters.getExcludeFiles()public ExcludeList getExcludeList()
Parameters
getExcludeList in interface ParametersgetExcludeList in interface Parameters.ExcludeListParametersParameters.getExcludeListFilter(),
Parameters.ExcludeListParameters.getExcludeList()public TestFilter getExcludeListFilter()
Parameters
getExcludeListFilter in interface ParametersParameters.getExcludeList()public int getExcludeMode()
Parameters.MutableExcludeListParameters
getExcludeMode in interface Parameters.MutableExcludeListParametersParameters.MutableExcludeListParameters.setExcludeMode(int),
Parameters.MutableExcludeListParameters.NO_EXCLUDE_LIST,
Parameters.MutableExcludeListParameters.INITIAL_EXCLUDE_LIST,
Parameters.MutableExcludeListParameters.LATEST_EXCLUDE_LIST,
Parameters.MutableExcludeListParameters.CUSTOM_EXCLUDE_LISTpublic void setExcludeMode(int mode)
Parameters.MutableExcludeListParameters
setExcludeMode in interface Parameters.MutableExcludeListParametersmode - A value indicating the desired exclude list modeParameters.MutableExcludeListParameters.getExcludeMode(),
Parameters.MutableExcludeListParameters.NO_EXCLUDE_LIST,
Parameters.MutableExcludeListParameters.INITIAL_EXCLUDE_LIST,
Parameters.MutableExcludeListParameters.LATEST_EXCLUDE_LIST,
Parameters.MutableExcludeListParameters.CUSTOM_EXCLUDE_LISTpublic java.io.File[] getCustomExcludeFiles()
Parameters.MutableExcludeListParameters
getCustomExcludeFiles in interface Parameters.MutableExcludeListParametersParameters.MutableExcludeListParameters.setCustomExcludeFiles(java.io.File[])public void setCustomExcludeFiles(java.io.File[] files)
Parameters.MutableExcludeListParameters
setCustomExcludeFiles in interface Parameters.MutableExcludeListParametersfiles - the files used to define a custom exclude listParameters.MutableExcludeListParameters.getCustomExcludeFiles()public boolean isLatestExcludeAutoCheckEnabled()
Parameters.MutableExcludeListParameters
isLatestExcludeAutoCheckEnabled in interface Parameters.MutableExcludeListParametersParameters.MutableExcludeListParameters.setLatestExcludeAutoCheckEnabled(boolean)public void setLatestExcludeAutoCheckEnabled(boolean b)
Parameters.MutableExcludeListParameters
setLatestExcludeAutoCheckEnabled in interface Parameters.MutableExcludeListParametersb - whether or not the automatic check is enabledParameters.MutableExcludeListParameters.isLatestExcludeAutoCheckEnabled()public int getLatestExcludeAutoCheckMode()
Parameters.MutableExcludeListParameters
getLatestExcludeAutoCheckMode in interface Parameters.MutableExcludeListParametersParameters.MutableExcludeListParameters.setLatestExcludeAutoCheckMode(int),
Parameters.MutableExcludeListParameters.CHECK_EVERY_X_DAYS,
Parameters.MutableExcludeListParameters.CHECK_EVERY_RUNpublic void setLatestExcludeAutoCheckMode(int mode)
Parameters.MutableExcludeListParameters
setLatestExcludeAutoCheckMode in interface Parameters.MutableExcludeListParametersmode - a value indicating how often to check for the
availability of a newer exclude listParameters.MutableExcludeListParameters.getLatestExcludeAutoCheckMode(),
Parameters.MutableExcludeListParameters.CHECK_EVERY_X_DAYS,
Parameters.MutableExcludeListParameters.CHECK_EVERY_RUNpublic int getLatestExcludeAutoCheckInterval()
Parameters.MutableExcludeListParameters
getLatestExcludeAutoCheckInterval in interface Parameters.MutableExcludeListParametersParameters.MutableExcludeListParameters.setLatestExcludeAutoCheckInterval(int)public void setLatestExcludeAutoCheckInterval(int days)
Parameters.MutableExcludeListParameters
setLatestExcludeAutoCheckInterval in interface Parameters.MutableExcludeListParametersdays - the number of days to wait between checksParameters.MutableExcludeListParameters.getLatestExcludeAutoCheckInterval()public Parameters.KeywordsParameters getKeywordsParameters()
Parameters
getKeywordsParameters in interface Parameterspublic Keywords getKeywords()
Parameters
getKeywords in interface ParametersgetKeywords in interface Parameters.KeywordsParametersParameters.KeywordsParameters.getKeywords()
public void setKeywords(int mode,
java.lang.String value)
Parameters.MutableKeywordsParameters
setKeywords in interface Parameters.MutableKeywordsParametersmode - the value of the match keywords mode to be set if
value is not nullvalue - if null, the keywords mode will be set to NO_KEYWORDS;
if not null, the keywords mode will be set to MATCH_KEYWORDS, the
match keywords mode will be set to mode,
and the match keywords value will be set to this valueParameters.KeywordsParameters.getKeywords(),
Parameters.MutableKeywordsParameters.NO_KEYWORDS,
Parameters.MutableKeywordsParameters.MATCH_KEYWORDSpublic TestFilter getKeywordsFilter()
Parameters
getKeywordsFilter in interface ParametersParameters.getKeywords()public int getKeywordsMode()
Parameters.MutableKeywordsParameters
getKeywordsMode in interface Parameters.MutableKeywordsParametersParameters.MutableKeywordsParameters.setKeywordsMode(int),
Parameters.MutableKeywordsParameters.NO_KEYWORDS,
Parameters.MutableKeywordsParameters.MATCH_KEYWORDSpublic void setKeywordsMode(int mode)
Parameters.MutableKeywordsParameters
setKeywordsMode in interface Parameters.MutableKeywordsParametersmode - set to NO_KEYWORDS if no keyword filtering will be
used to select tests for execution, or MATCH_KEYWORDS if keywords
will be filtered according to the match mode and match value.Parameters.MutableKeywordsParameters.getKeywordsMode(),
Parameters.MutableKeywordsParameters.NO_KEYWORDS,
Parameters.MutableKeywordsParameters.MATCH_KEYWORDSpublic int getMatchKeywordsMode()
Parameters.MutableKeywordsParameters
getMatchKeywordsMode in interface Parameters.MutableKeywordsParametersParameters.MutableKeywordsParameters.setMatchKeywords(int, java.lang.String),
Parameters.MutableKeywordsParameters.ANY_OF,
Parameters.MutableKeywordsParameters.ALL_OF,
Parameters.MutableKeywordsParameters.EXPRpublic java.lang.String getMatchKeywordsValue()
Parameters.MutableKeywordsParameters
getMatchKeywordsValue in interface Parameters.MutableKeywordsParametersParameters.MutableKeywordsParameters.setMatchKeywords(int, java.lang.String),
Parameters.MutableKeywordsParameters.ANY_OF,
Parameters.MutableKeywordsParameters.ALL_OF,
Parameters.MutableKeywordsParameters.EXPR
public void setMatchKeywords(int mode,
java.lang.String value)
Parameters.MutableKeywordsParameters
setMatchKeywords in interface Parameters.MutableKeywordsParametersmode - A value indicating how to interpret valuevalue - If mode is set to ANY_OF or ALL_OF,
this value should give a white-space separate list of keywords
to be matched; if mode is set to EXPR, this value
should be a boolean expression using terminals, & (and), | (or),
! (negation) and parentheses, where the terminals are true if
a test description contains that name as one of its keywords.Parameters.MutableKeywordsParameters.getMatchKeywordsMode(),
Parameters.MutableKeywordsParameters.getMatchKeywordsValue(),
Parameters.MutableKeywordsParameters.ANY_OF,
Parameters.MutableKeywordsParameters.ALL_OF,
Parameters.MutableKeywordsParameters.EXPRpublic Parameters.PriorStatusParameters getPriorStatusParameters()
Parameters
getPriorStatusParameters in interface Parameterspublic boolean[] getPriorStatusValues()
Parameters
getPriorStatusValues in interface ParametersgetPriorStatusValues in interface Parameters.PriorStatusParametersParameters.PriorStatusParameters.getPriorStatusValues()public void setPriorStatusValues(boolean[] values)
Parameters.MutablePriorStatusParameters
setPriorStatusValues in interface Parameters.MutablePriorStatusParametersvalues - if null, the prior status mode will be set to NO_PRIOR_STATUS;
if not null, the prior status mode will be set to MATCH_PRIOR_STATUS,
and the matching values will be set to this array.Parameters.PriorStatusParameters.getPriorStatusValues()public TestFilter getPriorStatusFilter()
Parameters
getPriorStatusFilter in interface ParametersParameters.getPriorStatusValues()public int getPriorStatusMode()
Parameters.MutablePriorStatusParameters
getPriorStatusMode in interface Parameters.MutablePriorStatusParametersParameters.MutablePriorStatusParameters.setPriorStatusMode(int),
Parameters.MutablePriorStatusParameters.NO_PRIOR_STATUS,
Parameters.MutablePriorStatusParameters.MATCH_PRIOR_STATUSpublic void setPriorStatusMode(int mode)
Parameters.MutablePriorStatusParameters
setPriorStatusMode in interface Parameters.MutablePriorStatusParametersmode - if set to NO_PRIOR_STATUS, the prior execution status
will not be taken into account; otherwise, if set to MATCH_PRIOR_STATUS
tests will be selected if and only of their execution status matches
one of the matching prior status values.Parameters.MutablePriorStatusParameters.getPriorStatusMode(),
Parameters.MutablePriorStatusParameters.NO_PRIOR_STATUS,
Parameters.MutablePriorStatusParameters.MATCH_PRIOR_STATUSpublic boolean[] getMatchPriorStatusValues()
Parameters.MutablePriorStatusParametersStatus.PASSED, Status.FAILED,
Status.ERROR, and Status.NOT_RUN.
A test will be selected for execution if the entry in the
array corresponding to the tests execution status is set to true.
getMatchPriorStatusValues in interface Parameters.MutablePriorStatusParametersParameters.MutablePriorStatusParameters.setMatchPriorStatusValues(boolean[])public void setMatchPriorStatusValues(boolean[] v)
Parameters.MutablePriorStatusParametersStatus.PASSED, Status.FAILED,
Status.ERROR, and Status.NOT_RUN.
A test will be selected for execution if the entry in the
array corresponding to the tests execution status is set to true.
setMatchPriorStatusValues in interface Parameters.MutablePriorStatusParametersv - an array of booleans which identifying
the prior execution status of tests to be selected to be executed.Parameters.MutablePriorStatusParameters.getMatchPriorStatusValues()public Parameters.ConcurrencyParameters getConcurrencyParameters()
Parameters
getConcurrencyParameters in interface Parameterspublic int getConcurrency()
Parameters
getConcurrency in interface ParametersgetConcurrency in interface Parameters.ConcurrencyParametersParameters.ConcurrencyParameters.getConcurrency()public void setConcurrency(int conc)
Parameters.MutableConcurrencyParameters
setConcurrency in interface Parameters.MutableConcurrencyParametersconc - an integer specifying the maximum number of tests that
may be run in parallelParameters.ConcurrencyParameters.getConcurrency()public Parameters.TimeoutFactorParameters getTimeoutFactorParameters()
Parameters
getTimeoutFactorParameters in interface Parameterspublic float getTimeoutFactor()
Parameters
getTimeoutFactor in interface ParametersgetTimeoutFactor in interface Parameters.TimeoutFactorParametersParameters.TimeoutFactorParameters.getTimeoutFactor()public void setTimeoutFactor(float tf)
Parameters.MutableTimeoutFactorParameters
setTimeoutFactor in interface Parameters.MutableTimeoutFactorParameterstf - an integer specifying a scale factor to be applied to
the standard timeout for each test.Parameters.TimeoutFactorParameters.getTimeoutFactor()public TestFilter getRelevantTestFilter()
Parameters
getRelevantTestFilter in interface Parameterspublic TestFilter[] getFilters()
Parameters
getFilters in interface ParametersParameters.getExcludeListFilter(),
Parameters.getKeywordsFilter(),
Parameters.getPriorStatusFilter(),
Parameters.getRelevantTestFilter()public boolean isValid()
Parameters
isValid in interface ParametersParameters.getErrorMessage()public java.lang.String getErrorMessage()
Parameters
getErrorMessage in interface ParametersParameters.isValid()
protected static java.io.File[] getAbsoluteFiles(java.io.File baseDir,
java.io.File[] files)
baseDir - The base directory for any relative filesfiles - The files to be made absolute, or null if none
protected static boolean equal(boolean[] b1,
boolean[] b2)
b1 - the first array to be comparedb2 - the second array to be compared
protected static boolean equal(java.io.File[] f1,
java.io.File[] f2)
f1 - the first array to be comparedf2 - the second array to be compared
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||