| 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 621 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 632 }; | 632 }; |
| 633 | 633 |
| 634 TEST_F('CrSettingsRadioGroupTest', 'All', function() { | 634 TEST_F('CrSettingsRadioGroupTest', 'All', function() { |
| 635 mocha.run(); | 635 mocha.run(); |
| 636 }); | 636 }); |
| 637 | 637 |
| 638 /** | 638 /** |
| 639 * @constructor | 639 * @constructor |
| 640 * @extends {CrSettingsBrowserTest} | 640 * @extends {CrSettingsBrowserTest} |
| 641 */ | 641 */ |
| 642 function CrSettingsRouterTest() {} | 642 function CrSettingsRouteTest() {} |
| 643 | 643 |
| 644 CrSettingsRouterTest.prototype = { | 644 CrSettingsRouteTest.prototype = { |
| 645 __proto__: CrSettingsBrowserTest.prototype, | 645 __proto__: CrSettingsBrowserTest.prototype, |
| 646 | 646 |
| 647 /** @override */ | 647 /** @override */ |
| 648 browsePreload: 'chrome://md-settings/route.html', |
| 649 |
| 650 extraLibraries: CrSettingsBrowserTest.prototype.extraLibraries.concat([ |
| 651 'route_tests.js', |
| 652 ]), |
| 653 }; |
| 654 |
| 655 TEST_F('CrSettingsRouteTest', 'All', function() { |
| 656 mocha.run(); |
| 657 }); |
| 658 |
| 659 /** |
| 660 * @constructor |
| 661 * @extends {CrSettingsBrowserTest} |
| 662 */ |
| 663 function CrSettingsRouterElementTest() {} |
| 664 |
| 665 CrSettingsRouterElementTest.prototype = { |
| 666 __proto__: CrSettingsBrowserTest.prototype, |
| 667 |
| 668 /** @override */ |
| 648 browsePreload: 'chrome://md-settings/settings_page/settings_router.html', | 669 browsePreload: 'chrome://md-settings/settings_page/settings_router.html', |
| 649 | 670 |
| 650 extraLibraries: CrSettingsBrowserTest.prototype.extraLibraries.concat([ | 671 extraLibraries: CrSettingsBrowserTest.prototype.extraLibraries.concat([ |
| 651 'router_tests.js', | 672 'router_tests.js', |
| 652 ]), | 673 ]), |
| 653 }; | 674 }; |
| 654 | 675 |
| 655 TEST_F('CrSettingsRouterTest', 'All', function() { | 676 TEST_F('CrSettingsRouterElementTest', 'All', function() { |
| 656 mocha.run(); | 677 mocha.run(); |
| 657 }); | 678 }); |
| OLD | NEW |