feat: Add support for ESP8266 platform

Added support for ESP8266 Arduino platform.

Refactored Arduino defines to use the GTEST_OS_* model.
This commit is contained in:
Chris Johnson
2019-08-28 09:39:35 -05:00
parent ba513d2c95
commit 40a6b96621
5 changed files with 9 additions and 3 deletions

View File

@@ -32,7 +32,7 @@
#include "gmock/gmock.h"
#include "gtest/gtest.h"
#ifdef ARDUINO
#if defined GTEST_OS_ESP8266 || defined GTEST_OS_ESP32
void setup() {
// Since Google Mock depends on Google Test, InitGoogleMock() is
// also responsible for initializing Google Test. Therefore there's