notification_list_unittest.cc | 94 const NotificationBlockers& blockers() const { return blockers_; } function in class:message_center::NotificationListTest 127 ASSERT_EQ(0u, notification_list()->NotificationCount(blockers())); 128 ASSERT_EQ(0u, notification_list()->UnreadCount(blockers())); 131 EXPECT_EQ(1u, notification_list()->NotificationCount(blockers())); 133 EXPECT_EQ(2u, notification_list()->NotificationCount(blockers())); 134 EXPECT_EQ(2u, notification_list()->UnreadCount(blockers())); 136 EXPECT_TRUE(notification_list()->HasPopupNotifications(blockers())); 145 EXPECT_EQ(2u, notification_list()->NotificationCount(blockers())); 149 EXPECT_EQ(1u, notification_list()->NotificationCount(blockers())); 150 EXPECT_EQ(1u, notification_list()->UnreadCount(blockers())); [all...] |