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

Unified 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, 11 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 side-by-side diff with in-line comments
Download patch
Index: chrome/test/data/webui/settings/cr_settings_browsertest.js
diff --git a/chrome/test/data/webui/settings/cr_settings_browsertest.js b/chrome/test/data/webui/settings/cr_settings_browsertest.js
index 4a1f66ef46ef40ff0437a49a436b38612be19acd..b53e3053adadb76354849bd8ad0fd476a9528291 100644
--- a/chrome/test/data/webui/settings/cr_settings_browsertest.js
+++ b/chrome/test/data/webui/settings/cr_settings_browsertest.js
@@ -723,6 +723,35 @@ TEST_F('CrSettingsDevicePageTest', 'PointersTest', function() {
TEST_F('CrSettingsDevicePageTest', 'PowerTest', function() {
mocha.grep(assert(device_page_tests.TestNames.Power)).run();
});
+
+/**
+ * Test fixture for device-page.
+ * @constructor
+ * @extends {CrSettingsBrowserTest}
+ */
+function CrSettingsBluetoothPageTest() {}
+
+CrSettingsBluetoothPageTest.prototype = {
+ __proto__: CrSettingsBrowserTest.prototype,
+
+ /** @override */
+ browsePreload: 'chrome://md-settings/bluetooth_page/bluetooth_page.html',
+
+ /** @override */
+ extraLibraries: CrSettingsBrowserTest.prototype.extraLibraries.concat([
+ ROOT_PATH + 'ui/webui/resources/js/assert.js',
+ ROOT_PATH + 'ui/webui/resources/js/load_time_data.js',
+ '../fake_chrome_event.js',
+ 'fake_bluetooth.js',
+ 'fake_bluetooth_private.js',
+ 'bluetooth_page_tests.js',
+ ]),
+};
+
+TEST_F('CrSettingsBluetoothPageTest', 'BluetoothPageTest', function() {
+ mocha.run();
+});
+
GEN('#endif');
/**
« 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