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 | 8a55dcb | 2018-12-12 21:12:58 -0800 | [diff] [blame] | 17 | MOCK_CONST_METHOD0(supportedType, |
| 18 | blobs::FirmwareBlobHandler::UpdateFlags()); |
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 |