Switched to gtest for unit testing

This commit is contained in:
emeric
2021-05-03 13:20:43 +02:00
parent 444d4af3c6
commit 67ce7151ff
20 changed files with 2131 additions and 1905 deletions
+5 -1
View File
@@ -1,11 +1,15 @@
add_executable(test-database
Artist.cpp
Cluster.cpp
DatabaseTest.cpp
Track.cpp
)
target_link_libraries(test-database PRIVATE
lmsdatabase
GTest::GTest
)
add_test(NAME database COMMAND test-database)
gtest_discover_tests(test-database)