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

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

Issue 2450183002: Rename UserInfo method GetEmail to GetDisplayEmail. (Closed)
Patch Set: Fixed build in a dependent CL. Created 4 years, 2 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 | « no previous file | ash/common/system/user/user_card_view.cc » ('j') | components/user_manager/empty_user_info.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/common/system/user/tray_user_unittest.cc
diff --git a/ash/common/system/user/tray_user_unittest.cc b/ash/common/system/user/tray_user_unittest.cc
index 3e77a74d804a33d03a481c68aa9cdf0042b4b821..bef99a38a4e82233ee655a4b50ec6c133f9e0899 100644
--- a/ash/common/system/user/tray_user_unittest.cc
+++ b/ash/common/system/user/tray_user_unittest.cc
@@ -258,8 +258,10 @@ TEST_F(TrayUserTest, MutiUserModeButtonClicks) {
EXPECT_EQ(active_user->GetAccountId(), second_user->GetAccountId());
// Since the name is capitalized, the email should be different then the
// user_id.
- EXPECT_NE(active_user->GetAccountId().GetUserEmail(),
- second_user->GetEmail());
+ EXPECT_NE(active_user->GetAccountId(), second_user->GetAccountId())
+ << "User switch failed: active_user:"
+ << active_user->GetAccountId().Serialize()
+ << ", second_user:" << second_user->GetAccountId().Serialize();
tray()->CloseSystemBubble();
}
« no previous file with comments | « no previous file | ash/common/system/user/user_card_view.cc » ('j') | components/user_manager/empty_user_info.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698