Fix some bugs when testing opensds ansible
[stor4nfv.git] / src / ceph / src / test / rbd_mirror / mock / MockSafeTimer.h
1 // -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*-
2 // vim: ts=8 sw=2 smarttab
3
4 #ifndef CEPH_MOCK_SAFE_TIMER_H
5 #define CEPH_MOCK_SAFE_TIMER_H
6
7 #include <gmock/gmock.h>
8
9 struct Context;
10
11 struct MockSafeTimer {
12   MOCK_METHOD2(add_event_after, Context*(double, Context*));
13   MOCK_METHOD1(cancel_event, bool(Context *));
14 };
15
16 #endif // CEPH_MOCK_SAFE_TIMER_H