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

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

Issue 2454023002: MD Settings: Fix <select> search highlighting. (Closed)
Patch Set: Use loadScript. Created 4 years, 1 month 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 890 matching lines...) Expand 10 before | Expand all | Expand 10 after
901 'settings_main_test.js', 901 'settings_main_test.js',
902 ]), 902 ]),
903 }; 903 };
904 904
905 TEST_F('CrSettingsMainPageTest', 'MAYBE_MainPage_All', function() { 905 TEST_F('CrSettingsMainPageTest', 'MAYBE_MainPage_All', function() {
906 settings_main_page.registerTests(); 906 settings_main_page.registerTests();
907 mocha.run(); 907 mocha.run();
908 }); 908 });
909 909
910 /** 910 /**
911 * Test fixture for chrome/browser/resources/settings/search_settings.js.
912 * @constructor
913 * @extends {CrSettingsBrowserTest}
914 */
915 function CrSettingsSearchTest() {}
916
917 CrSettingsSearchTest.prototype = {
918 __proto__: CrSettingsBrowserTest.prototype,
919
920 /** @override */
921 browsePreload: 'chrome://md-settings/settings_page/settings_section.html',
922
923 /** @override */
924 extraLibraries: CrSettingsBrowserTest.prototype.extraLibraries.concat([
925 'search_settings_test.js',
926 ]),
927 };
928
929 TEST_F('CrSettingsSearchTest', 'All', function() {
930 mocha.run();
931 });
932
933 /**
911 * @constructor 934 * @constructor
912 * @extends {CrSettingsBrowserTest} 935 * @extends {CrSettingsBrowserTest}
913 */ 936 */
914 function CrControlledButtonTest() {} 937 function CrControlledButtonTest() {}
915 938
916 CrControlledButtonTest.prototype = { 939 CrControlledButtonTest.prototype = {
917 __proto__: CrSettingsBrowserTest.prototype, 940 __proto__: CrSettingsBrowserTest.prototype,
918 941
919 /** @override */ 942 /** @override */
920 browsePreload: 'chrome://md-settings/controls/controlled_button.html', 943 browsePreload: 'chrome://md-settings/controls/controlled_button.html',
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
1008 extraLibraries: CrSettingsBrowserTest.prototype.extraLibraries.concat([ 1031 extraLibraries: CrSettingsBrowserTest.prototype.extraLibraries.concat([
1009 'date_time_page_tests.js', 1032 'date_time_page_tests.js',
1010 ]), 1033 ]),
1011 }; 1034 };
1012 1035
1013 TEST_F('CrSettingsDateTimePageTest', 'DateTimePageTest', function() { 1036 TEST_F('CrSettingsDateTimePageTest', 'DateTimePageTest', function() {
1014 mocha.run(); 1037 mocha.run();
1015 }); 1038 });
1016 1039
1017 GEN('#endif'); 1040 GEN('#endif');
OLDNEW
« no previous file with comments | « chrome/browser/resources/settings/search_settings.js ('k') | chrome/test/data/webui/settings/search_settings_test.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698