From c8daad69620f265555b9cbe36c1c2c6a288ef2aa Mon Sep 17 00:00:00 2001 From: Lucas Dupin Date: Tue, 14 Jul 2020 18:10:53 -0700 Subject: DO NOT MERGE Fix broken test We now expect one more section, given that media controls are always enabled. Test: atest NotificationSectionsFeatureManagerTest Fixes: 161202319 Change-Id: I6d801d15789a1366e448b6a9b2cf372d7c43064c --- .../notification/NotificationSectionsFeatureManagerTest.kt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/NotificationSectionsFeatureManagerTest.kt b/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/NotificationSectionsFeatureManagerTest.kt index 8948fd07379b..da77fbcea294 100644 --- a/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/NotificationSectionsFeatureManagerTest.kt +++ b/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/NotificationSectionsFeatureManagerTest.kt @@ -64,8 +64,8 @@ class NotificationSectionsFeatureManagerTest : SysuiTestCase() { DeviceConfig.NAMESPACE_SYSTEMUI, NOTIFICATIONS_USE_PEOPLE_FILTERING, "false", false) assertFalse("People filtering should be disabled", manager!!.isFilteringEnabled()) - assertTrue("Expecting 2 buckets when people filtering is disabled", - manager!!.getNumberOfBuckets() == 2) + assertTrue("Expecting 5 buckets when people filtering is disabled", + manager!!.getNumberOfBuckets() == 5) } @Test @@ -74,7 +74,7 @@ class NotificationSectionsFeatureManagerTest : SysuiTestCase() { DeviceConfig.NAMESPACE_SYSTEMUI, NOTIFICATIONS_USE_PEOPLE_FILTERING, "true", false) assertTrue("People filtering should be enabled", manager!!.isFilteringEnabled()) - assertTrue("Expecting 5 buckets when people filtering is enabled", - manager!!.getNumberOfBuckets() == 5) + assertTrue("Expecting 6 buckets when people filtering is enabled", + manager!!.getNumberOfBuckets() == 6) } } -- cgit v1.2.3-59-g8ed1b