Searched refs:DialogStubActivity (Results 1 – 5 of 5) sorted by relevance
21 import android.app.stubs.DialogStubActivity;51 private DialogStubActivity mActivity;57 public ActivityTestRule<DialogStubActivity> mActivityRule =58 new ActivityTestRule<>(DialogStubActivity.class, true, false);66 mActivity = DialogStubActivity.startDialogActivity(mActivityRule, dialogNumber); in startDialogActivity()73 doTestAlertDialog(DialogStubActivity.TEST_ALERTDIALOG); in testAlertDialog()111 doTestAlertDialog(DialogStubActivity.TEST_ALERTDIALOG_DEPRECATED); in testAlertDialogDeprecatedAPI()116 ? DialogStubActivity.TEST_ALERTDIALOG_DEPRECATED_WITH_MESSAGE in testAlertDialogAPIWithMessage()117 : DialogStubActivity.TEST_ALERTDIALOG_WITH_MESSAGE); in testAlertDialogAPIWithMessage()137 DialogStubActivity.buttonIndex = 0; in testAlertDialogAPIWithMessage()[all …]
20 import android.app.stubs.DialogStubActivity;93 private DialogStubActivity mActivity;96 public ActivityTestRule<DialogStubActivity> mActivityRule =97 new ActivityTestRule<>(DialogStubActivity.class, false, false);107 mActivity = DialogStubActivity.startDialogActivity(mActivityRule, dialogNumber); in startDialogActivity()131 startDialogActivity(DialogStubActivity.TEST_PROTECTED_CANCELABLE); in testConstructor_protectedCancellable()139 startDialogActivity(DialogStubActivity.TEST_PROTECTED_NOT_CANCELABLE); in testConstructor_protectedNotCancellable()147 startDialogActivity(DialogStubActivity.TEST_PROTECTED_CANCELABLE); in testConstructor_protectedCancellableEsc()155 startDialogActivity(DialogStubActivity.TEST_PROTECTED_NOT_CANCELABLE); in testConstructor_protectedNotCancellableEsc()185 startDialogActivity(DialogStubActivity.TEST_ONSTART_AND_ONSTOP); in testOnStartCreateStop()[all …]
22 import android.app.stubs.DialogStubActivity;44 extends ActivityInstrumentationTestCase2<DialogStubActivity> {95 super("android.app.stubs", DialogStubActivity.class); in AlertDialog_BuilderCursorTest()
22 import android.app.stubs.DialogStubActivity;50 public class AlertDialog_BuilderTest extends ActivityInstrumentationTestCase2<DialogStubActivity> {93 super("android.app.stubs", DialogStubActivity.class); in AlertDialog_BuilderTest()
44 public class DialogStubActivity extends Activity { class263 mAlertDialog = new AlertDialog.Builder(DialogStubActivity.this).create(); in getAlertDialogInstance()295 mAlertDialog = new AlertDialog.Builder(DialogStubActivity.this).create(); in getCustomAlertDialogInstance()