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

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: Merged Created 6 years 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..773f45fd4d0665a666401dae2574302f2cceba58
--- /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 worker.
+ */
+ browsePreload: 'chrome://webrtc-device-provider/background_worker.html',
+
+ preLoad: function() {
+ this.makeAndRegisterMockHandler(['loaded']);
+ this.mockHandler.expects(once()).loaded();
+ },
+
+ isAsync: true,
+};
+
+TEST_F('WebRTCDeviceProviderBrowserTest', 'TestLoads', function() {
+ testDone();
+});
« no previous file with comments | « chrome/browser/devtools/device/webrtc/webrtc_device_provider.cc ('k') | chrome/browser/devtools/devtools_targets_ui.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698