| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 #include <vector> | 6 #include <vector> |
| 7 | 7 |
| 8 #include "base/bind.h" | 8 #include "base/bind.h" |
| 9 #include "base/bind_helpers.h" | 9 #include "base/bind_helpers.h" |
| 10 #include "base/callback.h" | 10 #include "base/callback.h" |
| (...skipping 418 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 429 | 429 |
| 430 IN_PROC_BROWSER_TEST_F(ExistingUserControllerUntrustedTest, | 430 IN_PROC_BROWSER_TEST_F(ExistingUserControllerUntrustedTest, |
| 431 SupervisedUserLoginForbidden) { | 431 SupervisedUserLoginForbidden) { |
| 432 UserContext user_context(kSupervisedUserID); | 432 UserContext user_context(kSupervisedUserID); |
| 433 user_context.SetKey(Key(kPassword)); | 433 user_context.SetKey(Key(kPassword)); |
| 434 user_context.SetUserIDHash(kUsername); | 434 user_context.SetUserIDHash(kUsername); |
| 435 existing_user_controller()->Login(user_context, SigninSpecifics()); | 435 existing_user_controller()->Login(user_context, SigninSpecifics()); |
| 436 } | 436 } |
| 437 | 437 |
| 438 IN_PROC_BROWSER_TEST_F(ExistingUserControllerUntrustedTest, | 438 IN_PROC_BROWSER_TEST_F(ExistingUserControllerUntrustedTest, |
| 439 SupervisedUserCreationForbidden) { | 439 DISABLED_SupervisedUserCreationForbidden) { |
| 440 MockBaseScreenDelegate mock_base_screen_delegate; | 440 MockBaseScreenDelegate mock_base_screen_delegate; |
| 441 SupervisedUserCreationScreenHandler supervised_user_creation_screen_handler; | 441 SupervisedUserCreationScreenHandler supervised_user_creation_screen_handler; |
| 442 SupervisedUserCreationScreen supervised_user_creation_screen( | 442 SupervisedUserCreationScreen supervised_user_creation_screen( |
| 443 &mock_base_screen_delegate, | 443 &mock_base_screen_delegate, |
| 444 &supervised_user_creation_screen_handler); | 444 &supervised_user_creation_screen_handler); |
| 445 | 445 |
| 446 EXPECT_CALL(*mock_user_manager_, SetUserFlow(kUsername, _)).Times(1); | 446 EXPECT_CALL(*mock_user_manager_, SetUserFlow(kUsername, _)).Times(1); |
| 447 supervised_user_creation_screen.AuthenticateManager(kUsername, kPassword); | 447 supervised_user_creation_screen.AuthenticateManager(kUsername, kPassword); |
| 448 } | 448 } |
| 449 | 449 |
| (...skipping 378 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 828 // First run propagates public accounts and stores them in Local State. | 828 // First run propagates public accounts and stores them in Local State. |
| 829 } | 829 } |
| 830 | 830 |
| 831 // See http://crbug.com/393704; flaky. | 831 // See http://crbug.com/393704; flaky. |
| 832 IN_PROC_BROWSER_TEST_F(ExistingUserControllerPublicSessionTest, | 832 IN_PROC_BROWSER_TEST_F(ExistingUserControllerPublicSessionTest, |
| 833 DISABLED_TestLoadingPublicUsersFromLocalState) { | 833 DISABLED_TestLoadingPublicUsersFromLocalState) { |
| 834 // Second run loads list of public accounts from Local State. | 834 // Second run loads list of public accounts from Local State. |
| 835 } | 835 } |
| 836 | 836 |
| 837 } // namespace chromeos | 837 } // namespace chromeos |
| OLD | NEW |