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

Commit f8641a4d authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Fix broken test" into sc-dev

parents e4be9a7b 0b9ce16c
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