Fix incomplete map tile updates
This commit is contained in:
@@ -67,6 +67,20 @@ target_compile_options(location_parser_tests PRIVATE
|
||||
)
|
||||
add_test(NAME location_parser_tests COMMAND location_parser_tests)
|
||||
|
||||
add_executable(location_map_widget_tests
|
||||
tests/map_widget_tests.cpp
|
||||
src/MapWidget.cpp
|
||||
src/MapWidget.h
|
||||
src/TelemetryPoint.h
|
||||
)
|
||||
target_link_libraries(location_map_widget_tests PRIVATE Qt6::Core Qt6::Widgets Qt6::Network)
|
||||
target_compile_options(location_map_widget_tests PRIVATE
|
||||
$<$<CXX_COMPILER_ID:GNU,Clang,AppleClang>:-UNDEBUG>
|
||||
)
|
||||
add_test(NAME location_map_widget_tests COMMAND location_map_widget_tests)
|
||||
set_tests_properties(location_map_widget_tests PROPERTIES
|
||||
ENVIRONMENT "QT_QPA_PLATFORM=offscreen;XDG_CACHE_HOME=/tmp/location-plotter-map-test-cache")
|
||||
|
||||
add_executable(location_main_window_tests
|
||||
tests/main_window_tests.cpp
|
||||
src/LocationParser.cpp
|
||||
|
||||
Reference in New Issue
Block a user