2020-06-16 21:39:45 +00:00
|
|
|
#include "webfuse_provider/mocks/mock_operation_context.hpp"
|
2020-06-21 19:18:43 +00:00
|
|
|
#include "webfuse/test_util/wrap.hpp"
|
2020-04-04 21:27:34 +00:00
|
|
|
|
|
|
|
extern "C"
|
|
|
|
{
|
|
|
|
static webfuse_test::MockOperationContext * webfuse_test_MockOperationContext = nullptr;
|
|
|
|
|
2020-06-16 21:57:41 +00:00
|
|
|
WFP_WRAP_FUNC1(webfuse_test_MockOperationContext,
|
|
|
|
struct wfp_jsonrpc_proxy *, wfp_impl_operation_context_get_proxy,
|
|
|
|
struct wfp_impl_operation_context *);
|
2020-04-04 21:27:34 +00:00
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
namespace webfuse_test
|
|
|
|
{
|
|
|
|
|
|
|
|
MockOperationContext::MockOperationContext()
|
|
|
|
{
|
|
|
|
webfuse_test_MockOperationContext = this;
|
|
|
|
}
|
|
|
|
|
|
|
|
MockOperationContext::~MockOperationContext()
|
|
|
|
{
|
|
|
|
webfuse_test_MockOperationContext = nullptr;
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|