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/mock_screen_observer.h" | 7 #include "chrome/browser/chromeos/login/screens/mock_screen_observer.h" |
8 #include "chrome/browser/chromeos/login/screens/network_screen.h" | 8 #include "chrome/browser/chromeos/login/screens/network_screen.h" |
9 #include "chrome/browser/chromeos/login/screens/wizard_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/wizard_controller.h" | 11 #include "chrome/browser/chromeos/login/wizard_controller.h" |
11 #include "chrome/browser/chromeos/login/wizard_in_process_browser_test.h" | |
12 #include "chrome/test/base/ui_test_utils.h" | 12 #include "chrome/test/base/ui_test_utils.h" |
13 #include "chromeos/dbus/fake_dbus_thread_manager.h" | 13 #include "chromeos/dbus/fake_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" |
20 | 20 |
21 using ::testing::_; | 21 using ::testing::_; |
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
145 // EXPECT_FALSE(actor_->IsConnecting()); | 145 // EXPECT_FALSE(actor_->IsConnecting()); |
146 network_screen_->OnConnectionTimeout(); | 146 network_screen_->OnConnectionTimeout(); |
147 | 147 |
148 // Close infobubble with error message - it makes the test stable. | 148 // Close infobubble with error message - it makes the test stable. |
149 // EXPECT_FALSE(actor_->IsContinueEnabled()); | 149 // EXPECT_FALSE(actor_->IsContinueEnabled()); |
150 // EXPECT_FALSE(actor_->IsConnecting()); | 150 // EXPECT_FALSE(actor_->IsConnecting()); |
151 // actor_->ClearErrors(); | 151 // actor_->ClearErrors(); |
152 } | 152 } |
153 | 153 |
154 } // namespace chromeos | 154 } // namespace chromeos |
OLD | NEW |