Patrick Venture | e772842 | 2018-11-14 20:16:33 -0800 | [diff] [blame] | 1 | #pragma once |
| 2 | |
Patrick Venture | 5251da9 | 2019-01-17 11:25:26 -0800 | [diff] [blame] | 3 | #include "window_hw_interface.hpp" |
Patrick Venture | e772842 | 2018-11-14 20:16:33 -0800 | [diff] [blame] | 4 | |
| 5 | #include <gmock/gmock.h> |
| 6 | |
| 7 | namespace blobs |
| 8 | { |
| 9 | |
Patrick Venture | 5251da9 | 2019-01-17 11:25:26 -0800 | [diff] [blame] | 10 | class HardwareInterfaceMock : public HardwareMapperInterface |
Patrick Venture | e772842 | 2018-11-14 20:16:33 -0800 | [diff] [blame] | 11 | { |
| 12 | public: |
Patrick Venture | 5251da9 | 2019-01-17 11:25:26 -0800 | [diff] [blame] | 13 | virtual ~HardwareInterfaceMock() = default; |
Patrick Venture | e772842 | 2018-11-14 20:16:33 -0800 | [diff] [blame] | 14 | |
| 15 | MOCK_METHOD2(mapWindow, |
| 16 | std::pair<std::uint32_t, std::uint32_t>(std::uint32_t, |
| 17 | std::uint32_t)); |
Patrick Venture | 517710d | 2019-01-17 11:37:40 -0800 | [diff] [blame^] | 18 | MOCK_METHOD1(copyFrom, std::vector<std::uint8_t>(std::uint32_t)); |
Patrick Venture | e772842 | 2018-11-14 20:16:33 -0800 | [diff] [blame] | 19 | }; |
| 20 | |
| 21 | } // namespace blobs |