Patrick Venture | 030b1a8 | 2019-01-18 08:33:02 -0800 | [diff] [blame] | 1 | #pragma once |
| 2 | |
| 3 | #include "io.hpp" |
| 4 | |
| 5 | #include <gmock/gmock.h> |
| 6 | |
| 7 | namespace host_tool |
| 8 | { |
| 9 | |
| 10 | class HostIoInterfaceMock : public HostIoInterface |
| 11 | { |
| 12 | public: |
| 13 | ~HostIoInterfaceMock() = default; |
| 14 | |
Patrick Venture | ac4ff97 | 2019-05-03 17:35:00 -0700 | [diff] [blame] | 15 | MOCK_METHOD3(read, bool(const std::size_t, const std::size_t, void* const)); |
| 16 | |
Patrick Venture | 030b1a8 | 2019-01-18 08:33:02 -0800 | [diff] [blame] | 17 | MOCK_METHOD3(write, |
| 18 | bool(const std::size_t, const std::size_t, const void* const)); |
| 19 | }; |
| 20 | |
| 21 | } // namespace host_tool |