Loading packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/NotificationRankingManagerTest.kt +5 −5 Original line number Diff line number Diff line Loading @@ -208,7 +208,7 @@ class NotificationRankingManagerTest : SysuiTestCase() { .setTag("tag") .setNotification(aN) .setChannel(NotificationChannel("test", "", IMPORTANCE_DEFAULT)) .setUser(mContext.getUser()) .setUser(mContext.user) .setOverrideGroupKey("") .build() whenever(personNotificationIdentifier.isImportantPeopleNotification(a.sbn, a.ranking)) Loading @@ -226,12 +226,12 @@ class NotificationRankingManagerTest : SysuiTestCase() { .setTag("tag") .setNotification(bN) .setChannel(NotificationChannel("test", "", IMPORTANCE_DEFAULT)) .setUser(mContext.getUser()) .setUser(mContext.user) .setOverrideGroupKey("") .build() whenever(personNotificationIdentifier.isImportantPeopleNotification(a.sbn, a.ranking)) .thenReturn(false) whenever(personNotificationIdentifier.isPeopleNotification(a.sbn, a.ranking)) whenever(personNotificationIdentifier.isImportantPeopleNotification(b.sbn, b.ranking)) .thenReturn(true) whenever(personNotificationIdentifier.isPeopleNotification(b.sbn, b.ranking)) .thenReturn(true) assertEquals( Loading Loading
packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/NotificationRankingManagerTest.kt +5 −5 Original line number Diff line number Diff line Loading @@ -208,7 +208,7 @@ class NotificationRankingManagerTest : SysuiTestCase() { .setTag("tag") .setNotification(aN) .setChannel(NotificationChannel("test", "", IMPORTANCE_DEFAULT)) .setUser(mContext.getUser()) .setUser(mContext.user) .setOverrideGroupKey("") .build() whenever(personNotificationIdentifier.isImportantPeopleNotification(a.sbn, a.ranking)) Loading @@ -226,12 +226,12 @@ class NotificationRankingManagerTest : SysuiTestCase() { .setTag("tag") .setNotification(bN) .setChannel(NotificationChannel("test", "", IMPORTANCE_DEFAULT)) .setUser(mContext.getUser()) .setUser(mContext.user) .setOverrideGroupKey("") .build() whenever(personNotificationIdentifier.isImportantPeopleNotification(a.sbn, a.ranking)) .thenReturn(false) whenever(personNotificationIdentifier.isPeopleNotification(a.sbn, a.ranking)) whenever(personNotificationIdentifier.isImportantPeopleNotification(b.sbn, b.ranking)) .thenReturn(true) whenever(personNotificationIdentifier.isPeopleNotification(b.sbn, b.ranking)) .thenReturn(true) assertEquals( Loading