public interface Parameters
Modifier and Type | Interface and Description |
---|---|
static interface |
Parameters.ConcurrencyParameters
An interface providing basic abstract access to an integer
specifying the maximum number of tests that can be run in parallel.
|
static interface |
Parameters.EnvParameters
An interface providing basic abstract access to the environment
used to run each test.
|
static interface |
Parameters.ExcludeListParameters
An interface providing basic abstract access to an exclude list,
defining tests to be excluded from the test run.
|
static interface |
Parameters.KeywordsParameters
An interface providing basic abstract access to a keywords object
which can be used to select tests according to their keywords.
|
static interface |
Parameters.LegacyEnvParameters
An interface providing abstract access to environments, as contained
in a set of .jte files, as used by older, legacy test suites.
|
static interface |
Parameters.MutableConcurrencyParameters
An interface providing abstract access to an integer
specifying the maximum number of tests that can be run in parallel.
|
static interface |
Parameters.MutableExcludeListParameters
An interface providing abstract access to an exclude list,
as defined by a set of files, defining tests to be excluded
from the test run.
|
static interface |
Parameters.MutableKeywordsParameters
An interface providing abstract access to a keywords object
which can be used to select tests according to their keywords.
|
static interface |
Parameters.MutablePriorStatusParameters
An interface providing abstract access to a set of booleans
which can be used to select tests according to their prior execution
status.
|
static interface |
Parameters.MutableTestsParameters
An interface providing abstract access to a set of paths
defining the tests and folders of tests to be run.
|
static interface |
Parameters.MutableTimeoutFactorParameters
An interface providing abstract access to an integer
specifying a scale factor for the standard timeout used for each test.
|
static interface |
Parameters.PriorStatusParameters
An interface providing basic abstract access to a set of booleans
which can be used to select tests according to their prior execution
status.
|
static interface |
Parameters.TestsParameters
An interface providing basic abstract access to the set of paths
defining the tests and folders of tests to be run.
|
static interface |
Parameters.TimeoutFactorParameters
An interface providing basic abstract access to an integer
specifying a scale factor for the standard timeout used for each test.
|
Modifier and Type | Method and Description |
---|---|
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.
|
TestEnvironment |
getEnv()
Get the environment of test-suite-specific configuration values,
to be passed to the script used to run each test.
|
Parameters.EnvParameters |
getEnvParameters()
Get an object which provides access to the environment of
test-suite-specific configuration values to be used when each
test is run.
|
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.
|
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.
|
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().
|
Parameters.KeywordsParameters |
getKeywordsParameters()
Get an object which provides access to the keywords object which
identifies tests to be run according to their keywords.
|
TestFilter |
getPriorStatusFilter()
Get a filter which will filter tests according to the result
of getPriorStatusValus().
|
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[] |
getTests()
Get the paths identifying the tests or folders of tests within
the test suite 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.
|
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 |
isValid()
Determine whether all the configuration values are valid.
|
void |
setTestSuite(TestSuite ts)
Set the test suite for which these parameters apply.
|
void |
setWorkDirectory(WorkDirectory wd)
Set the work directory for which these parameters apply.
|
TestSuite getTestSuite()
setTestSuite(com.sun.javatest.TestSuite)
void setTestSuite(TestSuite ts)
ts
- the test suite for which these parameters applygetTestSuite()
WorkDirectory getWorkDirectory()
setWorkDirectory(com.sun.javatest.WorkDirectory)
void setWorkDirectory(WorkDirectory wd)
wd
- the work directory for which these parameters applygetWorkDirectory()
java.lang.String[] getTests()
Parameters.TestsParameters.getTests()
Parameters.TestsParameters getTestsParameters()
ExcludeList getExcludeList()
getExcludeListFilter()
,
Parameters.ExcludeListParameters.getExcludeList()
Parameters.ExcludeListParameters getExcludeListParameters()
Keywords getKeywords()
Parameters.KeywordsParameters.getKeywords()
Parameters.KeywordsParameters getKeywordsParameters()
boolean[] getPriorStatusValues()
Parameters.PriorStatusParameters.getPriorStatusValues()
Parameters.PriorStatusParameters getPriorStatusParameters()
TestEnvironment getEnv()
Parameters.EnvParameters.getEnv()
Parameters.EnvParameters getEnvParameters()
int getConcurrency()
Parameters.ConcurrencyParameters.getConcurrency()
Parameters.ConcurrencyParameters getConcurrencyParameters()
float getTimeoutFactor()
Parameters.TimeoutFactorParameters.getTimeoutFactor()
Parameters.TimeoutFactorParameters getTimeoutFactorParameters()
TestFilter getExcludeListFilter()
getExcludeList()
TestFilter getKeywordsFilter()
getKeywords()
TestFilter getPriorStatusFilter()
getPriorStatusValues()
TestFilter getRelevantTestFilter()
TestFilter[] getFilters()
getExcludeListFilter()
,
getKeywordsFilter()
,
getPriorStatusFilter()
,
getRelevantTestFilter()
boolean isValid()
getErrorMessage()
java.lang.String getErrorMessage()
isValid()
Copyright (c) 1996, 2014, Oracle and/or its affiliates. All rights reserved.