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,23 @@
# 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(JsonArrayTests
add.cpp
basics.cpp
copyFrom.cpp
copyTo.cpp
invalid.cpp
iterator.cpp
prettyPrintTo.cpp
printTo.cpp
removeAt.cpp
set.cpp
subscript.cpp
)
target_link_libraries(JsonArrayTests gtest)
add_test(JsonArray JsonArrayTests)