| 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 729 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 740 browsePreload: 'chrome://md-settings/controls/controlled_button.html', | 740 browsePreload: 'chrome://md-settings/controls/controlled_button.html', |
| 741 | 741 |
| 742 extraLibraries: CrSettingsBrowserTest.prototype.extraLibraries.concat([ | 742 extraLibraries: CrSettingsBrowserTest.prototype.extraLibraries.concat([ |
| 743 'controlled_button_tests.js', | 743 'controlled_button_tests.js', |
| 744 ]), | 744 ]), |
| 745 }; | 745 }; |
| 746 | 746 |
| 747 TEST_F('CrControlledButtonTest', 'All', function() { | 747 TEST_F('CrControlledButtonTest', 'All', function() { |
| 748 mocha.run(); | 748 mocha.run(); |
| 749 }); | 749 }); |
| 750 |
| 751 /** |
| 752 * @constructor |
| 753 * @extends {CrSettingsBrowserTest} |
| 754 */ |
| 755 function CrControlledRadioButtonTest() {} |
| 756 |
| 757 CrControlledRadioButtonTest.prototype = { |
| 758 __proto__: CrSettingsBrowserTest.prototype, |
| 759 |
| 760 /** @override */ |
| 761 browsePreload: 'chrome://md-settings/controls/controlled_radio_button.html', |
| 762 |
| 763 extraLibraries: CrSettingsBrowserTest.prototype.extraLibraries.concat([ |
| 764 'controlled_radio_button_tests.js', |
| 765 ]), |
| 766 }; |
| 767 |
| 768 TEST_F('CrControlledRadioButtonTest', 'All', function() { |
| 769 mocha.run(); |
| 770 }); |
| OLD | NEW |