| 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/browser.h" | 10 #include "chrome/browser/browser.h" |
| 11 #include "chrome/browser/browser_process.h" | 11 #include "chrome/browser/browser_process.h" |
| 12 #include "chrome/browser/chromeos/cros/mock_cryptohome_library.h" | 12 #include "chrome/browser/chromeos/cros/mock_cryptohome_library.h" |
| 13 #include "chrome/browser/chromeos/cros/mock_input_method_library.h" |
| 13 #include "chrome/browser/chromeos/cros/mock_keyboard_library.h" | 14 #include "chrome/browser/chromeos/cros/mock_keyboard_library.h" |
| 14 #include "chrome/browser/chromeos/cros/mock_input_method_library.h" | |
| 15 #include "chrome/browser/chromeos/cros/mock_library_loader.h" | 15 #include "chrome/browser/chromeos/cros/mock_library_loader.h" |
| 16 #include "chrome/browser/chromeos/cros/mock_network_library.h" | 16 #include "chrome/browser/chromeos/cros/mock_network_library.h" |
| 17 #include "chrome/browser/chromeos/cros/mock_power_library.h" | 17 #include "chrome/browser/chromeos/cros/mock_power_library.h" |
| 18 #include "chrome/browser/chromeos/cros/mock_screen_lock_library.h" | 18 #include "chrome/browser/chromeos/cros/mock_screen_lock_library.h" |
| 19 #include "chrome/browser/chromeos/cros/mock_speech_synthesis_library.h" | 19 #include "chrome/browser/chromeos/cros/mock_speech_synthesis_library.h" |
| 20 #include "chrome/browser/chromeos/cros/mock_system_library.h" | 20 #include "chrome/browser/chromeos/cros/mock_system_library.h" |
| 21 #include "chrome/browser/chromeos/cros/mock_touchpad_library.h" | 21 #include "chrome/browser/chromeos/cros/mock_touchpad_library.h" |
| 22 #include "chrome/browser/chromeos/login/wizard_controller.h" | 22 #include "chrome/browser/chromeos/login/wizard_controller.h" |
| 23 #include "chrome/browser/chromeos/login/wizard_screen.h" | 23 #include "chrome/browser/chromeos/login/wizard_screen.h" |
| 24 #include "chrome/test/in_process_browser_test.h" | 24 #include "chrome/test/in_process_browser_test.h" |
| 25 #include "chrome/test/ui_test_utils.h" | 25 #include "chrome/test/ui_test_utils.h" |
| 26 #include "testing/gmock/include/gmock/gmock.h" |
| 26 #include "testing/gtest/include/gtest/gtest.h" | 27 #include "testing/gtest/include/gtest/gtest.h" |
| 27 #include "testing/gmock/include/gmock/gmock.h" | |
| 28 | 28 |
| 29 namespace chromeos { | 29 namespace chromeos { |
| 30 | 30 |
| 31 using ::testing::AnyNumber; | 31 using ::testing::AnyNumber; |
| 32 using ::testing::InvokeWithoutArgs; | 32 using ::testing::InvokeWithoutArgs; |
| 33 using ::testing::Return; | 33 using ::testing::Return; |
| 34 using ::testing::ReturnRef; | 34 using ::testing::ReturnRef; |
| 35 using ::testing::StrictMock; | 35 using ::testing::StrictMock; |
| 36 using ::testing::_; | 36 using ::testing::_; |
| 37 | 37 |
| (...skipping 357 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 395 test_api()->SetScreenLockLibrary(NULL, false); | 395 test_api()->SetScreenLockLibrary(NULL, false); |
| 396 if (mock_speech_synthesis_library_) | 396 if (mock_speech_synthesis_library_) |
| 397 test_api()->SetSpeechSynthesisLibrary(NULL, false); | 397 test_api()->SetSpeechSynthesisLibrary(NULL, false); |
| 398 if (mock_system_library_) | 398 if (mock_system_library_) |
| 399 test_api()->SetSystemLibrary(NULL, false); | 399 test_api()->SetSystemLibrary(NULL, false); |
| 400 if (mock_touchpad_library_) | 400 if (mock_touchpad_library_) |
| 401 test_api()->SetTouchpadLibrary(NULL, false); | 401 test_api()->SetTouchpadLibrary(NULL, false); |
| 402 } | 402 } |
| 403 | 403 |
| 404 } // namespace chromeos | 404 } // namespace chromeos |
| OLD | NEW |