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 1072 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1083 'test_browser_proxy.js', | 1083 'test_browser_proxy.js', |
1084 'cups_printer_page_tests.js', | 1084 'cups_printer_page_tests.js', |
1085 ]), | 1085 ]), |
1086 }; | 1086 }; |
1087 | 1087 |
1088 TEST_F('CrSettingsPrintingPageTest', 'CupsPrintersTest', function() { | 1088 TEST_F('CrSettingsPrintingPageTest', 'CupsPrintersTest', function() { |
1089 mocha.run(); | 1089 mocha.run(); |
1090 }); | 1090 }); |
1091 | 1091 |
1092 GEN('#endif'); | 1092 GEN('#endif'); |
| 1093 |
1093 GEN('#if defined(OS_CHROMEOS)'); | 1094 GEN('#if defined(OS_CHROMEOS)'); |
1094 | 1095 |
1095 /** | 1096 /** |
| 1097 * Test fixture for the Google Play Store (Arc++) page. |
| 1098 * @constructor |
| 1099 * @extends {CrSettingsBrowserTest} |
| 1100 */ |
| 1101 function CrSettingsAndroidAppsPageTest() {} |
| 1102 |
| 1103 CrSettingsAndroidAppsPageTest.prototype = { |
| 1104 __proto__: CrSettingsBrowserTest.prototype, |
| 1105 |
| 1106 /** @override */ |
| 1107 browsePreload: |
| 1108 'chrome://md-settings/android_apps_page/android_apps_page.html', |
| 1109 |
| 1110 extraLibraries: CrSettingsBrowserTest.prototype.extraLibraries.concat([ |
| 1111 ROOT_PATH + 'ui/webui/resources/js/promise_resolver.js', |
| 1112 'test_browser_proxy.js', |
| 1113 'android_apps_page_test.js', |
| 1114 ]), |
| 1115 }; |
| 1116 |
| 1117 TEST_F('CrSettingsAndroidAppsPageTest', 'AndroidAppsPageTest', function() { |
| 1118 mocha.run(); |
| 1119 }); |
| 1120 |
| 1121 /** |
1096 * Test fixture for the Date and Time page. | 1122 * Test fixture for the Date and Time page. |
1097 * @constructor | 1123 * @constructor |
1098 * @extends {CrSettingsBrowserTest} | 1124 * @extends {CrSettingsBrowserTest} |
1099 */ | 1125 */ |
1100 function CrSettingsDateTimePageTest() {} | 1126 function CrSettingsDateTimePageTest() {} |
1101 | 1127 |
1102 CrSettingsDateTimePageTest.prototype = { | 1128 CrSettingsDateTimePageTest.prototype = { |
1103 __proto__: CrSettingsBrowserTest.prototype, | 1129 __proto__: CrSettingsBrowserTest.prototype, |
1104 | 1130 |
1105 /** @override */ | 1131 /** @override */ |
(...skipping 27 matching lines...) Expand all Loading... |
1133 extraLibraries: CrSettingsBrowserTest.prototype.extraLibraries.concat([ | 1159 extraLibraries: CrSettingsBrowserTest.prototype.extraLibraries.concat([ |
1134 'test_browser_proxy.js', | 1160 'test_browser_proxy.js', |
1135 'test_extension_control_browser_proxy.js', | 1161 'test_extension_control_browser_proxy.js', |
1136 'extension_controlled_indicator_tests.js', | 1162 'extension_controlled_indicator_tests.js', |
1137 ]), | 1163 ]), |
1138 }; | 1164 }; |
1139 | 1165 |
1140 TEST_F('CrSettingsExtensionControlledIndicatorTest', 'All', function() { | 1166 TEST_F('CrSettingsExtensionControlledIndicatorTest', 'All', function() { |
1141 mocha.run(); | 1167 mocha.run(); |
1142 }); | 1168 }); |
OLD | NEW |