blob: c85eab43455f26146e04046aa24f6dba7f7efe6f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*-
// vim: ts=8 sw=2 smarttab
#ifndef CEPH_MOCK_BASE_REQUEST_H
#define CEPH_MOCK_BASE_REQUEST_H
#include "tools/rbd_mirror/BaseRequest.h"
#include <gmock/gmock.h>
struct Context;
namespace rbd {
namespace mirror {
struct MockBaseRequest : public BaseRequest {
MockBaseRequest() : BaseRequest(nullptr) {}
Context* on_finish = nullptr;
MOCK_METHOD0(send, void());
};
} // namespace mirror
} // namepace rbd
#endif // CEPH_MOCK_BASE_REQUEST_H
|