Keep synthetic UI data outside private reference paths (by Codex)
This commit is contained in:
1 parent
959154c3c0
commit
ddd4447563
6 files changed
+5
-5
No files matched your search
@@ -138,7 +138,7 @@ foreach(component statistics news settings desktop files entry opening career li
|
||||
target_compile_options(modern_${component}_ui_tests PRIVATE /utf-8)
|
||||
endif()
|
||||
if(component STREQUAL "post_match")
|
||||
add_test(NAME modern_${component}_ui_tests COMMAND modern_${component}_ui_tests "${CMAKE_SOURCE_DIR}/tests/fixtures/modern_post_match_eleven.json")
|
||||
add_test(NAME modern_${component}_ui_tests COMMAND modern_${component}_ui_tests "${CMAKE_SOURCE_DIR}/tests/synthetic/modern_post_match_eleven.json")
|
||||
else()
|
||||
add_test(NAME modern_${component}_ui_tests COMMAND modern_${component}_ui_tests)
|
||||
endif()
|
||||
@@ -149,7 +149,7 @@ target_link_libraries(modern_news_catalog_tests PRIVATE bmh_modern_ui_core)
|
||||
if(MSVC)
|
||||
target_compile_options(modern_news_catalog_tests PRIVATE /utf-8)
|
||||
endif()
|
||||
add_test(NAME modern_news_catalog_tests COMMAND modern_news_catalog_tests "${CMAKE_SOURCE_DIR}/assets/modern/news-catalog.json" "${CMAKE_SOURCE_DIR}/tests/fixtures/modern_news_catalog_reference.json")
|
||||
add_test(NAME modern_news_catalog_tests COMMAND modern_news_catalog_tests "${CMAKE_SOURCE_DIR}/assets/modern/news-catalog.json" "${CMAKE_SOURCE_DIR}/tests/synthetic/modern_news_catalog_reference.json")
|
||||
|
||||
# Pure DTO tests need no proprietary content; the opt-in probe accepts a user's world.
|
||||
add_executable(modern_engine_dto_tests ../../../tests/modern_engine_dto_tests.cpp)
|
||||
|
||||
Reference in new issue
Block a user