blob: ca4c4b955308efc38adb3ff958d2ad48077e3da2 [file] [log] [blame]
Patrick Venture55646de2019-05-16 10:06:26 -07001#pragma once
2
3#include "updater.hpp"
4
5#include <string>
6
7#include <gmock/gmock.h>
8
9namespace host_tool
10{
11
Patrick Venture1f09d412019-06-19 16:01:06 -070012class UpdateHandlerMock : public UpdateHandlerInterface
Patrick Venture55646de2019-05-16 10:06:26 -070013{
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