Searched refs:getLatestAlertDialog (Results 1 – 5 of 5) sorted by relevance
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()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()
129 assertNull(ShadowAlertDialog.getLatestAlertDialog()); in assertLatestDialogsSet()135 assertEquals(dialog, ShadowAlertDialog.getLatestAlertDialog()); in assertLatestDialogsSet()
108 assertNull(ShadowAlertDialog.getLatestAlertDialog()); in show_setsLatestDialog()
51 public static AlertDialog getLatestAlertDialog() { in getLatestAlertDialog() method in ShadowAlertDialog52 ShadowAlertDialog dialog = Robolectric.getShadowApplication().getLatestAlertDialog(); in getLatestAlertDialog()
490 public ShadowAlertDialog getLatestAlertDialog() { in getLatestAlertDialog() method in ShadowApplication