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