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