| 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 880 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 891 function CrSettingsMainPageTest() {} | 891 function CrSettingsMainPageTest() {} |
| 892 | 892 |
| 893 CrSettingsMainPageTest.prototype = { | 893 CrSettingsMainPageTest.prototype = { |
| 894 __proto__: CrSettingsBrowserTest.prototype, | 894 __proto__: CrSettingsBrowserTest.prototype, |
| 895 | 895 |
| 896 /** @override */ | 896 /** @override */ |
| 897 browsePreload: 'chrome://md-settings/settings_main/settings_main.html', | 897 browsePreload: 'chrome://md-settings/settings_main/settings_main.html', |
| 898 | 898 |
| 899 /** @override */ | 899 /** @override */ |
| 900 extraLibraries: CrSettingsBrowserTest.prototype.extraLibraries.concat([ | 900 extraLibraries: CrSettingsBrowserTest.prototype.extraLibraries.concat([ |
| 901 'test_browser_proxy.js', |
| 901 'settings_main_test.js', | 902 'settings_main_test.js', |
| 902 ]), | 903 ]), |
| 903 }; | 904 }; |
| 904 | 905 |
| 905 TEST_F('CrSettingsMainPageTest', 'MAYBE_MainPage_All', function() { | 906 TEST_F('CrSettingsMainPageTest', 'MAYBE_MainPage_All', function() { |
| 906 settings_main_page.registerTests(); | 907 settings_main_page.registerTests(); |
| 907 mocha.run(); | 908 mocha.run(); |
| 908 }); | 909 }); |
| 909 | 910 |
| 910 /** | 911 /** |
| (...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 981 browsePreload: 'chrome://md-settings/settings_action_menu.html', | 982 browsePreload: 'chrome://md-settings/settings_action_menu.html', |
| 982 | 983 |
| 983 extraLibraries: CrSettingsBrowserTest.prototype.extraLibraries.concat([ | 984 extraLibraries: CrSettingsBrowserTest.prototype.extraLibraries.concat([ |
| 984 'settings_action_menu_test.js', | 985 'settings_action_menu_test.js', |
| 985 ]), | 986 ]), |
| 986 }; | 987 }; |
| 987 | 988 |
| 988 TEST_F('CrSettingsActionMenuTest', 'All', function() { | 989 TEST_F('CrSettingsActionMenuTest', 'All', function() { |
| 989 mocha.run(); | 990 mocha.run(); |
| 990 }); | 991 }); |
| OLD | NEW |