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

Side by Side 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 unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 /**
6 * Test fixture for WebRTCDeviceProvider.
7 * @constructor
8 * @extends {testing.Test}
9 */
10 function WebRTCDeviceProviderBrowserTest() {}
11
12 WebRTCDeviceProviderBrowserTest.prototype = {
13 __proto__: testing.Test.prototype,
14
15 /**
16 * Browse to the worker.
17 */
18 browsePreload: 'chrome://webrtc-device-provider/background_worker.html',
19
20 preLoad: function() {
21 this.makeAndRegisterMockHandler(['loaded']);
22 this.mockHandler.expects(once()).loaded();
23 },
24
25 isAsync: true,
26 };
27
28 TEST_F('WebRTCDeviceProviderBrowserTest', 'TestLoads', function() {
29 testDone();
30 });
OLDNEW
« 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