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 // Contains holistic tests of the bindings infrastructure | 5 // Contains holistic tests of the bindings infrastructure |
6 | 6 |
7 #include "chrome/browser/extensions/api/permissions/permissions_api.h" | 7 #include "chrome/browser/extensions/api/permissions/permissions_api.h" |
8 #include "chrome/browser/extensions/extension_apitest.h" | 8 #include "chrome/browser/extensions/extension_apitest.h" |
9 #include "chrome/browser/ui/browser.h" | 9 #include "chrome/browser/ui/browser.h" |
10 #include "content/public/test/browser_test_utils.h" | 10 #include "content/public/test/browser_test_utils.h" |
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
85 ASSERT_TRUE(RunExtensionTest("bindings/event_overriding")) << message_; | 85 ASSERT_TRUE(RunExtensionTest("bindings/event_overriding")) << message_; |
86 } | 86 } |
87 | 87 |
88 // Tests the effectiveness of the 'nocompile' feature file property. | 88 // Tests the effectiveness of the 'nocompile' feature file property. |
89 // Regression test for http://crbug.com/356133. | 89 // Regression test for http://crbug.com/356133. |
90 IN_PROC_BROWSER_TEST_F(ExtensionBindingsApiTest, Nocompile) { | 90 IN_PROC_BROWSER_TEST_F(ExtensionBindingsApiTest, Nocompile) { |
91 ASSERT_TRUE(RunExtensionSubtest("bindings/nocompile", "page.html")) | 91 ASSERT_TRUE(RunExtensionSubtest("bindings/nocompile", "page.html")) |
92 << message_; | 92 << message_; |
93 } | 93 } |
94 | 94 |
| 95 IN_PROC_BROWSER_TEST_F(ExtensionBindingsApiTest, ApiEnums) { |
| 96 ASSERT_TRUE(RunExtensionTest("bindings/api_enums")) << message_; |
| 97 }; |
| 98 |
95 } // namespace | 99 } // namespace |
96 } // namespace extensions | 100 } // namespace extensions |
OLD | NEW |