OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include <string> | 5 #include <string> |
6 | 6 |
7 #include "base/path_service.h" | 7 #include "base/path_service.h" |
8 #include "chrome/browser/chromeos/login/easy_unlock/bootstrap_user_context_initi
alizer.h" | 8 #include "chrome/browser/chromeos/login/easy_unlock/bootstrap_user_context_initi
alizer.h" |
9 #include "chrome/browser/chromeos/login/session/user_session_manager.h" | 9 #include "chrome/browser/chromeos/login/session/user_session_manager.h" |
10 #include "chrome/browser/chromeos/login/session/user_session_manager_test_api.h" | 10 #include "chrome/browser/chromeos/login/session/user_session_manager_test_api.h" |
(...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
149 | 149 |
150 SetTestEasyUnlockAppPath("login/easy_unlock/auto_pair_failure"); | 150 SetTestEasyUnlockAppPath("login/easy_unlock/auto_pair_failure"); |
151 | 151 |
152 EafeLogin(); | 152 EafeLogin(); |
153 | 153 |
154 // Failed bootstrap should attempt exit and get out of this loop. | 154 // Failed bootstrap should attempt exit and get out of this loop. |
155 content::RunMessageLoop(); | 155 content::RunMessageLoop(); |
156 } | 156 } |
157 | 157 |
158 IN_PROC_BROWSER_TEST_F(BootstrapTest, CleanUpFailedUser) { | 158 IN_PROC_BROWSER_TEST_F(BootstrapTest, CleanUpFailedUser) { |
159 EXPECT_FALSE(user_manager::UserManager::Get()->IsKnownUser(kFakeUser)); | 159 EXPECT_FALSE(user_manager::UserManager::Get()->IsKnownUser( |
| 160 AccountId::FromUserEmail(kFakeUser))); |
160 } | 161 } |
161 | 162 |
162 } // namespace chromeos | 163 } // namespace chromeos |
OLD | NEW |