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

Side by Side Diff: chrome/browser/chromeos/login/existing_user_controller_browsertest.cc

Issue 709443005: [Testing] Disabling leaky test ExistingUserControllerUntrustedTest.SupervisedUserCreationForbidden (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 1 month 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 unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698