blob: fc1b284ef8bba8ae316d9bd4419576f526d9ff76 [file] [log] [blame]
Patrick Venture00887592018-12-11 10:57:06 -08001#include "blob_interface.hpp"
2
Patrick Venture0533d0b2018-12-13 08:48:24 -08003#include <gmock/gmock.h>
4
Patrick Venture00887592018-12-11 10:57:06 -08005class BlobInterfaceMock : public BlobInterface
6{
7 public:
8 virtual ~BlobInterfaceMock() = default;
9 MOCK_METHOD0(getBlobList, std::vector<std::string>());
Patrick Venture0bf8bf02018-12-12 20:43:25 -080010 MOCK_METHOD1(getStat, StatResponse(const std::string&));
Patrick Venture0533d0b2018-12-13 08:48:24 -080011 MOCK_METHOD2(openBlob,
12 std::uint16_t(const std::string&,
13 blobs::FirmwareBlobHandler::UpdateFlags));
Patrick Venture00887592018-12-11 10:57:06 -080014};