blob: f7d25c585f413a82d97ef4f595c9902f3f520f0a [file] [log] [blame]
Patrick Venture030b1a82019-01-18 08:33:02 -08001#pragma once
2
Patrick Ventured6b337e2021-04-16 14:37:57 -07003#include "io_interface.hpp"
Patrick Venture030b1a82019-01-18 08:33:02 -08004
5#include <gmock/gmock.h>
6
7namespace host_tool
8{
9
10class HostIoInterfaceMock : public HostIoInterface
11{
12 public:
13 ~HostIoInterfaceMock() = default;
14
Willy Tuf4504862021-04-24 23:22:19 -070015 MOCK_METHOD(bool, read, (const std::size_t, const std::size_t, void* const),
16 (override));
17 MOCK_METHOD(bool, write,
18 (const std::size_t, const std::size_t, const void* const),
19 (override));
Patrick Venture030b1a82019-01-18 08:33:02 -080020};
21
22} // namespace host_tool