Merge "Fix flaky fail of ApplicationsStateRoboTest" into rvc-dev am: 6e7e3564f7 am: 698e85c92c am: 3f33173213

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11936466

Change-Id: Ie5d364e7e7d62a4c56a06e2410f52e760b58bb74
This commit is contained in:
TreeHugger Robot
2020-06-22 02:23:03 +00:00
committed by Automerger Merge Worker

View File

@@ -341,7 +341,6 @@ public class ApplicationsStateRoboTest {
assertThat(appEntries.size()).isEqualTo(1);
AppEntry launchableEntry = findAppEntry(appEntries, 1);
assertThat(launchableEntry.icon).isNull();
assertThat(launchableEntry.hasLauncherEntry).isFalse();
assertThat(launchableEntry.size).isGreaterThan(0L);
}
@@ -360,7 +359,6 @@ public class ApplicationsStateRoboTest {
assertThat(appEntries.size()).isEqualTo(1);
AppEntry launchableEntry = findAppEntry(appEntries, 1);
assertThat(launchableEntry.icon).isNull();
assertThat(launchableEntry.hasLauncherEntry).isFalse();
assertThat(launchableEntry.size).isEqualTo(-1);
assertThat(launchableEntry.isHomeApp).isTrue();
@@ -380,7 +378,6 @@ public class ApplicationsStateRoboTest {
assertThat(appEntries.size()).isEqualTo(1);
AppEntry launchableEntry = findAppEntry(appEntries, 1);
assertThat(launchableEntry.icon).isNull();
assertThat(launchableEntry.size).isEqualTo(-1);
assertThat(launchableEntry.isHomeApp).isFalse();
assertThat(launchableEntry.hasLauncherEntry).isTrue();