blob: 70fc91a4a4b87583d6fd2403f8f7a2e69c93f556 [file] [log] [blame]
#pragma once
#include "updater.hpp"
#include <cstdint>
#include <string>
#include <vector>
#include <gmock/gmock.h>
namespace host_tool
{
class UpdateHandlerMock : public UpdateHandlerInterface
{
public:
MOCK_METHOD(bool, checkAvailable, (const std::string&), (override));
MOCK_METHOD(std::vector<uint8_t>, readVersion, (const std::string&),
(override));
MOCK_METHOD(void, sendFile, (const std::string&, const std::string&),
(override));
MOCK_METHOD(bool, verifyFile, (const std::string&, bool), (override));
MOCK_METHOD(void, cleanArtifacts, (), (override));
};
} // namespace host_tool