OLD | NEW |
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 886 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
897 'fake_language_settings_private.js', | 897 'fake_language_settings_private.js', |
898 'fake_settings_private.js', | 898 'fake_settings_private.js', |
899 'languages_tests.js', | 899 'languages_tests.js', |
900 ]), | 900 ]), |
901 }; | 901 }; |
902 | 902 |
903 TEST_F('CrSettingsLanguagesTest', 'Languages', function() { | 903 TEST_F('CrSettingsLanguagesTest', 'Languages', function() { |
904 mocha.run(); | 904 mocha.run(); |
905 }); | 905 }); |
906 | 906 |
| 907 GEN('#if !defined(OS_MACOSX)'); |
| 908 /** |
| 909 * @constructor |
| 910 * @extends {CrSettingsBrowserTest} |
| 911 */ |
| 912 function CrSettingsEditDictionaryPageTest() {} |
| 913 |
| 914 CrSettingsEditDictionaryPageTest.prototype = { |
| 915 __proto__: CrSettingsBrowserTest.prototype, |
| 916 |
| 917 /** @override */ |
| 918 browsePreload: |
| 919 'chrome://md-settings/languages_page/edit_dictionary_page.html', |
| 920 |
| 921 /** @override */ |
| 922 extraLibraries: CrSettingsBrowserTest.prototype.extraLibraries.concat([ |
| 923 '../fake_chrome_event.js', |
| 924 'fake_settings_private.js', |
| 925 'fake_language_settings_private.js', |
| 926 'edit_dictionary_page_test.js', |
| 927 ]), |
| 928 }; |
| 929 |
| 930 TEST_F('CrSettingsEditDictionaryPageTest', 'EditDictionaryPage', function() { |
| 931 mocha.run(); |
| 932 }); |
| 933 GEN('#endif'); |
| 934 |
907 /** | 935 /** |
908 * @constructor | 936 * @constructor |
909 * @extends {CrSettingsBrowserTest} | 937 * @extends {CrSettingsBrowserTest} |
910 */ | 938 */ |
911 function CrSettingsRouteTest() {} | 939 function CrSettingsRouteTest() {} |
912 | 940 |
913 CrSettingsRouteTest.prototype = { | 941 CrSettingsRouteTest.prototype = { |
914 __proto__: CrSettingsBrowserTest.prototype, | 942 __proto__: CrSettingsBrowserTest.prototype, |
915 | 943 |
916 /** @override */ | 944 /** @override */ |
(...skipping 311 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1228 extraLibraries: CrSettingsBrowserTest.prototype.extraLibraries.concat([ | 1256 extraLibraries: CrSettingsBrowserTest.prototype.extraLibraries.concat([ |
1229 'test_browser_proxy.js', | 1257 'test_browser_proxy.js', |
1230 'test_extension_control_browser_proxy.js', | 1258 'test_extension_control_browser_proxy.js', |
1231 'extension_controlled_indicator_tests.js', | 1259 'extension_controlled_indicator_tests.js', |
1232 ]), | 1260 ]), |
1233 }; | 1261 }; |
1234 | 1262 |
1235 TEST_F('CrSettingsExtensionControlledIndicatorTest', 'All', function() { | 1263 TEST_F('CrSettingsExtensionControlledIndicatorTest', 'All', function() { |
1236 mocha.run(); | 1264 mocha.run(); |
1237 }); | 1265 }); |
OLD | NEW |