AYAB Arduino Firmware
0.95
The goal of the AYAB project is to provide an alternative way to control the famous Brother KH-9xx range of knitting machines using a computer
fsm_mock.h
Go to the documentation of this file.
1
24
#ifndef FSM_MOCK_H_
25
#define FSM_MOCK_H_
26
27
#include <
fsm.h
>
28
#include <gmock/gmock.h>
29
30
class
FsmMock
:
public
FsmInterface
{
31
public
:
32
MOCK_METHOD0(init,
void
());
33
MOCK_METHOD0(getState, OpState_t());
34
MOCK_METHOD1(setState,
void
(OpState_t state));
35
MOCK_METHOD0(dispatch,
void
());
36
};
37
38
FsmMock
*fsmMockInstance();
39
void
releaseFsmMock();
40
41
#endif
// FSM_MOCK_H_
FsmInterface
Definition
fsm.h:83
FsmMock
Definition
fsm_mock.h:30
fsm.h
test
mocks
fsm_mock.h
Generated on Mon Feb 24 2025 13:23:25 for AYAB Arduino Firmware by
1.9.8