Lines Matching defs:test

17 package android.test;
25 * This class provides functional testing of a single activity. The activity under test will
29 * <p>Other options supported by this test case include:
31 * <li>You can run any test method on the UI thread (see {@link android.test.UiThreadTest}).</li>
36 * <p>This class replaces {@link android.test.ActivityInstrumentationTestCase}, which is deprecated.
39 * <p>If you prefer an isolated unit test, see {@link android.test.ActivityUnitTestCase}.
57 * @param activityClass The activity to test. This must be a class in the instrumentation
70 * @param activityClass The activity to test. This must be a class in the instrumentation
78 * Get the Activity under test, starting it if necessary.
80 * For each test method invocation, the Activity will not actually be created until the first
88 * <p><b>NOTE:</b> Activities under test may not be started from within the UI thread.
89 * If your test method is annotated with {@link android.test.UiThreadTest}, then your Activity
90 * will be started automatically just before your test method is run. You still call this
91 * method in order to get the Activity under test.
93 * @return the Activity under test
115 * into the Activity under test.
120 * <p><b>NOTE:</b> Activities under test may not be started from within the UI thread.
121 * If your test method is annotated with {@link android.test.UiThreadTest}, then you must call
137 * mode for the Activity under test.
142 * <p><b>NOTE:</b> Activities under test may not be started from within the UI thread.
143 * If your test method is annotated with {@link android.test.UiThreadTest}, then you must call
170 // creates a non-static inner class (thus referencing the test case) and gives it to
178 * Runs the current unit test. If the unit test is annotated with
179 * {@link android.test.UiThreadTest}, force the Activity to be created before switching to