Patrick Venture | cf2d1b1 | 2018-12-11 18:22:36 -0800 | [diff] [blame] | 1 | #pragma once |
| 2 | |
Patrick Venture | fa662eb | 2018-12-12 14:07:24 -0800 | [diff] [blame] | 3 | #include "ipmi_interface.hpp" |
| 4 | |
| 5 | #include <gmock/gmock.h> |
| 6 | |
Patrick Venture | 9b534f0 | 2018-12-13 16:10:02 -0800 | [diff] [blame] | 7 | namespace host_tool |
| 8 | { |
| 9 | |
Patrick Venture | cf2d1b1 | 2018-12-11 18:22:36 -0800 | [diff] [blame] | 10 | class IpmiInterfaceMock : public IpmiInterface |
| 11 | { |
| 12 | public: |
| 13 | virtual ~IpmiInterfaceMock() = default; |
Patrick Venture | 035bbbb | 2018-12-12 14:59:52 -0800 | [diff] [blame] | 14 | MOCK_METHOD1(sendPacket, |
Patrick Venture | ecfd300 | 2018-12-14 13:57:28 -0800 | [diff] [blame] | 15 | std::vector<std::uint8_t>(std::vector<std::uint8_t>&)); |
Patrick Venture | cf2d1b1 | 2018-12-11 18:22:36 -0800 | [diff] [blame] | 16 | }; |
Patrick Venture | 9b534f0 | 2018-12-13 16:10:02 -0800 | [diff] [blame] | 17 | |
| 18 | } // namespace host_tool |