blob: 6caa67edf8bd307c7dd578549611164a1c76ecf5 [file] [log] [blame]
#pragma once
#include "hwmonio.hpp"
#include <gmock/gmock.h>
namespace hwmonio
{
class HwmonIOMock : public HwmonIOInterface
{
public:
virtual ~HwmonIOMock(){};
MOCK_CONST_METHOD5(read, int64_t(const std::string&, const std::string&,
const std::string&, size_t,
std::chrono::milliseconds));
MOCK_CONST_METHOD6(write, void(uint32_t, const std::string&,
const std::string&, const std::string&,
size_t, std::chrono::milliseconds));
MOCK_CONST_METHOD0(path, std::string());
};
} // namespace hwmonio
// vim: tabstop=8 expandtab shiftwidth=4 softtabstop=4