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 741 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
752 */ | 752 */ |
753 function CrSettingsSiteSettingsTest() {} | 753 function CrSettingsSiteSettingsTest() {} |
754 | 754 |
755 CrSettingsSiteSettingsTest.prototype = { | 755 CrSettingsSiteSettingsTest.prototype = { |
756 __proto__: CrSettingsBrowserTest.prototype, | 756 __proto__: CrSettingsBrowserTest.prototype, |
757 | 757 |
758 /** @override */ | 758 /** @override */ |
759 browsePreload: 'chrome://md-settings/privacy_page/privacy_page.html', | 759 browsePreload: 'chrome://md-settings/privacy_page/privacy_page.html', |
760 | 760 |
761 /** @override */ | 761 /** @override */ |
| 762 commandLineSwitches: [{ |
| 763 switchName: 'enable-site-settings', |
| 764 }], |
| 765 |
| 766 /** @override */ |
762 extraLibraries: CrSettingsBrowserTest.prototype.extraLibraries.concat([ | 767 extraLibraries: CrSettingsBrowserTest.prototype.extraLibraries.concat([ |
763 // TODO(dbeam): split these up. | 768 // TODO(dbeam): split these up. |
764 'category_default_setting_tests.js', | 769 'category_default_setting_tests.js', |
765 'category_setting_exceptions_tests.js', | 770 'category_setting_exceptions_tests.js', |
766 'site_details_tests.js', | 771 'site_details_tests.js', |
767 'site_details_permission_tests.js', | 772 'site_details_permission_tests.js', |
768 'site_list_tests.js', | 773 'site_list_tests.js', |
769 'test_browser_proxy.js', | 774 'test_browser_proxy.js', |
770 'test_site_settings_prefs_browser_proxy.js', | 775 'test_site_settings_prefs_browser_proxy.js', |
771 'zoom_levels_tests.js', | 776 'zoom_levels_tests.js', |
(...skipping 632 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1404 | 1409 |
1405 /** @override */ | 1410 /** @override */ |
1406 extraLibraries: CrSettingsBrowserTest.prototype.extraLibraries.concat([ | 1411 extraLibraries: CrSettingsBrowserTest.prototype.extraLibraries.concat([ |
1407 'focusable_iron_list_item_behavior_test.js', | 1412 'focusable_iron_list_item_behavior_test.js', |
1408 ]), | 1413 ]), |
1409 }; | 1414 }; |
1410 | 1415 |
1411 TEST_F('CrSettingsFocusableIronListItemBehavior', 'FocusTest', function() { | 1416 TEST_F('CrSettingsFocusableIronListItemBehavior', 'FocusTest', function() { |
1412 mocha.run(); | 1417 mocha.run(); |
1413 }); | 1418 }); |
OLD | NEW |