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

Unified Diff: chrome/browser/devtools/device/webrtc/webrtc_device_provider_browsertest.js

Issue 746663002: Stub for WebRTCDeviceProvider (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@webclient
Patch Set: Created 6 years, 1 month 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/browser/devtools/device/webrtc/webrtc_device_provider_browsertest.js
diff --git a/chrome/browser/devtools/device/webrtc/webrtc_device_provider_browsertest.js b/chrome/browser/devtools/device/webrtc/webrtc_device_provider_browsertest.js
new file mode 100644
index 0000000000000000000000000000000000000000..e21803926f7b4706c668b31db55f85f10ed89b1f
--- /dev/null
+++ b/chrome/browser/devtools/device/webrtc/webrtc_device_provider_browsertest.js
@@ -0,0 +1,30 @@
+// Copyright 2014 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+/**
+ * Test fixture for WebRTCDeviceProvider.
+ * @constructor
+ * @extends {testing.Test}
+ */
+function WebRTCDeviceProviderBrowserTest() {}
+
+WebRTCDeviceProviderBrowserTest.prototype = {
+ __proto__: testing.Test.prototype,
+
+ /**
+ * Browse to the settings sub-frame.
dgozman 2014/11/27 13:45:27 Wrong comment.
SeRya 2014/11/27 14:15:09 Done.
+ */
+ browsePreload: 'chrome://webrtc-device-provider',
+
+ preLoad: function() {
+ this.makeAndRegisterMockHandler(['loaded']);
+ this.mockHandler.expects(once()).loaded();
+ },
+
+ isAsync: true,
+};
+
+TEST_F('WebRTCDeviceProviderBrowserTest', 'TestLoads', function() {
+ testDone();
+});

Powered by Google App Engine
This is Rietveld 408576698