Searched refs:ShadowAlertDialog (Results 1 – 7 of 7) sorted by relevance
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/ |
D | AlertDialogTest.java | 41 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 …]
|
D | ProgressDialogTest.java | 40 assertThat(shadow, instanceOf(ShadowAlertDialog.class)); in shouldExtendAlertDialog() 129 assertNull(ShadowAlertDialog.getLatestAlertDialog()); in assertLatestDialogsSet() 135 assertEquals(dialog, ShadowAlertDialog.getLatestAlertDialog()); in assertLatestDialogsSet()
|
D | DialogTest.java | 108 assertNull(ShadowAlertDialog.getLatestAlertDialog()); in show_setsLatestDialog()
|
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/ |
D | ShadowAlertDialog.java | 26 public class ShadowAlertDialog extends ShadowDialog { class 52 ShadowAlertDialog dialog = Robolectric.getShadowApplication().getLatestAlertDialog(); in getLatestAlertDialog() 436 ShadowAlertDialog latestAlertDialog = shadowOf(realDialog); in create()
|
D | ShadowApplication.java | 86 private ShadowAlertDialog latestAlertDialog; 490 public ShadowAlertDialog getLatestAlertDialog() { in getLatestAlertDialog() 494 public void setLatestAlertDialog(ShadowAlertDialog latestAlertDialog) { in setLatestAlertDialog()
|
D | ShadowProgressDialog.java | 13 public class ShadowProgressDialog extends ShadowAlertDialog {
|
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/ |
D | Robolectric.java | 136 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()
|