Split unit test into several executables

This commit is contained in:
Benoit Blanchon
2017-04-10 15:36:59 +02:00
parent ac89d91db5
commit 71edcaf20f
13 changed files with 192 additions and 57 deletions

View File

@ -0,0 +1,22 @@
# Copyright Benoit Blanchon 2014-2017
# MIT License
#
# Arduino JSON library
# https://bblanchon.github.io/ArduinoJson/
# If you like this project, please add a star!
add_executable(JsonObjectTests
basics.cpp
containsKey.cpp
get.cpp
invalid.cpp
iterator.cpp
prettyPrintTo.cpp
printTo.cpp
remove.cpp
set.cpp
subscript.cpp
)
target_link_libraries(JsonObjectTests gtest)
add_test(JsonObject JsonObjectTests)