Searched refs:DialogStubActivity (Results 1 – 5 of 5) sorted by relevance
26 import android.app.stubs.DialogStubActivity;51 private ActivityScenario<DialogStubActivity> mScenario;52 private DialogStubActivity mActivity;71 mScenario = DialogStubActivity.startDialogActivity( in startDialogActivity()83 doTestAlertDialog(DialogStubActivity.TEST_ALERTDIALOG); in testAlertDialog()121 doTestAlertDialog(DialogStubActivity.TEST_ALERTDIALOG_DEPRECATED); in testAlertDialogDeprecatedAPI()126 ? DialogStubActivity.TEST_ALERTDIALOG_DEPRECATED_WITH_MESSAGE in testAlertDialogAPIWithMessage()127 : DialogStubActivity.TEST_ALERTDIALOG_WITH_MESSAGE); in testAlertDialogAPIWithMessage()147 DialogStubActivity.buttonIndex = 0; in testAlertDialogAPIWithMessage()150 (DialogInterface.BUTTON_POSITIVE == DialogStubActivity.buttonIndex)); in testAlertDialogAPIWithMessage()[all …]
29 import android.app.stubs.DialogStubActivity;90 private ActivityScenario<DialogStubActivity> mScenario;91 private DialogStubActivity mActivity;110 mScenario = DialogStubActivity.startDialogActivity( in startDialogActivity()139 startDialogActivity(DialogStubActivity.TEST_PROTECTED_CANCELABLE); in testConstructor_protectedCancellable()147 startDialogActivity(DialogStubActivity.TEST_PROTECTED_NOT_CANCELABLE); in testConstructor_protectedNotCancellable()155 startDialogActivity(DialogStubActivity.TEST_PROTECTED_CANCELABLE); in testConstructor_protectedCancellableEsc()164 startDialogActivity(DialogStubActivity.TEST_PROTECTED_NOT_CANCELABLE); in testConstructor_protectedNotCancellableEsc()194 startDialogActivity(DialogStubActivity.TEST_ONSTART_AND_ONSTOP); in testOnStartCreateStop()208 startDialogActivity(DialogStubActivity.TEST_ONSTART_AND_ONSTOP); in testOnStartCreateStopEsc()[all …]
24 import android.app.stubs.DialogStubActivity;45 extends ActivityInstrumentationTestCase2<DialogStubActivity> {96 super("android.app.stubs", DialogStubActivity.class); in AlertDialog_BuilderCursorTest()
30 import android.app.stubs.DialogStubActivity;89 public ActivityTestRule<DialogStubActivity> mActivityRule =90 new ActivityTestRule<>(DialogStubActivity.class);
45 public class DialogStubActivity extends Activity { class264 mAlertDialog = new AlertDialog.Builder(DialogStubActivity.this).create(); in getAlertDialogInstance()296 mAlertDialog = new AlertDialog.Builder(DialogStubActivity.this).create(); in getCustomAlertDialogInstance()320 public static ActivityScenario<DialogStubActivity> startDialogActivity( in startDialogActivity()324 intent.setClass(context, DialogStubActivity.class); in startDialogActivity()