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

  /external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
DialogTest.java 108 assertNull(ShadowAlertDialog.getLatestAlertDialog());
ProgressDialogTest.java 40 assertThat(shadow, instanceOf(ShadowAlertDialog.class));
129 assertNull(ShadowAlertDialog.getLatestAlertDialog());
135 assertEquals(dialog, ShadowAlertDialog.getLatestAlertDialog());
AlertDialogTest.java 41 ShadowAlertDialog shadowAlertDialog = shadowOf(alert);
42 assertEquals("title", shadowAlertDialog.getTitle());
43 assertThat(shadowAlertDialog.getMessage(), equalTo("message"));
44 assertThat(shadowAlertDialog.isCancelable(), equalTo(true));
45 assertThat(shadowOf(ShadowAlertDialog.getLatestAlertDialog()), sameInstance(shadowAlertDialog));
46 assertThat(ShadowAlertDialog.getLatestAlertDialog(), sameInstance(alert));
51 assertThat(ShadowAlertDialog.getLatestAlertDialog(), nullValue());
54 assertThat(ShadowAlertDialog.getLatestAlertDialog(), sameInstance(dialog))
    [all...]
  /external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowAlertDialog.java 26 public class ShadowAlertDialog extends ShadowDialog {
52 ShadowAlertDialog dialog = Robolectric.getShadowApplication().getLatestAlertDialog();
221 * @return return the view set with {@link ShadowAlertDialog.ShadowBuilder#setView(View)}
230 * @return return the view set with {@link ShadowAlertDialog.ShadowBuilder#setCustomTitle(View)}
436 ShadowAlertDialog latestAlertDialog = shadowOf(realDialog);

Completed in 866 milliseconds