| 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 843 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 854 'fake_bluetooth.js', | 854 'fake_bluetooth.js', |
| 855 'fake_bluetooth_private.js', | 855 'fake_bluetooth_private.js', |
| 856 'bluetooth_page_tests.js', | 856 'bluetooth_page_tests.js', |
| 857 ]), | 857 ]), |
| 858 }; | 858 }; |
| 859 | 859 |
| 860 TEST_F('CrSettingsBluetoothPageTest', 'BluetoothPageTest', function() { | 860 TEST_F('CrSettingsBluetoothPageTest', 'BluetoothPageTest', function() { |
| 861 mocha.run(); | 861 mocha.run(); |
| 862 }); | 862 }); |
| 863 | 863 |
| 864 /** |
| 865 * Test fixture for internet-page. |
| 866 * @constructor |
| 867 * @extends {CrSettingsBrowserTest} |
| 868 */ |
| 869 function CrSettingsInternetPageTest() {} |
| 870 |
| 871 CrSettingsInternetPageTest.prototype = { |
| 872 __proto__: CrSettingsBrowserTest.prototype, |
| 873 |
| 874 /** @override */ |
| 875 browsePreload: 'chrome://md-settings/internet_page/internet_page.html', |
| 876 |
| 877 /** @override */ |
| 878 extraLibraries: CrSettingsBrowserTest.prototype.extraLibraries.concat([ |
| 879 ROOT_PATH + 'ui/webui/resources/js/assert.js', |
| 880 '../fake_chrome_event.js', |
| 881 'fake_networking_private.js', |
| 882 'internet_page_tests.js', |
| 883 ]), |
| 884 }; |
| 885 |
| 886 TEST_F('CrSettingsInternetPageTest', 'InternetPageTest', function() { |
| 887 mocha.run(); |
| 888 }); |
| 889 |
| 864 GEN('#endif'); | 890 GEN('#endif'); |
| 865 | 891 |
| 866 /** | 892 /** |
| 867 * Test fixture for chrome/browser/resources/settings/settings_menu/. | 893 * Test fixture for chrome/browser/resources/settings/settings_menu/. |
| 868 * @constructor | 894 * @constructor |
| 869 * @extends {CrSettingsBrowserTest} | 895 * @extends {CrSettingsBrowserTest} |
| 870 */ | 896 */ |
| 871 function CrSettingsMenuTest() {} | 897 function CrSettingsMenuTest() {} |
| 872 | 898 |
| 873 CrSettingsMenuTest.prototype = { | 899 CrSettingsMenuTest.prototype = { |
| (...skipping 480 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1354 | 1380 |
| 1355 /** @override */ | 1381 /** @override */ |
| 1356 extraLibraries: CrSettingsBrowserTest.prototype.extraLibraries.concat([ | 1382 extraLibraries: CrSettingsBrowserTest.prototype.extraLibraries.concat([ |
| 1357 'focusable_iron_list_item_behavior_test.js', | 1383 'focusable_iron_list_item_behavior_test.js', |
| 1358 ]), | 1384 ]), |
| 1359 }; | 1385 }; |
| 1360 | 1386 |
| 1361 TEST_F('CrSettingsFocusableIronListItemBehavior', 'FocusTest', function() { | 1387 TEST_F('CrSettingsFocusableIronListItemBehavior', 'FocusTest', function() { |
| 1362 mocha.run(); | 1388 mocha.run(); |
| 1363 }); | 1389 }); |
| OLD | NEW |