mirror of
https://github.com/eclipse-mosquitto/mosquitto.git
synced 2026-05-04 16:37:44 +02:00
19 lines
419 B
C++
19 lines
419 B
C++
#pragma once
|
|
|
|
#include <gmock/gmock.h>
|
|
#include <editline/readline.h>
|
|
|
|
#include "mosquitto_ctrl.h"
|
|
#include "ctrl_shell_internal.h"
|
|
|
|
#include "c_function_mock.hpp"
|
|
|
|
class CtrlShellMock : public CFunctionMock<CtrlShellMock> {
|
|
public:
|
|
CtrlShellMock();
|
|
virtual ~CtrlShellMock();
|
|
|
|
MOCK_METHOD(void, ctrl_shell__output, (const char *s));
|
|
MOCK_METHOD(char *, ctrl_shell_fgets, (char *s, int size, FILE *stream));
|
|
};
|