| 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();
|
| +});
|
|
|