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

Unified Diff: chromeos/dbus/fake_auth_policy_client_unittest.cc

Issue 2841103002: Chromad: Add GetUserStatus call into AuthPolicyClient (Closed)
Patch Set: Fix test build 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 | « chromeos/dbus/fake_auth_policy_client.cc ('k') | chromeos/login/auth/authpolicy_login_helper.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromeos/dbus/fake_auth_policy_client_unittest.cc
diff --git a/chromeos/dbus/fake_auth_policy_client_unittest.cc b/chromeos/dbus/fake_auth_policy_client_unittest.cc
index e01977c5abe42ff861998389f80bea576f91abb9..131f1fa9221294da616720b0d5a7734d64ceb9a1 100644
--- a/chromeos/dbus/fake_auth_policy_client_unittest.cc
+++ b/chromeos/dbus/fake_auth_policy_client_unittest.cc
@@ -110,9 +110,9 @@ TEST_F(FakeAuthPolicyClientTest, AuthenticateUser_ByObjectGUID) {
kCorrectUserName, kObjectGUID, /* password_fd */ -1,
base::Bind(
[](authpolicy::ErrorType error,
- const authpolicy::ActiveDirectoryAccountData& account_data) {
+ const authpolicy::ActiveDirectoryAccountInfo& account_info) {
EXPECT_EQ(authpolicy::ERROR_NONE, error);
- EXPECT_EQ(kObjectGUID, account_data.account_id());
+ EXPECT_EQ(kObjectGUID, account_info.account_id());
}));
}
@@ -126,7 +126,7 @@ TEST_F(FakeAuthPolicyClientTest, NotStartedAuthPolicyService) {
authpolicy_client()->AuthenticateUser(
kCorrectUserName, std::string() /* object_guid */, /* password_fd */ -1,
base::Bind([](authpolicy::ErrorType error,
- const authpolicy::ActiveDirectoryAccountData&) {
+ const authpolicy::ActiveDirectoryAccountInfo&) {
EXPECT_EQ(authpolicy::ERROR_DBUS_FAILURE, error);
}));
authpolicy_client()->RefreshDevicePolicy(
« no previous file with comments | « chromeos/dbus/fake_auth_policy_client.cc ('k') | chromeos/login/auth/authpolicy_login_helper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698