summaryrefslogtreecommitdiffstats
path: root/test/mocked_bmc_time_change_listener.hpp
blob: 364b333cb668bd06bff37cf6284cbc0fb4974d10 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#pragma once
#include "bmc_time_change_listener.hpp"

#include <gmock/gmock.h>

namespace phosphor
{
namespace time
{

class MockBmcTimeChangeListener : public BmcTimeChangeListener
{
  public:
    MOCK_METHOD1(onBmcTimeChanged, void(const std::chrono::microseconds&));
};

} // namespace time
} // namespace phosphor
OpenPOWER on IntegriCloud