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 | { |
Patrick Venture | af69625 | 2018-12-11 10:22:14 -0800 | [diff] [blame] | 12 | public: |
| 13 | virtual ~DataInterfaceMock() = default; |
| 14 | |
Willy Tu | f450486 | 2021-04-24 23:22:19 -0700 | [diff] [blame] | 15 | MOCK_METHOD(bool, sendContents, (const std::string&, std::uint16_t), |
| 16 | (override)); |
| 17 | MOCK_METHOD(ipmi_flash::FirmwareFlags::UpdateFlags, supportedType, (), |
| 18 | (const, override)); |
Patrick Venture | af69625 | 2018-12-11 10:22:14 -0800 | [diff] [blame] | 19 | }; |
Patrick Venture | 9b534f0 | 2018-12-13 16:10:02 -0800 | [diff] [blame] | 20 | |
| 21 | } // namespace host_tool |