Patrick Venture | 55646de | 2019-05-16 10:06:26 -0700 | [diff] [blame] | 1 | #pragma once |
| 2 | |
| 3 | #include "updater.hpp" |
| 4 | |
| 5 | #include <string> |
| 6 | |
| 7 | #include <gmock/gmock.h> |
| 8 | |
| 9 | namespace host_tool |
| 10 | { |
| 11 | |
Patrick Venture | 1f09d41 | 2019-06-19 16:01:06 -0700 | [diff] [blame^] | 12 | class UpdateHandlerMock : public UpdateHandlerInterface |
Patrick Venture | 55646de | 2019-05-16 10:06:26 -0700 | [diff] [blame] | 13 | { |
| 14 | public: |
| 15 | MOCK_METHOD1(checkAvailable, bool(const std::string&)); |
| 16 | MOCK_METHOD2(sendFile, void(const std::string&, const std::string&)); |
| 17 | MOCK_METHOD1(verifyFile, bool(const std::string&)); |
| 18 | }; |
| 19 | |
| 20 | } // namespace host_tool |