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

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

Issue 2624003003: WebUI: Add cr-policy-pref-indicator tests (Closed)
Patch Set: Feedback 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
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 156 matching lines...) Expand 10 before | Expand all | Expand 10 after
167 167
168 /** @override */ 168 /** @override */
169 extraLibraries: CrElementsBrowserTest.prototype.extraLibraries.concat([ 169 extraLibraries: CrElementsBrowserTest.prototype.extraLibraries.concat([
170 'cr_scrollable_behavior_tests.js', 170 'cr_scrollable_behavior_tests.js',
171 ]), 171 ]),
172 }; 172 };
173 173
174 TEST_F('CrElementsScrollableBehaviorTest', 'All', function() { 174 TEST_F('CrElementsScrollableBehaviorTest', 'All', function() {
175 mocha.run(); 175 mocha.run();
176 }); 176 });
177
178 function CrElementsPolicyPrefIndicatorTest() {}
179
180 CrElementsPolicyPrefIndicatorTest.prototype = {
181 __proto__: CrElementsBrowserTest.prototype,
182
183 /** @override */
184 browsePreload:
185 'chrome://resources/cr_elements/policy/cr_policy_pref_indicator.html',
186
187 /** @override */
188 extraLibraries: CrElementsBrowserTest.prototype.extraLibraries.concat([
189 'cr_policy_pref_indicator_tests.js',
190 ]),
191 };
192
193 TEST_F('CrElementsPolicyPrefIndicatorTest', 'All', function() {
194 mocha.run();
195 });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698