Home | History | Annotate | Download | only in test

Lines Matching refs:Activity

19 import android.app.Activity;
25 * This class provides functional testing of a single activity. The activity under test will
27 * and you will then be able to manipulate your Activity directly.
32 * <li>You can inject custom Intents into your Activity (see
41 public abstract class ActivityInstrumentationTestCase2<T extends Activity>
51 * @param activityClass The activity to test. This must be a class in the instrumentation
64 * @param activityClass The activity to test. This must be a class in the instrumentation
72 * Get the Activity under test, starting it if necessary.
74 * For each test method invocation, the Activity will not actually be created until the first
77 * <p>If you wish to provide custom setup values to your Activity, you may call
79 * before your first call to getActivity(). Calling them after your Activity has
83 * If your test method is annotated with {@link android.test.UiThreadTest}, then your Activity
85 * method in order to get the Activity under test.
87 * @return the Activity under test
91 Activity a = super.getActivity();
109 * into the Activity under test.
112 * your Activity has been started, it will have no effect.
123 * @param i The Intent to start the Activity with, or null to reset to the default Intent.
131 * mode for the Activity under test.
134 * your Activity has been started, it will have no effect.
140 * @param initialTouchMode true if the Activity should be placed into "touch mode" when started
156 // Finish the Activity off (unless was never launched anyway)
157 Activity a = super.getActivity();
173 * {@link android.test.UiThreadTest}, force the Activity to be created before switching to