Fix real Usb Device references in Printer
All checks were successful
Build ptprnt / build (push) Successful in 3m5s

This commit is contained in:
2025-10-21 20:51:17 +02:00
parent 34b4e10c62
commit 1f57a802f3
3 changed files with 44 additions and 25 deletions

View File

@@ -33,6 +33,7 @@ namespace libusbwrap {
*/
class MockUsbDeviceFactory : public IUsbDeviceFactory {
public:
MOCK_METHOD(bool, init, (), (override));
MOCK_METHOD(std::vector<std::unique_ptr<IUsbDevice>>, findAllDevices, (), (override));
MOCK_METHOD(std::vector<std::unique_ptr<IUsbDevice>>, findDevices, (uint16_t vid, uint16_t pid), (override));
};