blob: c8a75c6bb2dc7279adf073f3da1a6b7fb41f7e23 [file] [log] [blame]
Patrick Venturee7728422018-11-14 20:16:33 -08001#pragma once
2
Patrick Venture5251da92019-01-17 11:25:26 -08003#include "window_hw_interface.hpp"
Patrick Venturee7728422018-11-14 20:16:33 -08004
Patrick Venturec9c60882019-01-17 11:44:47 -08005#include <cstdint>
6#include <utility>
7#include <vector>
8
Patrick Venturee7728422018-11-14 20:16:33 -08009#include <gmock/gmock.h>
10
11namespace blobs
12{
13
Patrick Venture5251da92019-01-17 11:25:26 -080014class HardwareInterfaceMock : public HardwareMapperInterface
Patrick Venturee7728422018-11-14 20:16:33 -080015{
16 public:
Patrick Venture5251da92019-01-17 11:25:26 -080017 virtual ~HardwareInterfaceMock() = default;
Patrick Venturee7728422018-11-14 20:16:33 -080018
Patrick Venture2343cfc2019-01-17 13:04:36 -080019 MOCK_METHOD0(close, ());
Patrick Venturee7728422018-11-14 20:16:33 -080020 MOCK_METHOD2(mapWindow,
21 std::pair<std::uint32_t, std::uint32_t>(std::uint32_t,
22 std::uint32_t));
Patrick Venture517710d2019-01-17 11:37:40 -080023 MOCK_METHOD1(copyFrom, std::vector<std::uint8_t>(std::uint32_t));
Patrick Venturee7728422018-11-14 20:16:33 -080024};
25
26} // namespace blobs