Lines Matching refs:id0

132   std::string id0 = AddNotification();
139 EXPECT_TRUE(notification_list()->GetNotificationById(id0));
145 notification_list()->MarkSinglePopupAsShown(id0, true);
150 notification_list()->RemoveNotification(id0);
172 std::string id0 = AddNotification();
176 notification_list()->MarkSinglePopupAsDisplayed(id0);
178 notification_list()->MarkSinglePopupAsDisplayed(id0);
185 std::string id0 = AddNotification();
186 std::string replaced = id0 + "_replaced";
198 notification_list()->UpdateNotificationMessage(id0, notification.Pass());
208 NotifierId id0(NotifierId::APPLICATION, "ext0");
214 "id0",
219 id0,
229 id0,
239 id0,
275 notification_list()->GetNotificationsByNotifierId(id0);
276 EXPECT_TRUE(IsInNotifications(by_notifier_id, "id0"));
284 EXPECT_FALSE(IsInNotifications(by_notifier_id, "id0"));
292 EXPECT_FALSE(IsInNotifications(by_notifier_id, "id0"));
300 EXPECT_FALSE(IsInNotifications(by_notifier_id, "id0"));
415 std::string id0 = AddPriorityNotification(LOW_PRIORITY);
416 std::string replaced = id0 + "_replaced";
431 notification_list()->UpdateNotificationMessage(id0, notification.Pass());
443 std::string id0 = AddPriorityNotification(LOW_PRIORITY);
449 // id0 promoted to LOW->DEFAULT, it'll appear as toast (popup).
454 id0,
462 notification_list()->UpdateNotificationMessage(id0, notification.Pass());
464 notification_list()->MarkSinglePopupAsShown(id0, true);
467 // update with no promotion change for id0, it won't appear as a toast.
469 id0,
478 notification_list()->UpdateNotificationMessage(id0, notification.Pass());