added more tests

This commit is contained in:
Sascha Kühl
2025-02-06 16:17:47 +01:00
parent c76aa56440
commit 0b70f5d4ee
68 changed files with 2117 additions and 263 deletions
+6
View File
@@ -12,11 +12,17 @@ add_executable(CoreTests
utils/FieldAttributeTest.cpp
utils/VersionTest.cpp
utils/StringTest.cpp
object/ColumnDefinitionGeneratorTest.cpp
object/SchemaTest.cpp
)
target_link_libraries(CoreTests matador-core Catch2::Catch2WithMain)
target_include_directories(CoreTests
PUBLIC
${CMAKE_SOURCE_DIR}/test/models}
)
if(CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
target_compile_options(CoreTests PRIVATE -coverage)
target_link_options(CoreTests PRIVATE -coverage)