Home
last modified time | relevance | path

Searched refs:getLatestAlertDialog (Results 1 – 5 of 5) sorted by relevance

/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/
DAlertDialogTest.java45 … 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()
225 … assertThat(shadowOf(ShadowAlertDialog.getLatestAlertDialog()), sameInstance(shadowAlertDialog)); in testBuilderWithItemArrayViaResourceId()
226 assertThat(ShadowAlertDialog.getLatestAlertDialog(), sameInstance(alert)); in testBuilderWithItemArrayViaResourceId()
272 assertNull(ShadowAlertDialog.getLatestAlertDialog()); in show_setsLatestAlertDialogAndLatestDialog()
277 assertEquals(alertDialog, ShadowAlertDialog.getLatestAlertDialog()); in show_setsLatestAlertDialogAndLatestDialog()
298 assertThat(ShadowAlertDialog.getLatestAlertDialog(), sameInstance(alert)); in shouldReturnTheIndexOfTheCheckedItemInASingleChoiceDialog()
DProgressDialogTest.java129 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.java51 public static AlertDialog getLatestAlertDialog() { in getLatestAlertDialog() method in ShadowAlertDialog
52 ShadowAlertDialog dialog = Robolectric.getShadowApplication().getLatestAlertDialog(); in getLatestAlertDialog()
DShadowApplication.java490 public ShadowAlertDialog getLatestAlertDialog() { in getLatestAlertDialog() method in ShadowApplication