blob: 4d18204d92b2afd9d514e57f282b824de52527fb [file] [log] [blame]
Patrick Venture030b1a82019-01-18 08:33:02 -08001#pragma once
2
3#include "io.hpp"
4
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