Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2725)

Unified Diff: ash/system/web_notification/web_notification_tray_unittest.cc

Issue 10824153: Change Ash web notification behavior (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix unit tests Created 8 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: ash/system/web_notification/web_notification_tray_unittest.cc
diff --git a/ash/system/web_notification/web_notification_tray_unittest.cc b/ash/system/web_notification/web_notification_tray_unittest.cc
index 0319032b3fd883325868612b0446417fec668b18..7240a2a538a9fbb7592c40803e0a41dc9f47bd3a 100644
--- a/ash/system/web_notification/web_notification_tray_unittest.cc
+++ b/ash/system/web_notification/web_notification_tray_unittest.cc
@@ -82,7 +82,7 @@ TEST_F(WebNotificationTrayTest, WebNotifications) {
// Adding a notification should show the bubble.
delegate->AddNotification(tray, "test_id1");
- EXPECT_TRUE(tray->bubble() != NULL);
+ EXPECT_TRUE(tray->notification_bubble() != NULL);
EXPECT_EQ(1, tray->GetNotificationCount());
delegate->AddNotification(tray, "test_id2");
delegate->AddNotification(tray, "test_id2");
@@ -97,7 +97,7 @@ TEST_F(WebNotificationTrayTest, WebNotifications) {
// Removing the last notification should hide the bubble.
delegate->RemoveNotification(tray, "test_id1");
EXPECT_EQ(0, tray->GetNotificationCount());
- EXPECT_TRUE(tray->bubble() == NULL);
+ EXPECT_TRUE(tray->notification_bubble() == NULL);
}
} // namespace ash

Powered by Google App Engine
This is Rietveld 408576698