RepetitiveTest


@Target([AnnotationTarget.FUNCTION, AnnotationTarget.PROPERTY_GETTER, AnnotationTarget.PROPERTY_SETTER]) class RepetitiveTest
android.test.RepetitiveTest

This annotation can be used on an android.test.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 constructors
RepetitiveTest(numIterations: Int)

This annotation can be used on an android.test.InstrumentationTestCase's test methods.

Properties
Int

Indicates the number of times a test case should be run.

Public constructors

RepetitiveTest

RepetitiveTest(numIterations: Int)

Deprecated: New tests should be written using the Android Testing Support Library.

This annotation can be used on an android.test.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.

Properties

numIterations

val numIterations: Int

Deprecated: Deprecated in Java.

Indicates the number of times a test case should be run.

Return
Int The total number of iterations, the default is 1.