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/macros.h" |
7 #include "base/path_service.h" | 8 #include "base/path_service.h" |
8 #include "chrome/browser/chromeos/login/easy_unlock/bootstrap_user_context_initi
alizer.h" | 9 #include "chrome/browser/chromeos/login/easy_unlock/bootstrap_user_context_initi
alizer.h" |
9 #include "chrome/browser/chromeos/login/session/user_session_manager.h" | 10 #include "chrome/browser/chromeos/login/session/user_session_manager.h" |
10 #include "chrome/browser/chromeos/login/session/user_session_manager_test_api.h" | 11 #include "chrome/browser/chromeos/login/session/user_session_manager_test_api.h" |
11 #include "chrome/browser/chromeos/login/test/oobe_base_test.h" | 12 #include "chrome/browser/chromeos/login/test/oobe_base_test.h" |
12 #include "chrome/browser/chromeos/login/test/oobe_screen_waiter.h" | 13 #include "chrome/browser/chromeos/login/test/oobe_screen_waiter.h" |
13 #include "chrome/browser/chromeos/login/wizard_controller.h" | 14 #include "chrome/browser/chromeos/login/wizard_controller.h" |
14 #include "chrome/browser/signin/easy_unlock_service_factory.h" | 15 #include "chrome/browser/signin/easy_unlock_service_factory.h" |
15 #include "chrome/common/chrome_paths.h" | 16 #include "chrome/common/chrome_paths.h" |
16 #include "chromeos/chromeos_switches.h" | 17 #include "chromeos/chromeos_switches.h" |
(...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
154 // Failed bootstrap should attempt exit and get out of this loop. | 155 // Failed bootstrap should attempt exit and get out of this loop. |
155 content::RunMessageLoop(); | 156 content::RunMessageLoop(); |
156 } | 157 } |
157 | 158 |
158 IN_PROC_BROWSER_TEST_F(BootstrapTest, CleanUpFailedUser) { | 159 IN_PROC_BROWSER_TEST_F(BootstrapTest, CleanUpFailedUser) { |
159 EXPECT_FALSE(user_manager::UserManager::Get()->IsKnownUser( | 160 EXPECT_FALSE(user_manager::UserManager::Get()->IsKnownUser( |
160 AccountId::FromUserEmail(kFakeUser))); | 161 AccountId::FromUserEmail(kFakeUser))); |
161 } | 162 } |
162 | 163 |
163 } // namespace chromeos | 164 } // namespace chromeos |
OLD | NEW |