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

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

Issue 8414021: [cros] Remove few account screen mentions. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix build Created 9 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 | Annotate | Revision Log
« no previous file with comments | « chrome/browser/chromeos/login/wizard_controller.cc ('k') | 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 "base/utf_string_conversions.h" 5 #include "base/utf_string_conversions.h"
6 #include "chrome/browser/browser_process.h" 6 #include "chrome/browser/browser_process.h"
7 #include "chrome/browser/chromeos/login/enrollment/enterprise_enrollment_screen. h" 7 #include "chrome/browser/chromeos/login/enrollment/enterprise_enrollment_screen. h"
8 #include "chrome/browser/chromeos/login/enrollment/mock_enterprise_enrollment_sc reen.h" 8 #include "chrome/browser/chromeos/login/enrollment/mock_enterprise_enrollment_sc reen.h"
9 #include "chrome/browser/chromeos/login/existing_user_controller.h" 9 #include "chrome/browser/chromeos/login/existing_user_controller.h"
10 #include "chrome/browser/chromeos/login/language_switch_menu.h" 10 #include "chrome/browser/chromeos/login/language_switch_menu.h"
(...skipping 279 matching lines...) Expand 10 before | Expand all | Expand 10 after
290 EXPECT_CALL(*mock_update_screen_, Hide()).Times(1); 290 EXPECT_CALL(*mock_update_screen_, Hide()).Times(1);
291 EXPECT_TRUE(focus_manager->ProcessAccelerator(accel_image_screen)); 291 EXPECT_TRUE(focus_manager->ProcessAccelerator(accel_image_screen));
292 EXPECT_EQ(controller()->GetUserImageScreen(), controller()->current_screen()); 292 EXPECT_EQ(controller()->GetUserImageScreen(), controller()->current_screen());
293 293
294 focus_manager = contents->GetFocusManager(); 294 focus_manager = contents->GetFocusManager();
295 EXPECT_CALL(*mock_eula_screen_, Show()).Times(1); 295 EXPECT_CALL(*mock_eula_screen_, Show()).Times(1);
296 EXPECT_TRUE(focus_manager->ProcessAccelerator(accel_eula_screen)); 296 EXPECT_TRUE(focus_manager->ProcessAccelerator(accel_eula_screen));
297 EXPECT_EQ(controller()->GetEulaScreen(), controller()->current_screen()); 297 EXPECT_EQ(controller()->GetEulaScreen(), controller()->current_screen());
298 } 298 }
299 299
300 COMPILE_ASSERT(ScreenObserver::EXIT_CODES_COUNT == 17, 300 COMPILE_ASSERT(ScreenObserver::EXIT_CODES_COUNT == 15,
301 add_tests_for_new_control_flow_you_just_introduced); 301 add_tests_for_new_control_flow_you_just_introduced);
302 302
303 } // namespace chromeos 303 } // namespace chromeos
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/login/wizard_controller.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698