Searched refs:ShadowToast (Results 1 – 2 of 2) sorted by relevance
48 assertThat(ShadowToast.getLatestToast()).isSameAs(toast); in shouldMakeTextCorrectly()49 assertThat(ShadowToast.getTextOfLatestToast()).isEqualTo("short toast"); in shouldMakeTextCorrectly()50 assertThat(ShadowToast.showedToast("short toast")).isTrue(); in shouldMakeTextCorrectly()58 assertThat(ShadowToast.getLatestToast()).isSameAs(toast); in shouldSetTextCorrectly()59 assertThat(ShadowToast.getTextOfLatestToast()).isEqualTo("other toast"); in shouldSetTextCorrectly()60 assertThat(ShadowToast.showedToast("other toast")).isTrue(); in shouldSetTextCorrectly()68 assertThat(ShadowToast.getLatestToast()).isSameAs(toast); in shouldSetTextWithIdCorrectly()69 assertThat(ShadowToast.getTextOfLatestToast()).isEqualTo("Hello"); in shouldSetTextWithIdCorrectly()70 assertThat(ShadowToast.showedToast("Hello")).isTrue(); in shouldSetTextWithIdCorrectly()100 assertThat(ShadowToast.shownToastCount()).isEqualTo(0); in shouldCountToastsCorrectly()[all …]
16 public class ShadowToast { class39 ShadowToast shadowToast = Shadow.extract(toast); in makeText()176 ShadowToast shadowToast = Shadow.extract(toast); in showedToast()197 ShadowToast shadowToast = Shadow.extract(latestToast); in getTextOfLatestToast()