| 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 784 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 795 browsePreload: 'chrome://md-settings/controls/controlled_radio_button.html', | 795 browsePreload: 'chrome://md-settings/controls/controlled_radio_button.html', |
| 796 | 796 |
| 797 extraLibraries: CrSettingsBrowserTest.prototype.extraLibraries.concat([ | 797 extraLibraries: CrSettingsBrowserTest.prototype.extraLibraries.concat([ |
| 798 'controlled_radio_button_tests.js', | 798 'controlled_radio_button_tests.js', |
| 799 ]), | 799 ]), |
| 800 }; | 800 }; |
| 801 | 801 |
| 802 TEST_F('CrControlledRadioButtonTest', 'All', function() { | 802 TEST_F('CrControlledRadioButtonTest', 'All', function() { |
| 803 mocha.run(); | 803 mocha.run(); |
| 804 }); | 804 }); |
| 805 |
| 806 GEN('#if defined(GOOGLE_CHROME_BUILD) && !defined(OS_CHROMEOS)'); |
| 807 |
| 808 function CrSettingsMetricsReportingTest() {} |
| 809 |
| 810 CrSettingsMetricsReportingTest.prototype = { |
| 811 __proto__: CrSettingsBrowserTest.prototype, |
| 812 |
| 813 /** @override */ |
| 814 browsePreload: 'chrome://md-settings/privacy_page/privacy_page.html', |
| 815 |
| 816 extraLibraries: CrSettingsBrowserTest.prototype.extraLibraries.concat([ |
| 817 'test_browser_proxy.js', |
| 818 'metrics_reporting_tests.js', |
| 819 ]), |
| 820 }; |
| 821 |
| 822 TEST_F('CrSettingsMetricsReportingTest', 'All', function() { |
| 823 mocha.run(); |
| 824 }); |
| 825 |
| 826 GEN('#endif'); |
| OLD | NEW |