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