1
0
mirror of https://github.com/falk-werner/webfuse-provider synced 2024-10-27 20:44:10 +00:00

fix: added missing call of mock object

This commit is contained in:
Falk Werner 2020-04-07 19:43:10 +02:00
parent 8539ce9338
commit 36f2b82a67

View File

@ -396,6 +396,7 @@ TEST(wf_jsonrpc_proxy, swallow_timeout_if_no_request_pending)
EXPECT_CALL(timer_api, wf_timer_create(_, _, _)) EXPECT_CALL(timer_api, wf_timer_create(_, _, _))
.Times(1) .Times(1)
.WillOnce(DoAll(SaveArg<1>(&on_timer), SaveArg<2>(&timer_context), Return(nullptr))); .WillOnce(DoAll(SaveArg<1>(&on_timer), SaveArg<2>(&timer_context), Return(nullptr)));
EXPECT_CALL(timer_api, wf_timer_dispose(_)).Times(1);
SendContext send_context; SendContext send_context;
void * send_data = reinterpret_cast<void*>(&send_context); void * send_data = reinterpret_cast<void*>(&send_context);