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

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

Issue 2628123002: MD WebUI: Move settings' dialog-drawer element into a shared cr-element (Closed)
Patch Set: Rebase Created 3 years, 11 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
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 115 matching lines...) Expand 10 before | Expand all | Expand 10 after
126 'chrome://resources/cr_elements/cr_action_menu/cr_action_menu.html', 126 'chrome://resources/cr_elements/cr_action_menu/cr_action_menu.html',
127 127
128 extraLibraries: CrElementsBrowserTest.prototype.extraLibraries.concat([ 128 extraLibraries: CrElementsBrowserTest.prototype.extraLibraries.concat([
129 'cr_action_menu_test.js', 129 'cr_action_menu_test.js',
130 ]), 130 ]),
131 }; 131 };
132 132
133 TEST_F('CrElementsActionMenuTest', 'All', function() { 133 TEST_F('CrElementsActionMenuTest', 'All', function() {
134 mocha.run(); 134 mocha.run();
135 }); 135 });
136
137 function CrElementsDrawerTest() {}
138
139 CrElementsDrawerTest.prototype = {
140 __proto__: CrElementsBrowserTest.prototype,
141
142 /** @override */
143 browsePreload: 'chrome://resources/cr_elements/cr_drawer/cr_drawer.html',
144
145 /** @override */
146 extraLibraries: CrElementsBrowserTest.prototype.extraLibraries.concat(
147 ['cr_drawer_tests.js', ROOT_PATH + 'ui/webui/resources/js/util.js']),
148 };
149
150 TEST_F('CrElementsDrawerTest', 'All', function() {
151 mocha.run();
152 });
OLDNEW
« no previous file with comments | « chrome/test/data/webui/cr_elements/cr_drawer_tests.js ('k') | ui/webui/resources/cr_elements/compiled_resources2.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698