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

Side by Side Diff: chrome/test/data/webui/cr_elements/cr_elements_browsertest.js

Issue 2461113002: WebUI: Make settings-action-menu re-usable as cr-action-menu. (Closed)
Patch Set: getComputedStyle instead of util.js Created 4 years, 1 month 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
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 /** @fileoverview Tests for shared Polymer elements. */ 5 /** @fileoverview Tests for shared Polymer elements. */
6 6
7 /** @const {string} Path to source root. */ 7 /** @const {string} Path to source root. */
8 var ROOT_PATH = '../../../../../'; 8 var ROOT_PATH = '../../../../../';
9 9
10 // Polymer BrowserTest fixture. 10 // Polymer BrowserTest fixture.
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after
127 127
128 /** @override */ 128 /** @override */
129 extraLibraries: CrElementsBrowserTest.prototype.extraLibraries.concat([ 129 extraLibraries: CrElementsBrowserTest.prototype.extraLibraries.concat([
130 'cr_shared_menu_tests.js' 130 'cr_shared_menu_tests.js'
131 ]), 131 ]),
132 }; 132 };
133 133
134 TEST_F('CrElementsSharedMenuTest', 'All', function() { 134 TEST_F('CrElementsSharedMenuTest', 'All', function() {
135 mocha.run(); 135 mocha.run();
136 }); 136 });
137
138 function CrElementsActionMenuTest() {}
139
140 CrElementsActionMenuTest.prototype = {
141 __proto__: CrElementsBrowserTest.prototype,
142
143 /** @override */
144 browsePreload:
145 'chrome://resources/cr_elements/cr_action_menu/cr_action_menu.html',
146
147 extraLibraries: CrElementsBrowserTest.prototype.extraLibraries.concat([
148 'cr_action_menu_test.js',
149 ]),
150 };
151
152 TEST_F('CrElementsActionMenuTest', 'All', function() {
153 mocha.run();
154 });
OLDNEW
« no previous file with comments | « chrome/test/data/webui/cr_elements/cr_action_menu_test.js ('k') | chrome/test/data/webui/settings/cr_settings_browsertest.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698