| 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 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 62 settings_checkbox.registerTests(); | 62 settings_checkbox.registerTests(); |
| 63 settings_dropdown_menu.registerTests(); | 63 settings_dropdown_menu.registerTests(); |
| 64 settings_prefUtil.registerTests(); | 64 settings_prefUtil.registerTests(); |
| 65 settings_prefs.registerTests(); | 65 settings_prefs.registerTests(); |
| 66 | 66 |
| 67 // Run all registered tests. | 67 // Run all registered tests. |
| 68 mocha.run(); | 68 mocha.run(); |
| 69 }); | 69 }); |
| 70 | 70 |
| 71 TEST_F('CrSettingsBrowserTest', 'ResetPage', function() { | 71 TEST_F('CrSettingsBrowserTest', 'ResetPage', function() { |
| 72 settings_reset_page.registerDialogTests(); | 72 settings_reset_page.registerTests(); |
| 73 settings_reset_page.registerBannerTests(); | |
| 74 mocha.run(); | 73 mocha.run(); |
| 75 }); | 74 }); |
| 76 | 75 |
| 77 /** | 76 /** |
| 78 * @constructor | 77 * @constructor |
| 79 * @extends {CrSettingsBrowserTest} | 78 * @extends {CrSettingsBrowserTest} |
| 80 */ | 79 */ |
| 81 function CrSettingsRtlTest() {} | 80 function CrSettingsRtlTest() {} |
| 82 | 81 |
| 83 CrSettingsRtlTest.prototype = { | 82 CrSettingsRtlTest.prototype = { |
| (...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 208 '../fake_chrome_event.js', | 207 '../fake_chrome_event.js', |
| 209 'fake_settings_private.js', | 208 'fake_settings_private.js', |
| 210 'device_page_tests.js', | 209 'device_page_tests.js', |
| 211 ]), | 210 ]), |
| 212 }; | 211 }; |
| 213 | 212 |
| 214 TEST_F('CrSettingsDevicePageTest', 'DevicePage', function() { | 213 TEST_F('CrSettingsDevicePageTest', 'DevicePage', function() { |
| 215 mocha.run(); | 214 mocha.run(); |
| 216 }); | 215 }); |
| 217 GEN('#endif'); | 216 GEN('#endif'); |
| OLD | NEW |