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
beeper_mock.h
Go to the documentation of this file.
1
24#ifndef BEEPER_MOCK_H_
25#define BEEPER_MOCK_H_
26
27#include <gmock/gmock.h>
28
29#include <beeper.h>
30
32public:
33 MOCK_METHOD1(init, void(bool));
34 MOCK_METHOD0(enabled, bool());
35 MOCK_METHOD0(getState, BeepState());
36 MOCK_METHOD0(ready, void());
37 MOCK_METHOD0(finishedLine, void());
38 MOCK_METHOD0(error, void());
39 MOCK_METHOD0(endWork, void());
40 MOCK_METHOD0(schedule, void());
41};
42
43BeeperMock *beeperMockInstance();
44void releaseBeeperMock();
45
46#endif // BEEPER_MOCK_H_
Definition beeper.h:42
Definition beeper_mock.h:31