Home
last modified time | relevance | path

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

/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowAlertDialogTest.java54 ShadowAlertDialog shadowAlertDialog = shadowOf(alert); in testBuilder() local
55 assertEquals("title", shadowAlertDialog.getTitle()); in testBuilder()
56 assertThat(shadowAlertDialog.getMessage()).isEqualTo("message"); in testBuilder()
57 assertThat(shadowAlertDialog.isCancelable()).isTrue(); in testBuilder()
58 assertThat(shadowOf(ShadowAlertDialog.getLatestAlertDialog())).isSameAs(shadowAlertDialog); in testBuilder()
67 ShadowAlertDialog shadowAlertDialog = shadowOf(builder.create()); in nullTitleAndMessageAreOkay() local
68 assertThat(shadowAlertDialog.getTitle().toString()).isEqualTo(""); in nullTitleAndMessageAreOkay()
69 assertThat(shadowAlertDialog.getMessage()).isEqualTo(""); in nullTitleAndMessageAreOkay()
106 ShadowAlertDialog shadowAlertDialog = shadowOf(alert); in testSetMessageAfterCreation() local
107 assertThat(shadowAlertDialog.getMessage()).isEqualTo("message"); in testSetMessageAfterCreation()
[all …]