Patrick Venture | f085d91 | 2019-03-15 08:50:00 -0700 | [diff] [blame] | 1 | #pragma once |
| 2 | |
| 3 | #include "handler.hpp" |
| 4 | |
| 5 | #include <gmock/gmock.h> |
| 6 | |
| 7 | namespace google |
| 8 | { |
| 9 | namespace ipmi |
| 10 | { |
| 11 | |
| 12 | class HandlerMock : public HandlerInterface |
| 13 | { |
| 14 | |
| 15 | public: |
| 16 | ~HandlerMock() = default; |
| 17 | |
| 18 | MOCK_CONST_METHOD0(getEthDetails, std::tuple<std::uint8_t, std::string>()); |
Patrick Venture | d2037c6 | 2019-03-15 10:29:47 -0700 | [diff] [blame] | 19 | MOCK_CONST_METHOD1(getRxPackets, std::int64_t(const std::string&)); |
Patrick Venture | bb90d4f | 2019-03-15 13:42:06 -0700 | [diff] [blame^] | 20 | MOCK_CONST_METHOD1(getCpldVersion, |
| 21 | std::tuple<std::uint8_t, std::uint8_t, std::uint8_t, |
| 22 | std::uint8_t>(unsigned int)); |
Patrick Venture | f085d91 | 2019-03-15 08:50:00 -0700 | [diff] [blame] | 23 | }; |
| 24 | |
| 25 | } // namespace ipmi |
| 26 | } // namespace google |