Patrick Venture | af69625 | 2018-12-11 10:22:14 -0800 | [diff] [blame] | 1 | #pragma once |
| 2 | |
| 3 | #include "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 | af69625 | 2018-12-11 10:22:14 -0800 | [diff] [blame] | 10 | class DataInterfaceMock : public DataInterface |
| 11 | { |
| 12 | |
| 13 | public: |
| 14 | virtual ~DataInterfaceMock() = default; |
| 15 | |
| 16 | MOCK_METHOD2(sendContents, bool(const std::string&, std::uint16_t)); |
Patrick Venture | 84778b8 | 2019-06-26 20:11:09 -0700 | [diff] [blame] | 17 | MOCK_CONST_METHOD0(supportedType, ipmi_flash::FirmwareFlags::UpdateFlags()); |
Patrick Venture | af69625 | 2018-12-11 10:22:14 -0800 | [diff] [blame] | 18 | }; |
Patrick Venture | 9b534f0 | 2018-12-13 16:10:02 -0800 | [diff] [blame] | 19 | |
| 20 | } // namespace host_tool |