2019-01-21 11:03:23 +08:00
|
|
|
|
|
|
|
add_executable(oatppAllTests
|
|
|
|
oatpp/AllTestsMain.cpp
|
2019-06-16 10:12:55 +08:00
|
|
|
oatpp/core/async/LockTest.cpp
|
|
|
|
oatpp/core/async/LockTest.hpp
|
2019-01-21 11:03:23 +08:00
|
|
|
oatpp/core/base/CommandLineArgumentsTest.cpp
|
|
|
|
oatpp/core/base/CommandLineArgumentsTest.hpp
|
2020-07-02 02:35:19 +08:00
|
|
|
oatpp/core/base/LoggerTest.cpp
|
|
|
|
oatpp/core/base/LoggerTest.hpp
|
2019-01-21 11:03:23 +08:00
|
|
|
oatpp/core/base/collection/LinkedListTest.cpp
|
|
|
|
oatpp/core/base/collection/LinkedListTest.hpp
|
|
|
|
oatpp/core/base/memory/MemoryPoolTest.cpp
|
|
|
|
oatpp/core/base/memory/MemoryPoolTest.hpp
|
|
|
|
oatpp/core/base/memory/PerfTest.cpp
|
|
|
|
oatpp/core/base/memory/PerfTest.hpp
|
2020-01-04 10:36:13 +08:00
|
|
|
oatpp/core/data/buffer/ProcessorTest.cpp
|
|
|
|
oatpp/core/data/buffer/ProcessorTest.hpp
|
2020-04-25 07:54:52 +08:00
|
|
|
oatpp/core/data/mapping/type/AnyTest.cpp
|
|
|
|
oatpp/core/data/mapping/type/AnyTest.hpp
|
2020-05-06 08:41:18 +08:00
|
|
|
oatpp/core/data/mapping/type/EnumTest.cpp
|
|
|
|
oatpp/core/data/mapping/type/EnumTest.hpp
|
2020-08-20 10:04:40 +08:00
|
|
|
oatpp/core/data/mapping/type/InterpretationTest.cpp
|
|
|
|
oatpp/core/data/mapping/type/InterpretationTest.hpp
|
2020-04-30 04:04:42 +08:00
|
|
|
oatpp/core/data/mapping/type/ListTest.cpp
|
|
|
|
oatpp/core/data/mapping/type/ListTest.hpp
|
2020-05-13 08:12:39 +08:00
|
|
|
oatpp/core/data/mapping/type/ObjectTest.cpp
|
|
|
|
oatpp/core/data/mapping/type/ObjectTest.hpp
|
2020-04-26 08:41:20 +08:00
|
|
|
oatpp/core/data/mapping/type/ObjectWrapperTest.cpp
|
|
|
|
oatpp/core/data/mapping/type/ObjectWrapperTest.hpp
|
2020-04-30 04:04:42 +08:00
|
|
|
oatpp/core/data/mapping/type/PairListTest.cpp
|
|
|
|
oatpp/core/data/mapping/type/PairListTest.hpp
|
|
|
|
oatpp/core/data/mapping/type/PrimitiveTest.cpp
|
|
|
|
oatpp/core/data/mapping/type/PrimitiveTest.hpp
|
|
|
|
oatpp/core/data/mapping/type/StringTest.cpp
|
|
|
|
oatpp/core/data/mapping/type/StringTest.hpp
|
2019-01-21 11:03:23 +08:00
|
|
|
oatpp/core/data/mapping/type/TypeTest.cpp
|
|
|
|
oatpp/core/data/mapping/type/TypeTest.hpp
|
2020-04-30 04:04:42 +08:00
|
|
|
oatpp/core/data/mapping/type/UnorderedMapTest.cpp
|
|
|
|
oatpp/core/data/mapping/type/UnorderedMapTest.hpp
|
2020-05-10 06:55:43 +08:00
|
|
|
oatpp/core/data/mapping/type/UnorderedSetTest.cpp
|
|
|
|
oatpp/core/data/mapping/type/UnorderedSetTest.hpp
|
2020-04-30 04:04:42 +08:00
|
|
|
oatpp/core/data/mapping/type/VectorTest.cpp
|
|
|
|
oatpp/core/data/mapping/type/VectorTest.hpp
|
2020-10-08 05:22:52 +08:00
|
|
|
oatpp/core/data/mapping/TypeResolverTest.cpp
|
|
|
|
oatpp/core/data/mapping/TypeResolverTest.hpp
|
2019-10-12 23:42:42 +08:00
|
|
|
oatpp/core/data/share/LazyStringMapTest.cpp
|
|
|
|
oatpp/core/data/share/LazyStringMapTest.hpp
|
2019-01-21 11:03:23 +08:00
|
|
|
oatpp/core/data/share/MemoryLabelTest.cpp
|
|
|
|
oatpp/core/data/share/MemoryLabelTest.hpp
|
2020-06-27 08:55:52 +08:00
|
|
|
oatpp/core/data/share/StringTemplateTest.cpp
|
|
|
|
oatpp/core/data/share/StringTemplateTest.hpp
|
2019-10-12 19:14:21 +08:00
|
|
|
oatpp/core/data/stream/BufferStreamTest.cpp
|
|
|
|
oatpp/core/data/stream/BufferStreamTest.hpp
|
2019-02-25 07:02:58 +08:00
|
|
|
oatpp/core/data/stream/ChunkedBufferTest.cpp
|
|
|
|
oatpp/core/data/stream/ChunkedBufferTest.hpp
|
2019-03-27 07:00:30 +08:00
|
|
|
oatpp/core/parser/CaretTest.cpp
|
|
|
|
oatpp/core/parser/CaretTest.hpp
|
2020-07-26 09:52:11 +08:00
|
|
|
oatpp/core/provider/PoolTest.cpp
|
|
|
|
oatpp/core/provider/PoolTest.hpp
|
2019-01-21 11:03:23 +08:00
|
|
|
oatpp/encoding/Base64Test.cpp
|
|
|
|
oatpp/encoding/Base64Test.hpp
|
|
|
|
oatpp/encoding/UnicodeTest.cpp
|
|
|
|
oatpp/encoding/UnicodeTest.hpp
|
2019-10-20 10:27:22 +08:00
|
|
|
oatpp/network/ConnectionPoolTest.cpp
|
|
|
|
oatpp/network/ConnectionPoolTest.hpp
|
2019-02-25 02:40:51 +08:00
|
|
|
oatpp/network/UrlTest.cpp
|
|
|
|
oatpp/network/UrlTest.hpp
|
2019-01-21 11:03:23 +08:00
|
|
|
oatpp/network/virtual_/InterfaceTest.cpp
|
|
|
|
oatpp/network/virtual_/InterfaceTest.hpp
|
|
|
|
oatpp/network/virtual_/PipeTest.cpp
|
|
|
|
oatpp/network/virtual_/PipeTest.hpp
|
|
|
|
oatpp/parser/json/mapping/DTOMapperPerfTest.cpp
|
|
|
|
oatpp/parser/json/mapping/DTOMapperPerfTest.hpp
|
|
|
|
oatpp/parser/json/mapping/DTOMapperTest.cpp
|
|
|
|
oatpp/parser/json/mapping/DTOMapperTest.hpp
|
|
|
|
oatpp/parser/json/mapping/DeserializerTest.cpp
|
|
|
|
oatpp/parser/json/mapping/DeserializerTest.hpp
|
2020-05-08 09:10:07 +08:00
|
|
|
oatpp/parser/json/mapping/EnumTest.cpp
|
|
|
|
oatpp/parser/json/mapping/EnumTest.hpp
|
2020-05-10 07:59:31 +08:00
|
|
|
oatpp/parser/json/mapping/UnorderedSetTest.cpp
|
|
|
|
oatpp/parser/json/mapping/UnorderedSetTest.hpp
|
2020-01-06 22:43:10 +08:00
|
|
|
oatpp/web/protocol/http/encoding/ChunkedTest.cpp
|
|
|
|
oatpp/web/protocol/http/encoding/ChunkedTest.hpp
|
2019-07-11 05:36:52 +08:00
|
|
|
oatpp/web/mime/multipart/StatefulParserTest.cpp
|
|
|
|
oatpp/web/mime/multipart/StatefulParserTest.hpp
|
2019-03-01 08:15:46 +08:00
|
|
|
oatpp/web/server/api/ApiControllerTest.cpp
|
|
|
|
oatpp/web/server/api/ApiControllerTest.hpp
|
2019-08-27 22:45:15 +08:00
|
|
|
oatpp/web/server/handler/AuthorizationHandlerTest.cpp
|
|
|
|
oatpp/web/server/handler/AuthorizationHandlerTest.hpp
|
2020-11-23 02:12:51 +08:00
|
|
|
oatpp/web/server/HttpRouterTest.cpp
|
|
|
|
oatpp/web/server/HttpRouterTest.hpp
|
2019-11-06 09:05:07 +08:00
|
|
|
oatpp/web/ClientRetryTest.cpp
|
|
|
|
oatpp/web/ClientRetryTest.hpp
|
2019-09-19 08:00:26 +08:00
|
|
|
oatpp/web/PipelineTest.cpp
|
|
|
|
oatpp/web/PipelineTest.hpp
|
2019-09-19 08:54:44 +08:00
|
|
|
oatpp/web/PipelineAsyncTest.cpp
|
|
|
|
oatpp/web/PipelineAsyncTest.hpp
|
2019-01-21 11:03:23 +08:00
|
|
|
oatpp/web/FullAsyncTest.cpp
|
|
|
|
oatpp/web/FullAsyncTest.hpp
|
|
|
|
oatpp/web/FullTest.cpp
|
|
|
|
oatpp/web/FullTest.hpp
|
2019-10-02 08:30:52 +08:00
|
|
|
oatpp/web/FullAsyncClientTest.cpp
|
|
|
|
oatpp/web/FullAsyncClientTest.hpp
|
2019-01-21 11:03:23 +08:00
|
|
|
oatpp/web/app/Client.hpp
|
2019-08-29 21:34:32 +08:00
|
|
|
oatpp/web/app/BearerAuthorizationController.hpp
|
2019-08-30 09:19:14 +08:00
|
|
|
oatpp/web/app/BasicAuthorizationController.hpp
|
2019-01-21 11:03:23 +08:00
|
|
|
oatpp/web/app/Controller.hpp
|
|
|
|
oatpp/web/app/ControllerAsync.hpp
|
|
|
|
oatpp/web/app/DTOs.hpp
|
2019-10-02 08:30:52 +08:00
|
|
|
oatpp/web/app/ControllerWithInterceptors.hpp
|
2020-07-26 09:52:11 +08:00
|
|
|
oatpp/web/app/ControllerWithInterceptorsAsync.hpp
|
|
|
|
)
|
2019-01-21 11:03:23 +08:00
|
|
|
|
|
|
|
target_link_libraries(oatppAllTests PRIVATE oatpp PRIVATE oatpp-test)
|
|
|
|
|
|
|
|
set_target_properties(oatppAllTests PROPERTIES
|
|
|
|
CXX_STANDARD 11
|
|
|
|
CXX_EXTENSIONS OFF
|
|
|
|
CXX_STANDARD_REQUIRED ON
|
|
|
|
)
|
|
|
|
|
|
|
|
target_include_directories(oatppAllTests PUBLIC ${CMAKE_CURRENT_SOURCE_DIR})
|
|
|
|
|
|
|
|
add_test(oatppAllTests oatppAllTests)
|