| 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 951 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 962 browsePreload: 'chrome://md-settings/settings_action_menu.html', | 962 browsePreload: 'chrome://md-settings/settings_action_menu.html', |
| 963 | 963 |
| 964 extraLibraries: CrSettingsBrowserTest.prototype.extraLibraries.concat([ | 964 extraLibraries: CrSettingsBrowserTest.prototype.extraLibraries.concat([ |
| 965 'settings_action_menu_test.js', | 965 'settings_action_menu_test.js', |
| 966 ]), | 966 ]), |
| 967 }; | 967 }; |
| 968 | 968 |
| 969 TEST_F('CrSettingsActionMenuTest', 'All', function() { | 969 TEST_F('CrSettingsActionMenuTest', 'All', function() { |
| 970 mocha.run(); | 970 mocha.run(); |
| 971 }); | 971 }); |
| 972 |
| 973 GEN('#if defined(OS_CHROMEOS)'); |
| 974 |
| 975 /** |
| 976 * Test fixture for the Date and Time page. |
| 977 * @constructor |
| 978 * @extends {CrSettingsBrowserTest} |
| 979 */ |
| 980 function CrSettingsDateTimePageTest() {} |
| 981 |
| 982 CrSettingsDateTimePageTest.prototype = { |
| 983 __proto__: CrSettingsBrowserTest.prototype, |
| 984 |
| 985 /** @override */ |
| 986 browsePreload: 'chrome://md-settings/date_time_page/date_time_page.html', |
| 987 |
| 988 /** @override */ |
| 989 extraLibraries: CrSettingsBrowserTest.prototype.extraLibraries.concat([ |
| 990 'date_time_page_tests.js', |
| 991 ]), |
| 992 }; |
| 993 |
| 994 TEST_F('CrSettingsDateTimePageTest', 'DateTimePageTest', function() { |
| 995 mocha.run(); |
| 996 }); |
| 997 |
| 998 GEN('#endif'); |
| OLD | NEW |