1
0
mirror of https://github.com/falk-werner/webfuse-provider synced 2024-10-27 20:44:10 +00:00
falk-werner_webfuse-provider/test/webfuse_provider/jsonrpc/mock_timer_callback.hpp

24 lines
443 B
C++
Raw Normal View History

#ifndef WFP_JSONRPC_MOCK_TIMERCALLBACK_HPP
#define WFP_JSONRPC_MOCK_TIMERCALLBACK_HPP
2020-03-22 19:09:40 +00:00
2020-06-16 21:39:45 +00:00
#include "webfuse_provider/impl/timer/on_timer_fn.h"
2020-03-22 19:09:40 +00:00
#include <gmock/gmock.h>
namespace wfp_jsonrpc_test
2020-03-22 19:09:40 +00:00
{
class MockTimerCallback
{
public:
MockTimerCallback();
virtual ~MockTimerCallback();
wfp_timer_on_timer_fn * on_timer_fn();
2020-03-22 19:09:40 +00:00
void * user_data();
MOCK_METHOD2(on_timer, void (wfp_timer * timer, void * user_data));
2020-03-22 19:09:40 +00:00
};
}
#endif