summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Mady Mellor <madym@google.com> 2019-05-23 14:40:54 -0700
committer Mady Mellor <madym@google.com> 2019-05-28 12:01:46 -0700
commit6847869746ef70d34a56142a585c15194fe8bbac (patch)
tree705646d0f1815576b9950c32bfffe672aa0f63b1
parentbbcf07f3f3f9538aee1bdbfeebfa74991c699e85 (diff)
Test for ranking listener
Test: this is it / atest NotificationEntryManagerTest Bug: 130441629 Change-Id: I2553a44caee080689202bf1941eb397469466cd8
-rw-r--r--packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/NotificationEntryManagerTest.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/NotificationEntryManagerTest.java b/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/NotificationEntryManagerTest.java
index 4d593c101706..72f3a62f30a7 100644
--- a/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/NotificationEntryManagerTest.java
+++ b/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/NotificationEntryManagerTest.java
@@ -402,6 +402,7 @@ public class NotificationEntryManagerTest extends SysuiTestCase {
verify(mRow).setEntry(eq(mEntry));
assertEquals(1, mEntry.systemGeneratedSmartActions.size());
assertEquals("action", mEntry.systemGeneratedSmartActions.get(0).title);
+ verify(mEntryListener).onNotificationRankingUpdated(mRankingMap);
}
@Test