| 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 1037 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1048 'test_privacy_page_browser_proxy.js', | 1048 'test_privacy_page_browser_proxy.js', |
| 1049 'metrics_reporting_tests.js', | 1049 'metrics_reporting_tests.js', |
| 1050 ]), | 1050 ]), |
| 1051 }; | 1051 }; |
| 1052 | 1052 |
| 1053 TEST_F('CrSettingsMetricsReportingTest', 'All', function() { | 1053 TEST_F('CrSettingsMetricsReportingTest', 'All', function() { |
| 1054 mocha.run(); | 1054 mocha.run(); |
| 1055 }); | 1055 }); |
| 1056 | 1056 |
| 1057 GEN('#endif'); | 1057 GEN('#endif'); |
| 1058 |
| 1058 GEN('#if defined(OS_CHROMEOS)'); | 1059 GEN('#if defined(OS_CHROMEOS)'); |
| 1059 | 1060 |
| 1060 /** | 1061 /** |
| 1062 * Test fixture for the Google Play Store (Arc++) page. |
| 1063 * @constructor |
| 1064 * @extends {CrSettingsBrowserTest} |
| 1065 */ |
| 1066 function CrSettingsAndroidAppsPageTest() {} |
| 1067 |
| 1068 CrSettingsAndroidAppsPageTest.prototype = { |
| 1069 __proto__: CrSettingsBrowserTest.prototype, |
| 1070 |
| 1071 /** @override */ |
| 1072 browsePreload: |
| 1073 'chrome://md-settings/android_apps_page/android_apps_page.html', |
| 1074 |
| 1075 extraLibraries: CrSettingsBrowserTest.prototype.extraLibraries.concat([ |
| 1076 ROOT_PATH + 'ui/webui/resources/js/promise_resolver.js', |
| 1077 'test_browser_proxy.js', |
| 1078 'android_apps_page_test.js', |
| 1079 ]), |
| 1080 }; |
| 1081 |
| 1082 TEST_F('CrSettingsAndroidAppsPageTest', 'AndroidAppsPageTest', function() { |
| 1083 mocha.run(); |
| 1084 }); |
| 1085 |
| 1086 /** |
| 1061 * Test fixture for the Date and Time page. | 1087 * Test fixture for the Date and Time page. |
| 1062 * @constructor | 1088 * @constructor |
| 1063 * @extends {CrSettingsBrowserTest} | 1089 * @extends {CrSettingsBrowserTest} |
| 1064 */ | 1090 */ |
| 1065 function CrSettingsDateTimePageTest() {} | 1091 function CrSettingsDateTimePageTest() {} |
| 1066 | 1092 |
| 1067 CrSettingsDateTimePageTest.prototype = { | 1093 CrSettingsDateTimePageTest.prototype = { |
| 1068 __proto__: CrSettingsBrowserTest.prototype, | 1094 __proto__: CrSettingsBrowserTest.prototype, |
| 1069 | 1095 |
| 1070 /** @override */ | 1096 /** @override */ |
| (...skipping 27 matching lines...) Expand all Loading... |
| 1098 extraLibraries: CrSettingsBrowserTest.prototype.extraLibraries.concat([ | 1124 extraLibraries: CrSettingsBrowserTest.prototype.extraLibraries.concat([ |
| 1099 'test_browser_proxy.js', | 1125 'test_browser_proxy.js', |
| 1100 'test_extension_control_browser_proxy.js', | 1126 'test_extension_control_browser_proxy.js', |
| 1101 'extension_controlled_indicator_tests.js', | 1127 'extension_controlled_indicator_tests.js', |
| 1102 ]), | 1128 ]), |
| 1103 }; | 1129 }; |
| 1104 | 1130 |
| 1105 TEST_F('CrSettingsExtensionControlledIndicatorTest', 'All', function() { | 1131 TEST_F('CrSettingsExtensionControlledIndicatorTest', 'All', function() { |
| 1106 mocha.run(); | 1132 mocha.run(); |
| 1107 }); | 1133 }); |
| OLD | NEW |