summaryrefslogtreecommitdiff
path: root/test-base/src/android/test/RepetitiveTest.java
diff options
context:
space:
mode:
authorSundong Ahn <sundongahn@google.com>2019-01-16 12:19:20 +0900
committerSundong Ahn <sundongahn@google.com>2019-01-16 19:26:54 +0900
commit8b444f63b78a11b3699d38dd0811e4dc0d96fa27 (patch)
tree7c3c6efdf69c60b73086f98bf66d81bf3cb09ccd /test-base/src/android/test/RepetitiveTest.java
parentbe8881da3ba92405522f80fad1d93459e899dea2 (diff)
Add public API
RepetitiveTest class is added to public API in android.test.base Bug: 110404779 Test: m -j Change-Id: I80e772354c8cabf30ef513701cb7850590926dca Merged-In: I80e772354c8cabf30ef513701cb7850590926dca (cherry picked from commit 78db121770e6619661ff195f33ec0ff3673219f5)
Diffstat (limited to 'test-base/src/android/test/RepetitiveTest.java')
-rw-r--r--test-base/src/android/test/RepetitiveTest.java6
1 files changed, 4 insertions, 2 deletions
diff --git a/test-base/src/android/test/RepetitiveTest.java b/test-base/src/android/test/RepetitiveTest.java
index 6a7130e68e61..13e89d2d92a6 100644
--- a/test-base/src/android/test/RepetitiveTest.java
+++ b/test-base/src/android/test/RepetitiveTest.java
@@ -26,8 +26,10 @@ import java.lang.annotation.Target;
* When the annotation is present, the test method is executed the number of times specified by
* numIterations and defaults to 1.
*
- * {@hide} Not needed for public API.
+ * @deprecated New tests should be written using the
+ * <a href="{@docRoot}tools/testing-support-library/index.html">Android Testing Support Library</a>.
*/
+@Deprecated
@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
public @interface RepetitiveTest {
@@ -37,4 +39,4 @@ public @interface RepetitiveTest {
* @return The total number of iterations, the default is 1.
*/
int numIterations() default 1;
-} \ No newline at end of file
+}