mirror of
https://github.com/sebastiandine/Card-Collection-Manager-3.git
synced 2026-09-04 09:13:27 +00:00
major: initial release
* initial development * pipeline * pipeline * pipeline * pipeline * pipeline * pipeline * pipeline * pipeline * pipeline * pipeline * pipeline * pipeline * pipeline * pipeline * ci/cd * ci/cd * ci/cd * ci/cd * ci/cd * ci/cd * ci/cd * pokemon * pokemon * pokemon * pokemon * pokemon * pokemon * improvements * improvements * ci/cd * ci/cd * improvements * improvements * improvements * improvements * improvements * improvements * improvements * improvements * improvements --------- Co-authored-by: sdine <sdine@sdine.com>
This commit is contained in:
@@ -0,0 +1,37 @@
|
||||
# Unit tests for ccm_core. Wx and infra-bound tests are out of scope here -
|
||||
# everything in this target operates against the ccm_core ports/services using
|
||||
# in-memory fakes, so the suite is fast and hermetic.
|
||||
|
||||
add_executable(ccm_core_tests
|
||||
fakes/InMemoryFileSystem.cpp
|
||||
|
||||
fs_names_tests.cpp
|
||||
domain_json_tests.cpp
|
||||
image_service_tests.cpp
|
||||
collection_service_tests.cpp
|
||||
config_service_tests.cpp
|
||||
json_collection_repository_tests.cpp
|
||||
json_set_repository_tests.cpp
|
||||
set_service_tests.cpp
|
||||
magic_set_source_tests.cpp
|
||||
magic_card_preview_source_tests.cpp
|
||||
card_preview_service_tests.cpp
|
||||
pokemon_set_source_tests.cpp
|
||||
pokemon_card_preview_source_tests.cpp
|
||||
card_sorter_tests.cpp
|
||||
card_filter_tests.cpp
|
||||
|
||||
main.cpp
|
||||
)
|
||||
|
||||
target_include_directories(ccm_core_tests PRIVATE ${CMAKE_CURRENT_SOURCE_DIR})
|
||||
|
||||
target_link_libraries(ccm_core_tests
|
||||
PRIVATE
|
||||
ccm_core
|
||||
doctest::doctest
|
||||
ccm_warnings
|
||||
)
|
||||
|
||||
include(${doctest_SOURCE_DIR}/scripts/cmake/doctest.cmake)
|
||||
doctest_discover_tests(ccm_core_tests)
|
||||
Reference in New Issue
Block a user