Skip to content
This repository was archived by the owner on Mar 17, 2025. It is now read-only.

Commit 651a5b9

Browse files
committed
More fixes for contrib test to use external JSON library.
1 parent 6b768f9 commit 651a5b9

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

contrib/test/FirebaseArduino_test.cpp

+1
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616

1717
#include "FirebaseObject.h"
1818
#include "gtest/gtest.h"
19+
#include "WString.h"
1920

2021
TEST(FirebaseObjectTest, GetBool) {
2122
FirebaseObject obj("true");

contrib/test/modem/Makefile

+2
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ FIREBASE_ROOT = ../../..
3434
PROJECT_ROOT = ../..
3535
SRC_ROOT = $(PROJECT_ROOT)/src
3636
FIREBASE_SRC_ROOT = $(FIREBASE_ROOT)/src
37+
ARDUINOJSON_DIR=$(ARDUINO_HOME)/libraries/ArduinoJson
3738

3839
# Flags passed to the preprocessor.
3940
# Set Google Test and Google Mock's header directories as system
@@ -45,6 +46,7 @@ CPPFLAGS += -isystem $(GTEST_DIR)/include -isystem $(GMOCK_DIR)/include \
4546
-I$(PROJECT_ROOT)/test/dummies \
4647
-I$(PROJECT_ROOT)/src \
4748
-I$(FIREBASE_ROOT)/src \
49+
-I$(ARDUINOJSON_DIR)/src \
4850
-I$(PROJECT_ROOT)
4951

5052
# Flags passed to the C++ compiler.

0 commit comments

Comments
 (0)