Lei YU | 7b21879 | 2017-02-09 12:10:13 +0800 | [diff] [blame] | 1 | #pragma once |
2 | #include <gmock/gmock.h> | ||||
3 | #include "bmc_time_change_listener.hpp" | ||||
4 | |||||
5 | namespace phosphor { | ||||
6 | namespace time { | ||||
7 | |||||
8 | class MockBmcTimeChangeListener : public BmcTimeChangeListener { | ||||
9 | public: | ||||
10 | MOCK_METHOD1(onBmcTimeChanged, | ||||
11 | void(const std::chrono::microseconds&)); | ||||
12 | }; | ||||
13 | |||||
14 | } // namespace time | ||||
15 | } // namespace phosphor | ||||
16 |