| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 /** @fileoverview Suite of tests for usb_devices. */ | 5 /** @fileoverview Suite of tests for usb_devices. */ |
| 6 cr.define('usb_devices', function() { | 6 cr.define('usb_devices', function() { |
| 7 function registerTests() { | 7 function registerTests() { |
| 8 suite('UsbDevices', function() { | 8 suite('UsbDevices', function() { |
| 9 /** | 9 /** |
| 10 * A dummy usb-devices element created before each test. | 10 * A dummy usb-devices element created before each test. |
| 11 * @type {UsbDeviceEntry} | 11 * @type {UsbDevices} |
| 12 */ | 12 */ |
| 13 var testElement; | 13 var testElement; |
| 14 | 14 |
| 15 /** | 15 /** |
| 16 * The mock proxy object to use during test. | 16 * The mock proxy object to use during test. |
| 17 * @type {TestSiteSettingsPrefsBrowserProxy} | 17 * @type {TestSiteSettingsPrefsBrowserProxy} |
| 18 */ | 18 */ |
| 19 var browserProxy = null; | 19 var browserProxy = null; |
| 20 | 20 |
| 21 /** | 21 /** |
| (...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 146 return testRemovalFlow(1); | 146 return testRemovalFlow(1); |
| 147 }); | 147 }); |
| 148 }); | 148 }); |
| 149 }); | 149 }); |
| 150 } | 150 } |
| 151 | 151 |
| 152 return { | 152 return { |
| 153 registerTests: registerTests, | 153 registerTests: registerTests, |
| 154 }; | 154 }; |
| 155 }); | 155 }); |
| OLD | NEW |