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

Unified Diff: device/usb/usb_descriptors_unittest.cc

Issue 2689323006: Read USB device configurations from index 0. (Closed)
Patch Set: Created 3 years, 10 months 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
« no previous file with comments | « device/usb/usb_descriptors.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/usb/usb_descriptors_unittest.cc
diff --git a/device/usb/usb_descriptors_unittest.cc b/device/usb/usb_descriptors_unittest.cc
index 6ecc06728bead0d9aa369af474857a5011fdc8ab..195b01b40b6383428bf8f2a6d87365d6dc5134ef 100644
--- a/device/usb/usb_descriptors_unittest.cc
+++ b/device/usb/usb_descriptors_unittest.cc
@@ -225,14 +225,14 @@ TEST_F(UsbDescriptorsTest, ReadDescriptors) {
.WillOnce(InvokeCallback(kDeviceDescriptor, sizeof(kDeviceDescriptor)));
EXPECT_CALL(*device_handle,
ControlTransfer(USB_DIRECTION_INBOUND, UsbDeviceHandle::STANDARD,
- UsbDeviceHandle::DEVICE, 0x06, 0x0201, 0x0000, _,
+ UsbDeviceHandle::DEVICE, 0x06, 0x0200, 0x0000, _,
_, _, _))
.Times(2)
.WillRepeatedly(
InvokeCallback(kConfig1Descriptor, sizeof(kConfig1Descriptor)));
EXPECT_CALL(*device_handle,
ControlTransfer(USB_DIRECTION_INBOUND, UsbDeviceHandle::STANDARD,
- UsbDeviceHandle::DEVICE, 0x06, 0x0202, 0x0000, _,
+ UsbDeviceHandle::DEVICE, 0x06, 0x0201, 0x0000, _,
_, _, _))
.Times(2)
.WillRepeatedly(
« no previous file with comments | « device/usb/usb_descriptors.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698