2020-06-16 21:39:45 +00:00
|
|
|
#include "webfuse_provider/mocks/mock_jsonrpc_proxy.hpp"
|
2020-06-21 19:18:43 +00:00
|
|
|
#include "webfuse_provider/test_util/wrap.hpp"
|
2020-04-04 06:32:26 +00:00
|
|
|
|
|
|
|
extern "C"
|
|
|
|
{
|
|
|
|
static webfuse_test::MockJsonRpcProxy * webfuse_test_MockJsonRpcProxy = nullptr;
|
|
|
|
|
2020-06-16 21:57:41 +00:00
|
|
|
WFP_WRAP_VFUNC5(webfuse_test_MockJsonRpcProxy, void, wfp_jsonrpc_proxy_vinvoke,
|
|
|
|
struct wfp_jsonrpc_proxy *,
|
|
|
|
wfp_jsonrpc_proxy_finished_fn *,
|
2020-04-04 06:32:26 +00:00
|
|
|
void *,
|
|
|
|
char const *,
|
2020-04-04 10:49:02 +00:00
|
|
|
char const *);
|
2020-04-04 06:55:59 +00:00
|
|
|
|
2020-06-16 21:57:41 +00:00
|
|
|
WFP_WRAP_VFUNC3(webfuse_test_MockJsonRpcProxy, void, wfp_jsonrpc_proxy_vnotify,
|
|
|
|
struct wfp_jsonrpc_proxy *,
|
2020-04-04 06:55:59 +00:00
|
|
|
char const *,
|
2020-04-04 10:49:02 +00:00
|
|
|
char const *);
|
2020-04-04 06:32:26 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
namespace webfuse_test
|
|
|
|
{
|
|
|
|
|
|
|
|
MockJsonRpcProxy::MockJsonRpcProxy()
|
|
|
|
{
|
|
|
|
webfuse_test_MockJsonRpcProxy = this;
|
|
|
|
}
|
|
|
|
|
|
|
|
MockJsonRpcProxy::~MockJsonRpcProxy()
|
|
|
|
{
|
|
|
|
webfuse_test_MockJsonRpcProxy = nullptr;
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|