Summary: Methods | Inherited Methods
RepetitiveTest
public abstract @interface RepetitiveTest
implements Annotation
android.test.RepetitiveTest |
This @interface was deprecated in API level 36.
New tests should be written using the Android Testing Support Library.
This annotation can be used on an InstrumentationTestCase
's test methods. When the annotation is present, the test method is executed the number of times specified by numIterations and defaults to 1.
Summary
Public methods | |
---|---|
int | numIterations() Indicates the number of times a test case should be run. |
Inherited methods | |
---|---|
Public methods
numIterations
Added in API level 36
public int numIterations ()
Indicates the number of times a test case should be run.
Returns | |
---|---|
int | The total number of iterations, the default is 1. |