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

Unified Diff: ash/common/session/session_controller_unittest.cc

Issue 2797743002: ash: Merge LoginStatus update code path (Closed)
Patch Set: for #2 comments Created 3 years, 8 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/common/session/session_controller.cc ('k') | ash/common/session/session_state_observer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/common/session/session_controller_unittest.cc
diff --git a/ash/common/session/session_controller_unittest.cc b/ash/common/session/session_controller_unittest.cc
index 9da35fd1f4d7dba6f6e6e55364448720ac04b508..d34fbfde163a833d6aabaca932083feaf793d2b7 100644
--- a/ash/common/session/session_controller_unittest.cc
+++ b/ash/common/session/session_controller_unittest.cc
@@ -231,7 +231,7 @@ TEST_F(SessionControllerTest, GetLoginStatus) {
for (const auto& test_case : kTestCases) {
info.state = test_case.state;
SetSessionInfo(info);
- EXPECT_EQ(test_case.expected_status, controller()->GetLoginStatus())
+ EXPECT_EQ(test_case.expected_status, controller()->login_status())
<< "Test case state=" << static_cast<int>(test_case.state);
}
}
@@ -267,7 +267,7 @@ TEST_F(SessionControllerTest, GetLoginStateForActiveSession) {
session->display_email = "user1@test.com";
controller()->UpdateUserSession(std::move(session));
- EXPECT_EQ(test_case.expected_status, controller()->GetLoginStatus())
+ EXPECT_EQ(test_case.expected_status, controller()->login_status())
<< "Test case user_type=" << static_cast<int>(test_case.user_type);
}
}
« no previous file with comments | « ash/common/session/session_controller.cc ('k') | ash/common/session/session_state_observer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698