blob: 364b333cb668bd06bff37cf6284cbc0fb4974d10 [file] [log] [blame]
Lei YU7b218792017-02-09 12:10:13 +08001#pragma once
Lei YU7b218792017-02-09 12:10:13 +08002#include "bmc_time_change_listener.hpp"
3
Gunnar Millsab4cc6a2018-09-14 14:42:39 -05004#include <gmock/gmock.h>
Lei YU7b218792017-02-09 12:10:13 +08005
Gunnar Millsab4cc6a2018-09-14 14:42:39 -05006namespace phosphor
7{
8namespace time
9{
10
11class MockBmcTimeChangeListener : public BmcTimeChangeListener
12{
13 public:
14 MOCK_METHOD1(onBmcTimeChanged, void(const std::chrono::microseconds&));
Lei YU7b218792017-02-09 12:10:13 +080015};
16
Gunnar Millsab4cc6a2018-09-14 14:42:39 -050017} // namespace time
18} // namespace phosphor