Patrick Venture | a58197c | 2018-06-11 15:29:45 -0700 | [diff] [blame] | 1 | #pragma once |
| 2 | |
Patrick Venture | da4a5dd | 2018-08-31 09:42:48 -0700 | [diff] [blame] | 3 | #include "pid/zone.hpp" |
| 4 | |
Patrick Venture | a58197c | 2018-06-11 15:29:45 -0700 | [diff] [blame] | 5 | #include <string> |
| 6 | |
Patrick Venture | da4a5dd | 2018-08-31 09:42:48 -0700 | [diff] [blame] | 7 | #include <gmock/gmock.h> |
Patrick Venture | a58197c | 2018-06-11 15:29:45 -0700 | [diff] [blame] | 8 | |
| 9 | class ZoneMock : public ZoneInterface |
| 10 | { |
Patrick Venture | da4a5dd | 2018-08-31 09:42:48 -0700 | [diff] [blame] | 11 | public: |
| 12 | virtual ~ZoneMock() = default; |
Patrick Venture | a58197c | 2018-06-11 15:29:45 -0700 | [diff] [blame] | 13 | |
Patrick Venture | da4a5dd | 2018-08-31 09:42:48 -0700 | [diff] [blame] | 14 | MOCK_METHOD1(getCachedValue, double(const std::string&)); |
| 15 | MOCK_METHOD1(addRPMSetPoint, void(float)); |
| 16 | MOCK_CONST_METHOD0(getMaxRPMRequest, float()); |
| 17 | MOCK_CONST_METHOD0(getFailSafeMode, bool()); |
| 18 | MOCK_CONST_METHOD0(getFailSafePercent, float()); |
| 19 | MOCK_METHOD1(getSensor, Sensor*(std::string)); |
Patrick Venture | a58197c | 2018-06-11 15:29:45 -0700 | [diff] [blame] | 20 | }; |