| 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 836 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 847 }; | 847 }; |
| 848 | 848 |
| 849 TEST_F('CrSettingsCategorySettingExceptionsTest', 'All', function() { | 849 TEST_F('CrSettingsCategorySettingExceptionsTest', 'All', function() { |
| 850 mocha.run(); | 850 mocha.run(); |
| 851 }); | 851 }); |
| 852 | 852 |
| 853 /** | 853 /** |
| 854 * @constructor | 854 * @constructor |
| 855 * @extends {CrSettingsBrowserTest} | 855 * @extends {CrSettingsBrowserTest} |
| 856 */ | 856 */ |
| 857 function CrSettingsAllSitesTest() {} |
| 858 |
| 859 CrSettingsAllSitesTest.prototype = { |
| 860 __proto__: CrSettingsBrowserTest.prototype, |
| 861 |
| 862 /** @override */ |
| 863 browsePreload: 'chrome://md-settings/privacy_page/privacy_page.html', |
| 864 |
| 865 /** @override */ |
| 866 commandLineSwitches: [{ |
| 867 switchName: 'enable-site-settings', |
| 868 }], |
| 869 |
| 870 /** @override */ |
| 871 extraLibraries: CrSettingsBrowserTest.prototype.extraLibraries.concat([ |
| 872 'test_browser_proxy.js', |
| 873 'test_site_settings_prefs_browser_proxy.js', |
| 874 'all_sites_tests.js', |
| 875 ]), |
| 876 }; |
| 877 |
| 878 TEST_F('CrSettingsAllSitesTest', 'All', function() { |
| 879 mocha.run(); |
| 880 }); |
| 881 |
| 882 /** |
| 883 * @constructor |
| 884 * @extends {CrSettingsBrowserTest} |
| 885 */ |
| 857 function CrSettingsSiteDetailsTest() {} | 886 function CrSettingsSiteDetailsTest() {} |
| 858 | 887 |
| 859 CrSettingsSiteDetailsTest.prototype = { | 888 CrSettingsSiteDetailsTest.prototype = { |
| 860 __proto__: CrSettingsBrowserTest.prototype, | 889 __proto__: CrSettingsBrowserTest.prototype, |
| 861 | 890 |
| 862 /** @override */ | 891 /** @override */ |
| 863 browsePreload: 'chrome://md-settings/privacy_page/privacy_page.html', | 892 browsePreload: 'chrome://md-settings/privacy_page/privacy_page.html', |
| 864 | 893 |
| 865 /** @override */ | 894 /** @override */ |
| 866 extraLibraries: CrSettingsBrowserTest.prototype.extraLibraries.concat([ | 895 extraLibraries: CrSettingsBrowserTest.prototype.extraLibraries.concat([ |
| (...skipping 783 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1650 extraLibraries: CrSettingsBrowserTest.prototype.extraLibraries.concat([ | 1679 extraLibraries: CrSettingsBrowserTest.prototype.extraLibraries.concat([ |
| 1651 'test_browser_proxy.js', | 1680 'test_browser_proxy.js', |
| 1652 'test_extension_control_browser_proxy.js', | 1681 'test_extension_control_browser_proxy.js', |
| 1653 'extension_controlled_indicator_tests.js', | 1682 'extension_controlled_indicator_tests.js', |
| 1654 ]), | 1683 ]), |
| 1655 }; | 1684 }; |
| 1656 | 1685 |
| 1657 TEST_F('CrSettingsExtensionControlledIndicatorTest', 'All', function() { | 1686 TEST_F('CrSettingsExtensionControlledIndicatorTest', 'All', function() { |
| 1658 mocha.run(); | 1687 mocha.run(); |
| 1659 }); | 1688 }); |
| OLD | NEW |