blob: 9469c62c31d9a3a19235586ee375b6c9d14417aa [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&));
Brandon Kim6749ba12019-09-19 13:31:37 -070017 MOCK_METHOD2(verifyFile, bool(const std::string&, bool));
Patrick Venture5f2fcc42019-06-20 07:21:05 -070018 MOCK_METHOD0(cleanArtifacts, void());
Patrick Venture55646de2019-05-16 10:06:26 -070019};
20
21} // namespace host_tool