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

Unified Diff: ash/system/user/tray_user_unittest.cc

Issue 2041233005: Moves ash::user::LoginStatus to ash/common (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix test Created 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ash/system/user/tray_user_separator.cc ('k') | ash/system/user/user_card_view.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/system/user/tray_user_unittest.cc
diff --git a/ash/system/user/tray_user_unittest.cc b/ash/system/user/tray_user_unittest.cc
index d0ea56675d182749f71b9a8580df6a201b3bf106..d851271e8671da01c0f6686c8a4d3e928c012855 100644
--- a/ash/system/user/tray_user_unittest.cc
+++ b/ash/system/user/tray_user_unittest.cc
@@ -124,10 +124,10 @@ void TrayUserTest::ClickUserItem(ui::test::EventGenerator* generator,
// Make sure that we show items for all users in the tray accordingly.
TEST_F(TrayUserTest, CheckTrayItemSize) {
InitializeParameters(1, false);
- tray_user(0)->UpdateAfterLoginStatusChangeForTest(user::LOGGED_IN_GUEST);
+ tray_user(0)->UpdateAfterLoginStatusChangeForTest(LoginStatus::GUEST);
gfx::Size size = tray_user(0)->GetLayoutSizeForTest();
EXPECT_EQ(kTrayItemSize, size.height());
- tray_user(0)->UpdateAfterLoginStatusChangeForTest(user::LOGGED_IN_USER);
+ tray_user(0)->UpdateAfterLoginStatusChangeForTest(LoginStatus::USER);
size = tray_user(0)->GetLayoutSizeForTest();
EXPECT_EQ(kTrayItemSize, size.height());
}
« no previous file with comments | « ash/system/user/tray_user_separator.cc ('k') | ash/system/user/user_card_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698