Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(876)

Side by Side Diff: chrome/test/data/webui/settings/cr_settings_browsertest.js

Issue 2655043005: MD Settings: Bluetooth: Move device list to subpage (Closed)
Patch Set: Fix clang, ES6 Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 705 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 722
723 TEST_F('CrSettingsDevicePageTest', 'PowerTest', function() { 723 TEST_F('CrSettingsDevicePageTest', 'PowerTest', function() {
724 mocha.grep(assert(device_page_tests.TestNames.Power)).run(); 724 mocha.grep(assert(device_page_tests.TestNames.Power)).run();
725 }); 725 });
726
727 /**
728 * Test fixture for device-page.
729 * @constructor
730 * @extends {CrSettingsBrowserTest}
731 */
732 function CrSettingsBluetoothPageTest() {}
733
734 CrSettingsBluetoothPageTest.prototype = {
735 __proto__: CrSettingsBrowserTest.prototype,
736
737 /** @override */
738 browsePreload: 'chrome://md-settings/bluetooth_page/bluetooth_page.html',
739
740 /** @override */
741 extraLibraries: CrSettingsBrowserTest.prototype.extraLibraries.concat([
742 ROOT_PATH + 'ui/webui/resources/js/assert.js',
743 ROOT_PATH + 'ui/webui/resources/js/load_time_data.js',
744 '../fake_chrome_event.js',
745 'fake_bluetooth.js',
746 'fake_bluetooth_private.js',
747 'bluetooth_page_tests.js',
748 ]),
749 };
750
751 TEST_F('CrSettingsBluetoothPageTest', 'BluetoothPageTest', function() {
752 mocha.run();
753 });
754
726 GEN('#endif'); 755 GEN('#endif');
727 756
728 /** 757 /**
729 * Test fixture for chrome/browser/resources/settings/settings_menu/. 758 * Test fixture for chrome/browser/resources/settings/settings_menu/.
730 * @constructor 759 * @constructor
731 * @extends {CrSettingsBrowserTest} 760 * @extends {CrSettingsBrowserTest}
732 */ 761 */
733 function CrSettingsMenuTest() {} 762 function CrSettingsMenuTest() {}
734 763
735 CrSettingsMenuTest.prototype = { 764 CrSettingsMenuTest.prototype = {
(...skipping 433 matching lines...) Expand 10 before | Expand all | Expand 10 after
1169 extraLibraries: CrSettingsBrowserTest.prototype.extraLibraries.concat([ 1198 extraLibraries: CrSettingsBrowserTest.prototype.extraLibraries.concat([
1170 'test_browser_proxy.js', 1199 'test_browser_proxy.js',
1171 'test_extension_control_browser_proxy.js', 1200 'test_extension_control_browser_proxy.js',
1172 'extension_controlled_indicator_tests.js', 1201 'extension_controlled_indicator_tests.js',
1173 ]), 1202 ]),
1174 }; 1203 };
1175 1204
1176 TEST_F('CrSettingsExtensionControlledIndicatorTest', 'All', function() { 1205 TEST_F('CrSettingsExtensionControlledIndicatorTest', 'All', function() {
1177 mocha.run(); 1206 mocha.run();
1178 }); 1207 });
OLDNEW
« no previous file with comments | « chrome/test/data/webui/settings/bluetooth_page_tests.js ('k') | chrome/test/data/webui/settings/fake_bluetooth.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698