1ded66d0fSJason Ling #pragma once 2ded66d0fSJason Ling 3ded66d0fSJason Ling #include "window_hw_interface.hpp" 4ded66d0fSJason Ling 5ded66d0fSJason Ling #include <cstdint> 6ded66d0fSJason Ling #include <utility> 7ded66d0fSJason Ling #include <vector> 8ded66d0fSJason Ling 9ded66d0fSJason Ling #include <gmock/gmock.h> 10ded66d0fSJason Ling 11ded66d0fSJason Ling namespace ipmi_flash 12ded66d0fSJason Ling { 13ded66d0fSJason Ling 14ded66d0fSJason Ling class HardwareInterfaceMock : public HardwareMapperInterface 15ded66d0fSJason Ling { 16ded66d0fSJason Ling public: 17ded66d0fSJason Ling virtual ~HardwareInterfaceMock() = default; 18ded66d0fSJason Ling 19*f450486fSWilly Tu MOCK_METHOD(MemorySet, open, (), (override)); 20*f450486fSWilly Tu MOCK_METHOD(void, close, (), (override)); 21*f450486fSWilly Tu MOCK_METHOD(WindowMapResult, mapWindow, (std::uint32_t, std::uint32_t), 22*f450486fSWilly Tu (override)); 23ded66d0fSJason Ling }; 24ded66d0fSJason Ling 25ded66d0fSJason Ling } // namespace ipmi_flash 26