|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public 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.
Field Summary | |
---|---|
static int |
MATCH_PRIOR_STATUS
A constant used to indicate that tests should be selected for execution if their status matched one of the matching prior status values. |
static int |
NO_PRIOR_STATUS
A constant used to indicate that a test's prior execution status should not be taken into account when selecting tests for execution. |
Method Summary | |
---|---|
boolean[] |
getMatchPriorStatusValues()
Get an array of booleans which identify which tests to be run, according to their prior execution status. |
int |
getPriorStatusMode()
Get the current mode determining whether tests are selected or not according to their prior execution status. |
void |
setMatchPriorStatusValues(boolean[] values)
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[] b)
Set which prior status values should be used, if any, to select tests for execution. |
Methods inherited from interface com.sun.javatest.Parameters.PriorStatusParameters |
---|
getPriorStatusValues |
Field Detail |
---|
static final int NO_PRIOR_STATUS
static final int MATCH_PRIOR_STATUS
Method Detail |
---|
void setPriorStatusValues(boolean[] b)
b
- 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()
int getPriorStatusMode()
setPriorStatusMode(int)
,
NO_PRIOR_STATUS
,
MATCH_PRIOR_STATUS
void setPriorStatusMode(int mode)
mode
- 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.getPriorStatusMode()
,
NO_PRIOR_STATUS
,
MATCH_PRIOR_STATUS
boolean[] getMatchPriorStatusValues()
Status.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(boolean[])
void setMatchPriorStatusValues(boolean[] values)
Status.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.
values
- an array of booleans which identifying
the prior execution status of tests to be selected to be executed.getMatchPriorStatusValues()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |