| 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 "ash/shell.h" | 5 #include "ash/shell.h" |
| 6 #include "ash/wm/cursor_manager.h" | 6 #include "ash/wm/cursor_manager.h" |
| 7 #include "base/command_line.h" | 7 #include "base/command_line.h" |
| 8 #include "chrome/browser/chromeos/cros/cros_in_process_browser_test.h" | 8 #include "chrome/browser/chromeos/cros/cros_in_process_browser_test.h" |
| 9 #include "chrome/browser/chromeos/cros/mock_cryptohome_library.h" | 9 #include "chrome/browser/chromeos/cros/mock_cryptohome_library.h" |
| 10 #include "chrome/browser/chromeos/cros/mock_network_library.h" | 10 #include "chrome/browser/chromeos/cros/mock_network_library.h" |
| 11 #include "chrome/browser/chromeos/login/login_wizard.h" | 11 #include "chrome/browser/chromeos/login/login_wizard.h" |
| 12 #include "chrome/browser/chromeos/login/wizard_controller.h" | 12 #include "chrome/browser/chromeos/login/wizard_controller.h" |
| 13 #include "chrome/browser/profiles/profile_manager.h" | 13 #include "chrome/browser/profiles/profile_manager.h" |
| 14 #include "chrome/browser/ui/browser.h" | 14 #include "chrome/browser/ui/browser.h" |
| 15 #include "chrome/common/chrome_switches.h" | 15 #include "chrome/common/chrome_switches.h" |
| 16 #include "chrome/test/base/interactive_test_utils.h" |
| 16 #include "chrome/test/base/in_process_browser_test.h" | 17 #include "chrome/test/base/in_process_browser_test.h" |
| 17 #include "chrome/test/base/ui_test_utils.h" | 18 #include "chrome/test/base/ui_test_utils.h" |
| 18 #include "testing/gmock/include/gmock/gmock.h" | 19 #include "testing/gmock/include/gmock/gmock.h" |
| 19 #include "testing/gtest/include/gtest/gtest.h" | 20 #include "testing/gtest/include/gtest/gtest.h" |
| 20 | 21 |
| 21 using ::testing::_; | 22 using ::testing::_; |
| 22 using ::testing::AnyNumber; | 23 using ::testing::AnyNumber; |
| 23 using ::testing::Return; | 24 using ::testing::Return; |
| 24 | 25 |
| 25 namespace chromeos { | 26 namespace chromeos { |
| (...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 120 | 121 |
| 121 // Cursor should be hidden at startup | 122 // Cursor should be hidden at startup |
| 122 EXPECT_FALSE(ash::Shell::GetInstance()->cursor_manager()->cursor_visible()); | 123 EXPECT_FALSE(ash::Shell::GetInstance()->cursor_manager()->cursor_visible()); |
| 123 | 124 |
| 124 // Cursor should be shown after cursor is moved. | 125 // Cursor should be shown after cursor is moved. |
| 125 EXPECT_TRUE(ui_test_utils::SendMouseMoveSync(gfx::Point())); | 126 EXPECT_TRUE(ui_test_utils::SendMouseMoveSync(gfx::Point())); |
| 126 EXPECT_TRUE(ash::Shell::GetInstance()->cursor_manager()->cursor_visible()); | 127 EXPECT_TRUE(ash::Shell::GetInstance()->cursor_manager()->cursor_visible()); |
| 127 } | 128 } |
| 128 | 129 |
| 129 } // namespace chromeos | 130 } // namespace chromeos |
| OLD | NEW |