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
31
class
BeeperMock
:
public
BeeperInterface
{
32
public
:
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
43
BeeperMock
*beeperMockInstance();
44
void
releaseBeeperMock();
45
46
#endif
// BEEPER_MOCK_H_
beeper.h
BeeperInterface
Definition
beeper.h:42
BeeperMock
Definition
beeper_mock.h:31
test
mocks
beeper_mock.h
Generated on Mon Feb 24 2025 13:23:25 for AYAB Arduino Firmware by
1.9.8