xref: /aosp_15_r20/prebuilts/sdk/31/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 protected void addTestListener(junit.framework.TestListener);
82*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public junit.framework.TestSuite getAllTests();
83*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated protected android.test.AndroidTestRunner getAndroidTestRunner();
84*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public android.os.Bundle getArguments();
85*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public ClassLoader getLoader();
86*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public junit.framework.TestSuite getTestSuite();
87*344a7f5eSAndroid Build Coastguard Worker    field @Deprecated public static final String REPORT_KEY_NAME_CLASS = "class";
88*344a7f5eSAndroid Build Coastguard Worker    field @Deprecated public static final String REPORT_KEY_NAME_TEST = "test";
89*344a7f5eSAndroid Build Coastguard Worker    field @Deprecated public static final String REPORT_KEY_NUM_CURRENT = "current";
90*344a7f5eSAndroid Build Coastguard Worker    field @Deprecated public static final String REPORT_KEY_NUM_TOTAL = "numtests";
91*344a7f5eSAndroid Build Coastguard Worker    field @Deprecated public static final String REPORT_KEY_STACK = "stack";
92*344a7f5eSAndroid Build Coastguard Worker    field @Deprecated public static final String REPORT_VALUE_ID = "InstrumentationTestRunner";
93*344a7f5eSAndroid Build Coastguard Worker    field @Deprecated public static final int REPORT_VALUE_RESULT_ERROR = -1; // 0xffffffff
94*344a7f5eSAndroid Build Coastguard Worker    field @Deprecated public static final int REPORT_VALUE_RESULT_FAILURE = -2; // 0xfffffffe
95*344a7f5eSAndroid Build Coastguard Worker    field @Deprecated public static final int REPORT_VALUE_RESULT_OK = 0; // 0x0
96*344a7f5eSAndroid Build Coastguard Worker    field @Deprecated public static final int REPORT_VALUE_RESULT_START = 1; // 0x1
97*344a7f5eSAndroid Build Coastguard Worker  }
98*344a7f5eSAndroid Build Coastguard Worker
99*344a7f5eSAndroid Build Coastguard Worker  @Deprecated public class IsolatedContext extends android.content.ContextWrapper {
100*344a7f5eSAndroid Build Coastguard Worker    ctor @Deprecated public IsolatedContext(android.content.ContentResolver, android.content.Context);
101*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public java.util.List<android.content.Intent> getAndClearBroadcastIntents();
102*344a7f5eSAndroid Build Coastguard Worker  }
103*344a7f5eSAndroid Build Coastguard Worker
104*344a7f5eSAndroid Build Coastguard Worker  @Deprecated public class LaunchPerformanceBase extends android.app.Instrumentation {
105*344a7f5eSAndroid Build Coastguard Worker    ctor @Deprecated public LaunchPerformanceBase();
106*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated protected void LaunchApp();
107*344a7f5eSAndroid Build Coastguard Worker    field @Deprecated protected android.content.Intent mIntent;
108*344a7f5eSAndroid Build Coastguard Worker    field @Deprecated protected android.os.Bundle mResults;
109*344a7f5eSAndroid Build Coastguard Worker  }
110*344a7f5eSAndroid Build Coastguard Worker
111*344a7f5eSAndroid Build Coastguard Worker  public class LoaderTestCase extends android.test.AndroidTestCase {
112*344a7f5eSAndroid Build Coastguard Worker    ctor public LoaderTestCase();
113*344a7f5eSAndroid Build Coastguard Worker    method public <T> T getLoaderResultSynchronously(android.content.Loader<T>);
114*344a7f5eSAndroid Build Coastguard Worker  }
115*344a7f5eSAndroid Build Coastguard Worker
116*344a7f5eSAndroid Build Coastguard Worker  @Deprecated public final class MoreAsserts {
117*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public static void assertAssignableFrom(Class<?>, Object);
118*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public static void assertAssignableFrom(Class<?>, Class<?>);
119*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public static java.util.regex.MatchResult assertContainsRegex(String, String, String);
120*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public static java.util.regex.MatchResult assertContainsRegex(String, String);
121*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public static void assertContentsInAnyOrder(String, Iterable<?>, java.lang.Object...);
122*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public static void assertContentsInAnyOrder(Iterable<?>, java.lang.Object...);
123*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public static void assertContentsInOrder(String, Iterable<?>, java.lang.Object...);
124*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public static void assertContentsInOrder(Iterable<?>, java.lang.Object...);
125*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public static void assertEmpty(String, Iterable<?>);
126*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public static void assertEmpty(Iterable<?>);
127*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public static void assertEmpty(String, java.util.Map<?,?>);
128*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public static void assertEmpty(java.util.Map<?,?>);
129*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public static void assertEquals(String, byte[], byte[]);
130*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public static void assertEquals(byte[], byte[]);
131*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public static void assertEquals(String, int[], int[]);
132*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public static void assertEquals(int[], int[]);
133*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public static void assertEquals(String, double[], double[]);
134*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public static void assertEquals(double[], double[]);
135*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public static void assertEquals(String, Object[], Object[]);
136*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public static void assertEquals(Object[], Object[]);
137*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public static void assertEquals(String, java.util.Set<?>, java.util.Set<?>);
138*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public static void assertEquals(java.util.Set<?>, java.util.Set<?>);
139*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public static java.util.regex.MatchResult assertMatchesRegex(String, String, String);
140*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public static java.util.regex.MatchResult assertMatchesRegex(String, String);
141*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public static void assertNotContainsRegex(String, String, String);
142*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public static void assertNotContainsRegex(String, String);
143*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public static void assertNotEmpty(String, Iterable<?>);
144*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public static void assertNotEmpty(Iterable<?>);
145*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public static void assertNotEmpty(String, java.util.Map<?,?>);
146*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public static void assertNotEmpty(java.util.Map<?,?>);
147*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public static void assertNotEqual(String, Object, Object);
148*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public static void assertNotEqual(Object, Object);
149*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public static void assertNotMatchesRegex(String, String, String);
150*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public static void assertNotMatchesRegex(String, String);
151*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public static void checkEqualsAndHashCodeMethods(String, Object, Object, boolean);
152*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public static void checkEqualsAndHashCodeMethods(Object, Object, boolean);
153*344a7f5eSAndroid Build Coastguard Worker  }
154*344a7f5eSAndroid Build Coastguard Worker
155*344a7f5eSAndroid Build Coastguard Worker  @Deprecated public abstract class ProviderTestCase<T extends android.content.ContentProvider> extends android.test.InstrumentationTestCase {
156*344a7f5eSAndroid Build Coastguard Worker    ctor @Deprecated public ProviderTestCase(Class<T>, String);
157*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public android.test.mock.MockContentResolver getMockContentResolver();
158*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public android.test.IsolatedContext getMockContext();
159*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public T getProvider();
160*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;
161*344a7f5eSAndroid Build Coastguard Worker  }
162*344a7f5eSAndroid Build Coastguard Worker
163*344a7f5eSAndroid Build Coastguard Worker  public abstract class ProviderTestCase2<T extends android.content.ContentProvider> extends android.test.AndroidTestCase {
164*344a7f5eSAndroid Build Coastguard Worker    ctor public ProviderTestCase2(Class<T>, String);
165*344a7f5eSAndroid Build Coastguard Worker    method public android.test.mock.MockContentResolver getMockContentResolver();
166*344a7f5eSAndroid Build Coastguard Worker    method public android.test.IsolatedContext getMockContext();
167*344a7f5eSAndroid Build Coastguard Worker    method public T getProvider();
168*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;
169*344a7f5eSAndroid Build Coastguard Worker  }
170*344a7f5eSAndroid Build Coastguard Worker
171*344a7f5eSAndroid Build Coastguard Worker  @Deprecated public class RenamingDelegatingContext extends android.content.ContextWrapper {
172*344a7f5eSAndroid Build Coastguard Worker    ctor @Deprecated public RenamingDelegatingContext(android.content.Context, String);
173*344a7f5eSAndroid Build Coastguard Worker    ctor @Deprecated public RenamingDelegatingContext(android.content.Context, android.content.Context, String);
174*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public String getDatabasePrefix();
175*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public void makeExistingFilesAndDbsAccessible();
176*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;
177*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;
178*344a7f5eSAndroid Build Coastguard Worker  }
179*344a7f5eSAndroid Build Coastguard Worker
180*344a7f5eSAndroid Build Coastguard Worker  @Deprecated public abstract class ServiceTestCase<T extends android.app.Service> extends android.test.AndroidTestCase {
181*344a7f5eSAndroid Build Coastguard Worker    ctor @Deprecated public ServiceTestCase(Class<T>);
182*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated protected android.os.IBinder bindService(android.content.Intent);
183*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public android.app.Application getApplication();
184*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public T getService();
185*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public android.content.Context getSystemContext();
186*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public void setApplication(android.app.Application);
187*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated protected void setupService();
188*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated protected void shutdownService();
189*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated protected void startService(android.content.Intent);
190*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public void testServiceTestCaseSetUpProperly() throws java.lang.Exception;
191*344a7f5eSAndroid Build Coastguard Worker  }
192*344a7f5eSAndroid Build Coastguard Worker
193*344a7f5eSAndroid Build Coastguard Worker  @Deprecated public abstract class SingleLaunchActivityTestCase<T extends android.app.Activity> extends android.test.InstrumentationTestCase {
194*344a7f5eSAndroid Build Coastguard Worker    ctor @Deprecated public SingleLaunchActivityTestCase(String, Class<T>);
195*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public T getActivity();
196*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public void testActivityTestCaseSetUpProperly() throws java.lang.Exception;
197*344a7f5eSAndroid Build Coastguard Worker  }
198*344a7f5eSAndroid Build Coastguard Worker
199*344a7f5eSAndroid Build Coastguard Worker  @Deprecated public class SyncBaseInstrumentation extends android.test.InstrumentationTestCase {
200*344a7f5eSAndroid Build Coastguard Worker    ctor @Deprecated public SyncBaseInstrumentation();
201*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated protected void cancelSyncsandDisableAutoSync();
202*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated protected void syncProvider(android.net.Uri, String, String) throws java.lang.Exception;
203*344a7f5eSAndroid Build Coastguard Worker  }
204*344a7f5eSAndroid Build Coastguard Worker
205*344a7f5eSAndroid Build Coastguard Worker  @Deprecated public interface TestSuiteProvider {
206*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public junit.framework.TestSuite getTestSuite();
207*344a7f5eSAndroid Build Coastguard Worker  }
208*344a7f5eSAndroid Build Coastguard Worker
209*344a7f5eSAndroid Build Coastguard Worker  @Deprecated public class TouchUtils {
210*344a7f5eSAndroid Build Coastguard Worker    ctor @Deprecated public TouchUtils();
211*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public static void clickView(android.test.InstrumentationTestCase, android.view.View);
212*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public static void drag(android.test.ActivityInstrumentationTestCase, float, float, float, float, int);
213*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public static void drag(android.test.InstrumentationTestCase, float, float, float, float, int);
214*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public static void dragQuarterScreenDown(android.test.ActivityInstrumentationTestCase);
215*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public static void dragQuarterScreenDown(android.test.InstrumentationTestCase, android.app.Activity);
216*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public static void dragQuarterScreenUp(android.test.ActivityInstrumentationTestCase);
217*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public static void dragQuarterScreenUp(android.test.InstrumentationTestCase, android.app.Activity);
218*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public static int dragViewBy(android.test.ActivityInstrumentationTestCase, android.view.View, int, int, int);
219*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public static int dragViewBy(android.test.InstrumentationTestCase, android.view.View, int, int, int);
220*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public static int dragViewTo(android.test.ActivityInstrumentationTestCase, android.view.View, int, int, int);
221*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public static int dragViewTo(android.test.InstrumentationTestCase, android.view.View, int, int, int);
222*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public static void dragViewToBottom(android.test.ActivityInstrumentationTestCase, android.view.View);
223*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public static void dragViewToBottom(android.test.InstrumentationTestCase, android.app.Activity, android.view.View);
224*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public static void dragViewToBottom(android.test.ActivityInstrumentationTestCase, android.view.View, int);
225*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public static void dragViewToBottom(android.test.InstrumentationTestCase, android.app.Activity, android.view.View, int);
226*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public static void dragViewToTop(android.test.ActivityInstrumentationTestCase, android.view.View);
227*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public static void dragViewToTop(android.test.ActivityInstrumentationTestCase, android.view.View, int);
228*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public static void dragViewToTop(android.test.InstrumentationTestCase, android.view.View);
229*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public static void dragViewToTop(android.test.InstrumentationTestCase, android.view.View, int);
230*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public static int dragViewToX(android.test.ActivityInstrumentationTestCase, android.view.View, int, int);
231*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public static int dragViewToX(android.test.InstrumentationTestCase, android.view.View, int, int);
232*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public static int dragViewToY(android.test.ActivityInstrumentationTestCase, android.view.View, int, int);
233*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public static int dragViewToY(android.test.InstrumentationTestCase, android.view.View, int, int);
234*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public static void longClickView(android.test.ActivityInstrumentationTestCase, android.view.View);
235*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public static void longClickView(android.test.InstrumentationTestCase, android.view.View);
236*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public static void scrollToBottom(android.test.ActivityInstrumentationTestCase, android.view.ViewGroup);
237*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public static void scrollToBottom(android.test.InstrumentationTestCase, android.app.Activity, android.view.ViewGroup);
238*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public static void scrollToTop(android.test.ActivityInstrumentationTestCase, android.view.ViewGroup);
239*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public static void scrollToTop(android.test.InstrumentationTestCase, android.app.Activity, android.view.ViewGroup);
240*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public static void tapView(android.test.InstrumentationTestCase, android.view.View);
241*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public static void touchAndCancelView(android.test.InstrumentationTestCase, android.view.View);
242*344a7f5eSAndroid Build Coastguard Worker  }
243*344a7f5eSAndroid Build Coastguard Worker
244*344a7f5eSAndroid Build Coastguard Worker  @Deprecated public class ViewAsserts {
245*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public static void assertBaselineAligned(android.view.View, android.view.View);
246*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public static void assertBottomAligned(android.view.View, android.view.View);
247*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public static void assertBottomAligned(android.view.View, android.view.View, int);
248*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public static void assertGroupContains(android.view.ViewGroup, android.view.View);
249*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public static void assertGroupIntegrity(android.view.ViewGroup);
250*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public static void assertGroupNotContains(android.view.ViewGroup, android.view.View);
251*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public static void assertHasScreenCoordinates(android.view.View, android.view.View, int, int);
252*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public static void assertHorizontalCenterAligned(android.view.View, android.view.View);
253*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public static void assertLeftAligned(android.view.View, android.view.View);
254*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public static void assertLeftAligned(android.view.View, android.view.View, int);
255*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public static void assertOffScreenAbove(android.view.View, android.view.View);
256*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public static void assertOffScreenBelow(android.view.View, android.view.View);
257*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public static void assertOnScreen(android.view.View, android.view.View);
258*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public static void assertRightAligned(android.view.View, android.view.View);
259*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public static void assertRightAligned(android.view.View, android.view.View, int);
260*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public static void assertTopAligned(android.view.View, android.view.View);
261*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public static void assertTopAligned(android.view.View, android.view.View, int);
262*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public static void assertVerticalCenterAligned(android.view.View, android.view.View);
263*344a7f5eSAndroid Build Coastguard Worker  }
264*344a7f5eSAndroid Build Coastguard Worker
265*344a7f5eSAndroid Build Coastguard Worker}
266*344a7f5eSAndroid Build Coastguard Worker
267*344a7f5eSAndroid Build Coastguard Workerpackage android.test.suitebuilder {
268*344a7f5eSAndroid Build Coastguard Worker
269*344a7f5eSAndroid Build Coastguard Worker  @Deprecated public class TestMethod {
270*344a7f5eSAndroid Build Coastguard Worker    ctor @Deprecated public TestMethod(java.lang.reflect.Method, Class<? extends junit.framework.TestCase>);
271*344a7f5eSAndroid Build Coastguard Worker    ctor @Deprecated public TestMethod(String, Class<? extends junit.framework.TestCase>);
272*344a7f5eSAndroid Build Coastguard Worker    ctor @Deprecated public TestMethod(junit.framework.TestCase);
273*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public junit.framework.TestCase createTest() throws java.lang.IllegalAccessException, java.lang.InstantiationException, java.lang.reflect.InvocationTargetException;
274*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public <T extends java.lang.annotation.Annotation> T getAnnotation(Class<T>);
275*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public Class<? extends junit.framework.TestCase> getEnclosingClass();
276*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public String getEnclosingClassname();
277*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public String getName();
278*344a7f5eSAndroid Build Coastguard Worker  }
279*344a7f5eSAndroid Build Coastguard Worker
280*344a7f5eSAndroid Build Coastguard Worker  @Deprecated public class TestSuiteBuilder {
281*344a7f5eSAndroid Build Coastguard Worker    ctor @Deprecated public TestSuiteBuilder(Class);
282*344a7f5eSAndroid Build Coastguard Worker    ctor @Deprecated public TestSuiteBuilder(String, ClassLoader);
283*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public final junit.framework.TestSuite build();
284*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public android.test.suitebuilder.TestSuiteBuilder excludePackages(java.lang.String...);
285*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated protected String getSuiteName();
286*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public final android.test.suitebuilder.TestSuiteBuilder includeAllPackagesUnderHere();
287*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public android.test.suitebuilder.TestSuiteBuilder includePackages(java.lang.String...);
288*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public android.test.suitebuilder.TestSuiteBuilder named(String);
289*344a7f5eSAndroid Build Coastguard Worker  }
290*344a7f5eSAndroid Build Coastguard Worker
291*344a7f5eSAndroid Build Coastguard Worker  @Deprecated public static class TestSuiteBuilder.FailedToCreateTests extends junit.framework.TestCase {
292*344a7f5eSAndroid Build Coastguard Worker    ctor @Deprecated public TestSuiteBuilder.FailedToCreateTests(Exception);
293*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public void testSuiteConstructionFailed();
294*344a7f5eSAndroid Build Coastguard Worker  }
295*344a7f5eSAndroid Build Coastguard Worker
296*344a7f5eSAndroid Build Coastguard Worker  @Deprecated public class UnitTestSuiteBuilder extends android.test.suitebuilder.TestSuiteBuilder {
297*344a7f5eSAndroid Build Coastguard Worker    ctor @Deprecated public UnitTestSuiteBuilder(Class);
298*344a7f5eSAndroid Build Coastguard Worker    ctor @Deprecated public UnitTestSuiteBuilder(String, ClassLoader);
299*344a7f5eSAndroid Build Coastguard Worker  }
300*344a7f5eSAndroid Build Coastguard Worker
301*344a7f5eSAndroid Build Coastguard Worker}
302*344a7f5eSAndroid Build Coastguard Worker
303*344a7f5eSAndroid Build Coastguard Workerpackage junit.runner {
304*344a7f5eSAndroid Build Coastguard Worker
305*344a7f5eSAndroid Build Coastguard Worker  public abstract class BaseTestRunner implements junit.framework.TestListener {
306*344a7f5eSAndroid Build Coastguard Worker    ctor public BaseTestRunner();
307*344a7f5eSAndroid Build Coastguard Worker    method public void addError(junit.framework.Test, Throwable);
308*344a7f5eSAndroid Build Coastguard Worker    method public void addFailure(junit.framework.Test, junit.framework.AssertionFailedError);
309*344a7f5eSAndroid Build Coastguard Worker    method protected void clearStatus();
310*344a7f5eSAndroid Build Coastguard Worker    method public String elapsedTimeAsString(long);
311*344a7f5eSAndroid Build Coastguard Worker    method public void endTest(junit.framework.Test);
312*344a7f5eSAndroid Build Coastguard Worker    method public String extractClassName(String);
313*344a7f5eSAndroid Build Coastguard Worker    method public static String getFilteredTrace(Throwable);
314*344a7f5eSAndroid Build Coastguard Worker    method public static String getFilteredTrace(String);
315*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public junit.runner.TestSuiteLoader getLoader();
316*344a7f5eSAndroid Build Coastguard Worker    method public static String getPreference(String);
317*344a7f5eSAndroid Build Coastguard Worker    method public static int getPreference(String, int);
318*344a7f5eSAndroid Build Coastguard Worker    method protected static java.util.Properties getPreferences();
319*344a7f5eSAndroid Build Coastguard Worker    method public junit.framework.Test getTest(String);
320*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public static boolean inVAJava();
321*344a7f5eSAndroid Build Coastguard Worker    method protected Class<?> loadSuiteClass(String) throws java.lang.ClassNotFoundException;
322*344a7f5eSAndroid Build Coastguard Worker    method protected String processArguments(String[]);
323*344a7f5eSAndroid Build Coastguard Worker    method protected abstract void runFailed(String);
324*344a7f5eSAndroid Build Coastguard Worker    method public static void savePreferences() throws java.io.IOException;
325*344a7f5eSAndroid Build Coastguard Worker    method public void setLoading(boolean);
326*344a7f5eSAndroid Build Coastguard Worker    method public void setPreference(String, String);
327*344a7f5eSAndroid Build Coastguard Worker    method protected static void setPreferences(java.util.Properties);
328*344a7f5eSAndroid Build Coastguard Worker    method protected static boolean showStackRaw();
329*344a7f5eSAndroid Build Coastguard Worker    method public void startTest(junit.framework.Test);
330*344a7f5eSAndroid Build Coastguard Worker    method public abstract void testEnded(String);
331*344a7f5eSAndroid Build Coastguard Worker    method public abstract void testFailed(int, junit.framework.Test, Throwable);
332*344a7f5eSAndroid Build Coastguard Worker    method public abstract void testStarted(String);
333*344a7f5eSAndroid Build Coastguard Worker    method public static String truncate(String);
334*344a7f5eSAndroid Build Coastguard Worker    method protected boolean useReloadingTestSuiteLoader();
335*344a7f5eSAndroid Build Coastguard Worker    field public static final String SUITE_METHODNAME = "suite";
336*344a7f5eSAndroid Build Coastguard Worker  }
337*344a7f5eSAndroid Build Coastguard Worker
338*344a7f5eSAndroid Build Coastguard Worker  public interface TestSuiteLoader {
339*344a7f5eSAndroid Build Coastguard Worker    method public Class load(String) throws java.lang.ClassNotFoundException;
340*344a7f5eSAndroid Build Coastguard Worker    method public Class reload(Class) throws java.lang.ClassNotFoundException;
341*344a7f5eSAndroid Build Coastguard Worker  }
342*344a7f5eSAndroid Build Coastguard Worker
343*344a7f5eSAndroid Build Coastguard Worker  public class Version {
344*344a7f5eSAndroid Build Coastguard Worker    method public static String id();
345*344a7f5eSAndroid Build Coastguard Worker  }
346*344a7f5eSAndroid Build Coastguard Worker
347*344a7f5eSAndroid Build Coastguard Worker}
348*344a7f5eSAndroid Build Coastguard Worker
349