blob: eddd6ff8891d6874807d6c17026711a1dd62a840 [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
Patrick Ventureac4ff972019-05-03 17:35:00 -070015 MOCK_METHOD3(read, bool(const std::size_t, const std::size_t, void* const));
16
Patrick Venture030b1a82019-01-18 08:33:02 -080017 MOCK_METHOD3(write,
18 bool(const std::size_t, const std::size_t, const void* const));
19};
20
21} // namespace host_tool