Home
last modified time | relevance | path

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

/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowAlertDialogTest.java54 ShadowAlertDialog shadowAlertDialog = shadowOf(alert); in testBuilder()
58 assertThat(shadowOf(ShadowAlertDialog.getLatestAlertDialog())).isSameAs(shadowAlertDialog); in testBuilder()
59 assertThat(ShadowAlertDialog.getLatestAlertDialog()).isSameAs(alert); in testBuilder()
67 ShadowAlertDialog shadowAlertDialog = shadowOf(builder.create()); in nullTitleAndMessageAreOkay()
74 assertThat(ShadowAlertDialog.getLatestAlertDialog()).isNull(); in getLatestAlertDialog_shouldReturnARealAlertDialog()
77 assertThat(ShadowAlertDialog.getLatestAlertDialog()).isSameAs(dialog); in getLatestAlertDialog_shouldReturnARealAlertDialog()
106 ShadowAlertDialog shadowAlertDialog = shadowOf(alert); in testSetMessageAfterCreation()
122 ShadowAlertDialog shadowAlertDialog = shadowOf(alert); in shouldSetMessageFromResourceId()
209 ShadowAlertDialog shadowAlertDialog = shadowOf(alert); in testBuilderWithItemArrayViaResourceId()
213 assertThat(shadowOf(ShadowAlertDialog.getLatestAlertDialog())).isSameAs(shadowAlertDialog); in testBuilderWithItemArrayViaResourceId()
[all …]
DShadowProgressDialogTest.java29 assertThat(shadow).isInstanceOf(ShadowAlertDialog.class); in shouldExtendAlertDialog()
DShadowDialogTest.java135 assertNull(ShadowAlertDialog.getLatestAlertDialog()); in show_setsLatestDialog()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowApplication.java42 private ShadowAlertDialog latestAlertDialog;
160 public ShadowAlertDialog getLatestAlertDialog() { in getLatestAlertDialog()
164 protected void setLatestAlertDialog(ShadowAlertDialog latestAlertDialog) { in setLatestAlertDialog()
DShadowAlertDialog.java17 public class ShadowAlertDialog extends ShadowDialog { class
33 ShadowAlertDialog dialog = shadowApplication.getLatestAlertDialog(); in getLatestAlertDialog()
DShadowProgressDialog.java14 public class ShadowProgressDialog extends ShadowAlertDialog {
DShadowTimePickerDialog.java13 public class ShadowTimePickerDialog extends ShadowAlertDialog {
DShadowDatePickerDialog.java16 public class ShadowDatePickerDialog extends ShadowAlertDialog {