| 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 "base/memory/scoped_ptr.h" | 5 #include "base/memory/scoped_ptr.h" |
| 6 #include "chrome/browser/chromeos/login/helper.h" | 6 #include "chrome/browser/chromeos/login/helper.h" |
| 7 #include "chrome/browser/chromeos/login/screens/base_screen.h" |
| 7 #include "chrome/browser/chromeos/login/screens/mock_screen_observer.h" | 8 #include "chrome/browser/chromeos/login/screens/mock_screen_observer.h" |
| 8 #include "chrome/browser/chromeos/login/screens/network_screen.h" | 9 #include "chrome/browser/chromeos/login/screens/network_screen.h" |
| 9 #include "chrome/browser/chromeos/login/screens/wizard_screen.h" | |
| 10 #include "chrome/browser/chromeos/login/test/wizard_in_process_browser_test.h" | 10 #include "chrome/browser/chromeos/login/test/wizard_in_process_browser_test.h" |
| 11 #include "chrome/browser/chromeos/login/wizard_controller.h" | 11 #include "chrome/browser/chromeos/login/wizard_controller.h" |
| 12 #include "chrome/test/base/ui_test_utils.h" | 12 #include "chrome/test/base/ui_test_utils.h" |
| 13 #include "chromeos/dbus/dbus_thread_manager.h" | 13 #include "chromeos/dbus/dbus_thread_manager.h" |
| 14 #include "chromeos/dbus/fake_session_manager_client.h" | 14 #include "chromeos/dbus/fake_session_manager_client.h" |
| 15 #include "content/public/test/test_utils.h" | 15 #include "content/public/test/test_utils.h" |
| 16 #include "testing/gmock/include/gmock/gmock.h" | 16 #include "testing/gmock/include/gmock/gmock.h" |
| 17 #include "testing/gtest/include/gtest/gtest.h" | 17 #include "testing/gtest/include/gtest/gtest.h" |
| 18 #include "third_party/cros_system_api/dbus/service_constants.h" | 18 #include "third_party/cros_system_api/dbus/service_constants.h" |
| 19 #include "ui/views/controls/button/button.h" | 19 #include "ui/views/controls/button/button.h" |
| (...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 142 // EXPECT_FALSE(actor_->IsConnecting()); | 142 // EXPECT_FALSE(actor_->IsConnecting()); |
| 143 network_screen_->OnConnectionTimeout(); | 143 network_screen_->OnConnectionTimeout(); |
| 144 | 144 |
| 145 // Close infobubble with error message - it makes the test stable. | 145 // Close infobubble with error message - it makes the test stable. |
| 146 // EXPECT_FALSE(actor_->IsContinueEnabled()); | 146 // EXPECT_FALSE(actor_->IsContinueEnabled()); |
| 147 // EXPECT_FALSE(actor_->IsConnecting()); | 147 // EXPECT_FALSE(actor_->IsConnecting()); |
| 148 // actor_->ClearErrors(); | 148 // actor_->ClearErrors(); |
| 149 } | 149 } |
| 150 | 150 |
| 151 } // namespace chromeos | 151 } // namespace chromeos |
| OLD | NEW |