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
solenoids_mock.h
Go to the documentation of this file.
1
24
#ifndef SOLENOIDS_MOCK_H_
25
#define SOLENOIDS_MOCK_H_
26
27
#include <gmock/gmock.h>
28
#include <
solenoids.h
>
29
30
class
SolenoidsMock
:
public
SolenoidsInterface
{
31
public
:
32
MOCK_METHOD0(init,
void
());
33
MOCK_METHOD2(setSolenoid,
void
(uint8_t,
bool
));
34
MOCK_METHOD1(setSolenoids,
void
(uint16_t state));
35
};
36
37
SolenoidsMock
*solenoidsMockInstance();
38
void
releaseSolenoidsMock();
39
40
#endif
// SOLENOIDS_MOCK_H_
SolenoidsInterface
Definition
solenoids.h:40
SolenoidsMock
Definition
solenoids_mock.h:30
solenoids.h
test
mocks
solenoids_mock.h
Generated on Mon Feb 24 2025 13:23:25 for AYAB Arduino Firmware by
1.9.8