1 #ifndef ARDUINOMOCK_INCLUDED 2 #define ARDUINOMOCK_INCLUDED 4 #include "gmock/gmock.h" 11 MOCK_METHOD1(digitalRead, uint8_t (uint8_t pin) );
12 MOCK_METHOD2(digitalWrite,
void (uint8_t pin, uint8_t val) );
13 MOCK_METHOD2(analogWrite,
void (uint8_t pin,
int val) );
14 MOCK_METHOD0(micros, uint32_t (
void ));
21 MOCK_METHOD1(println,
size_t (
int) );
22 MOCK_METHOD1(println,
size_t (std::string) );
23 MOCK_METHOD1(print,
size_t (
int) );
24 MOCK_METHOD1(print,
size_t (std::string) );
Definition: ArduinoMock.h:17
Definition: ArduinoMock.h:7