blob: 4d401c4365e9fd80b15a7131b8fcbd4d16d10829 [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
19 MOCK_METHOD2(mapWindow,
20 std::pair<std::uint32_t, std::uint32_t>(std::uint32_t,
21 std::uint32_t));
Patrick Venture517710d2019-01-17 11:37:40 -080022 MOCK_METHOD1(copyFrom, std::vector<std::uint8_t>(std::uint32_t));
Patrick Venturee7728422018-11-14 20:16:33 -080023};
24
25} // namespace blobs