blob: d67991bcc39e7750dade89da47928ba6e88f28be [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&));
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