| 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 603 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 614 }; | 614 }; |
| 615 | 615 |
| 616 TEST_F('CrSettingsLanguagesPageTest', 'LanguagesPage', function() { | 616 TEST_F('CrSettingsLanguagesPageTest', 'LanguagesPage', function() { |
| 617 mocha.run(); | 617 mocha.run(); |
| 618 }); | 618 }); |
| 619 | 619 |
| 620 /** | 620 /** |
| 621 * @constructor | 621 * @constructor |
| 622 * @extends {CrSettingsBrowserTest} | 622 * @extends {CrSettingsBrowserTest} |
| 623 */ | 623 */ |
| 624 function CrSettingsRadioGroupTest() {} | |
| 625 | |
| 626 CrSettingsRadioGroupTest.prototype = { | |
| 627 __proto__: CrSettingsBrowserTest.prototype, | |
| 628 | |
| 629 /** @override */ | |
| 630 browsePreload: 'chrome://md-settings/controls/settings_radio_group.html', | |
| 631 | |
| 632 /** @override */ | |
| 633 extraLibraries: CrSettingsBrowserTest.prototype.extraLibraries.concat([ | |
| 634 'radio_group_tests.js', | |
| 635 ]), | |
| 636 }; | |
| 637 | |
| 638 TEST_F('CrSettingsRadioGroupTest', 'All', function() { | |
| 639 mocha.run(); | |
| 640 }); | |
| 641 | |
| 642 /** | |
| 643 * @constructor | |
| 644 * @extends {CrSettingsBrowserTest} | |
| 645 */ | |
| 646 function CrSettingsRouteTest() {} | 624 function CrSettingsRouteTest() {} |
| 647 | 625 |
| 648 CrSettingsRouteTest.prototype = { | 626 CrSettingsRouteTest.prototype = { |
| 649 __proto__: CrSettingsBrowserTest.prototype, | 627 __proto__: CrSettingsBrowserTest.prototype, |
| 650 | 628 |
| 651 /** @override */ | 629 /** @override */ |
| 652 browsePreload: 'chrome://md-settings/route.html', | 630 browsePreload: 'chrome://md-settings/route.html', |
| 653 | 631 |
| 654 extraLibraries: CrSettingsBrowserTest.prototype.extraLibraries.concat([ | 632 extraLibraries: CrSettingsBrowserTest.prototype.extraLibraries.concat([ |
| 655 'route_tests.js', | 633 'route_tests.js', |
| (...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 741 /** @override */ | 719 /** @override */ |
| 742 extraLibraries: CrSettingsBrowserTest.prototype.extraLibraries.concat([ | 720 extraLibraries: CrSettingsBrowserTest.prototype.extraLibraries.concat([ |
| 743 'settings_main_test.js', | 721 'settings_main_test.js', |
| 744 ]), | 722 ]), |
| 745 }; | 723 }; |
| 746 | 724 |
| 747 TEST_F('CrSettingsMainPageTest', 'All', function() { | 725 TEST_F('CrSettingsMainPageTest', 'All', function() { |
| 748 settings_main_page.registerTests(); | 726 settings_main_page.registerTests(); |
| 749 mocha.run(); | 727 mocha.run(); |
| 750 }); | 728 }); |
| OLD | NEW |