| 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 1063 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1074 extraLibraries: CrSettingsBrowserTest.prototype.extraLibraries.concat([ | 1074 extraLibraries: CrSettingsBrowserTest.prototype.extraLibraries.concat([ |
| 1075 'date_time_page_tests.js', | 1075 'date_time_page_tests.js', |
| 1076 ]), | 1076 ]), |
| 1077 }; | 1077 }; |
| 1078 | 1078 |
| 1079 TEST_F('CrSettingsDateTimePageTest', 'DateTimePageTest', function() { | 1079 TEST_F('CrSettingsDateTimePageTest', 'DateTimePageTest', function() { |
| 1080 mocha.run(); | 1080 mocha.run(); |
| 1081 }); | 1081 }); |
| 1082 | 1082 |
| 1083 GEN('#endif'); | 1083 GEN('#endif'); |
| 1084 |
| 1085 /** |
| 1086 * @constructor |
| 1087 * @extends {CrSettingsBrowserTest} |
| 1088 */ |
| 1089 function CrSettingsExtensionControlledIndicatorTest() {} |
| 1090 |
| 1091 CrSettingsExtensionControlledIndicatorTest.prototype = { |
| 1092 __proto__: CrSettingsBrowserTest.prototype, |
| 1093 |
| 1094 /** @override */ |
| 1095 browsePreload: |
| 1096 'chrome://md-settings/controls/extension_controlled_indicator.html', |
| 1097 |
| 1098 extraLibraries: CrSettingsBrowserTest.prototype.extraLibraries.concat([ |
| 1099 'test_browser_proxy.js', |
| 1100 'test_extension_control_browser_proxy.js', |
| 1101 'extension_controlled_indicator_tests.js', |
| 1102 ]), |
| 1103 }; |
| 1104 |
| 1105 TEST_F('CrSettingsExtensionControlledIndicatorTest', 'All', function() { |
| 1106 mocha.run(); |
| 1107 }); |
| OLD | NEW |