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

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

Issue 2252323002: MD Settings: reduce complexity and overhead of Languages singleton (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@RemoveLanguageInputMethods
Patch Set: Reduce diff Created 4 years, 4 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 602 matching lines...) Expand 10 before | Expand all | Expand 10 after
613 }; 613 };
614 614
615 TEST_F('CrSettingsStartupUrlsPageTest', 'StartupUrlsPage', function() { 615 TEST_F('CrSettingsStartupUrlsPageTest', 'StartupUrlsPage', function() {
616 mocha.run(); 616 mocha.run();
617 }); 617 });
618 618
619 /** 619 /**
620 * @constructor 620 * @constructor
621 * @extends {CrSettingsBrowserTest} 621 * @extends {CrSettingsBrowserTest}
622 */ 622 */
623 function CrSettingsLanguagesPageTest() {} 623 function CrSettingsLanguagesTest() {}
624 624
625 CrSettingsLanguagesPageTest.prototype = { 625 CrSettingsLanguagesTest.prototype = {
626 __proto__: CrSettingsBrowserTest.prototype, 626 __proto__: CrSettingsBrowserTest.prototype,
627 627
628 /** @override */ 628 /** @override */
629 browsePreload: 'chrome://md-settings/languages_page/languages_page.html', 629 browsePreload: 'chrome://md-settings/languages_page/languages.html',
630 630
631 /** @override */ 631 /** @override */
632 extraLibraries: CrSettingsBrowserTest.prototype.extraLibraries.concat([ 632 extraLibraries: CrSettingsBrowserTest.prototype.extraLibraries.concat([
633 '../fake_chrome_event.js', 633 '../fake_chrome_event.js',
634 'fake_language_settings_private.js', 634 'fake_language_settings_private.js',
635 'fake_settings_private.js', 635 'fake_settings_private.js',
636 'languages_page_tests.js', 636 'languages_tests.js',
637 ]), 637 ]),
638 }; 638 };
639 639
640 TEST_F('CrSettingsLanguagesPageTest', 'LanguagesPage', function() { 640 TEST_F('CrSettingsLanguagesTest', 'Languages', function() {
641 mocha.run(); 641 mocha.run();
642 }); 642 });
643 643
644 /** 644 /**
645 * @constructor 645 * @constructor
646 * @extends {CrSettingsBrowserTest} 646 * @extends {CrSettingsBrowserTest}
647 */ 647 */
648 function CrSettingsRouteTest() {} 648 function CrSettingsRouteTest() {}
649 649
650 CrSettingsRouteTest.prototype = { 650 CrSettingsRouteTest.prototype = {
(...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after
807 'test_browser_proxy.js', 807 'test_browser_proxy.js',
808 'metrics_reporting_tests.js', 808 'metrics_reporting_tests.js',
809 ]), 809 ]),
810 }; 810 };
811 811
812 TEST_F('CrSettingsMetricsReportingTest', 'All', function() { 812 TEST_F('CrSettingsMetricsReportingTest', 'All', function() {
813 mocha.run(); 813 mocha.run();
814 }); 814 });
815 815
816 GEN('#endif'); 816 GEN('#endif');
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698