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

  /external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
DialogTest.java 59 ShadowDialog shadow = Robolectric.shadowOf(dialog);
75 ShadowDialog shadow = Robolectric.shadowOf(dialog);
103 assertNull(ShadowDialog.getLatestDialog());
107 assertEquals(dialog, ShadowDialog.getLatestDialog());
113 assertThat(ShadowDialog.getLatestDialog(), nullValue());
117 assertThat(ShadowDialog.getLatestDialog(), sameInstance(dialog));
122 assertEquals(0, ShadowDialog.getShownDialogs().size());
127 assertEquals(1, ShadowDialog.getShownDialogs().size());
128 assertEquals(dialog, ShadowDialog.getShownDialogs().get(0));
133 assertEquals(2, ShadowDialog.getShownDialogs().size())
    [all...]
ProgressDialogTest.java 128 assertNull(ShadowDialog.getLatestDialog());
134 assertEquals(dialog, ShadowDialog.getLatestDialog());
AlertDialogTest.java 271 assertNull(ShadowDialog.getLatestDialog());
276 assertEquals(alertDialog, ShadowDialog.getLatestDialog());
ActivityTest.java 240 Dialog firstDialog = ShadowDialog.getLatestDialog();
244 final Dialog secondDialog = ShadowDialog.getLatestDialog();
253 Dialog dialog = ShadowDialog.getLatestDialog();
262 Dialog dialog = ShadowDialog.getLatestDialog();
277 Dialog firstDialog = ShadowDialog.getLatestDialog();
283 Dialog secondDialog = ShadowDialog.getLatestDialog();
293 assertThat(ShadowDialog.getLatestDialog(), CoreMatchers.<Object>notNullValue());
  /external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowDialog.java 26 public class ShadowDialog {
52 ShadowDialog dialog = Robolectric.getShadowApplication().getLatestDialog();
56 public static void setLatestDialog(ShadowDialog latestDialog) {
  /external/robolectric/src/main/java/com/xtremelabs/robolectric/
Robolectric.java 196 ShadowDialog.class,
371 ShadowDialog.reset();
603 public static ShadowDialog shadowOf(Dialog instance) {
604 return (ShadowDialog) shadowOf_(instance);
    [all...]

Completed in 1044 milliseconds