xref: /aosp_15_r20/prebuilts/sdk/30/public/api/android.test.runner.txt (revision 344a7f5ef16c479e7a7f54ee6567a9d112f9e72b)
1*344a7f5eSAndroid Build Coastguard Worker// Signature format: 2.0
2*344a7f5eSAndroid Build Coastguard Workerpackage android.test {
3*344a7f5eSAndroid Build Coastguard Worker
4*344a7f5eSAndroid Build Coastguard Worker  @Deprecated public abstract class ActivityInstrumentationTestCase<T extends android.app.Activity> extends android.test.ActivityTestCase {
5*344a7f5eSAndroid Build Coastguard Worker    ctor @Deprecated public ActivityInstrumentationTestCase(String, Class<T>);
6*344a7f5eSAndroid Build Coastguard Worker    ctor @Deprecated public ActivityInstrumentationTestCase(String, Class<T>, boolean);
7*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public T getActivity();
8*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public void testActivityTestCaseSetUpProperly() throws java.lang.Exception;
9*344a7f5eSAndroid Build Coastguard Worker  }
10*344a7f5eSAndroid Build Coastguard Worker
11*344a7f5eSAndroid Build Coastguard Worker  @Deprecated public abstract class ActivityInstrumentationTestCase2<T extends android.app.Activity> extends android.test.ActivityTestCase {
12*344a7f5eSAndroid Build Coastguard Worker    ctor @Deprecated public ActivityInstrumentationTestCase2(String, Class<T>);
13*344a7f5eSAndroid Build Coastguard Worker    ctor @Deprecated public ActivityInstrumentationTestCase2(Class<T>);
14*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public T getActivity();
15*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public void setActivityInitialTouchMode(boolean);
16*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public void setActivityIntent(android.content.Intent);
17*344a7f5eSAndroid Build Coastguard Worker  }
18*344a7f5eSAndroid Build Coastguard Worker
19*344a7f5eSAndroid Build Coastguard Worker  @Deprecated public abstract class ActivityTestCase extends android.test.InstrumentationTestCase {
20*344a7f5eSAndroid Build Coastguard Worker    ctor @Deprecated public ActivityTestCase();
21*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated protected android.app.Activity getActivity();
22*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated protected void scrubClass(Class<?>) throws java.lang.IllegalAccessException;
23*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated protected void setActivity(android.app.Activity);
24*344a7f5eSAndroid Build Coastguard Worker  }
25*344a7f5eSAndroid Build Coastguard Worker
26*344a7f5eSAndroid Build Coastguard Worker  @Deprecated public abstract class ActivityUnitTestCase<T extends android.app.Activity> extends android.test.ActivityTestCase {
27*344a7f5eSAndroid Build Coastguard Worker    ctor @Deprecated public ActivityUnitTestCase(Class<T>);
28*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public T getActivity();
29*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public int getFinishedActivityRequest();
30*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public int getRequestedOrientation();
31*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public android.content.Intent getStartedActivityIntent();
32*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public int getStartedActivityRequest();
33*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public boolean isFinishCalled();
34*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public void setActivityContext(android.content.Context);
35*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public void setApplication(android.app.Application);
36*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated protected T startActivity(android.content.Intent, android.os.Bundle, Object);
37*344a7f5eSAndroid Build Coastguard Worker  }
38*344a7f5eSAndroid Build Coastguard Worker
39*344a7f5eSAndroid Build Coastguard Worker  @Deprecated public class AndroidTestRunner extends junit.runner.BaseTestRunner {
40*344a7f5eSAndroid Build Coastguard Worker    ctor @Deprecated public AndroidTestRunner();
41*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public void addTestListener(junit.framework.TestListener);
42*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public void clearTestListeners();
43*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated protected junit.framework.TestResult createTestResult();
44*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public java.util.List<junit.framework.TestCase> getTestCases();
45*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public String getTestClassName();
46*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public junit.framework.TestResult getTestResult();
47*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated protected Class loadSuiteClass(String) throws java.lang.ClassNotFoundException;
48*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated protected void runFailed(String);
49*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public void runTest();
50*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public void runTest(junit.framework.TestResult);
51*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public void setContext(android.content.Context);
52*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public void setInstrumentaiton(android.app.Instrumentation);
53*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public void setInstrumentation(android.app.Instrumentation);
54*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public void setTest(junit.framework.Test);
55*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public void setTestClassName(String, String);
56*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public void testEnded(String);
57*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public void testFailed(int, junit.framework.Test, Throwable);
58*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public void testStarted(String);
59*344a7f5eSAndroid Build Coastguard Worker  }
60*344a7f5eSAndroid Build Coastguard Worker
61*344a7f5eSAndroid Build Coastguard Worker  @Deprecated public abstract class ApplicationTestCase<T extends android.app.Application> extends android.test.AndroidTestCase {
62*344a7f5eSAndroid Build Coastguard Worker    ctor @Deprecated public ApplicationTestCase(Class<T>);
63*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated protected final void createApplication();
64*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public T getApplication();
65*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public android.content.Context getSystemContext();
66*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated protected final void terminateApplication();
67*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public final void testApplicationTestCaseSetUpProperly() throws java.lang.Exception;
68*344a7f5eSAndroid Build Coastguard Worker  }
69*344a7f5eSAndroid Build Coastguard Worker
70*344a7f5eSAndroid Build Coastguard Worker  @Deprecated public class AssertionFailedError extends java.lang.Error {
71*344a7f5eSAndroid Build Coastguard Worker    ctor @Deprecated public AssertionFailedError();
72*344a7f5eSAndroid Build Coastguard Worker    ctor @Deprecated public AssertionFailedError(String);
73*344a7f5eSAndroid Build Coastguard Worker  }
74*344a7f5eSAndroid Build Coastguard Worker
75*344a7f5eSAndroid Build Coastguard Worker  @Deprecated public class ComparisonFailure extends android.test.AssertionFailedError {
76*344a7f5eSAndroid Build Coastguard Worker    ctor @Deprecated public ComparisonFailure(String, String, String);
77*344a7f5eSAndroid Build Coastguard Worker  }
78*344a7f5eSAndroid Build Coastguard Worker
79*344a7f5eSAndroid Build Coastguard Worker  @Deprecated public class InstrumentationTestRunner extends android.app.Instrumentation implements android.test.TestSuiteProvider {
80*344a7f5eSAndroid Build Coastguard Worker    ctor @Deprecated public InstrumentationTestRunner();
81*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public junit.framework.TestSuite getAllTests();
82*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated protected android.test.AndroidTestRunner getAndroidTestRunner();
83*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public android.os.Bundle getArguments();
84*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public ClassLoader getLoader();
85*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public junit.framework.TestSuite getTestSuite();
86*344a7f5eSAndroid Build Coastguard Worker    field @Deprecated public static final String REPORT_KEY_NAME_CLASS = "class";
87*344a7f5eSAndroid Build Coastguard Worker    field @Deprecated public static final String REPORT_KEY_NAME_TEST = "test";
88*344a7f5eSAndroid Build Coastguard Worker    field @Deprecated public static final String REPORT_KEY_NUM_CURRENT = "current";
89*344a7f5eSAndroid Build Coastguard Worker    field @Deprecated public static final String REPORT_KEY_NUM_TOTAL = "numtests";
90*344a7f5eSAndroid Build Coastguard Worker    field @Deprecated public static final String REPORT_KEY_STACK = "stack";
91*344a7f5eSAndroid Build Coastguard Worker    field @Deprecated public static final String REPORT_VALUE_ID = "InstrumentationTestRunner";
92*344a7f5eSAndroid Build Coastguard Worker    field @Deprecated public static final int REPORT_VALUE_RESULT_ERROR = -1; // 0xffffffff
93*344a7f5eSAndroid Build Coastguard Worker    field @Deprecated public static final int REPORT_VALUE_RESULT_FAILURE = -2; // 0xfffffffe
94*344a7f5eSAndroid Build Coastguard Worker    field @Deprecated public static final int REPORT_VALUE_RESULT_OK = 0; // 0x0
95*344a7f5eSAndroid Build Coastguard Worker    field @Deprecated public static final int REPORT_VALUE_RESULT_START = 1; // 0x1
96*344a7f5eSAndroid Build Coastguard Worker  }
97*344a7f5eSAndroid Build Coastguard Worker
98*344a7f5eSAndroid Build Coastguard Worker  @Deprecated public class IsolatedContext extends android.content.ContextWrapper {
99*344a7f5eSAndroid Build Coastguard Worker    ctor @Deprecated public IsolatedContext(android.content.ContentResolver, android.content.Context);
100*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public java.util.List<android.content.Intent> getAndClearBroadcastIntents();
101*344a7f5eSAndroid Build Coastguard Worker  }
102*344a7f5eSAndroid Build Coastguard Worker
103*344a7f5eSAndroid Build Coastguard Worker  public class LoaderTestCase extends android.test.AndroidTestCase {
104*344a7f5eSAndroid Build Coastguard Worker    ctor public LoaderTestCase();
105*344a7f5eSAndroid Build Coastguard Worker    method public <T> T getLoaderResultSynchronously(android.content.Loader<T>);
106*344a7f5eSAndroid Build Coastguard Worker  }
107*344a7f5eSAndroid Build Coastguard Worker
108*344a7f5eSAndroid Build Coastguard Worker  @Deprecated public final class MoreAsserts {
109*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public static void assertAssignableFrom(Class<?>, Object);
110*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public static void assertAssignableFrom(Class<?>, Class<?>);
111*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public static java.util.regex.MatchResult assertContainsRegex(String, String, String);
112*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public static java.util.regex.MatchResult assertContainsRegex(String, String);
113*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public static void assertContentsInAnyOrder(String, Iterable<?>, java.lang.Object...);
114*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public static void assertContentsInAnyOrder(Iterable<?>, java.lang.Object...);
115*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public static void assertContentsInOrder(String, Iterable<?>, java.lang.Object...);
116*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public static void assertContentsInOrder(Iterable<?>, java.lang.Object...);
117*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public static void assertEmpty(String, Iterable<?>);
118*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public static void assertEmpty(Iterable<?>);
119*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public static void assertEmpty(String, java.util.Map<?,?>);
120*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public static void assertEmpty(java.util.Map<?,?>);
121*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public static void assertEquals(String, byte[], byte[]);
122*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public static void assertEquals(byte[], byte[]);
123*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public static void assertEquals(String, int[], int[]);
124*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public static void assertEquals(int[], int[]);
125*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public static void assertEquals(String, double[], double[]);
126*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public static void assertEquals(double[], double[]);
127*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public static void assertEquals(String, Object[], Object[]);
128*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public static void assertEquals(Object[], Object[]);
129*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public static void assertEquals(String, java.util.Set<?>, java.util.Set<?>);
130*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public static void assertEquals(java.util.Set<?>, java.util.Set<?>);
131*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public static java.util.regex.MatchResult assertMatchesRegex(String, String, String);
132*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public static java.util.regex.MatchResult assertMatchesRegex(String, String);
133*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public static void assertNotContainsRegex(String, String, String);
134*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public static void assertNotContainsRegex(String, String);
135*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public static void assertNotEmpty(String, Iterable<?>);
136*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public static void assertNotEmpty(Iterable<?>);
137*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public static void assertNotEmpty(String, java.util.Map<?,?>);
138*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public static void assertNotEmpty(java.util.Map<?,?>);
139*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public static void assertNotEqual(String, Object, Object);
140*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public static void assertNotEqual(Object, Object);
141*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public static void assertNotMatchesRegex(String, String, String);
142*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public static void assertNotMatchesRegex(String, String);
143*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public static void checkEqualsAndHashCodeMethods(String, Object, Object, boolean);
144*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public static void checkEqualsAndHashCodeMethods(Object, Object, boolean);
145*344a7f5eSAndroid Build Coastguard Worker  }
146*344a7f5eSAndroid Build Coastguard Worker
147*344a7f5eSAndroid Build Coastguard Worker  @Deprecated public abstract class ProviderTestCase<T extends android.content.ContentProvider> extends android.test.InstrumentationTestCase {
148*344a7f5eSAndroid Build Coastguard Worker    ctor @Deprecated public ProviderTestCase(Class<T>, String);
149*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public android.test.mock.MockContentResolver getMockContentResolver();
150*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public android.test.IsolatedContext getMockContext();
151*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public T getProvider();
152*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public static <T extends android.content.ContentProvider> android.content.ContentResolver newResolverWithContentProviderFromSql(android.content.Context, Class<T>, String, String, int, String) throws java.lang.IllegalAccessException, java.lang.InstantiationException;
153*344a7f5eSAndroid Build Coastguard Worker  }
154*344a7f5eSAndroid Build Coastguard Worker
155*344a7f5eSAndroid Build Coastguard Worker  public abstract class ProviderTestCase2<T extends android.content.ContentProvider> extends android.test.AndroidTestCase {
156*344a7f5eSAndroid Build Coastguard Worker    ctor public ProviderTestCase2(Class<T>, String);
157*344a7f5eSAndroid Build Coastguard Worker    method public android.test.mock.MockContentResolver getMockContentResolver();
158*344a7f5eSAndroid Build Coastguard Worker    method public android.test.IsolatedContext getMockContext();
159*344a7f5eSAndroid Build Coastguard Worker    method public T getProvider();
160*344a7f5eSAndroid Build Coastguard Worker    method public static <T extends android.content.ContentProvider> android.content.ContentResolver newResolverWithContentProviderFromSql(android.content.Context, String, Class<T>, String, String, int, String) throws java.lang.IllegalAccessException, java.lang.InstantiationException;
161*344a7f5eSAndroid Build Coastguard Worker  }
162*344a7f5eSAndroid Build Coastguard Worker
163*344a7f5eSAndroid Build Coastguard Worker  @Deprecated public class RenamingDelegatingContext extends android.content.ContextWrapper {
164*344a7f5eSAndroid Build Coastguard Worker    ctor @Deprecated public RenamingDelegatingContext(android.content.Context, String);
165*344a7f5eSAndroid Build Coastguard Worker    ctor @Deprecated public RenamingDelegatingContext(android.content.Context, android.content.Context, String);
166*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public String getDatabasePrefix();
167*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public void makeExistingFilesAndDbsAccessible();
168*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public static <T extends android.content.ContentProvider> T providerWithRenamedContext(Class<T>, android.content.Context, String) throws java.lang.IllegalAccessException, java.lang.InstantiationException;
169*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public static <T extends android.content.ContentProvider> T providerWithRenamedContext(Class<T>, android.content.Context, String, boolean) throws java.lang.IllegalAccessException, java.lang.InstantiationException;
170*344a7f5eSAndroid Build Coastguard Worker  }
171*344a7f5eSAndroid Build Coastguard Worker
172*344a7f5eSAndroid Build Coastguard Worker  @Deprecated public abstract class ServiceTestCase<T extends android.app.Service> extends android.test.AndroidTestCase {
173*344a7f5eSAndroid Build Coastguard Worker    ctor @Deprecated public ServiceTestCase(Class<T>);
174*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated protected android.os.IBinder bindService(android.content.Intent);
175*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public android.app.Application getApplication();
176*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public T getService();
177*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public android.content.Context getSystemContext();
178*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public void setApplication(android.app.Application);
179*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated protected void setupService();
180*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated protected void shutdownService();
181*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated protected void startService(android.content.Intent);
182*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public void testServiceTestCaseSetUpProperly() throws java.lang.Exception;
183*344a7f5eSAndroid Build Coastguard Worker  }
184*344a7f5eSAndroid Build Coastguard Worker
185*344a7f5eSAndroid Build Coastguard Worker  @Deprecated public abstract class SingleLaunchActivityTestCase<T extends android.app.Activity> extends android.test.InstrumentationTestCase {
186*344a7f5eSAndroid Build Coastguard Worker    ctor @Deprecated public SingleLaunchActivityTestCase(String, Class<T>);
187*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public T getActivity();
188*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public void testActivityTestCaseSetUpProperly() throws java.lang.Exception;
189*344a7f5eSAndroid Build Coastguard Worker  }
190*344a7f5eSAndroid Build Coastguard Worker
191*344a7f5eSAndroid Build Coastguard Worker  @Deprecated public class SyncBaseInstrumentation extends android.test.InstrumentationTestCase {
192*344a7f5eSAndroid Build Coastguard Worker    ctor @Deprecated public SyncBaseInstrumentation();
193*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated protected void cancelSyncsandDisableAutoSync();
194*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated protected void syncProvider(android.net.Uri, String, String) throws java.lang.Exception;
195*344a7f5eSAndroid Build Coastguard Worker  }
196*344a7f5eSAndroid Build Coastguard Worker
197*344a7f5eSAndroid Build Coastguard Worker  @Deprecated public interface TestSuiteProvider {
198*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public junit.framework.TestSuite getTestSuite();
199*344a7f5eSAndroid Build Coastguard Worker  }
200*344a7f5eSAndroid Build Coastguard Worker
201*344a7f5eSAndroid Build Coastguard Worker  @Deprecated public class TouchUtils {
202*344a7f5eSAndroid Build Coastguard Worker    ctor @Deprecated public TouchUtils();
203*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public static void clickView(android.test.InstrumentationTestCase, android.view.View);
204*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public static void drag(android.test.ActivityInstrumentationTestCase, float, float, float, float, int);
205*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public static void drag(android.test.InstrumentationTestCase, float, float, float, float, int);
206*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public static void dragQuarterScreenDown(android.test.ActivityInstrumentationTestCase);
207*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public static void dragQuarterScreenDown(android.test.InstrumentationTestCase, android.app.Activity);
208*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public static void dragQuarterScreenUp(android.test.ActivityInstrumentationTestCase);
209*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public static void dragQuarterScreenUp(android.test.InstrumentationTestCase, android.app.Activity);
210*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public static int dragViewBy(android.test.ActivityInstrumentationTestCase, android.view.View, int, int, int);
211*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public static int dragViewBy(android.test.InstrumentationTestCase, android.view.View, int, int, int);
212*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public static int dragViewTo(android.test.ActivityInstrumentationTestCase, android.view.View, int, int, int);
213*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public static int dragViewTo(android.test.InstrumentationTestCase, android.view.View, int, int, int);
214*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public static void dragViewToBottom(android.test.ActivityInstrumentationTestCase, android.view.View);
215*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public static void dragViewToBottom(android.test.InstrumentationTestCase, android.app.Activity, android.view.View);
216*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public static void dragViewToBottom(android.test.ActivityInstrumentationTestCase, android.view.View, int);
217*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public static void dragViewToBottom(android.test.InstrumentationTestCase, android.app.Activity, android.view.View, int);
218*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public static void dragViewToTop(android.test.ActivityInstrumentationTestCase, android.view.View);
219*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public static void dragViewToTop(android.test.ActivityInstrumentationTestCase, android.view.View, int);
220*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public static void dragViewToTop(android.test.InstrumentationTestCase, android.view.View);
221*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public static void dragViewToTop(android.test.InstrumentationTestCase, android.view.View, int);
222*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public static int dragViewToX(android.test.ActivityInstrumentationTestCase, android.view.View, int, int);
223*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public static int dragViewToX(android.test.InstrumentationTestCase, android.view.View, int, int);
224*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public static int dragViewToY(android.test.ActivityInstrumentationTestCase, android.view.View, int, int);
225*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public static int dragViewToY(android.test.InstrumentationTestCase, android.view.View, int, int);
226*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public static void longClickView(android.test.ActivityInstrumentationTestCase, android.view.View);
227*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public static void longClickView(android.test.InstrumentationTestCase, android.view.View);
228*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public static void scrollToBottom(android.test.ActivityInstrumentationTestCase, android.view.ViewGroup);
229*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public static void scrollToBottom(android.test.InstrumentationTestCase, android.app.Activity, android.view.ViewGroup);
230*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public static void scrollToTop(android.test.ActivityInstrumentationTestCase, android.view.ViewGroup);
231*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public static void scrollToTop(android.test.InstrumentationTestCase, android.app.Activity, android.view.ViewGroup);
232*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public static void tapView(android.test.InstrumentationTestCase, android.view.View);
233*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public static void touchAndCancelView(android.test.InstrumentationTestCase, android.view.View);
234*344a7f5eSAndroid Build Coastguard Worker  }
235*344a7f5eSAndroid Build Coastguard Worker
236*344a7f5eSAndroid Build Coastguard Worker  @Deprecated public class ViewAsserts {
237*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public static void assertBaselineAligned(android.view.View, android.view.View);
238*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public static void assertBottomAligned(android.view.View, android.view.View);
239*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public static void assertBottomAligned(android.view.View, android.view.View, int);
240*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public static void assertGroupContains(android.view.ViewGroup, android.view.View);
241*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public static void assertGroupIntegrity(android.view.ViewGroup);
242*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public static void assertGroupNotContains(android.view.ViewGroup, android.view.View);
243*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public static void assertHasScreenCoordinates(android.view.View, android.view.View, int, int);
244*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public static void assertHorizontalCenterAligned(android.view.View, android.view.View);
245*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public static void assertLeftAligned(android.view.View, android.view.View);
246*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public static void assertLeftAligned(android.view.View, android.view.View, int);
247*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public static void assertOffScreenAbove(android.view.View, android.view.View);
248*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public static void assertOffScreenBelow(android.view.View, android.view.View);
249*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public static void assertOnScreen(android.view.View, android.view.View);
250*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public static void assertRightAligned(android.view.View, android.view.View);
251*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public static void assertRightAligned(android.view.View, android.view.View, int);
252*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public static void assertTopAligned(android.view.View, android.view.View);
253*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public static void assertTopAligned(android.view.View, android.view.View, int);
254*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public static void assertVerticalCenterAligned(android.view.View, android.view.View);
255*344a7f5eSAndroid Build Coastguard Worker  }
256*344a7f5eSAndroid Build Coastguard Worker
257*344a7f5eSAndroid Build Coastguard Worker}
258*344a7f5eSAndroid Build Coastguard Worker
259*344a7f5eSAndroid Build Coastguard Workerpackage android.test.suitebuilder {
260*344a7f5eSAndroid Build Coastguard Worker
261*344a7f5eSAndroid Build Coastguard Worker  @Deprecated public class TestMethod {
262*344a7f5eSAndroid Build Coastguard Worker    ctor @Deprecated public TestMethod(java.lang.reflect.Method, Class<? extends junit.framework.TestCase>);
263*344a7f5eSAndroid Build Coastguard Worker    ctor @Deprecated public TestMethod(String, Class<? extends junit.framework.TestCase>);
264*344a7f5eSAndroid Build Coastguard Worker    ctor @Deprecated public TestMethod(junit.framework.TestCase);
265*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public junit.framework.TestCase createTest() throws java.lang.IllegalAccessException, java.lang.InstantiationException, java.lang.reflect.InvocationTargetException;
266*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public <T extends java.lang.annotation.Annotation> T getAnnotation(Class<T>);
267*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public Class<? extends junit.framework.TestCase> getEnclosingClass();
268*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public String getEnclosingClassname();
269*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public String getName();
270*344a7f5eSAndroid Build Coastguard Worker  }
271*344a7f5eSAndroid Build Coastguard Worker
272*344a7f5eSAndroid Build Coastguard Worker  @Deprecated public class TestSuiteBuilder {
273*344a7f5eSAndroid Build Coastguard Worker    ctor @Deprecated public TestSuiteBuilder(Class);
274*344a7f5eSAndroid Build Coastguard Worker    ctor @Deprecated public TestSuiteBuilder(String, ClassLoader);
275*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public final junit.framework.TestSuite build();
276*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public android.test.suitebuilder.TestSuiteBuilder excludePackages(java.lang.String...);
277*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated protected String getSuiteName();
278*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public final android.test.suitebuilder.TestSuiteBuilder includeAllPackagesUnderHere();
279*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public android.test.suitebuilder.TestSuiteBuilder includePackages(java.lang.String...);
280*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public android.test.suitebuilder.TestSuiteBuilder named(String);
281*344a7f5eSAndroid Build Coastguard Worker  }
282*344a7f5eSAndroid Build Coastguard Worker
283*344a7f5eSAndroid Build Coastguard Worker  @Deprecated public static class TestSuiteBuilder.FailedToCreateTests extends junit.framework.TestCase {
284*344a7f5eSAndroid Build Coastguard Worker    ctor @Deprecated public TestSuiteBuilder.FailedToCreateTests(Exception);
285*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public void testSuiteConstructionFailed();
286*344a7f5eSAndroid Build Coastguard Worker  }
287*344a7f5eSAndroid Build Coastguard Worker
288*344a7f5eSAndroid Build Coastguard Worker}
289*344a7f5eSAndroid Build Coastguard Worker
290*344a7f5eSAndroid Build Coastguard Workerpackage junit.runner {
291*344a7f5eSAndroid Build Coastguard Worker
292*344a7f5eSAndroid Build Coastguard Worker  public abstract class BaseTestRunner implements junit.framework.TestListener {
293*344a7f5eSAndroid Build Coastguard Worker    ctor public BaseTestRunner();
294*344a7f5eSAndroid Build Coastguard Worker    method public void addError(junit.framework.Test, Throwable);
295*344a7f5eSAndroid Build Coastguard Worker    method public void addFailure(junit.framework.Test, junit.framework.AssertionFailedError);
296*344a7f5eSAndroid Build Coastguard Worker    method protected void clearStatus();
297*344a7f5eSAndroid Build Coastguard Worker    method public String elapsedTimeAsString(long);
298*344a7f5eSAndroid Build Coastguard Worker    method public void endTest(junit.framework.Test);
299*344a7f5eSAndroid Build Coastguard Worker    method public String extractClassName(String);
300*344a7f5eSAndroid Build Coastguard Worker    method public static String getFilteredTrace(Throwable);
301*344a7f5eSAndroid Build Coastguard Worker    method public static String getFilteredTrace(String);
302*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public junit.runner.TestSuiteLoader getLoader();
303*344a7f5eSAndroid Build Coastguard Worker    method public static String getPreference(String);
304*344a7f5eSAndroid Build Coastguard Worker    method public static int getPreference(String, int);
305*344a7f5eSAndroid Build Coastguard Worker    method protected static java.util.Properties getPreferences();
306*344a7f5eSAndroid Build Coastguard Worker    method public junit.framework.Test getTest(String);
307*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public static boolean inVAJava();
308*344a7f5eSAndroid Build Coastguard Worker    method protected Class<?> loadSuiteClass(String) throws java.lang.ClassNotFoundException;
309*344a7f5eSAndroid Build Coastguard Worker    method protected String processArguments(String[]);
310*344a7f5eSAndroid Build Coastguard Worker    method protected abstract void runFailed(String);
311*344a7f5eSAndroid Build Coastguard Worker    method public static void savePreferences() throws java.io.IOException;
312*344a7f5eSAndroid Build Coastguard Worker    method public void setLoading(boolean);
313*344a7f5eSAndroid Build Coastguard Worker    method public void setPreference(String, String);
314*344a7f5eSAndroid Build Coastguard Worker    method protected static void setPreferences(java.util.Properties);
315*344a7f5eSAndroid Build Coastguard Worker    method protected static boolean showStackRaw();
316*344a7f5eSAndroid Build Coastguard Worker    method public void startTest(junit.framework.Test);
317*344a7f5eSAndroid Build Coastguard Worker    method public abstract void testEnded(String);
318*344a7f5eSAndroid Build Coastguard Worker    method public abstract void testFailed(int, junit.framework.Test, Throwable);
319*344a7f5eSAndroid Build Coastguard Worker    method public abstract void testStarted(String);
320*344a7f5eSAndroid Build Coastguard Worker    method public static String truncate(String);
321*344a7f5eSAndroid Build Coastguard Worker    method protected boolean useReloadingTestSuiteLoader();
322*344a7f5eSAndroid Build Coastguard Worker    field public static final String SUITE_METHODNAME = "suite";
323*344a7f5eSAndroid Build Coastguard Worker  }
324*344a7f5eSAndroid Build Coastguard Worker
325*344a7f5eSAndroid Build Coastguard Worker  public interface TestSuiteLoader {
326*344a7f5eSAndroid Build Coastguard Worker    method public Class load(String) throws java.lang.ClassNotFoundException;
327*344a7f5eSAndroid Build Coastguard Worker    method public Class reload(Class) throws java.lang.ClassNotFoundException;
328*344a7f5eSAndroid Build Coastguard Worker  }
329*344a7f5eSAndroid Build Coastguard Worker
330*344a7f5eSAndroid Build Coastguard Worker  public class Version {
331*344a7f5eSAndroid Build Coastguard Worker    method public static String id();
332*344a7f5eSAndroid Build Coastguard Worker  }
333*344a7f5eSAndroid Build Coastguard Worker
334*344a7f5eSAndroid Build Coastguard Worker}
335*344a7f5eSAndroid Build Coastguard Worker
336