Home
last modified time | relevance | path

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

/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowAlertDialogTest.java58 assertThat(shadowOf(ShadowAlertDialog.getLatestAlertDialog())).isSameAs(shadowAlertDialog); in testBuilder()
59 assertThat(ShadowAlertDialog.getLatestAlertDialog()).isSameAs(alert); in testBuilder()
74 assertThat(ShadowAlertDialog.getLatestAlertDialog()).isNull(); in getLatestAlertDialog_shouldReturnARealAlertDialog()
77 assertThat(ShadowAlertDialog.getLatestAlertDialog()).isSameAs(dialog); in getLatestAlertDialog_shouldReturnARealAlertDialog()
213 assertThat(shadowOf(ShadowAlertDialog.getLatestAlertDialog())).isSameAs(shadowAlertDialog); in testBuilderWithItemArrayViaResourceId()
214 assertThat(ShadowAlertDialog.getLatestAlertDialog()).isSameAs(alert); in testBuilderWithItemArrayViaResourceId()
245 assertNull(ShadowAlertDialog.getLatestAlertDialog()); in show_setsLatestAlertDialogAndLatestDialog()
250 assertEquals(alertDialog, ShadowAlertDialog.getLatestAlertDialog()); in show_setsLatestAlertDialogAndLatestDialog()
DShadowDialogTest.java135 assertNull(ShadowAlertDialog.getLatestAlertDialog()); in show_setsLatestDialog()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowAlertDialog.java31 public static AlertDialog getLatestAlertDialog() { in getLatestAlertDialog() method in ShadowAlertDialog
33 ShadowAlertDialog dialog = shadowApplication.getLatestAlertDialog(); in getLatestAlertDialog()
DShadowApplication.java160 public ShadowAlertDialog getLatestAlertDialog() { in getLatestAlertDialog() method in ShadowApplication