You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
497 B
25 lines
497 B
# ArduinoJson - https://arduinojson.org
|
|
# Copyright © 2014-2024, Benoit BLANCHON
|
|
# MIT License
|
|
|
|
add_executable(ResourceManagerTests
|
|
allocVariant.cpp
|
|
clear.cpp
|
|
saveString.cpp
|
|
shrinkToFit.cpp
|
|
size.cpp
|
|
StringBuilder.cpp
|
|
swap.cpp
|
|
)
|
|
|
|
add_compile_definitions(ResourceManagerTests
|
|
ARDUINOJSON_SLOT_ID_SIZE=1 # require less RAM for overflow tests
|
|
ARDUINOJSON_POOL_CAPACITY=16
|
|
)
|
|
|
|
add_test(ResourceManager ResourceManagerTests)
|
|
|
|
set_tests_properties(ResourceManager
|
|
PROPERTIES
|
|
LABELS "Catch"
|
|
)
|
|
|