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
30class FsmMock : public FsmInterface {
31public:
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
38FsmMock *fsmMockInstance();
39void releaseFsmMock();
40
41#endif // FSM_MOCK_H_
Definition fsm.h:83
Definition fsm_mock.h:30