ITestSuite.RetryStrategy
public
static
final
enum
ITestSuite.RetryStrategy
extends Enum<ITestSuite.RetryStrategy>
java.lang.Object | ||
↳ | java.lang.Enum<com.android.tradefed.testtype.suite.ITestSuite.RetryStrategy> | |
↳ | com.android.tradefed.testtype.suite.ITestSuite.RetryStrategy |
The Retry Strategy to be used when re-running some tests.
Summary
Enum values | |
---|---|
ITestSuite.RetryStrategy |
ITERATIONS
Rerun all the tests for the number of attempts specified. |
ITestSuite.RetryStrategy |
RERUN_UNTIL_FAILURE
Rerun all the tests until the max count is reached or a failure occurs whichever come first. |
ITestSuite.RetryStrategy |
RETRY_ANY_FAILURE
Rerun all the test run and test cases failures until passed or the max number of attempts specified. |
ITestSuite.RetryStrategy |
RETRY_TEST_CASE_FAILURE
Rerun all the test case failures until passed or the max number of attempts specified. |
ITestSuite.RetryStrategy |
RETRY_TEST_RUN_FAILURE
Rerun all the test run failures until passed or the max number of attempts specified. |
Public methods | |
---|---|
static
ITestSuite.RetryStrategy
|
valueOf(String name)
|
static
final
RetryStrategy[]
|
values()
|
Enum values
ITERATIONS
public static final ITestSuite.RetryStrategy ITERATIONS
Rerun all the tests for the number of attempts specified.
RERUN_UNTIL_FAILURE
public static final ITestSuite.RetryStrategy RERUN_UNTIL_FAILURE
Rerun all the tests until the max count is reached or a failure occurs whichever come first.
RETRY_ANY_FAILURE
public static final ITestSuite.RetryStrategy RETRY_ANY_FAILURE
Rerun all the test run and test cases failures until passed or the max number of attempts specified. Test run failures are rerun in priority (a.k.a. if a run failure and a test case failure occur, the run failure is rerun).
RETRY_TEST_CASE_FAILURE
public static final ITestSuite.RetryStrategy RETRY_TEST_CASE_FAILURE
Rerun all the test case failures until passed or the max number of attempts specified.
RETRY_TEST_RUN_FAILURE
public static final ITestSuite.RetryStrategy RETRY_TEST_RUN_FAILURE
Rerun all the test run failures until passed or the max number of attempts specified.
Public methods
valueOf
public static ITestSuite.RetryStrategy valueOf (String name)
Parameters | |
---|---|
name |
String |
Returns | |
---|---|
ITestSuite.RetryStrategy |
Content and code samples on this page are subject to the licenses described in the Content License. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2019-10-02 UTC.