Home
last modified time | relevance | path

Searched refs:ShadowAlertDialog (Results 1 – 7 of 7) sorted by relevance

/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/
DAlertDialogTest.java41 ShadowAlertDialog shadowAlertDialog = shadowOf(alert); in testBuilder()
45 … assertThat(shadowOf(ShadowAlertDialog.getLatestAlertDialog()), sameInstance(shadowAlertDialog)); in testBuilder()
46 assertThat(ShadowAlertDialog.getLatestAlertDialog(), sameInstance(alert)); in testBuilder()
51 assertThat(ShadowAlertDialog.getLatestAlertDialog(), nullValue()); in getLatestAlertDialog_shouldReturnARealAlertDialog()
54 assertThat(ShadowAlertDialog.getLatestAlertDialog(), sameInstance(dialog)); in getLatestAlertDialog_shouldReturnARealAlertDialog()
82 ShadowAlertDialog shadowAlertDialog = shadowOf(alert); in testSetMessageAfterCreation()
98 ShadowAlertDialog shadowAlertDialog = shadowOf(alert); in shouldSetMessageFromResourceId()
221 ShadowAlertDialog shadowAlertDialog = shadowOf(alert); in testBuilderWithItemArrayViaResourceId()
225 … assertThat(shadowOf(ShadowAlertDialog.getLatestAlertDialog()), sameInstance(shadowAlertDialog)); in testBuilderWithItemArrayViaResourceId()
226 assertThat(ShadowAlertDialog.getLatestAlertDialog(), sameInstance(alert)); in testBuilderWithItemArrayViaResourceId()
[all …]
DProgressDialogTest.java40 assertThat(shadow, instanceOf(ShadowAlertDialog.class)); in shouldExtendAlertDialog()
129 assertNull(ShadowAlertDialog.getLatestAlertDialog()); in assertLatestDialogsSet()
135 assertEquals(dialog, ShadowAlertDialog.getLatestAlertDialog()); in assertLatestDialogsSet()
DDialogTest.java108 assertNull(ShadowAlertDialog.getLatestAlertDialog()); in show_setsLatestDialog()
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
DShadowAlertDialog.java26 public class ShadowAlertDialog extends ShadowDialog { class
52 ShadowAlertDialog dialog = Robolectric.getShadowApplication().getLatestAlertDialog(); in getLatestAlertDialog()
436 ShadowAlertDialog latestAlertDialog = shadowOf(realDialog); in create()
DShadowApplication.java86 private ShadowAlertDialog latestAlertDialog;
490 public ShadowAlertDialog getLatestAlertDialog() { in getLatestAlertDialog()
494 public void setLatestAlertDialog(ShadowAlertDialog latestAlertDialog) { in setLatestAlertDialog()
DShadowProgressDialog.java13 public class ShadowProgressDialog extends ShadowAlertDialog {
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/
DRobolectric.java136 ShadowAlertDialog.class, in getDefaultShadowClasses()
137 ShadowAlertDialog.ShadowBuilder.class, in getDefaultShadowClasses()
428 public static ShadowAlertDialog shadowOf(AlertDialog instance) { in shadowOf()
429 return (ShadowAlertDialog) shadowOf_(instance); in shadowOf()