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

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

Issue 2670223002: Add cr_scrollable_behavior tests (Closed)
Patch Set: . Created 3 years, 10 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_scrollable_behavior_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 114 matching lines...) Expand 10 before | Expand all | Expand 10 after
125 browsePreload: 'chrome://resources/cr_elements/cr_drawer/cr_drawer.html', 125 browsePreload: 'chrome://resources/cr_elements/cr_drawer/cr_drawer.html',
126 126
127 /** @override */ 127 /** @override */
128 extraLibraries: CrElementsBrowserTest.prototype.extraLibraries.concat( 128 extraLibraries: CrElementsBrowserTest.prototype.extraLibraries.concat(
129 ['cr_drawer_tests.js', ROOT_PATH + 'ui/webui/resources/js/util.js']), 129 ['cr_drawer_tests.js', ROOT_PATH + 'ui/webui/resources/js/util.js']),
130 }; 130 };
131 131
132 TEST_F('CrElementsDrawerTest', 'All', function() { 132 TEST_F('CrElementsDrawerTest', 'All', function() {
133 mocha.run(); 133 mocha.run();
134 }); 134 });
135
Dan Beam 2017/02/03 22:29:00 nit: @constructor and associated copy pasta
stevenjb 2017/02/04 00:37:24 This was missing form all of the tests in this fil
136 function CrElementsScrollableBehaviorTest() {}
137
138 CrElementsScrollableBehaviorTest.prototype = {
139 __proto__: CrElementsBrowserTest.prototype,
140
141 /** @override */
142 browsePreload: 'chrome://resources/cr_elements/cr_scrollable_behavior.html',
143
144 /** @override */
145 extraLibraries: CrElementsBrowserTest.prototype.extraLibraries.concat([
146 'cr_scrollable_behavior_tests.js',
147 ]),
148 };
149
150 TEST_F('CrElementsScrollableBehaviorTest', 'All', function() {
151 mocha.run();
152 });
OLDNEW
« no previous file with comments | « no previous file | chrome/test/data/webui/cr_elements/cr_scrollable_behavior_tests.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698