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

Unified Diff: ui/message_center/cocoa/notification_controller_unittest.mm

Issue 15582004: Move NotificationDelegate into message_center. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix the ever-changing Mac unit tests. Created 7 years, 7 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: ui/message_center/cocoa/notification_controller_unittest.mm
diff --git a/ui/message_center/cocoa/notification_controller_unittest.mm b/ui/message_center/cocoa/notification_controller_unittest.mm
index d817239595bab6f89ff642065a8d731b938c2302..71cd328d8bb38ec603558c95ccf4e137f6fe74da 100644
--- a/ui/message_center/cocoa/notification_controller_unittest.mm
+++ b/ui/message_center/cocoa/notification_controller_unittest.mm
@@ -101,6 +101,7 @@ TEST_F(NotificationControllerTest, BasicLayout) {
ASCIIToUTF16("Jonathan and 5 others"),
string16(),
std::string(),
+ NULL,
NULL));
notification->set_icon(gfx::Image([TestIcon() retain]));
@@ -129,6 +130,7 @@ TEST_F(NotificationControllerTest, OverflowText) {
"entire thing?"),
string16(),
std::string(),
+ NULL,
NULL));
scoped_nsobject<MCNotificationController> controller(
[[MCNotificationController alloc] initWithNotification:notification.get()
@@ -148,6 +150,7 @@ TEST_F(NotificationControllerTest, Close) {
string16(),
string16(),
std::string(),
+ NULL,
NULL));
MockMessageCenter message_center;
@@ -173,6 +176,7 @@ TEST_F(NotificationControllerTest, Update) {
"default bounds."),
string16(),
std::string(),
+ NULL,
NULL));
scoped_nsobject<MCNotificationController> controller(
[[MCNotificationController alloc] initWithNotification:notification.get()
@@ -205,7 +209,8 @@ TEST_F(NotificationControllerTest, Buttons) {
string16(),
string16(),
std::string(),
- &buttons));
+ &buttons,
+ NULL));
MockMessageCenter message_center;
scoped_nsobject<MCNotificationController> controller(
@@ -228,6 +233,7 @@ TEST_F(NotificationControllerTest, Image) {
string16(),
string16(),
std::string(),
+ NULL,
NULL));
NSImage* image = [NSImage imageNamed:NSImageNameFolder];
notification->set_image(gfx::Image([image retain]));

Powered by Google App Engine
This is Rietveld 408576698