Patrick Venture | 0088759 | 2018-12-11 10:57:06 -0800 | [diff] [blame] | 1 | #include "blob_interface.hpp" |
| 2 | |
Patrick Venture | 0533d0b | 2018-12-13 08:48:24 -0800 | [diff] [blame] | 3 | #include <gmock/gmock.h> |
| 4 | |
Patrick Venture | 0088759 | 2018-12-11 10:57:06 -0800 | [diff] [blame] | 5 | class BlobInterfaceMock : public BlobInterface |
| 6 | { |
| 7 | public: |
| 8 | virtual ~BlobInterfaceMock() = default; |
| 9 | MOCK_METHOD0(getBlobList, std::vector<std::string>()); |
Patrick Venture | 0bf8bf0 | 2018-12-12 20:43:25 -0800 | [diff] [blame] | 10 | MOCK_METHOD1(getStat, StatResponse(const std::string&)); |
Patrick Venture | 0533d0b | 2018-12-13 08:48:24 -0800 | [diff] [blame] | 11 | MOCK_METHOD2(openBlob, |
| 12 | std::uint16_t(const std::string&, |
| 13 | blobs::FirmwareBlobHandler::UpdateFlags)); |
Patrick Venture | 0088759 | 2018-12-11 10:57:06 -0800 | [diff] [blame] | 14 | }; |