Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0b9ce16c authored by Tsung-Mao Fang's avatar Tsung-Mao Fang
Browse files

Fix broken test

Fix: 190017630
Test: robo test
Change-Id: I46978a3f3d3d564cd9fcabad47edf6907d4e4966
parent 4abbe803
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -73,7 +73,7 @@ public class ApplicationViewHolderTest {
    public void setTitle_titleIsNotEmptyAndContentIsNotEmpty_shouldSetTitleAndContentDescription() {
        mHolder.setTitle("title", "content");

        assertThat(mHolder.mAppName).isEqualTo("title");
        assertThat(mHolder.mAppName.getText()).isEqualTo("title");
        assertThat(mHolder.mAppName.getContentDescription()).isEqualTo("content");
    }

@@ -81,8 +81,8 @@ public class ApplicationViewHolderTest {
    public void setTitle_titleIsNotEmptyButContentIsEmpty_shouldSetTitle() {
        mHolder.setTitle("title", "");

        assertThat(mHolder.mAppName).isEqualTo("title");
        assertThat(mHolder.mAppName.getContentDescription()).isEqualTo("title");
        assertThat(mHolder.mAppName.getText()).isEqualTo("title");
        assertThat(mHolder.mAppName.getContentDescription()).isNull();
    }

    @Test