]>
git.proxmox.com Git - ceph.git/blob - ceph/src/test/librados_test_stub/LibradosTestStub.h
1 // -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*-
2 // vim: ts=8 sw=2 smarttab
4 #ifndef LIBRADOS_TEST_STUB_H
5 #define LIBRADOS_TEST_STUB_H
7 #include <boost/shared_ptr.hpp>
12 class MockTestMemIoCtxImpl
;
15 MockTestMemIoCtxImpl
&get_mock_io_ctx(IoCtx
&ioctx
);
17 } // namespace librados
19 namespace librados_test_stub
{
21 typedef boost::shared_ptr
<librados::TestCluster
> TestClusterRef
;
23 void set_cluster(TestClusterRef cluster
);
24 TestClusterRef
get_cluster();
26 } // namespace librados_test_stub
29 #endif // LIBRADOS_TEST_STUB_H