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

Side by Side Diff: chrome/test/data/webui/settings/cr_settings_browsertest.js

Issue 2052003002: MD Settings: Hook up reset_page to new LifetimeBrowserProxy. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address comment. Created 4 years, 6 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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 Runs the Polymer Settings tests. */ 5 /** @fileoverview Runs the Polymer Settings tests. */
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 233 matching lines...) Expand 10 before | Expand all | Expand 10 after
244 244
245 CrSettingsResetPageTest.prototype = { 245 CrSettingsResetPageTest.prototype = {
246 __proto__: CrSettingsBrowserTest.prototype, 246 __proto__: CrSettingsBrowserTest.prototype,
247 247
248 /** @override */ 248 /** @override */
249 browsePreload: 'chrome://md-settings/reset_page/reset_page.html', 249 browsePreload: 'chrome://md-settings/reset_page/reset_page.html',
250 250
251 /** @override */ 251 /** @override */
252 extraLibraries: PolymerTest.getLibraries(ROOT_PATH).concat([ 252 extraLibraries: PolymerTest.getLibraries(ROOT_PATH).concat([
253 'test_browser_proxy.js', 253 'test_browser_proxy.js',
254 'test_lifetime_browser_proxy.js',
254 'reset_page_test.js', 255 'reset_page_test.js',
255 ]), 256 ]),
256 }; 257 };
257 258
258 TEST_F('CrSettingsResetPageTest', 'ResetPage', function() { 259 TEST_F('CrSettingsResetPageTest', 'ResetPage', function() {
259 settings_reset_page.registerTests(); 260 settings_reset_page.registerTests();
260 mocha.run(); 261 mocha.run();
261 }); 262 });
262 263
263 /** 264 /**
(...skipping 303 matching lines...) Expand 10 before | Expand all | Expand 10 after
567 568
568 /** @override */ 569 /** @override */
569 extraLibraries: PolymerTest.getLibraries(ROOT_PATH).concat([ 570 extraLibraries: PolymerTest.getLibraries(ROOT_PATH).concat([
570 'radio_group_tests.js', 571 'radio_group_tests.js',
571 ]), 572 ]),
572 }; 573 };
573 574
574 TEST_F('CrSettingsRadioGroupTest', 'All', function() { 575 TEST_F('CrSettingsRadioGroupTest', 'All', function() {
575 mocha.run(); 576 mocha.run();
576 }); 577 });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698