| 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 633 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 644 function CrSettingsSiteSettingsTest() {} | 644 function CrSettingsSiteSettingsTest() {} |
| 645 | 645 |
| 646 CrSettingsSiteSettingsTest.prototype = { | 646 CrSettingsSiteSettingsTest.prototype = { |
| 647 __proto__: CrSettingsBrowserTest.prototype, | 647 __proto__: CrSettingsBrowserTest.prototype, |
| 648 | 648 |
| 649 /** @override */ | 649 /** @override */ |
| 650 browsePreload: 'chrome://md-settings/prefs/prefs.html', | 650 browsePreload: 'chrome://md-settings/prefs/prefs.html', |
| 651 | 651 |
| 652 /** @override */ | 652 /** @override */ |
| 653 extraLibraries: CrSettingsBrowserTest.prototype.extraLibraries.concat([ | 653 extraLibraries: CrSettingsBrowserTest.prototype.extraLibraries.concat([ |
| 654 'category_default_setting_tests.js', |
| 655 'category_setting_exceptions_tests.js', |
| 654 'site_details_tests.js', | 656 'site_details_tests.js', |
| 655 'site_details_permission_tests.js', | 657 'site_details_permission_tests.js', |
| 656 'site_list_tests.js', | 658 'site_list_tests.js', |
| 657 'site_settings_category_tests.js', | |
| 658 'test_browser_proxy.js', | 659 'test_browser_proxy.js', |
| 659 'test_site_settings_prefs_browser_proxy.js', | 660 'test_site_settings_prefs_browser_proxy.js', |
| 660 'zoom_levels_tests.js', | 661 'zoom_levels_tests.js', |
| 661 'usb_devices_tests.js', | 662 'usb_devices_tests.js', |
| 662 'protocol_handlers_tests.js' | 663 'protocol_handlers_tests.js' |
| 663 ]), | 664 ]), |
| 664 }; | 665 }; |
| 665 | 666 |
| 666 TEST_F('CrSettingsSiteSettingsTest', 'SiteSettings', function() { | 667 TEST_F('CrSettingsSiteSettingsTest', 'SiteSettings', function() { |
| 668 category_default_setting.registerTests(); |
| 669 category_setting_exceptions.registerTests(); |
| 667 site_details.registerTests(); | 670 site_details.registerTests(); |
| 668 site_details_permission.registerTests(); | 671 site_details_permission.registerTests(); |
| 669 site_list.registerTests(); | 672 site_list.registerTests(); |
| 670 site_settings_category.registerTests(); | |
| 671 zoom_levels.registerTests(); | 673 zoom_levels.registerTests(); |
| 672 usb_devices.registerTests(); | 674 usb_devices.registerTests(); |
| 673 protocol_handlers.registerTests(); | 675 protocol_handlers.registerTests(); |
| 674 | 676 |
| 675 mocha.run(); | 677 mocha.run(); |
| 676 }); | 678 }); |
| 677 | 679 |
| 678 GEN('#if defined(OS_CHROMEOS)'); | 680 GEN('#if defined(OS_CHROMEOS)'); |
| 679 /** | 681 /** |
| 680 * Test fixture for device-page. | 682 * Test fixture for device-page. |
| (...skipping 478 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1159 extraLibraries: CrSettingsBrowserTest.prototype.extraLibraries.concat([ | 1161 extraLibraries: CrSettingsBrowserTest.prototype.extraLibraries.concat([ |
| 1160 'test_browser_proxy.js', | 1162 'test_browser_proxy.js', |
| 1161 'test_extension_control_browser_proxy.js', | 1163 'test_extension_control_browser_proxy.js', |
| 1162 'extension_controlled_indicator_tests.js', | 1164 'extension_controlled_indicator_tests.js', |
| 1163 ]), | 1165 ]), |
| 1164 }; | 1166 }; |
| 1165 | 1167 |
| 1166 TEST_F('CrSettingsExtensionControlledIndicatorTest', 'All', function() { | 1168 TEST_F('CrSettingsExtensionControlledIndicatorTest', 'All', function() { |
| 1167 mocha.run(); | 1169 mocha.run(); |
| 1168 }); | 1170 }); |
| OLD | NEW |