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

Unified Diff: ui/message_center/views/message_center_view_unittest.cc

Issue 2859193004: Remove GridLayout::SetInsets in favor of an empty border on the host. (Closed)
Patch Set: missed a merge problem Created 3 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
« no previous file with comments | « ui/message_center/views/message_center_button_bar.cc ('k') | ui/views/layout/grid_layout.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/message_center/views/message_center_view_unittest.cc
diff --git a/ui/message_center/views/message_center_view_unittest.cc b/ui/message_center/views/message_center_view_unittest.cc
index 83101f61c2d69eb370d45f813eab73b56a44b92e..9edd0d80e7f93d2d1609f636ac909c06f2135660 100644
--- a/ui/message_center/views/message_center_view_unittest.cc
+++ b/ui/message_center/views/message_center_view_unittest.cc
@@ -578,7 +578,7 @@ TEST_F(MessageCenterViewTest, SizeAfterRemove) {
EXPECT_FALSE(GetNotificationView(kNotificationId1));
EXPECT_TRUE(GetNotificationView(kNotificationId2));
- EXPECT_EQ(GetMessageListView()->height(), original_height);
+ EXPECT_EQ(original_height, GetMessageListView()->height());
}
TEST_F(MessageCenterViewTest, PositionAfterUpdate) {
@@ -851,7 +851,7 @@ TEST_F(MessageCenterViewTest,
}
TEST_F(MessageCenterViewTest, LockScreen) {
- const int kLockedMessageCenterViewHeight = 50;
+ const int kLockedMessageCenterViewHeight = 51;
EXPECT_TRUE(GetNotificationView(kNotificationId1)->IsDrawn());
EXPECT_TRUE(GetNotificationView(kNotificationId2)->IsDrawn());
@@ -928,7 +928,7 @@ TEST_F(MessageCenterViewTest, LockScreen) {
}
TEST_F(MessageCenterViewTest, NoNotification) {
- const int kEmptyMessageCenterViewHeight = 50;
+ const int kEmptyMessageCenterViewHeight = 51;
GetMessageCenterView()->SizeToPreferredSize();
EXPECT_NE(kEmptyMessageCenterViewHeight, GetMessageCenterView()->height());
« no previous file with comments | « ui/message_center/views/message_center_button_bar.cc ('k') | ui/views/layout/grid_layout.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698