OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 "chrome/browser/chromeos/cros/cros_mock.h" | 5 #include "chrome/browser/chromeos/cros/cros_mock.h" |
6 | 6 |
7 #include "base/message_loop.h" | 7 #include "base/message_loop.h" |
8 #include "base/ref_counted.h" | 8 #include "base/ref_counted.h" |
9 #include "base/time.h" | 9 #include "base/time.h" |
10 #include "chrome/browser/chromeos/cros/mock_cryptohome_library.h" | 10 #include "chrome/browser/chromeos/cros/mock_cryptohome_library.h" |
11 #include "chrome/browser/chromeos/cros/mock_input_method_library.h" | 11 #include "chrome/browser/chromeos/cros/mock_input_method_library.h" |
12 #include "chrome/browser/chromeos/cros/mock_keyboard_library.h" | 12 #include "chrome/browser/chromeos/cros/mock_keyboard_library.h" |
13 #include "chrome/browser/chromeos/cros/mock_library_loader.h" | 13 #include "chrome/browser/chromeos/cros/mock_library_loader.h" |
14 #include "chrome/browser/chromeos/cros/mock_network_library.h" | 14 #include "chrome/browser/chromeos/cros/mock_network_library.h" |
15 #include "chrome/browser/chromeos/cros/mock_power_library.h" | 15 #include "chrome/browser/chromeos/cros/mock_power_library.h" |
16 #include "chrome/browser/chromeos/cros/mock_screen_lock_library.h" | 16 #include "chrome/browser/chromeos/cros/mock_screen_lock_library.h" |
17 #include "chrome/browser/chromeos/cros/mock_speech_synthesis_library.h" | 17 #include "chrome/browser/chromeos/cros/mock_speech_synthesis_library.h" |
18 #include "chrome/browser/chromeos/cros/mock_system_library.h" | 18 #include "chrome/browser/chromeos/cros/mock_system_library.h" |
19 #include "chrome/browser/chromeos/cros/mock_touchpad_library.h" | 19 #include "chrome/browser/chromeos/cros/mock_touchpad_library.h" |
20 #include "chrome/browser/chromeos/login/wizard_controller.h" | 20 #include "chrome/browser/chromeos/login/wizard_controller.h" |
21 #include "chrome/browser/chromeos/login/wizard_screen.h" | 21 #include "chrome/browser/chromeos/login/wizard_screen.h" |
22 #include "chrome/browser/ui/browser.h" | |
23 #include "chrome/test/in_process_browser_test.h" | 22 #include "chrome/test/in_process_browser_test.h" |
24 #include "chrome/test/ui_test_utils.h" | 23 #include "chrome/test/ui_test_utils.h" |
25 #include "testing/gmock/include/gmock/gmock.h" | 24 #include "testing/gmock/include/gmock/gmock.h" |
26 #include "testing/gtest/include/gtest/gtest.h" | 25 #include "testing/gtest/include/gtest/gtest.h" |
27 | 26 |
28 namespace chromeos { | 27 namespace chromeos { |
29 | 28 |
30 using ::testing::AnyNumber; | 29 using ::testing::AnyNumber; |
31 using ::testing::AtMost; | 30 using ::testing::AtMost; |
32 using ::testing::InSequence; | 31 using ::testing::InSequence; |
(...skipping 409 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
442 test_api()->SetScreenLockLibrary(NULL, false); | 441 test_api()->SetScreenLockLibrary(NULL, false); |
443 if (mock_speech_synthesis_library_) | 442 if (mock_speech_synthesis_library_) |
444 test_api()->SetSpeechSynthesisLibrary(NULL, false); | 443 test_api()->SetSpeechSynthesisLibrary(NULL, false); |
445 if (mock_system_library_) | 444 if (mock_system_library_) |
446 test_api()->SetSystemLibrary(NULL, false); | 445 test_api()->SetSystemLibrary(NULL, false); |
447 if (mock_touchpad_library_) | 446 if (mock_touchpad_library_) |
448 test_api()->SetTouchpadLibrary(NULL, false); | 447 test_api()->SetTouchpadLibrary(NULL, false); |
449 } | 448 } |
450 | 449 |
451 } // namespace chromeos | 450 } // namespace chromeos |
OLD | NEW |