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

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

Issue 2104013004: MD WebUI: Reimplement cr-shared-menu using iron-dropdown. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Nits Created 4 years, 5 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/webui/cr_elements/cr_shared_menu_tests.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 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 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
89 /** @override */ 89 /** @override */
90 extraLibraries: CrElementsBrowserTest.prototype.extraLibraries.concat([ 90 extraLibraries: CrElementsBrowserTest.prototype.extraLibraries.concat([
91 'cr_slider_tests.js', 91 'cr_slider_tests.js',
92 ]), 92 ]),
93 }; 93 };
94 94
95 TEST_F('CrElementsSliderTest', 'All', function() { 95 TEST_F('CrElementsSliderTest', 'All', function() {
96 cr_slider.registerTests(); 96 cr_slider.registerTests();
97 mocha.run(); 97 mocha.run();
98 }); 98 });
99
100 function CrElementsSharedMenuTest() {}
101
102 CrElementsSharedMenuTest.prototype = {
103 __proto__: CrElementsBrowserTest.prototype,
104
105 /** @override */
106 browsePreload:
107 'chrome://resources/cr_elements/cr_shared_menu/cr_shared_menu.html',
108
109 /** @override */
110 extraLibraries: CrElementsBrowserTest.prototype.extraLibraries.concat([
111 'cr_shared_menu_tests.js'
112 ]),
113 };
114
115 TEST_F('CrElementsSharedMenuTest', 'All', function() {
116 mocha.run();
117 });
OLDNEW
« no previous file with comments | « no previous file | chrome/test/data/webui/cr_elements/cr_shared_menu_tests.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698