| 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 975 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 986 | 986 |
| 987 /** @override */ | 987 /** @override */ |
| 988 browsePreload: 'chrome://md-settings/settings_page/settings_subpage.html', | 988 browsePreload: 'chrome://md-settings/settings_page/settings_subpage.html', |
| 989 | 989 |
| 990 extraLibraries: CrSettingsBrowserTest.prototype.extraLibraries.concat([ | 990 extraLibraries: CrSettingsBrowserTest.prototype.extraLibraries.concat([ |
| 991 'settings_subpage_test.js', | 991 'settings_subpage_test.js', |
| 992 ]), | 992 ]), |
| 993 }; | 993 }; |
| 994 | 994 |
| 995 TEST_F('CrSettingsSubpageTest', 'SettingsSubpage', function() { | 995 TEST_F('CrSettingsSubpageTest', 'SettingsSubpage', function() { |
| 996 settings_subpage.registerTests(); | |
| 997 mocha.run(); | 996 mocha.run(); |
| 998 }); | 997 }); |
| 999 | 998 |
| 1000 GEN('#if !defined(OS_CHROMEOS)'); | 999 GEN('#if !defined(OS_CHROMEOS)'); |
| 1001 /** | 1000 /** |
| 1002 * @constructor | 1001 * @constructor |
| 1003 * @extends {CrSettingsBrowserTest} | 1002 * @extends {CrSettingsBrowserTest} |
| 1004 */ | 1003 */ |
| 1005 function CrSettingsSystemPageTest() {} | 1004 function CrSettingsSystemPageTest() {} |
| 1006 | 1005 |
| (...skipping 409 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1416 | 1415 |
| 1417 extraLibraries: CrSettingsBrowserTest.prototype.extraLibraries.concat([ | 1416 extraLibraries: CrSettingsBrowserTest.prototype.extraLibraries.concat([ |
| 1418 'test_browser_proxy.js', | 1417 'test_browser_proxy.js', |
| 1419 'test_extension_control_browser_proxy.js', | 1418 'test_extension_control_browser_proxy.js', |
| 1420 'extension_controlled_indicator_tests.js', | 1419 'extension_controlled_indicator_tests.js', |
| 1421 ]), | 1420 ]), |
| 1422 }; | 1421 }; |
| 1423 | 1422 |
| 1424 TEST_F('CrSettingsExtensionControlledIndicatorTest', 'All', function() { | 1423 TEST_F('CrSettingsExtensionControlledIndicatorTest', 'All', function() { |
| 1425 mocha.run(); | 1424 mocha.run(); |
| 1426 }); | 1425 }); |
| OLD | NEW |