OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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/ref_counted.h" | 5 #include "base/memory/ref_counted.h" |
6 #include "base/path_service.h" | 6 #include "base/path_service.h" |
7 #include "chrome/common/chrome_paths.h" | 7 #include "chrome/common/chrome_paths.h" |
8 #include "chrome/test/automation/automation_proxy.h" | 8 #include "chrome/test/automation/automation_proxy.h" |
9 #include "chrome/test/automation/browser_proxy.h" | 9 #include "chrome/test/automation/browser_proxy.h" |
10 #include "chrome/test/automation/extension_proxy.h" | 10 #include "chrome/test/automation/extension_proxy.h" |
11 #include "chrome/test/automation/tab_proxy.h" | 11 #include "chrome/test/automation/tab_proxy.h" |
12 #include "chrome/test/layout_test_http_server.h" | 12 #include "chrome/test/base/layout_test_http_server.h" |
13 #include "chrome/test/ui/ui_test.h" | 13 #include "chrome/test/ui/ui_test.h" |
14 | 14 |
15 namespace { | 15 namespace { |
16 | 16 |
17 // These tests are not meant to test the extension system itself, but to verify | 17 // These tests are not meant to test the extension system itself, but to verify |
18 // the correctness of ExtensionProxy and the AutomationProvider implementation | 18 // the correctness of ExtensionProxy and the AutomationProvider implementation |
19 // behind it. | 19 // behind it. |
20 class ExtensionProxyUITest : public UITest { | 20 class ExtensionProxyUITest : public UITest { |
21 public: | 21 public: |
22 ExtensionProxyUITest() {} | 22 ExtensionProxyUITest() {} |
(...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
175 EnsureIdMatches("aiglobglfckejlcpcbdokbkbjeemfhno")); | 175 EnsureIdMatches("aiglobglfckejlcpcbdokbkbjeemfhno")); |
176 ASSERT_NO_FATAL_FAILURE(simple_extension_-> | 176 ASSERT_NO_FATAL_FAILURE(simple_extension_-> |
177 EnsureNameMatches("Browser Action")); | 177 EnsureNameMatches("Browser Action")); |
178 ASSERT_NO_FATAL_FAILURE(simple_extension_-> | 178 ASSERT_NO_FATAL_FAILURE(simple_extension_-> |
179 EnsureVersionMatches("0.1.1")); | 179 EnsureVersionMatches("0.1.1")); |
180 ASSERT_NO_FATAL_FAILURE(simple_extension_-> | 180 ASSERT_NO_FATAL_FAILURE(simple_extension_-> |
181 EnsureBrowserActionIndexMatches(0)); | 181 EnsureBrowserActionIndexMatches(0)); |
182 } | 182 } |
183 | 183 |
184 } // namespace | 184 } // namespace |
OLD | NEW |