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,18 @@
# 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(StaticJsonBufferTests
basics.cpp
createArray.cpp
createObject.cpp
parseArray.cpp
parseObject.cpp
string.cpp
)
target_link_libraries(StaticJsonBufferTests gtest)
add_test(StaticJsonBuffer StaticJsonBufferTests)