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

Side by Side Diff: ui/message_center/cocoa/tray_view_controller_unittest.mm

Issue 1155623002: Added CGFloat comparison functions. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Include gtest_mac.h from callers instead of adding it to ui_cocoa_test_helper.h Created 5 years, 6 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 unified diff | Download patch
« no previous file with comments | « ui/gfx/test/ui_cocoa_test_helper.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #import "ui/message_center/cocoa/tray_view_controller.h" 5 #import "ui/message_center/cocoa/tray_view_controller.h"
6 6
7 #include "base/mac/scoped_nsobject.h" 7 #include "base/mac/scoped_nsobject.h"
8 #include "base/message_loop/message_loop.h" 8 #include "base/message_loop/message_loop.h"
9 #include "base/run_loop.h" 9 #include "base/run_loop.h"
10 #include "base/strings/utf_string_conversions.h" 10 #include "base/strings/utf_string_conversions.h"
11 #import "testing/gtest_mac.h"
11 #import "ui/gfx/test/ui_cocoa_test_helper.h" 12 #import "ui/gfx/test/ui_cocoa_test_helper.h"
12 #include "ui/message_center/fake_notifier_settings_provider.h" 13 #include "ui/message_center/fake_notifier_settings_provider.h"
13 #include "ui/message_center/message_center.h" 14 #include "ui/message_center/message_center.h"
14 #include "ui/message_center/message_center_impl.h" 15 #include "ui/message_center/message_center_impl.h"
15 #include "ui/message_center/message_center_style.h" 16 #include "ui/message_center/message_center_style.h"
16 #include "ui/message_center/notification.h" 17 #include "ui/message_center/notification.h"
17 #include "ui/message_center/notifier_settings.h" 18 #include "ui/message_center/notifier_settings.h"
18 19
19 using base::ASCIIToUTF16; 20 using base::ASCIIToUTF16;
20 21
(...skipping 252 matching lines...) Expand 10 before | Expand all | Expand 10 after
273 NULL)); 274 NULL));
274 center_->AddNotification(notification.Pass()); 275 center_->AddNotification(notification.Pass());
275 [tray_ onMessageCenterTrayChanged]; 276 [tray_ onMessageCenterTrayChanged];
276 277
277 EXPECT_FALSE([[tray_ divider] isHidden]); 278 EXPECT_FALSE([[tray_ divider] isHidden]);
278 EXPECT_FALSE([[tray_ scrollView] isHidden]); 279 EXPECT_FALSE([[tray_ scrollView] isHidden]);
279 EXPECT_TRUE([[tray_ emptyDescription] isHidden]); 280 EXPECT_TRUE([[tray_ emptyDescription] isHidden]);
280 } 281 }
281 282
282 } // namespace message_center 283 } // namespace message_center
OLDNEW
« no previous file with comments | « ui/gfx/test/ui_cocoa_test_helper.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698