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

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

Issue 2153113003: Settings Router Refactor: Migrate canonical route list to new-style. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: address comments 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
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 637 matching lines...) Expand 10 before | Expand all | Expand 10 after
648 browsePreload: 'chrome://md-settings/route.html', 648 browsePreload: 'chrome://md-settings/route.html',
649 649
650 extraLibraries: CrSettingsBrowserTest.prototype.extraLibraries.concat([ 650 extraLibraries: CrSettingsBrowserTest.prototype.extraLibraries.concat([
651 'route_tests.js', 651 'route_tests.js',
652 ]), 652 ]),
653 }; 653 };
654 654
655 TEST_F('CrSettingsRouteTest', 'All', function() { 655 TEST_F('CrSettingsRouteTest', 'All', function() {
656 mocha.run(); 656 mocha.run();
657 }); 657 });
658
659 /**
660 * @constructor
661 * @extends {CrSettingsBrowserTest}
662 */
663 function CrSettingsRouterElementTest() {}
664
665 CrSettingsRouterElementTest.prototype = {
666 __proto__: CrSettingsBrowserTest.prototype,
667
668 /** @override */
669 browsePreload: 'chrome://md-settings/settings_page/settings_router.html',
670
671 extraLibraries: CrSettingsBrowserTest.prototype.extraLibraries.concat([
672 'router_tests.js',
673 ]),
674 };
675
676 TEST_F('CrSettingsRouterElementTest', 'All', function() {
677 mocha.run();
678 });
OLDNEW
« no previous file with comments | « chrome/browser/resources/settings/settings_resources.grd ('k') | chrome/test/data/webui/settings/route_tests.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698