| 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 <string> | 5 #include <string> |
| 6 | 6 |
| 7 #include "app/combobox_model.h" | 7 #include "app/combobox_model.h" |
| 8 #include "app/l10n_util.h" | 8 #include "app/l10n_util.h" |
| 9 #include "base/message_loop.h" | 9 #include "base/message_loop.h" |
| 10 #include "base/scoped_ptr.h" | 10 #include "base/scoped_ptr.h" |
| 11 #include "base/string16.h" | 11 #include "base/string16.h" |
| 12 #include "base/string_number_conversions.h" | 12 #include "base/string_number_conversions.h" |
| 13 #include "base/utf_string_conversions.h" | 13 #include "base/utf_string_conversions.h" |
| 14 #include "chrome/browser/chromeos/cros/cros_library.h" | 14 #include "chrome/browser/chromeos/cros/cros_library.h" |
| 15 #include "chrome/browser/chromeos/cros/mock_login_library.h" | 15 #include "chrome/browser/chromeos/cros/mock_login_library.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/network_library.h" | 17 #include "chrome/browser/chromeos/cros/network_library.h" |
| 18 #include "chrome/browser/chromeos/login/mock_screen_observer.h" |
| 19 #include "chrome/browser/chromeos/login/network_screen.h" |
| 18 #include "chrome/browser/chromeos/login/network_selection_view.h" | 20 #include "chrome/browser/chromeos/login/network_selection_view.h" |
| 19 #include "chrome/browser/chromeos/login/network_screen.h" | |
| 20 #include "chrome/browser/chromeos/login/mock_screen_observer.h" | |
| 21 #include "chrome/browser/chromeos/login/view_screen.h" | 21 #include "chrome/browser/chromeos/login/view_screen.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_in_process_browser_test.h" | 23 #include "chrome/browser/chromeos/login/wizard_in_process_browser_test.h" |
| 24 #include "chrome/browser/chromeos/login/wizard_screen.h" | 24 #include "chrome/browser/chromeos/login/wizard_screen.h" |
| 25 #include "chrome/test/ui_test_utils.h" | 25 #include "chrome/test/ui_test_utils.h" |
| 26 #include "grit/generated_resources.h" | 26 #include "grit/generated_resources.h" |
| 27 #include "testing/gmock/include/gmock/gmock.h" |
| 27 #include "testing/gtest/include/gtest/gtest.h" | 28 #include "testing/gtest/include/gtest/gtest.h" |
| 28 #include "testing/gmock/include/gmock/gmock.h" | |
| 29 #include "views/controls/button/text_button.h" | 29 #include "views/controls/button/text_button.h" |
| 30 #include "views/controls/combobox/combobox.h" | 30 #include "views/controls/combobox/combobox.h" |
| 31 | 31 |
| 32 namespace chromeos { | 32 namespace chromeos { |
| 33 using ::testing::AnyNumber; | 33 using ::testing::AnyNumber; |
| 34 using ::testing::InvokeWithoutArgs; | 34 using ::testing::InvokeWithoutArgs; |
| 35 using ::testing::Return; | 35 using ::testing::Return; |
| 36 using ::testing::ReturnRef; | 36 using ::testing::ReturnRef; |
| 37 using ::testing::_; | 37 using ::testing::_; |
| 38 using ::testing::A; | 38 using ::testing::A; |
| (...skipping 491 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 530 WifiSsidExpectation(wifi_.name()); | 530 WifiSsidExpectation(wifi_.name()); |
| 531 NetworkChangedExpectations(true); | 531 NetworkChangedExpectations(true); |
| 532 network_screen->NetworkChanged(network_library); | 532 network_screen->NetworkChanged(network_library); |
| 533 ui_test_utils::RunAllPendingInMessageLoop(); | 533 ui_test_utils::RunAllPendingInMessageLoop(); |
| 534 controller()->set_observer(NULL); | 534 controller()->set_observer(NULL); |
| 535 } | 535 } |
| 536 | 536 |
| 537 #endif // #if 0 | 537 #endif // #if 0 |
| 538 | 538 |
| 539 } // namespace chromeos | 539 } // namespace chromeos |
| OLD | NEW |