Searched refs:DialogStubActivity (Results 1 – 5 of 5) sorted by relevance
26 import android.app.stubs.DialogStubActivity;52 private DialogStubActivity mActivity;58 public ActivityTestRule<DialogStubActivity> mActivityRule =59 new ActivityTestRule<>(DialogStubActivity.class, true, false);67 mActivity = DialogStubActivity.startDialogActivity(mActivityRule, dialogNumber); in startDialogActivity()74 doTestAlertDialog(DialogStubActivity.TEST_ALERTDIALOG); in testAlertDialog()112 doTestAlertDialog(DialogStubActivity.TEST_ALERTDIALOG_DEPRECATED); in testAlertDialogDeprecatedAPI()117 ? DialogStubActivity.TEST_ALERTDIALOG_DEPRECATED_WITH_MESSAGE in testAlertDialogAPIWithMessage()118 : DialogStubActivity.TEST_ALERTDIALOG_WITH_MESSAGE); in testAlertDialogAPIWithMessage()138 DialogStubActivity.buttonIndex = 0; in testAlertDialogAPIWithMessage()[all …]
28 import android.app.stubs.DialogStubActivity;96 private DialogStubActivity mActivity;99 public ActivityTestRule<DialogStubActivity> mActivityRule =100 new ActivityTestRule<>(DialogStubActivity.class, false, false);110 mActivity = DialogStubActivity.startDialogActivity(mActivityRule, dialogNumber); in startDialogActivity()135 startDialogActivity(DialogStubActivity.TEST_PROTECTED_CANCELABLE); in testConstructor_protectedCancellable()143 startDialogActivity(DialogStubActivity.TEST_PROTECTED_NOT_CANCELABLE); in testConstructor_protectedNotCancellable()151 startDialogActivity(DialogStubActivity.TEST_PROTECTED_CANCELABLE); in testConstructor_protectedCancellableEsc()160 startDialogActivity(DialogStubActivity.TEST_PROTECTED_NOT_CANCELABLE); in testConstructor_protectedNotCancellableEsc()191 startDialogActivity(DialogStubActivity.TEST_ONSTART_AND_ONSTOP); in testOnStartCreateStop()[all …]
24 import android.app.stubs.DialogStubActivity;46 extends ActivityInstrumentationTestCase2<DialogStubActivity> {97 super("android.app.stubs", DialogStubActivity.class); in AlertDialog_BuilderCursorTest()
31 import android.app.stubs.DialogStubActivity;92 public ActivityTestRule<DialogStubActivity> mActivityRule =93 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()