blob: 5407b685bb3499efd53cf8581d44be16d64556c7 [file] [log] [blame]
Tor Norbye8752ded2018-12-26 19:55:07 -08001// Signature format: 2.0
Paul Duffinbacad402017-06-28 11:57:59 +01002package android.test {
3
Tor Norbye8752ded2018-12-26 19:55:07 -08004 @Deprecated public abstract class ActivityInstrumentationTestCase<T extends android.app.Activity> extends android.test.ActivityTestCase {
5 ctor @Deprecated public ActivityInstrumentationTestCase(String, Class<T>);
6 ctor @Deprecated public ActivityInstrumentationTestCase(String, Class<T>, boolean);
7 method @Deprecated public T getActivity();
8 method @Deprecated public void testActivityTestCaseSetUpProperly() throws java.lang.Exception;
Paul Duffinbacad402017-06-28 11:57:59 +01009 }
10
Tor Norbye8752ded2018-12-26 19:55:07 -080011 @Deprecated public abstract class ActivityInstrumentationTestCase2<T extends android.app.Activity> extends android.test.ActivityTestCase {
12 ctor @Deprecated public ActivityInstrumentationTestCase2(String, Class<T>);
13 ctor @Deprecated public ActivityInstrumentationTestCase2(Class<T>);
14 method @Deprecated public T getActivity();
15 method @Deprecated public void setActivityInitialTouchMode(boolean);
16 method @Deprecated public void setActivityIntent(android.content.Intent);
Paul Duffinbacad402017-06-28 11:57:59 +010017 }
18
Tor Norbye8752ded2018-12-26 19:55:07 -080019 @Deprecated public abstract class ActivityTestCase extends android.test.InstrumentationTestCase {
20 ctor @Deprecated public ActivityTestCase();
21 method @Deprecated protected android.app.Activity getActivity();
22 method @Deprecated protected void scrubClass(Class<?>) throws java.lang.IllegalAccessException;
23 method @Deprecated protected void setActivity(android.app.Activity);
Paul Duffinbacad402017-06-28 11:57:59 +010024 }
25
Tor Norbye8752ded2018-12-26 19:55:07 -080026 @Deprecated public abstract class ActivityUnitTestCase<T extends android.app.Activity> extends android.test.ActivityTestCase {
27 ctor @Deprecated public ActivityUnitTestCase(Class<T>);
28 method @Deprecated public T getActivity();
29 method @Deprecated public int getFinishedActivityRequest();
30 method @Deprecated public int getRequestedOrientation();
31 method @Deprecated public android.content.Intent getStartedActivityIntent();
32 method @Deprecated public int getStartedActivityRequest();
33 method @Deprecated public boolean isFinishCalled();
34 method @Deprecated public void setActivityContext(android.content.Context);
35 method @Deprecated public void setApplication(android.app.Application);
36 method @Deprecated protected T startActivity(android.content.Intent, android.os.Bundle, Object);
Paul Duffinbacad402017-06-28 11:57:59 +010037 }
38
Tor Norbye8752ded2018-12-26 19:55:07 -080039 @Deprecated public class AndroidTestRunner extends junit.runner.BaseTestRunner {
40 ctor @Deprecated public AndroidTestRunner();
41 method @Deprecated public void addTestListener(junit.framework.TestListener);
42 method @Deprecated public void clearTestListeners();
43 method @Deprecated protected junit.framework.TestResult createTestResult();
44 method @Deprecated public java.util.List<junit.framework.TestCase> getTestCases();
45 method @Deprecated public String getTestClassName();
46 method @Deprecated public junit.framework.TestResult getTestResult();
47 method @Deprecated protected Class loadSuiteClass(String) throws java.lang.ClassNotFoundException;
48 method @Deprecated protected void runFailed(String);
49 method @Deprecated public void runTest();
50 method @Deprecated public void runTest(junit.framework.TestResult);
51 method @Deprecated public void setContext(android.content.Context);
52 method @Deprecated public void setInstrumentaiton(android.app.Instrumentation);
53 method @Deprecated public void setInstrumentation(android.app.Instrumentation);
54 method @Deprecated public void setTest(junit.framework.Test);
55 method @Deprecated public void setTestClassName(String, String);
56 method @Deprecated public void testEnded(String);
57 method @Deprecated public void testFailed(int, junit.framework.Test, Throwable);
58 method @Deprecated public void testStarted(String);
Paul Duffinbacad402017-06-28 11:57:59 +010059 }
60
Tor Norbye8752ded2018-12-26 19:55:07 -080061 @Deprecated public abstract class ApplicationTestCase<T extends android.app.Application> extends android.test.AndroidTestCase {
62 ctor @Deprecated public ApplicationTestCase(Class<T>);
63 method @Deprecated protected final void createApplication();
64 method @Deprecated public T getApplication();
65 method @Deprecated public android.content.Context getSystemContext();
66 method @Deprecated protected final void terminateApplication();
67 method @Deprecated public final void testApplicationTestCaseSetUpProperly() throws java.lang.Exception;
Paul Duffinbacad402017-06-28 11:57:59 +010068 }
69
Tor Norbye8752ded2018-12-26 19:55:07 -080070 @Deprecated public class AssertionFailedError extends java.lang.Error {
71 ctor @Deprecated public AssertionFailedError();
72 ctor @Deprecated public AssertionFailedError(String);
Paul Duffinbacad402017-06-28 11:57:59 +010073 }
74
Tor Norbye8752ded2018-12-26 19:55:07 -080075 @Deprecated public class ComparisonFailure extends android.test.AssertionFailedError {
76 ctor @Deprecated public ComparisonFailure(String, String, String);
Paul Duffinbacad402017-06-28 11:57:59 +010077 }
78
Tor Norbye8752ded2018-12-26 19:55:07 -080079 @Deprecated public class InstrumentationTestRunner extends android.app.Instrumentation implements android.test.TestSuiteProvider {
80 ctor @Deprecated public InstrumentationTestRunner();
Jiyong Parkb4e458d2020-05-29 10:51:18 +090081 method @Deprecated protected void addTestListener(junit.framework.TestListener);
Tor Norbye8752ded2018-12-26 19:55:07 -080082 method @Deprecated public junit.framework.TestSuite getAllTests();
83 method @Deprecated protected android.test.AndroidTestRunner getAndroidTestRunner();
84 method @Deprecated public android.os.Bundle getArguments();
85 method @Deprecated public ClassLoader getLoader();
86 method @Deprecated public junit.framework.TestSuite getTestSuite();
87 field @Deprecated public static final String REPORT_KEY_NAME_CLASS = "class";
88 field @Deprecated public static final String REPORT_KEY_NAME_TEST = "test";
89 field @Deprecated public static final String REPORT_KEY_NUM_CURRENT = "current";
90 field @Deprecated public static final String REPORT_KEY_NUM_TOTAL = "numtests";
91 field @Deprecated public static final String REPORT_KEY_STACK = "stack";
92 field @Deprecated public static final String REPORT_VALUE_ID = "InstrumentationTestRunner";
93 field @Deprecated public static final int REPORT_VALUE_RESULT_ERROR = -1; // 0xffffffff
94 field @Deprecated public static final int REPORT_VALUE_RESULT_FAILURE = -2; // 0xfffffffe
95 field @Deprecated public static final int REPORT_VALUE_RESULT_OK = 0; // 0x0
96 field @Deprecated public static final int REPORT_VALUE_RESULT_START = 1; // 0x1
Paul Duffinbacad402017-06-28 11:57:59 +010097 }
98
Tor Norbye8752ded2018-12-26 19:55:07 -080099 @Deprecated public class IsolatedContext extends android.content.ContextWrapper {
100 ctor @Deprecated public IsolatedContext(android.content.ContentResolver, android.content.Context);
101 method @Deprecated public java.util.List<android.content.Intent> getAndClearBroadcastIntents();
Paul Duffinbacad402017-06-28 11:57:59 +0100102 }
103
Jiyong Parkedb968e2020-06-01 18:08:30 +0900104 @Deprecated public class LaunchPerformanceBase extends android.app.Instrumentation {
105 ctor @Deprecated public LaunchPerformanceBase();
106 method @Deprecated protected void LaunchApp();
107 field @Deprecated protected android.content.Intent mIntent;
108 field @Deprecated protected android.os.Bundle mResults;
109 }
110
Paul Duffinbacad402017-06-28 11:57:59 +0100111 public class LoaderTestCase extends android.test.AndroidTestCase {
112 ctor public LoaderTestCase();
113 method public <T> T getLoaderResultSynchronously(android.content.Loader<T>);
114 }
115
Tor Norbye8752ded2018-12-26 19:55:07 -0800116 @Deprecated public final class MoreAsserts {
117 method @Deprecated public static void assertAssignableFrom(Class<?>, Object);
118 method @Deprecated public static void assertAssignableFrom(Class<?>, Class<?>);
119 method @Deprecated public static java.util.regex.MatchResult assertContainsRegex(String, String, String);
120 method @Deprecated public static java.util.regex.MatchResult assertContainsRegex(String, String);
121 method @Deprecated public static void assertContentsInAnyOrder(String, Iterable<?>, java.lang.Object...);
122 method @Deprecated public static void assertContentsInAnyOrder(Iterable<?>, java.lang.Object...);
123 method @Deprecated public static void assertContentsInOrder(String, Iterable<?>, java.lang.Object...);
124 method @Deprecated public static void assertContentsInOrder(Iterable<?>, java.lang.Object...);
125 method @Deprecated public static void assertEmpty(String, Iterable<?>);
126 method @Deprecated public static void assertEmpty(Iterable<?>);
127 method @Deprecated public static void assertEmpty(String, java.util.Map<?,?>);
128 method @Deprecated public static void assertEmpty(java.util.Map<?,?>);
129 method @Deprecated public static void assertEquals(String, byte[], byte[]);
130 method @Deprecated public static void assertEquals(byte[], byte[]);
131 method @Deprecated public static void assertEquals(String, int[], int[]);
132 method @Deprecated public static void assertEquals(int[], int[]);
133 method @Deprecated public static void assertEquals(String, double[], double[]);
134 method @Deprecated public static void assertEquals(double[], double[]);
135 method @Deprecated public static void assertEquals(String, Object[], Object[]);
136 method @Deprecated public static void assertEquals(Object[], Object[]);
137 method @Deprecated public static void assertEquals(String, java.util.Set<?>, java.util.Set<?>);
138 method @Deprecated public static void assertEquals(java.util.Set<?>, java.util.Set<?>);
139 method @Deprecated public static java.util.regex.MatchResult assertMatchesRegex(String, String, String);
140 method @Deprecated public static java.util.regex.MatchResult assertMatchesRegex(String, String);
141 method @Deprecated public static void assertNotContainsRegex(String, String, String);
142 method @Deprecated public static void assertNotContainsRegex(String, String);
143 method @Deprecated public static void assertNotEmpty(String, Iterable<?>);
144 method @Deprecated public static void assertNotEmpty(Iterable<?>);
145 method @Deprecated public static void assertNotEmpty(String, java.util.Map<?,?>);
146 method @Deprecated public static void assertNotEmpty(java.util.Map<?,?>);
147 method @Deprecated public static void assertNotEqual(String, Object, Object);
148 method @Deprecated public static void assertNotEqual(Object, Object);
149 method @Deprecated public static void assertNotMatchesRegex(String, String, String);
150 method @Deprecated public static void assertNotMatchesRegex(String, String);
151 method @Deprecated public static void checkEqualsAndHashCodeMethods(String, Object, Object, boolean);
152 method @Deprecated public static void checkEqualsAndHashCodeMethods(Object, Object, boolean);
Paul Duffinbacad402017-06-28 11:57:59 +0100153 }
154
Tor Norbye8752ded2018-12-26 19:55:07 -0800155 @Deprecated public abstract class ProviderTestCase<T extends android.content.ContentProvider> extends android.test.InstrumentationTestCase {
156 ctor @Deprecated public ProviderTestCase(Class<T>, String);
157 method @Deprecated public android.test.mock.MockContentResolver getMockContentResolver();
158 method @Deprecated public android.test.IsolatedContext getMockContext();
159 method @Deprecated public T getProvider();
160 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;
Paul Duffinbacad402017-06-28 11:57:59 +0100161 }
162
163 public abstract class ProviderTestCase2<T extends android.content.ContentProvider> extends android.test.AndroidTestCase {
Tor Norbye8752ded2018-12-26 19:55:07 -0800164 ctor public ProviderTestCase2(Class<T>, String);
Paul Duffinbacad402017-06-28 11:57:59 +0100165 method public android.test.mock.MockContentResolver getMockContentResolver();
166 method public android.test.IsolatedContext getMockContext();
167 method public T getProvider();
Tor Norbye8752ded2018-12-26 19:55:07 -0800168 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;
Paul Duffinbacad402017-06-28 11:57:59 +0100169 }
170
Tor Norbye8752ded2018-12-26 19:55:07 -0800171 @Deprecated public class RenamingDelegatingContext extends android.content.ContextWrapper {
172 ctor @Deprecated public RenamingDelegatingContext(android.content.Context, String);
173 ctor @Deprecated public RenamingDelegatingContext(android.content.Context, android.content.Context, String);
174 method @Deprecated public String getDatabasePrefix();
175 method @Deprecated public void makeExistingFilesAndDbsAccessible();
176 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 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;
Paul Duffinbacad402017-06-28 11:57:59 +0100178 }
179
Tor Norbye8752ded2018-12-26 19:55:07 -0800180 @Deprecated public abstract class ServiceTestCase<T extends android.app.Service> extends android.test.AndroidTestCase {
181 ctor @Deprecated public ServiceTestCase(Class<T>);
182 method @Deprecated protected android.os.IBinder bindService(android.content.Intent);
183 method @Deprecated public android.app.Application getApplication();
184 method @Deprecated public T getService();
185 method @Deprecated public android.content.Context getSystemContext();
186 method @Deprecated public void setApplication(android.app.Application);
187 method @Deprecated protected void setupService();
188 method @Deprecated protected void shutdownService();
189 method @Deprecated protected void startService(android.content.Intent);
190 method @Deprecated public void testServiceTestCaseSetUpProperly() throws java.lang.Exception;
Paul Duffinbacad402017-06-28 11:57:59 +0100191 }
192
Tor Norbye8752ded2018-12-26 19:55:07 -0800193 @Deprecated public abstract class SingleLaunchActivityTestCase<T extends android.app.Activity> extends android.test.InstrumentationTestCase {
194 ctor @Deprecated public SingleLaunchActivityTestCase(String, Class<T>);
195 method @Deprecated public T getActivity();
196 method @Deprecated public void testActivityTestCaseSetUpProperly() throws java.lang.Exception;
Paul Duffinbacad402017-06-28 11:57:59 +0100197 }
198
Tor Norbye8752ded2018-12-26 19:55:07 -0800199 @Deprecated public class SyncBaseInstrumentation extends android.test.InstrumentationTestCase {
200 ctor @Deprecated public SyncBaseInstrumentation();
201 method @Deprecated protected void cancelSyncsandDisableAutoSync();
202 method @Deprecated protected void syncProvider(android.net.Uri, String, String) throws java.lang.Exception;
Paul Duffinbacad402017-06-28 11:57:59 +0100203 }
204
Tor Norbye8752ded2018-12-26 19:55:07 -0800205 @Deprecated public interface TestSuiteProvider {
206 method @Deprecated public junit.framework.TestSuite getTestSuite();
Paul Duffinbacad402017-06-28 11:57:59 +0100207 }
208
Tor Norbye8752ded2018-12-26 19:55:07 -0800209 @Deprecated public class TouchUtils {
210 ctor @Deprecated public TouchUtils();
211 method @Deprecated public static void clickView(android.test.InstrumentationTestCase, android.view.View);
212 method @Deprecated public static void drag(android.test.ActivityInstrumentationTestCase, float, float, float, float, int);
213 method @Deprecated public static void drag(android.test.InstrumentationTestCase, float, float, float, float, int);
214 method @Deprecated public static void dragQuarterScreenDown(android.test.ActivityInstrumentationTestCase);
215 method @Deprecated public static void dragQuarterScreenDown(android.test.InstrumentationTestCase, android.app.Activity);
216 method @Deprecated public static void dragQuarterScreenUp(android.test.ActivityInstrumentationTestCase);
217 method @Deprecated public static void dragQuarterScreenUp(android.test.InstrumentationTestCase, android.app.Activity);
218 method @Deprecated public static int dragViewBy(android.test.ActivityInstrumentationTestCase, android.view.View, int, int, int);
219 method @Deprecated public static int dragViewBy(android.test.InstrumentationTestCase, android.view.View, int, int, int);
220 method @Deprecated public static int dragViewTo(android.test.ActivityInstrumentationTestCase, android.view.View, int, int, int);
221 method @Deprecated public static int dragViewTo(android.test.InstrumentationTestCase, android.view.View, int, int, int);
222 method @Deprecated public static void dragViewToBottom(android.test.ActivityInstrumentationTestCase, android.view.View);
223 method @Deprecated public static void dragViewToBottom(android.test.InstrumentationTestCase, android.app.Activity, android.view.View);
224 method @Deprecated public static void dragViewToBottom(android.test.ActivityInstrumentationTestCase, android.view.View, int);
225 method @Deprecated public static void dragViewToBottom(android.test.InstrumentationTestCase, android.app.Activity, android.view.View, int);
226 method @Deprecated public static void dragViewToTop(android.test.ActivityInstrumentationTestCase, android.view.View);
227 method @Deprecated public static void dragViewToTop(android.test.ActivityInstrumentationTestCase, android.view.View, int);
228 method @Deprecated public static void dragViewToTop(android.test.InstrumentationTestCase, android.view.View);
229 method @Deprecated public static void dragViewToTop(android.test.InstrumentationTestCase, android.view.View, int);
230 method @Deprecated public static int dragViewToX(android.test.ActivityInstrumentationTestCase, android.view.View, int, int);
231 method @Deprecated public static int dragViewToX(android.test.InstrumentationTestCase, android.view.View, int, int);
232 method @Deprecated public static int dragViewToY(android.test.ActivityInstrumentationTestCase, android.view.View, int, int);
233 method @Deprecated public static int dragViewToY(android.test.InstrumentationTestCase, android.view.View, int, int);
234 method @Deprecated public static void longClickView(android.test.ActivityInstrumentationTestCase, android.view.View);
235 method @Deprecated public static void longClickView(android.test.InstrumentationTestCase, android.view.View);
236 method @Deprecated public static void scrollToBottom(android.test.ActivityInstrumentationTestCase, android.view.ViewGroup);
237 method @Deprecated public static void scrollToBottom(android.test.InstrumentationTestCase, android.app.Activity, android.view.ViewGroup);
238 method @Deprecated public static void scrollToTop(android.test.ActivityInstrumentationTestCase, android.view.ViewGroup);
239 method @Deprecated public static void scrollToTop(android.test.InstrumentationTestCase, android.app.Activity, android.view.ViewGroup);
240 method @Deprecated public static void tapView(android.test.InstrumentationTestCase, android.view.View);
241 method @Deprecated public static void touchAndCancelView(android.test.InstrumentationTestCase, android.view.View);
Paul Duffinbacad402017-06-28 11:57:59 +0100242 }
243
Tor Norbye8752ded2018-12-26 19:55:07 -0800244 @Deprecated public class ViewAsserts {
245 method @Deprecated public static void assertBaselineAligned(android.view.View, android.view.View);
246 method @Deprecated public static void assertBottomAligned(android.view.View, android.view.View);
247 method @Deprecated public static void assertBottomAligned(android.view.View, android.view.View, int);
248 method @Deprecated public static void assertGroupContains(android.view.ViewGroup, android.view.View);
249 method @Deprecated public static void assertGroupIntegrity(android.view.ViewGroup);
250 method @Deprecated public static void assertGroupNotContains(android.view.ViewGroup, android.view.View);
251 method @Deprecated public static void assertHasScreenCoordinates(android.view.View, android.view.View, int, int);
252 method @Deprecated public static void assertHorizontalCenterAligned(android.view.View, android.view.View);
253 method @Deprecated public static void assertLeftAligned(android.view.View, android.view.View);
254 method @Deprecated public static void assertLeftAligned(android.view.View, android.view.View, int);
255 method @Deprecated public static void assertOffScreenAbove(android.view.View, android.view.View);
256 method @Deprecated public static void assertOffScreenBelow(android.view.View, android.view.View);
257 method @Deprecated public static void assertOnScreen(android.view.View, android.view.View);
258 method @Deprecated public static void assertRightAligned(android.view.View, android.view.View);
259 method @Deprecated public static void assertRightAligned(android.view.View, android.view.View, int);
260 method @Deprecated public static void assertTopAligned(android.view.View, android.view.View);
261 method @Deprecated public static void assertTopAligned(android.view.View, android.view.View, int);
262 method @Deprecated public static void assertVerticalCenterAligned(android.view.View, android.view.View);
Paul Duffinbacad402017-06-28 11:57:59 +0100263 }
264
265}
266
267package android.test.suitebuilder {
268
Tor Norbye8752ded2018-12-26 19:55:07 -0800269 @Deprecated public class TestMethod {
270 ctor @Deprecated public TestMethod(java.lang.reflect.Method, Class<? extends junit.framework.TestCase>);
271 ctor @Deprecated public TestMethod(String, Class<? extends junit.framework.TestCase>);
272 ctor @Deprecated public TestMethod(junit.framework.TestCase);
273 method @Deprecated public junit.framework.TestCase createTest() throws java.lang.IllegalAccessException, java.lang.InstantiationException, java.lang.reflect.InvocationTargetException;
274 method @Deprecated public <T extends java.lang.annotation.Annotation> T getAnnotation(Class<T>);
275 method @Deprecated public Class<? extends junit.framework.TestCase> getEnclosingClass();
276 method @Deprecated public String getEnclosingClassname();
277 method @Deprecated public String getName();
Paul Duffinbacad402017-06-28 11:57:59 +0100278 }
279
Tor Norbye8752ded2018-12-26 19:55:07 -0800280 @Deprecated public class TestSuiteBuilder {
281 ctor @Deprecated public TestSuiteBuilder(Class);
282 ctor @Deprecated public TestSuiteBuilder(String, ClassLoader);
283 method @Deprecated public final junit.framework.TestSuite build();
284 method @Deprecated public android.test.suitebuilder.TestSuiteBuilder excludePackages(java.lang.String...);
285 method @Deprecated protected String getSuiteName();
286 method @Deprecated public final android.test.suitebuilder.TestSuiteBuilder includeAllPackagesUnderHere();
287 method @Deprecated public android.test.suitebuilder.TestSuiteBuilder includePackages(java.lang.String...);
288 method @Deprecated public android.test.suitebuilder.TestSuiteBuilder named(String);
Paul Duffinbacad402017-06-28 11:57:59 +0100289 }
290
Tor Norbye8752ded2018-12-26 19:55:07 -0800291 @Deprecated public static class TestSuiteBuilder.FailedToCreateTests extends junit.framework.TestCase {
292 ctor @Deprecated public TestSuiteBuilder.FailedToCreateTests(Exception);
293 method @Deprecated public void testSuiteConstructionFailed();
Paul Duffinbacad402017-06-28 11:57:59 +0100294 }
295
Jiyong Parkedb968e2020-06-01 18:08:30 +0900296 @Deprecated public class UnitTestSuiteBuilder extends android.test.suitebuilder.TestSuiteBuilder {
297 ctor @Deprecated public UnitTestSuiteBuilder(Class);
298 ctor @Deprecated public UnitTestSuiteBuilder(String, ClassLoader);
299 }
300
Paul Duffinbacad402017-06-28 11:57:59 +0100301}
302
303package junit.runner {
304
305 public abstract class BaseTestRunner implements junit.framework.TestListener {
306 ctor public BaseTestRunner();
Tor Norbye8752ded2018-12-26 19:55:07 -0800307 method public void addError(junit.framework.Test, Throwable);
308 method public void addFailure(junit.framework.Test, junit.framework.AssertionFailedError);
Paul Duffinbacad402017-06-28 11:57:59 +0100309 method protected void clearStatus();
Tor Norbye8752ded2018-12-26 19:55:07 -0800310 method public String elapsedTimeAsString(long);
311 method public void endTest(junit.framework.Test);
312 method public String extractClassName(String);
313 method public static String getFilteredTrace(Throwable);
314 method public static String getFilteredTrace(String);
315 method @Deprecated public junit.runner.TestSuiteLoader getLoader();
316 method public static String getPreference(String);
317 method public static int getPreference(String, int);
Paul Duffinbacad402017-06-28 11:57:59 +0100318 method protected static java.util.Properties getPreferences();
Tor Norbye8752ded2018-12-26 19:55:07 -0800319 method public junit.framework.Test getTest(String);
320 method @Deprecated public static boolean inVAJava();
321 method protected Class<?> loadSuiteClass(String) throws java.lang.ClassNotFoundException;
322 method protected String processArguments(String[]);
323 method protected abstract void runFailed(String);
Paul Duffinbacad402017-06-28 11:57:59 +0100324 method public static void savePreferences() throws java.io.IOException;
325 method public void setLoading(boolean);
Tor Norbye8752ded2018-12-26 19:55:07 -0800326 method public void setPreference(String, String);
Paul Duffinbacad402017-06-28 11:57:59 +0100327 method protected static void setPreferences(java.util.Properties);
328 method protected static boolean showStackRaw();
Tor Norbye8752ded2018-12-26 19:55:07 -0800329 method public void startTest(junit.framework.Test);
330 method public abstract void testEnded(String);
331 method public abstract void testFailed(int, junit.framework.Test, Throwable);
332 method public abstract void testStarted(String);
333 method public static String truncate(String);
Paul Duffinbacad402017-06-28 11:57:59 +0100334 method protected boolean useReloadingTestSuiteLoader();
Tor Norbye8752ded2018-12-26 19:55:07 -0800335 field public static final String SUITE_METHODNAME = "suite";
Paul Duffinbacad402017-06-28 11:57:59 +0100336 }
337
Tor Norbye8752ded2018-12-26 19:55:07 -0800338 public interface TestSuiteLoader {
339 method public Class load(String) throws java.lang.ClassNotFoundException;
340 method public Class reload(Class) throws java.lang.ClassNotFoundException;
Paul Duffinbacad402017-06-28 11:57:59 +0100341 }
342
343 public class Version {
Tor Norbye8752ded2018-12-26 19:55:07 -0800344 method public static String id();
Paul Duffinbacad402017-06-28 11:57:59 +0100345 }
346
347}
348