Fix some bugs when testing opensds ansible
[stor4nfv.git] / src / ceph / src / test / rbd_mirror / mock / MockContextWQ.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_CONTEXT_WQ_H
5 #define CEPH_MOCK_CONTEXT_WQ_H
6
7 #include <gmock/gmock.h>
8
9 struct Context;
10
11 struct MockContextWQ {
12   void queue(Context *ctx) {
13     queue(ctx, 0);
14   }
15   MOCK_METHOD2(queue, void(Context *, int));
16 };
17
18 #endif // CEPH_MOCK_CONTEXT_WQ_H