150552377SPatrick Venture #pragma once 250552377SPatrick Venture 350552377SPatrick Venture #include "hwmonio.hpp" 450552377SPatrick Venture 5*043d3230SPatrick Venture #include <gmock/gmock.h> 6*043d3230SPatrick Venture 7*043d3230SPatrick Venture namespace hwmonio 8*043d3230SPatrick Venture { 950552377SPatrick Venture 1050552377SPatrick Venture class HwmonIOMock : public HwmonIOInterface 1150552377SPatrick Venture { 1250552377SPatrick Venture public: ~HwmonIOMock()1350552377SPatrick Venture virtual ~HwmonIOMock(){}; 1450552377SPatrick Venture 15*043d3230SPatrick Venture MOCK_CONST_METHOD5(read, int64_t(const std::string&, const std::string&, 16*043d3230SPatrick Venture const std::string&, size_t, 1750552377SPatrick Venture std::chrono::milliseconds)); 1850552377SPatrick Venture 19*043d3230SPatrick Venture MOCK_CONST_METHOD6(write, void(uint32_t, const std::string&, 20*043d3230SPatrick Venture const std::string&, const std::string&, 21*043d3230SPatrick Venture size_t, std::chrono::milliseconds)); 2250552377SPatrick Venture 2350552377SPatrick Venture MOCK_CONST_METHOD0(path, std::string()); 2450552377SPatrick Venture }; 2550552377SPatrick Venture 2650552377SPatrick Venture } // namespace hwmonio 2750552377SPatrick Venture 2850552377SPatrick Venture // vim: tabstop=8 expandtab shiftwidth=4 softtabstop=4 29