| 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 701 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 712 mocha.grep(assert(device_page_tests.TestNames.Display)).run(); | 712 mocha.grep(assert(device_page_tests.TestNames.Display)).run(); |
| 713 }); | 713 }); |
| 714 | 714 |
| 715 TEST_F('CrSettingsDevicePageTest', 'KeyboardTest', function() { | 715 TEST_F('CrSettingsDevicePageTest', 'KeyboardTest', function() { |
| 716 mocha.grep(assert(device_page_tests.TestNames.Keyboard)).run(); | 716 mocha.grep(assert(device_page_tests.TestNames.Keyboard)).run(); |
| 717 }); | 717 }); |
| 718 | 718 |
| 719 TEST_F('CrSettingsDevicePageTest', 'PointersTest', function() { | 719 TEST_F('CrSettingsDevicePageTest', 'PointersTest', function() { |
| 720 mocha.grep(assert(device_page_tests.TestNames.Pointers)).run(); | 720 mocha.grep(assert(device_page_tests.TestNames.Pointers)).run(); |
| 721 }); | 721 }); |
| 722 |
| 723 TEST_F('CrSettingsDevicePageTest', 'PowerTest', function() { |
| 724 mocha.grep(assert(device_page_tests.TestNames.Power)).run(); |
| 725 }); |
| 722 GEN('#endif'); | 726 GEN('#endif'); |
| 723 | 727 |
| 724 /** | 728 /** |
| 725 * Test fixture for chrome/browser/resources/settings/settings_menu/. | 729 * Test fixture for chrome/browser/resources/settings/settings_menu/. |
| 726 * @constructor | 730 * @constructor |
| 727 * @extends {CrSettingsBrowserTest} | 731 * @extends {CrSettingsBrowserTest} |
| 728 */ | 732 */ |
| 729 function CrSettingsMenuTest() {} | 733 function CrSettingsMenuTest() {} |
| 730 | 734 |
| 731 CrSettingsMenuTest.prototype = { | 735 CrSettingsMenuTest.prototype = { |
| (...skipping 433 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1165 extraLibraries: CrSettingsBrowserTest.prototype.extraLibraries.concat([ | 1169 extraLibraries: CrSettingsBrowserTest.prototype.extraLibraries.concat([ |
| 1166 'test_browser_proxy.js', | 1170 'test_browser_proxy.js', |
| 1167 'test_extension_control_browser_proxy.js', | 1171 'test_extension_control_browser_proxy.js', |
| 1168 'extension_controlled_indicator_tests.js', | 1172 'extension_controlled_indicator_tests.js', |
| 1169 ]), | 1173 ]), |
| 1170 }; | 1174 }; |
| 1171 | 1175 |
| 1172 TEST_F('CrSettingsExtensionControlledIndicatorTest', 'All', function() { | 1176 TEST_F('CrSettingsExtensionControlledIndicatorTest', 'All', function() { |
| 1173 mocha.run(); | 1177 mocha.run(); |
| 1174 }); | 1178 }); |
| OLD | NEW |