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)
This commit is contained in:
parent
be8881da3b
commit
8b444f63b7
@ -1568,7 +1568,6 @@ Landroid/telephony/TelephonyManager$MultiSimVariants;->values()[Landroid/telepho
|
||||
Landroid/test/AndroidTestCase;->getTestContext()Landroid/content/Context;
|
||||
Landroid/test/AndroidTestCase;->setTestContext(Landroid/content/Context;)V
|
||||
Landroid/test/InstrumentationTestCase;->runMethod(Ljava/lang/reflect/Method;I)V
|
||||
Landroid/test/RepetitiveTest;->numIterations()I
|
||||
Landroid/util/Singleton;-><init>()V
|
||||
Landroid/util/XmlPullAttributes;-><init>(Lorg/xmlpull/v1/XmlPullParser;)V
|
||||
Landroid/util/XmlPullAttributes;->mParser:Lorg/xmlpull/v1/XmlPullParser;
|
||||
|
@ -48,6 +48,9 @@ package android.test {
|
||||
method public abstract void startTiming(boolean);
|
||||
}
|
||||
|
||||
public abstract deprecated class RepetitiveTest implements java.lang.annotation.Annotation {
|
||||
}
|
||||
|
||||
public abstract deprecated class UiThreadTest implements java.lang.annotation.Annotation {
|
||||
}
|
||||
|
||||
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user