public static interface Parameters.MutablePriorStatusParameters extends Parameters.PriorStatusParameters
| Modifier and Type | Field and Description |
|---|---|
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.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
getPriorStatusValuesstatic final int NO_PRIOR_STATUS
static final int MATCH_PRIOR_STATUS
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_STATUSvoid 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_STATUSboolean[] 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()Copyright (c) 1996, 2014, Oracle and/or its affiliates. All rights reserved.