You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
443 B
24 lines
443 B
#ifndef WFP_JSONRPC_MOCK_TIMERCALLBACK_HPP
|
|
#define WFP_JSONRPC_MOCK_TIMERCALLBACK_HPP
|
|
|
|
#include "webfuse_provider/impl/timer/on_timer_fn.h"
|
|
#include <gmock/gmock.h>
|
|
|
|
namespace wfp_jsonrpc_test
|
|
{
|
|
class MockTimerCallback
|
|
{
|
|
public:
|
|
MockTimerCallback();
|
|
virtual ~MockTimerCallback();
|
|
wfp_timer_on_timer_fn * on_timer_fn();
|
|
void * user_data();
|
|
|
|
MOCK_METHOD2(on_timer, void (wfp_timer * timer, void * user_data));
|
|
|
|
};
|
|
|
|
}
|
|
|
|
#endif
|