| 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 286 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 297 function CrSettingsResetPageTest() {} | 297 function CrSettingsResetPageTest() {} |
| 298 | 298 |
| 299 CrSettingsResetPageTest.prototype = { | 299 CrSettingsResetPageTest.prototype = { |
| 300 __proto__: CrSettingsBrowserTest.prototype, | 300 __proto__: CrSettingsBrowserTest.prototype, |
| 301 | 301 |
| 302 /** @override */ | 302 /** @override */ |
| 303 browsePreload: 'chrome://md-settings/reset_page/reset_page.html', | 303 browsePreload: 'chrome://md-settings/reset_page/reset_page.html', |
| 304 | 304 |
| 305 /** @override */ | 305 /** @override */ |
| 306 extraLibraries: CrSettingsBrowserTest.prototype.extraLibraries.concat([ | 306 extraLibraries: CrSettingsBrowserTest.prototype.extraLibraries.concat([ |
| 307 '../test_util.js', |
| 307 'test_browser_proxy.js', | 308 'test_browser_proxy.js', |
| 308 'test_lifetime_browser_proxy.js', | 309 'test_lifetime_browser_proxy.js', |
| 309 'reset_page_test.js', | 310 'reset_page_test.js', |
| 310 ]), | 311 ]), |
| 311 }; | 312 }; |
| 312 | 313 |
| 313 TEST_F('CrSettingsResetPageTest', 'ResetPage', function() { | 314 TEST_F('CrSettingsResetPageTest', 'ResetPage', function() { |
| 314 settings_reset_page.registerTests(); | 315 settings_reset_page.registerTests(); |
| 315 mocha.run(); | 316 mocha.run(); |
| 316 }); | 317 }); |
| (...skipping 532 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 849 'test_privacy_page_browser_proxy.js', | 850 'test_privacy_page_browser_proxy.js', |
| 850 'metrics_reporting_tests.js', | 851 'metrics_reporting_tests.js', |
| 851 ]), | 852 ]), |
| 852 }; | 853 }; |
| 853 | 854 |
| 854 TEST_F('CrSettingsMetricsReportingTest', 'All', function() { | 855 TEST_F('CrSettingsMetricsReportingTest', 'All', function() { |
| 855 mocha.run(); | 856 mocha.run(); |
| 856 }); | 857 }); |
| 857 | 858 |
| 858 GEN('#endif'); | 859 GEN('#endif'); |
| OLD | NEW |