Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Save the libusb error if libusb_submit_transfer() fails | Richard Hughes | 2023-02-01 | 1 | -0/+2 |
| | | | | If the return code is LIBUSB_ERROR_NO_DEVICE we want to record that. | ||||
* | Allow emulating failed events | Richard Hughes | 2022-09-12 | 1 | -0/+2 |
| | | | | | This is required to emulate devices that just reset (without completing the current transfer) when asked to reset. | ||||
* | Save device events when required | Richard Hughes | 2022-09-08 | 1 | -0/+24 |
This allows us to simulate an entire context of devices, simulating responses as if the hardware is connected. This allows building rich device-specific unit tests in programs like fwupd, without having to have the hardware attached. |