Fix broken test
Fix: 190017630 Test: robo test Change-Id: I46978a3f3d3d564cd9fcabad47edf6907d4e4966
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user