|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public static interface Parameters.MutableTestsParameters
An interface providing abstract access to a set of paths defining the tests and folders of tests to be run.
Field Summary | |
---|---|
static int |
ALL_TESTS
A constant used to indicate that all tests in the test suite should be run. |
static int |
SPECIFIED_TESTS
A constant used to indicate that specified tests in the test suite should be run. |
Method Summary | |
---|---|
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. |
int |
getTestsMode()
Get the current mode for how the tests are specified. |
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. |
Methods inherited from interface com.sun.javatest.Parameters.TestsParameters |
---|
getTests |
Field Detail |
---|
static final int ALL_TESTS
static final int SPECIFIED_TESTS
Method Detail |
---|
void setTests(java.lang.String[] tests)
tests
- 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()
int getTestsMode()
setTestsMode(int)
,
ALL_TESTS
,
SPECIFIED_TESTS
void setTestsMode(int mode)
mode
- 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.
java.lang.IllegalArgumentException
- if neither ALL_TESTS or SPECIFIED_TESTS
is givengetTestsMode()
,
ALL_TESTS
,
SPECIFIED_TESTS
java.lang.String[] getSpecifiedTests()
setSpecifiedTests(java.lang.String[])
,
Parameters.TestsParameters.getTests()
void setSpecifiedTests(java.lang.String[] tests)
tests
- an array of paths identifying the tests to be rungetSpecifiedTests()
,
Parameters.TestsParameters.getTests()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |