initial matador ng commit
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
CPMAddPackage("gh:catchorg/Catch2@3.7.1")
|
||||
|
||||
list(APPEND CMAKE_MODULE_PATH ${catch2_SOURCE_DIR}/extras)
|
||||
|
||||
add_executable(OrmTests
|
||||
backend/test_backend_service.cpp
|
||||
backend/test_backend_service.hpp
|
||||
backend/test_connection.cpp
|
||||
backend/test_connection.hpp
|
||||
query/ConditionTests.cpp
|
||||
query/QueryBuilderTest.cpp
|
||||
query/QueryFixture.cpp
|
||||
query/QueryFixture.hpp
|
||||
sql/ColumnTest.cpp
|
||||
sql/FieldTest.cpp
|
||||
backend/test_result_reader.cpp
|
||||
backend/test_result_reader.hpp
|
||||
backend/test_statement.cpp
|
||||
backend/test_statement.hpp
|
||||
backend/test_parameter_binder.cpp
|
||||
backend/test_parameter_binder.hpp
|
||||
query/QueryTest.cpp
|
||||
)
|
||||
|
||||
target_link_libraries(OrmTests matador-orm matador-core Catch2::Catch2WithMain)
|
||||
|
||||
target_compile_options(OrmTests PRIVATE -coverage)
|
||||
target_link_options(OrmTests PRIVATE -coverage)
|
||||
|
||||
add_test(NAME OrmTests COMMAND OrmTests)
|
||||
Reference in New Issue
Block a user