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