mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-04 12:33:55 -07:00
Stop mocking and start injecting for tests.
Took 15 minutes
This commit is contained in:
parent
0d2b498e55
commit
df710dd104
6 changed files with 39 additions and 464 deletions
|
|
@ -21,7 +21,6 @@ add_executable(carddatabase_test ${MOCKS_SOURCES} ${VERSION_STRING_CPP} carddata
|
|||
target_link_libraries(
|
||||
carddatabase_test
|
||||
PRIVATE libcockatrice_card
|
||||
PRIVATE libcockatrice_settings
|
||||
PRIVATE Threads::Threads
|
||||
PRIVATE ${GTEST_BOTH_LIBRARIES}
|
||||
PRIVATE ${TEST_QT_MODULES}
|
||||
|
|
@ -46,7 +45,6 @@ add_executable(
|
|||
target_link_libraries(
|
||||
filter_string_test
|
||||
PRIVATE libcockatrice_card
|
||||
PRIVATE libcockatrice_settings
|
||||
PRIVATE Threads::Threads
|
||||
PRIVATE ${GTEST_BOTH_LIBRARIES}
|
||||
PRIVATE ${TEST_QT_MODULES}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue