# Print output for @column tags ?> RepetitiveTest - Android SDK | Android Developers

Most visited


Recently visited


RepetitiveTest

public abstract @interface RepetitiveTest
implements Annotation

android.test.RepetitiveTest


This @interface is deprecated.
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

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.

Browse this site in English?

You requested a page in English, but your language preference for this site is English.

Would you like to change your language preference and browse this site in English? If you want to change your language preference later, use the language menu at the bottom of each page.