HomeSort by relevance Sort by last modified time
    Searched defs:ShadowDialog (Results 1 - 3 of 3) sorted by null

  /external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
ShadowDialogTest.java 84 ShadowDialog shadow = shadowOf(dialog);
100 ShadowDialog shadow = shadowOf(dialog);
130 assertNull(ShadowDialog.getLatestDialog());
134 assertSame(dialog, ShadowDialog.getLatestDialog());
140 assertThat(ShadowDialog.getLatestDialog()).isNull();
144 assertThat(ShadowDialog.getLatestDialog()).isSameAs(dialog);
149 assertEquals(0, ShadowDialog.getShownDialogs().size());
154 assertEquals(1, ShadowDialog.getShownDialogs().size());
155 assertEquals(dialog, ShadowDialog.getShownDialogs().get(0));
160 assertEquals(2, ShadowDialog.getShownDialogs().size())
    [all...]
ShadowAlertDialogTest.java 244 assertNull(ShadowDialog.getLatestDialog());
249 assertEquals(alertDialog, ShadowDialog.getLatestDialog());
310 assertThat(ShadowDialog.getLatestDialog()).isEqualTo(dialog);
313 assertThat(ShadowDialog.getLatestDialog()).isEqualTo(nestedDialog);
  /external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
ShadowDialog.java 26 public class ShadowDialog {
51 ShadowDialog dialog = ShadowApplication.getInstance().getLatestDialog();
55 public static void setLatestDialog(ShadowDialog latestDialog) {

Completed in 2848 milliseconds