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