Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(82)

Side by Side Diff: chrome/browser/extensions/extension_bindings_apitest.cc

Issue 969063002: [Extensions] Expose enums on extension APIs. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | chrome/test/data/extensions/api_test/bindings/api_enums/background.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
OLDNEW
« no previous file with comments | « no previous file | chrome/test/data/extensions/api_test/bindings/api_enums/background.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698