From 19ab996be26310bb8c3be4ff07f1b88ddaa38f3c Mon Sep 17 00:00:00 2001 From: twi-devel Date: Wed, 19 Aug 2026 21:20:12 +0200 Subject: [PATCH] Removes mistyped target test folder from repo --- .../tests/CMakeLists.txt | 72 ----- .../tests/MockCoordTrans.h | 20 -- .../tests/coordTransTests_gtest.cpp | 14 - .../tests/coordTransTests_smoke.cpp | 19 -- .../tests/test_CppTopicGeneratorGrantlee.cpp | 29 -- .../tests/test_DaoGeneratorGrantlee.cpp | 23 -- .../tests/test_DatabaseGeneratorGrantlee.cpp | 18 -- .../tests/test_GeneratorGrantleeBase.cpp | 18 -- .../tests/test_GrantleeParserSmoke.cpp | 18 -- .../tests/test_GrantleeWrappers.cpp | 18 -- .../tests/test_LtsCommandLineParser.cpp | 36 --- .../tests/test_SqlGenerator.cpp | 18 -- .../tests/test_StructBuilder.cpp | 18 -- .../tests/test_XmlReader.cpp | 18 -- .../tests/test_abstracttimelinemodel.cpp | 21 -- .../tests/test_aes_crypt.cpp | 25 -- .../tests/test_aes_crypt_test.cpp | 25 -- .../tests/test_aes_dtc.cpp | 59 ---- .../tests/test_aes_enums.cpp | 68 ----- .../tests/test_alm_dtc.cpp | 44 --- .../tests/test_app_chooser.cpp | 36 --- .../tests/test_app_chooser_model.cpp | 36 --- .../tests/test_asm_dtc.cpp | 40 --- .../tests/test_asm_enums.cpp | 29 -- .../tests/test_avm_dtc.cpp | 16 - .../tests/test_avm_enums.cpp | 16 - .../tests/test_bld_dtc.cpp | 16 - .../tests/test_bld_enums.cpp | 16 - .../tests/test_build_rti_guards.cpp | 49 --- .../tests/test_ces_dtc.cpp | 16 - .../tests/test_client_message.cpp | 16 - .../tests/test_cmo_dtc.cpp | 16 - .../tests/test_cod_dtc.cpp | 16 - .../tests/test_codegen_export.cpp | 18 -- .../tests/test_core_dtc.cpp | 16 - .../tests/test_core_enums.cpp | 16 - .../tests/test_eem_dtc.cpp | 16 - .../tests/test_eem_enums.cpp | 16 - .../tests/test_elevation_unit_test.cpp | 25 -- .../tests/test_esc_dtc.cpp | 16 - .../tests/test_esm_dtc.cpp | 16 - .../tests/test_event.cpp | 66 ---- .../tests/test_eventdelegate.cpp | 52 ---- .../tests/test_eventgraphic.cpp | 59 ---- .../tests/test_eventlist.cpp | 69 ----- .../tests/test_eventtools.cpp | 105 ------- .../tests/test_evl_dtc.cpp | 16 - .../tests/test_exm_dtc.cpp | 16 - .../tests/test_exm_enums.cpp | 16 - .../tests/test_export_headers.cpp | 124 -------- .../tests/test_filter_background_widget.cpp | 16 - .../tests/test_filter_track_widget.cpp | 16 - .../tests/test_flm_dtc.cpp | 16 - .../tests/test_flm_enums.cpp | 16 - .../tests/test_generic_dtc.cpp | 16 - .../tests/test_gim_dtc.cpp | 16 - .../tests/test_gna_dtc.cpp | 16 - .../tests/test_indicator.cpp | 16 - .../tests/test_ism_dtc.cpp | 16 - .../tests/test_ism_enums.cpp | 16 - .../tests/test_item.cpp | 39 --- .../tests/test_json_keys.h.cpp | 16 - .../tests/test_linemap.cpp | 39 --- .../tests/test_logger.cpp | 25 -- .../tests/test_logout_info_dialog.cpp | 25 -- .../tests/test_lonlat2mgrs.cpp | 25 -- .../tests/test_lts_app_descriptor.cpp | 56 ---- .../tests/test_lts_app_descriptor_editor.cpp | 38 --- .../tests/test_lts_app_manager.cpp | 36 --- .../tests/test_lts_comport_querry.h.cpp | 16 - .../tests/test_lts_coord_trans.cpp | 25 -- .../tests/test_lts_coord_trans_unit_test.cpp | 25 -- .../tests/test_lts_coord_vector.cpp | 25 -- .../tests/test_lts_coord_widget.cpp | 25 -- .../tests/test_lts_coord_widget_test.cpp | 25 -- .../tests/test_lts_coordinate_unit_test.cpp | 25 -- .../tests/test_lts_dummy_widget.cpp | 25 -- .../tests/test_lts_elevation_manager.cpp | 25 -- .../tests/test_lts_licence.cpp | 25 -- .../tests/test_lts_login.cpp | 25 -- .../tests/test_lts_magic_corner.cpp | 25 -- .../tests/test_lts_multi_monitor.cpp | 25 -- .../tests/test_lts_multi_monitor_export.h.cpp | 25 -- .../test_lts_multi_monitor_selector_base.cpp | 16 - ...test_lts_multi_monitor_selector_normal.cpp | 16 - .../test_lts_multi_monitor_selector_wide.cpp | 16 - .../tests/test_lts_notification.cpp | 16 - .../tests/test_lts_notification_ctl.cpp | 16 - .../tests/test_lts_notification_export.h.cpp | 16 - .../tests/test_lts_plugin_loader.cpp | 16 - .../tests/test_lts_plugin_manager_dialog.cpp | 16 - .../test_lts_plugin_manager_export.h.cpp | 16 - .../tests/test_lts_plugin_manager_widget.cpp | 16 - .../tests/test_lts_projection_workstation.cpp | 16 - ...st_lts_projection_workstation_export.h.cpp | 16 - .../tests/test_lts_screen_base.cpp | 16 - .../tests/test_lts_screen_container.cpp | 16 - .../tests/test_lts_screen_normal.cpp | 16 - .../tests/test_lts_screen_wide.cpp | 16 - .../tests/test_lts_serial_port_querry.cpp | 16 - .../tests/test_lts_session.cpp | 16 - .../tests/test_lts_session_data.cpp | 16 - .../tests/test_lts_session_data_dds.cpp | 16 - .../tests/test_lts_session_data_dds_stub.cpp | 21 -- .../tests/test_lts_session_lock_handler.cpp | 21 -- .../test_lts_session_lock_handler_stub.cpp | 21 -- .../tests/test_lts_session_manager.cpp | 21 -- .../tests/test_lts_timeline_header_view.cpp | 21 -- ...lts_timeline_header_view_mouse_handler.cpp | 21 -- .../tests/test_lts_timeline_item.cpp | 21 -- .../tests/test_lts_timeline_item_delegate.cpp | 21 -- .../tests/test_lts_timeline_model.cpp | 21 -- .../tests/test_lts_timeline_utils.cpp | 21 -- .../tests/test_lts_timeline_view.cpp | 21 -- .../test_lts_timeline_view_drag_handler.cpp | 21 -- .../test_lts_timeline_view_resize_handler.cpp | 21 -- ...st_lts_timeline_view_selection_handler.cpp | 21 -- .../test_lts_timeline_view_track_handler.cpp | 21 -- .../tests/test_lts_timeline_widget.cpp | 21 -- .../tests/test_ltswidgets_qt6.cpp | 239 --------------- .../tests/test_main_grantlee.cpp | 17 -- .../tests/test_main_grantlee_gui.cpp | 18 -- .../tests/test_mainwindow.cpp | 16 - .../tests/test_mdm_dtc.cpp | 16 - .../tests/test_message_factory.cpp | 16 - .../tests/test_messages.cpp | 16 - .../tests/test_mgrs2lonlat.cpp | 25 -- .../tests/test_migration_stubs.cpp | 225 -------------- .../tests/test_mockcoordtrans.cpp | 11 - .../tests/test_mrk_dtc.cpp | 16 - .../tests/test_msg_dtc.cpp | 16 - .../tests/test_nom_dtc.cpp | 16 - .../tests/test_nom_enums.cpp | 16 - .../tests/test_opm_dtc.cpp | 16 - .../tests/test_oss_dtc.cpp | 16 - .../tests/test_passiveeventcontainer.cpp | 75 ----- .../tests/test_pdm_dtc.cpp | 16 - .../tests/test_pdm_enums.cpp | 16 - .../tests/test_ppm_dtc.cpp | 16 - .../tests/test_ppm_enums.cpp | 16 - .../tests/test_pre_dtc.cpp | 16 - .../tests/test_printing.cpp | 16 - .../tests/test_printing_base.cpp | 16 - .../tests/test_qt6_api_migrations.cpp | 282 ------------------ .../tests/test_qt6_compatibility.cpp | 85 ------ .../tests/test_range.cpp | 39 --- .../tests/test_rep_dtc.cpp | 16 - .../tests/test_rep_enums.cpp | 16 - .../tests/test_reply_message.cpp | 16 - .../tests/test_rti_integration.cpp | 80 ----- .../tests/test_saa_telegrams.cpp | 90 ------ .../tests/test_scm_dtc.cpp | 16 - .../tests/test_script_timeline.cpp | 16 - .../tests/test_skl_dtc.cpp | 16 - .../tests/test_som_dtc.cpp | 16 - .../tests/test_srm_dtc.cpp | 16 - .../tests/test_srp_dtc.cpp | 16 - .../tests/test_srp_enums.cpp | 16 - .../tests/test_symbology_xml.cpp | 120 -------- .../tests/test_tab_dtc.cpp | 16 - .../tests/test_taboc_dtc.cpp | 16 - .../tests/test_temporary_pointer_vector.h.cpp | 16 - .../tests/test_testtimelinemodel.cpp | 51 ---- .../tests/test_tgt_dtc.cpp | 16 - .../tests/test_timelineheaderview.cpp | 52 ---- .../tests/test_timelineindicator.cpp | 67 ----- .../tests/test_timelineview.cpp | 39 --- .../tests/test_timelinewidget.cpp | 39 --- .../tests/test_tools.cpp | 16 - .../tests/test_track_content_widget.cpp | 16 - .../tests/test_track_drag_handler.cpp | 16 - .../tests/test_track_entry.h.cpp | 16 - .../tests/test_track_entry_painters.cpp | 16 - .../tests/test_track_entry_preview_widget.cpp | 16 - .../tests/test_track_entry_previewer.cpp | 16 - .../tests/test_track_header.cpp | 16 - .../tests/test_track_resize_handler.cpp | 16 - .../tests/test_track_select_handler.cpp | 16 - .../tests/test_vnc_server_manager.cpp | 16 - .../tests/test_whg_dtc.cpp | 16 - 180 files changed, 5259 deletions(-) delete mode 100644 qt6-after/qt6-migrated-benchmark/tests/CMakeLists.txt delete mode 100644 qt6-after/qt6-migrated-benchmark/tests/MockCoordTrans.h delete mode 100644 qt6-after/qt6-migrated-benchmark/tests/coordTransTests_gtest.cpp delete mode 100644 qt6-after/qt6-migrated-benchmark/tests/coordTransTests_smoke.cpp delete mode 100644 qt6-after/qt6-migrated-benchmark/tests/test_CppTopicGeneratorGrantlee.cpp delete mode 100644 qt6-after/qt6-migrated-benchmark/tests/test_DaoGeneratorGrantlee.cpp delete mode 100644 qt6-after/qt6-migrated-benchmark/tests/test_DatabaseGeneratorGrantlee.cpp delete mode 100644 qt6-after/qt6-migrated-benchmark/tests/test_GeneratorGrantleeBase.cpp delete mode 100644 qt6-after/qt6-migrated-benchmark/tests/test_GrantleeParserSmoke.cpp delete mode 100644 qt6-after/qt6-migrated-benchmark/tests/test_GrantleeWrappers.cpp delete mode 100644 qt6-after/qt6-migrated-benchmark/tests/test_LtsCommandLineParser.cpp delete mode 100644 qt6-after/qt6-migrated-benchmark/tests/test_SqlGenerator.cpp delete mode 100644 qt6-after/qt6-migrated-benchmark/tests/test_StructBuilder.cpp delete mode 100644 qt6-after/qt6-migrated-benchmark/tests/test_XmlReader.cpp delete mode 100644 qt6-after/qt6-migrated-benchmark/tests/test_abstracttimelinemodel.cpp delete mode 100644 qt6-after/qt6-migrated-benchmark/tests/test_aes_crypt.cpp delete mode 100644 qt6-after/qt6-migrated-benchmark/tests/test_aes_crypt_test.cpp delete mode 100644 qt6-after/qt6-migrated-benchmark/tests/test_aes_dtc.cpp delete mode 100644 qt6-after/qt6-migrated-benchmark/tests/test_aes_enums.cpp delete mode 100644 qt6-after/qt6-migrated-benchmark/tests/test_alm_dtc.cpp delete mode 100644 qt6-after/qt6-migrated-benchmark/tests/test_app_chooser.cpp delete mode 100644 qt6-after/qt6-migrated-benchmark/tests/test_app_chooser_model.cpp delete mode 100644 qt6-after/qt6-migrated-benchmark/tests/test_asm_dtc.cpp delete mode 100644 qt6-after/qt6-migrated-benchmark/tests/test_asm_enums.cpp delete mode 100644 qt6-after/qt6-migrated-benchmark/tests/test_avm_dtc.cpp delete mode 100644 qt6-after/qt6-migrated-benchmark/tests/test_avm_enums.cpp delete mode 100644 qt6-after/qt6-migrated-benchmark/tests/test_bld_dtc.cpp delete mode 100644 qt6-after/qt6-migrated-benchmark/tests/test_bld_enums.cpp delete mode 100644 qt6-after/qt6-migrated-benchmark/tests/test_build_rti_guards.cpp delete mode 100644 qt6-after/qt6-migrated-benchmark/tests/test_ces_dtc.cpp delete mode 100644 qt6-after/qt6-migrated-benchmark/tests/test_client_message.cpp delete mode 100644 qt6-after/qt6-migrated-benchmark/tests/test_cmo_dtc.cpp delete mode 100644 qt6-after/qt6-migrated-benchmark/tests/test_cod_dtc.cpp delete mode 100644 qt6-after/qt6-migrated-benchmark/tests/test_codegen_export.cpp delete mode 100644 qt6-after/qt6-migrated-benchmark/tests/test_core_dtc.cpp delete mode 100644 qt6-after/qt6-migrated-benchmark/tests/test_core_enums.cpp delete mode 100644 qt6-after/qt6-migrated-benchmark/tests/test_eem_dtc.cpp delete mode 100644 qt6-after/qt6-migrated-benchmark/tests/test_eem_enums.cpp delete mode 100644 qt6-after/qt6-migrated-benchmark/tests/test_elevation_unit_test.cpp delete mode 100644 qt6-after/qt6-migrated-benchmark/tests/test_esc_dtc.cpp delete mode 100644 qt6-after/qt6-migrated-benchmark/tests/test_esm_dtc.cpp delete mode 100644 qt6-after/qt6-migrated-benchmark/tests/test_event.cpp delete mode 100644 qt6-after/qt6-migrated-benchmark/tests/test_eventdelegate.cpp delete mode 100644 qt6-after/qt6-migrated-benchmark/tests/test_eventgraphic.cpp delete mode 100644 qt6-after/qt6-migrated-benchmark/tests/test_eventlist.cpp delete mode 100644 qt6-after/qt6-migrated-benchmark/tests/test_eventtools.cpp delete mode 100644 qt6-after/qt6-migrated-benchmark/tests/test_evl_dtc.cpp delete mode 100644 qt6-after/qt6-migrated-benchmark/tests/test_exm_dtc.cpp delete mode 100644 qt6-after/qt6-migrated-benchmark/tests/test_exm_enums.cpp delete mode 100644 qt6-after/qt6-migrated-benchmark/tests/test_export_headers.cpp delete mode 100644 qt6-after/qt6-migrated-benchmark/tests/test_filter_background_widget.cpp delete mode 100644 qt6-after/qt6-migrated-benchmark/tests/test_filter_track_widget.cpp delete mode 100644 qt6-after/qt6-migrated-benchmark/tests/test_flm_dtc.cpp delete mode 100644 qt6-after/qt6-migrated-benchmark/tests/test_flm_enums.cpp delete mode 100644 qt6-after/qt6-migrated-benchmark/tests/test_generic_dtc.cpp delete mode 100644 qt6-after/qt6-migrated-benchmark/tests/test_gim_dtc.cpp delete mode 100644 qt6-after/qt6-migrated-benchmark/tests/test_gna_dtc.cpp delete mode 100644 qt6-after/qt6-migrated-benchmark/tests/test_indicator.cpp delete mode 100644 qt6-after/qt6-migrated-benchmark/tests/test_ism_dtc.cpp delete mode 100644 qt6-after/qt6-migrated-benchmark/tests/test_ism_enums.cpp delete mode 100644 qt6-after/qt6-migrated-benchmark/tests/test_item.cpp delete mode 100644 qt6-after/qt6-migrated-benchmark/tests/test_json_keys.h.cpp delete mode 100644 qt6-after/qt6-migrated-benchmark/tests/test_linemap.cpp delete mode 100644 qt6-after/qt6-migrated-benchmark/tests/test_logger.cpp delete mode 100644 qt6-after/qt6-migrated-benchmark/tests/test_logout_info_dialog.cpp delete mode 100644 qt6-after/qt6-migrated-benchmark/tests/test_lonlat2mgrs.cpp delete mode 100644 qt6-after/qt6-migrated-benchmark/tests/test_lts_app_descriptor.cpp delete mode 100644 qt6-after/qt6-migrated-benchmark/tests/test_lts_app_descriptor_editor.cpp delete mode 100644 qt6-after/qt6-migrated-benchmark/tests/test_lts_app_manager.cpp delete mode 100644 qt6-after/qt6-migrated-benchmark/tests/test_lts_comport_querry.h.cpp delete mode 100644 qt6-after/qt6-migrated-benchmark/tests/test_lts_coord_trans.cpp delete mode 100644 qt6-after/qt6-migrated-benchmark/tests/test_lts_coord_trans_unit_test.cpp delete mode 100644 qt6-after/qt6-migrated-benchmark/tests/test_lts_coord_vector.cpp delete mode 100644 qt6-after/qt6-migrated-benchmark/tests/test_lts_coord_widget.cpp delete mode 100644 qt6-after/qt6-migrated-benchmark/tests/test_lts_coord_widget_test.cpp delete mode 100644 qt6-after/qt6-migrated-benchmark/tests/test_lts_coordinate_unit_test.cpp delete mode 100644 qt6-after/qt6-migrated-benchmark/tests/test_lts_dummy_widget.cpp delete mode 100644 qt6-after/qt6-migrated-benchmark/tests/test_lts_elevation_manager.cpp delete mode 100644 qt6-after/qt6-migrated-benchmark/tests/test_lts_licence.cpp delete mode 100644 qt6-after/qt6-migrated-benchmark/tests/test_lts_login.cpp delete mode 100644 qt6-after/qt6-migrated-benchmark/tests/test_lts_magic_corner.cpp delete mode 100644 qt6-after/qt6-migrated-benchmark/tests/test_lts_multi_monitor.cpp delete mode 100644 qt6-after/qt6-migrated-benchmark/tests/test_lts_multi_monitor_export.h.cpp delete mode 100644 qt6-after/qt6-migrated-benchmark/tests/test_lts_multi_monitor_selector_base.cpp delete mode 100644 qt6-after/qt6-migrated-benchmark/tests/test_lts_multi_monitor_selector_normal.cpp delete mode 100644 qt6-after/qt6-migrated-benchmark/tests/test_lts_multi_monitor_selector_wide.cpp delete mode 100644 qt6-after/qt6-migrated-benchmark/tests/test_lts_notification.cpp delete mode 100644 qt6-after/qt6-migrated-benchmark/tests/test_lts_notification_ctl.cpp delete mode 100644 qt6-after/qt6-migrated-benchmark/tests/test_lts_notification_export.h.cpp delete mode 100644 qt6-after/qt6-migrated-benchmark/tests/test_lts_plugin_loader.cpp delete mode 100644 qt6-after/qt6-migrated-benchmark/tests/test_lts_plugin_manager_dialog.cpp delete mode 100644 qt6-after/qt6-migrated-benchmark/tests/test_lts_plugin_manager_export.h.cpp delete mode 100644 qt6-after/qt6-migrated-benchmark/tests/test_lts_plugin_manager_widget.cpp delete mode 100644 qt6-after/qt6-migrated-benchmark/tests/test_lts_projection_workstation.cpp delete mode 100644 qt6-after/qt6-migrated-benchmark/tests/test_lts_projection_workstation_export.h.cpp delete mode 100644 qt6-after/qt6-migrated-benchmark/tests/test_lts_screen_base.cpp delete mode 100644 qt6-after/qt6-migrated-benchmark/tests/test_lts_screen_container.cpp delete mode 100644 qt6-after/qt6-migrated-benchmark/tests/test_lts_screen_normal.cpp delete mode 100644 qt6-after/qt6-migrated-benchmark/tests/test_lts_screen_wide.cpp delete mode 100644 qt6-after/qt6-migrated-benchmark/tests/test_lts_serial_port_querry.cpp delete mode 100644 qt6-after/qt6-migrated-benchmark/tests/test_lts_session.cpp delete mode 100644 qt6-after/qt6-migrated-benchmark/tests/test_lts_session_data.cpp delete mode 100644 qt6-after/qt6-migrated-benchmark/tests/test_lts_session_data_dds.cpp delete mode 100644 qt6-after/qt6-migrated-benchmark/tests/test_lts_session_data_dds_stub.cpp delete mode 100644 qt6-after/qt6-migrated-benchmark/tests/test_lts_session_lock_handler.cpp delete mode 100644 qt6-after/qt6-migrated-benchmark/tests/test_lts_session_lock_handler_stub.cpp delete mode 100644 qt6-after/qt6-migrated-benchmark/tests/test_lts_session_manager.cpp delete mode 100644 qt6-after/qt6-migrated-benchmark/tests/test_lts_timeline_header_view.cpp delete mode 100644 qt6-after/qt6-migrated-benchmark/tests/test_lts_timeline_header_view_mouse_handler.cpp delete mode 100644 qt6-after/qt6-migrated-benchmark/tests/test_lts_timeline_item.cpp delete mode 100644 qt6-after/qt6-migrated-benchmark/tests/test_lts_timeline_item_delegate.cpp delete mode 100644 qt6-after/qt6-migrated-benchmark/tests/test_lts_timeline_model.cpp delete mode 100644 qt6-after/qt6-migrated-benchmark/tests/test_lts_timeline_utils.cpp delete mode 100644 qt6-after/qt6-migrated-benchmark/tests/test_lts_timeline_view.cpp delete mode 100644 qt6-after/qt6-migrated-benchmark/tests/test_lts_timeline_view_drag_handler.cpp delete mode 100644 qt6-after/qt6-migrated-benchmark/tests/test_lts_timeline_view_resize_handler.cpp delete mode 100644 qt6-after/qt6-migrated-benchmark/tests/test_lts_timeline_view_selection_handler.cpp delete mode 100644 qt6-after/qt6-migrated-benchmark/tests/test_lts_timeline_view_track_handler.cpp delete mode 100644 qt6-after/qt6-migrated-benchmark/tests/test_lts_timeline_widget.cpp delete mode 100644 qt6-after/qt6-migrated-benchmark/tests/test_ltswidgets_qt6.cpp delete mode 100644 qt6-after/qt6-migrated-benchmark/tests/test_main_grantlee.cpp delete mode 100644 qt6-after/qt6-migrated-benchmark/tests/test_main_grantlee_gui.cpp delete mode 100644 qt6-after/qt6-migrated-benchmark/tests/test_mainwindow.cpp delete mode 100644 qt6-after/qt6-migrated-benchmark/tests/test_mdm_dtc.cpp delete mode 100644 qt6-after/qt6-migrated-benchmark/tests/test_message_factory.cpp delete mode 100644 qt6-after/qt6-migrated-benchmark/tests/test_messages.cpp delete mode 100644 qt6-after/qt6-migrated-benchmark/tests/test_mgrs2lonlat.cpp delete mode 100644 qt6-after/qt6-migrated-benchmark/tests/test_migration_stubs.cpp delete mode 100644 qt6-after/qt6-migrated-benchmark/tests/test_mockcoordtrans.cpp delete mode 100644 qt6-after/qt6-migrated-benchmark/tests/test_mrk_dtc.cpp delete mode 100644 qt6-after/qt6-migrated-benchmark/tests/test_msg_dtc.cpp delete mode 100644 qt6-after/qt6-migrated-benchmark/tests/test_nom_dtc.cpp delete mode 100644 qt6-after/qt6-migrated-benchmark/tests/test_nom_enums.cpp delete mode 100644 qt6-after/qt6-migrated-benchmark/tests/test_opm_dtc.cpp delete mode 100644 qt6-after/qt6-migrated-benchmark/tests/test_oss_dtc.cpp delete mode 100644 qt6-after/qt6-migrated-benchmark/tests/test_passiveeventcontainer.cpp delete mode 100644 qt6-after/qt6-migrated-benchmark/tests/test_pdm_dtc.cpp delete mode 100644 qt6-after/qt6-migrated-benchmark/tests/test_pdm_enums.cpp delete mode 100644 qt6-after/qt6-migrated-benchmark/tests/test_ppm_dtc.cpp delete mode 100644 qt6-after/qt6-migrated-benchmark/tests/test_ppm_enums.cpp delete mode 100644 qt6-after/qt6-migrated-benchmark/tests/test_pre_dtc.cpp delete mode 100644 qt6-after/qt6-migrated-benchmark/tests/test_printing.cpp delete mode 100644 qt6-after/qt6-migrated-benchmark/tests/test_printing_base.cpp delete mode 100644 qt6-after/qt6-migrated-benchmark/tests/test_qt6_api_migrations.cpp delete mode 100644 qt6-after/qt6-migrated-benchmark/tests/test_qt6_compatibility.cpp delete mode 100644 qt6-after/qt6-migrated-benchmark/tests/test_range.cpp delete mode 100644 qt6-after/qt6-migrated-benchmark/tests/test_rep_dtc.cpp delete mode 100644 qt6-after/qt6-migrated-benchmark/tests/test_rep_enums.cpp delete mode 100644 qt6-after/qt6-migrated-benchmark/tests/test_reply_message.cpp delete mode 100644 qt6-after/qt6-migrated-benchmark/tests/test_rti_integration.cpp delete mode 100644 qt6-after/qt6-migrated-benchmark/tests/test_saa_telegrams.cpp delete mode 100644 qt6-after/qt6-migrated-benchmark/tests/test_scm_dtc.cpp delete mode 100644 qt6-after/qt6-migrated-benchmark/tests/test_script_timeline.cpp delete mode 100644 qt6-after/qt6-migrated-benchmark/tests/test_skl_dtc.cpp delete mode 100644 qt6-after/qt6-migrated-benchmark/tests/test_som_dtc.cpp delete mode 100644 qt6-after/qt6-migrated-benchmark/tests/test_srm_dtc.cpp delete mode 100644 qt6-after/qt6-migrated-benchmark/tests/test_srp_dtc.cpp delete mode 100644 qt6-after/qt6-migrated-benchmark/tests/test_srp_enums.cpp delete mode 100644 qt6-after/qt6-migrated-benchmark/tests/test_symbology_xml.cpp delete mode 100644 qt6-after/qt6-migrated-benchmark/tests/test_tab_dtc.cpp delete mode 100644 qt6-after/qt6-migrated-benchmark/tests/test_taboc_dtc.cpp delete mode 100644 qt6-after/qt6-migrated-benchmark/tests/test_temporary_pointer_vector.h.cpp delete mode 100644 qt6-after/qt6-migrated-benchmark/tests/test_testtimelinemodel.cpp delete mode 100644 qt6-after/qt6-migrated-benchmark/tests/test_tgt_dtc.cpp delete mode 100644 qt6-after/qt6-migrated-benchmark/tests/test_timelineheaderview.cpp delete mode 100644 qt6-after/qt6-migrated-benchmark/tests/test_timelineindicator.cpp delete mode 100644 qt6-after/qt6-migrated-benchmark/tests/test_timelineview.cpp delete mode 100644 qt6-after/qt6-migrated-benchmark/tests/test_timelinewidget.cpp delete mode 100644 qt6-after/qt6-migrated-benchmark/tests/test_tools.cpp delete mode 100644 qt6-after/qt6-migrated-benchmark/tests/test_track_content_widget.cpp delete mode 100644 qt6-after/qt6-migrated-benchmark/tests/test_track_drag_handler.cpp delete mode 100644 qt6-after/qt6-migrated-benchmark/tests/test_track_entry.h.cpp delete mode 100644 qt6-after/qt6-migrated-benchmark/tests/test_track_entry_painters.cpp delete mode 100644 qt6-after/qt6-migrated-benchmark/tests/test_track_entry_preview_widget.cpp delete mode 100644 qt6-after/qt6-migrated-benchmark/tests/test_track_entry_previewer.cpp delete mode 100644 qt6-after/qt6-migrated-benchmark/tests/test_track_header.cpp delete mode 100644 qt6-after/qt6-migrated-benchmark/tests/test_track_resize_handler.cpp delete mode 100644 qt6-after/qt6-migrated-benchmark/tests/test_track_select_handler.cpp delete mode 100644 qt6-after/qt6-migrated-benchmark/tests/test_vnc_server_manager.cpp delete mode 100644 qt6-after/qt6-migrated-benchmark/tests/test_whg_dtc.cpp diff --git a/qt6-after/qt6-migrated-benchmark/tests/CMakeLists.txt b/qt6-after/qt6-migrated-benchmark/tests/CMakeLists.txt deleted file mode 100644 index 5dde61872..000000000 --- a/qt6-after/qt6-migrated-benchmark/tests/CMakeLists.txt +++ /dev/null @@ -1,72 +0,0 @@ -# CMakeLists.txt für Qt6-Migrationstests -# Diese Tests validieren BUILD_RTI Guards, Qt6-Kompatibilität und RTI-Integration - -cmake_minimum_required(VERSION 3.16) - -# Qt6 finden (wird vom Hauptprojekt gesetzt, aber sicherheitshalber hier auch) -find_package(Qt6 REQUIRED COMPONENTS Core Gui Widgets Test) - -# Try to find system-wide GTest first, fallback to FetchContent -find_package(GTest QUIET) -if(NOT TARGET GTest::gtest_main) - include(FetchContent) - FetchContent_Declare( - googletest - GIT_REPOSITORY https://github.com/google/googletest.git - GIT_TAG v1.13.0 - ) - # For Windows: Prevent overriding the parent project's compiler/linker settings - set(gtest_force_shared_crt ON CACHE BOOL "" FORCE) - FetchContent_MakeAvailable(googletest) -endif() - -# Nur bauen wenn BUILD_TESTING aktiviert ist -if(BUILD_TESTING) - # Collect all test source files dynamically - file(GLOB MIGRATION_TEST_SOURCES "${CMAKE_CURRENT_SOURCE_DIR}/test_*.cpp") - - if(MIGRATION_TEST_SOURCES) - set(EXISTING_SOURCES ${MIGRATION_TEST_SOURCES}) - - add_executable(migration_tests ${EXISTING_SOURCES}) - - target_compile_features(migration_tests PRIVATE cxx_std_23) - - target_include_directories(migration_tests PRIVATE - ${CMAKE_SOURCE_DIR} - ${CMAKE_SOURCE_DIR}/include - ${CMAKE_SOURCE_DIR}/qt6-after/qt6-migrated-legatus - ${CMAKE_SOURCE_DIR}/qt6-after/qt6-migrated-legatus/include - ) - - # Link against Qt6 components - target_link_libraries(migration_tests PRIVATE - Qt6::Core - Qt6::Gui - Qt6::Widgets - Qt6::Test - GTest::gtest_main - ) - - # RTI libraries if BUILD_RTI is ON - if(BUILD_RTI) - find_package(RTI QUIET) - if(RTI_FOUND) - target_include_directories(migration_tests PRIVATE ${RTI_INCLUDE_DIRS}) - target_link_libraries(migration_tests PRIVATE ${RTI_LIBRARIES}) - target_compile_definitions(migration_tests PRIVATE BUILD_RTI=1) - message(STATUS "RTI found: ${RTI_LIBRARIES}") - else() - message(STATUS "BUILD_RTI=ON but RTI not found - building tests without RTI") - endif() - endif() - - # Register with CTest - include(GoogleTest) - gtest_discover_tests(migration_tests) - - message(STATUS "Migration tests enabled: ${EXISTING_SOURCES}") - else() - message(WARNING "No migration test sources found in ${CMAKE_CURRENT_SOURCE_DIR}") - endif() -endif() \ No newline at end of file diff --git a/qt6-after/qt6-migrated-benchmark/tests/MockCoordTrans.h b/qt6-after/qt6-migrated-benchmark/tests/MockCoordTrans.h deleted file mode 100644 index 61375b8fc..000000000 --- a/qt6-after/qt6-migrated-benchmark/tests/MockCoordTrans.h +++ /dev/null @@ -1,20 +0,0 @@ -#pragma once -#include - -// Minimal realistic mock for coordinate transforms used during migration. -// Forward conversion returns approximate meters using lat/lon*111000. -class MockCoordTrans -{ - public: - // approximate forward: (lat, lon) -> (x_m, y_m) - static std::pair forward(double lat_deg, double lon_deg) - { - return {lat_deg * 111000.0, lon_deg * 111000.0}; - } - - // approximate inverse - static std::pair inverse(double x_m, double y_m) - { - return {x_m / 111000.0, y_m / 111000.0}; - } -}; diff --git a/qt6-after/qt6-migrated-benchmark/tests/coordTransTests_gtest.cpp b/qt6-after/qt6-migrated-benchmark/tests/coordTransTests_gtest.cpp deleted file mode 100644 index 49646b412..000000000 --- a/qt6-after/qt6-migrated-benchmark/tests/coordTransTests_gtest.cpp +++ /dev/null @@ -1,14 +0,0 @@ -#include "mocks/MockCoordTrans.h" - -#include - -TEST(CoordTransGTest, ForwardInverseRoundtrip) -{ - auto p = MockCoordTrans::forward(1.2345, 2.3456); - EXPECT_NEAR(p.first, 1.2345 * 111000.0, 1e-6); - EXPECT_NEAR(p.second, 2.3456 * 111000.0, 1e-6); - - auto inv = MockCoordTrans::inverse(p.first, p.second); - EXPECT_NEAR(inv.first, 1.2345, 1e-9); - EXPECT_NEAR(inv.second, 2.3456, 1e-9); -} diff --git a/qt6-after/qt6-migrated-benchmark/tests/coordTransTests_smoke.cpp b/qt6-after/qt6-migrated-benchmark/tests/coordTransTests_smoke.cpp deleted file mode 100644 index 9c35c8911..000000000 --- a/qt6-after/qt6-migrated-benchmark/tests/coordTransTests_smoke.cpp +++ /dev/null @@ -1,19 +0,0 @@ -#include "mocks/MockCoordTrans.h" - -#include - -class CoordTransSmoke : public QObject -{ - Q_OBJECT - private slots: - - void testForward() - { - auto p = MockCoordTrans::forward(10.0, 20.0); - QVERIFY(qFuzzyCompare(p.first, 10.0 * 111000.0)); - QVERIFY(qFuzzyCompare(p.second, 20.0 * 111000.0)); - } -}; - -QTEST_MAIN(CoordTransSmoke) -#include "coordTransTests_smoke.moc" diff --git a/qt6-after/qt6-migrated-benchmark/tests/test_CppTopicGeneratorGrantlee.cpp b/qt6-after/qt6-migrated-benchmark/tests/test_CppTopicGeneratorGrantlee.cpp deleted file mode 100644 index 3ec284959..000000000 --- a/qt6-after/qt6-migrated-benchmark/tests/test_CppTopicGeneratorGrantlee.cpp +++ /dev/null @@ -1,29 +0,0 @@ -#include "CppTopicGeneratorGrantlee.h" - -#include - -// Test that CppTopicGeneratorGrantlee can be instantiated -TEST(CppTopicGeneratorGrantleeTest, CanInstantiate) -{ - CodeGen::CppTopicGeneratorGrantlee generator; - // Basic instantiation test - constructor should not throw - EXPECT_NO_THROW({ CodeGen::CppTopicGeneratorGrantlee gen2; }); -} - -// Test that the generator has expected base class functionality -TEST(CppTopicGeneratorGrantleeTest, HasLoggerName) -{ - CodeGen::CppTopicGeneratorGrantlee generator; - // The generator should have a logger name set in constructor - // This verifies the base class initialization worked correctly - EXPECT_TRUE(true); // Placeholder - actual test depends on base class API -} - -// Test compilation of header dependencies -TEST(CppTopicGeneratorGrantleeTest, HeaderCompiles) -{ - // This test verifies that all headers included by CppTopicGeneratorGrantlee.cpp - // compile correctly with Qt6/C++23 - // Includes: CppTopicGeneratorGrantlee.h, StructBuilder.h, NGLLogger, QCryptographicHash, grantlee/context.h - EXPECT_TRUE(true); // Compilation itself is the test -} \ No newline at end of file diff --git a/qt6-after/qt6-migrated-benchmark/tests/test_DaoGeneratorGrantlee.cpp b/qt6-after/qt6-migrated-benchmark/tests/test_DaoGeneratorGrantlee.cpp deleted file mode 100644 index bcb2fffa4..000000000 --- a/qt6-after/qt6-migrated-benchmark/tests/test_DaoGeneratorGrantlee.cpp +++ /dev/null @@ -1,23 +0,0 @@ -#include - -// Header compilation test for DaoGeneratorGrantlee -#include "Lts/Common/CodeGen/DaoGeneratorGrantlee.h" - -TEST(DaoGeneratorGrantleeTest, HeaderCompiles) -{ - // Verify header compiles without errors - EXPECT_TRUE(true); -} - -TEST(DaoGeneratorGrantleeTest, CanInstantiate) -{ - // Basic instantiation test (may need adjustment based on actual constructor) - // This is a stub test to satisfy policy requirements - EXPECT_TRUE(true); -} - -TEST(DaoGeneratorGrantleeTest, NamespaceExists) -{ - // Verify namespace exists - EXPECT_TRUE(true); -} diff --git a/qt6-after/qt6-migrated-benchmark/tests/test_DatabaseGeneratorGrantlee.cpp b/qt6-after/qt6-migrated-benchmark/tests/test_DatabaseGeneratorGrantlee.cpp deleted file mode 100644 index 7b4e10312..000000000 --- a/qt6-after/qt6-migrated-benchmark/tests/test_DatabaseGeneratorGrantlee.cpp +++ /dev/null @@ -1,18 +0,0 @@ -#include "Lts/Common/CodeGen/DatabaseGeneratorGrantlee.h" - -#include - -TEST(DatabaseGeneratorGrantleeTest, HeaderCompiles) -{ - EXPECT_TRUE(true); -} - -TEST(DatabaseGeneratorGrantleeTest, CanInstantiate) -{ - EXPECT_TRUE(true); -} - -TEST(DatabaseGeneratorGrantleeTest, NamespaceExists) -{ - EXPECT_TRUE(true); -} diff --git a/qt6-after/qt6-migrated-benchmark/tests/test_GeneratorGrantleeBase.cpp b/qt6-after/qt6-migrated-benchmark/tests/test_GeneratorGrantleeBase.cpp deleted file mode 100644 index 13402b2ba..000000000 --- a/qt6-after/qt6-migrated-benchmark/tests/test_GeneratorGrantleeBase.cpp +++ /dev/null @@ -1,18 +0,0 @@ -#include "Lts/Common/CodeGen/GeneratorGrantleeBase.h" - -#include - -TEST(GeneratorGrantleeBaseTest, HeaderCompiles) -{ - EXPECT_TRUE(true); -} - -TEST(GeneratorGrantleeBaseTest, CanInstantiate) -{ - EXPECT_TRUE(true); -} - -TEST(GeneratorGrantleeBaseTest, NamespaceExists) -{ - EXPECT_TRUE(true); -} diff --git a/qt6-after/qt6-migrated-benchmark/tests/test_GrantleeParserSmoke.cpp b/qt6-after/qt6-migrated-benchmark/tests/test_GrantleeParserSmoke.cpp deleted file mode 100644 index ca69553fd..000000000 --- a/qt6-after/qt6-migrated-benchmark/tests/test_GrantleeParserSmoke.cpp +++ /dev/null @@ -1,18 +0,0 @@ -#include "Lts/Common/CodeGen/GrantleeParserSmoke.h" - -#include - -TEST(GrantleeParserSmokeTest, HeaderCompiles) -{ - EXPECT_TRUE(true); -} - -TEST(GrantleeParserSmokeTest, CanInstantiate) -{ - EXPECT_TRUE(true); -} - -TEST(GrantleeParserSmokeTest, NamespaceExists) -{ - EXPECT_TRUE(true); -} diff --git a/qt6-after/qt6-migrated-benchmark/tests/test_GrantleeWrappers.cpp b/qt6-after/qt6-migrated-benchmark/tests/test_GrantleeWrappers.cpp deleted file mode 100644 index 5f7324374..000000000 --- a/qt6-after/qt6-migrated-benchmark/tests/test_GrantleeWrappers.cpp +++ /dev/null @@ -1,18 +0,0 @@ -#include "Lts/Common/CodeGen/GrantleeWrappers.h" - -#include - -TEST(GrantleeWrappersTest, HeaderCompiles) -{ - EXPECT_TRUE(true); -} - -TEST(GrantleeWrappersTest, CanInstantiate) -{ - EXPECT_TRUE(true); -} - -TEST(GrantleeWrappersTest, NamespaceExists) -{ - EXPECT_TRUE(true); -} diff --git a/qt6-after/qt6-migrated-benchmark/tests/test_LtsCommandLineParser.cpp b/qt6-after/qt6-migrated-benchmark/tests/test_LtsCommandLineParser.cpp deleted file mode 100644 index 217f8278e..000000000 --- a/qt6-after/qt6-migrated-benchmark/tests/test_LtsCommandLineParser.cpp +++ /dev/null @@ -1,36 +0,0 @@ -#include - -// Stub test for LtsCommandLineParser.cpp migration validation -// Actual implementation tests should be added based on LtsCommandLineParser.cpp functionality - -namespace Lts -{ -namespace Common -{ - -// Forward declarations to verify compilation -// TODO: Add actual class/function declarations from LtsCommandLineParser - -} // namespace Common -} // namespace Lts - -TEST(LtsCommandLineParserMigrationTest, CompilationStub) -{ - // Verify that LtsCommandLineParser.cpp compiles and links correctly after Qt6 migration - // TODO: Add actual tests for LtsCommandLineParser functionality - EXPECT_TRUE(true); -} - -TEST(LtsCommandLineParserMigrationTest, Qt6ApiCompatibility) -{ - // Verify Qt6 API compatibility - // TODO: Add tests for any Qt6-specific API changes in LtsCommandLineParser.cpp - EXPECT_TRUE(true); -} - -TEST(LtsCommandLineParserMigrationTest, BasicFunctionality) -{ - // Basic functionality test placeholder - // TODO: Implement actual functionality tests - EXPECT_TRUE(true); -} diff --git a/qt6-after/qt6-migrated-benchmark/tests/test_SqlGenerator.cpp b/qt6-after/qt6-migrated-benchmark/tests/test_SqlGenerator.cpp deleted file mode 100644 index 24ffd98eb..000000000 --- a/qt6-after/qt6-migrated-benchmark/tests/test_SqlGenerator.cpp +++ /dev/null @@ -1,18 +0,0 @@ -#include "Lts/Common/CodeGen/SqlGenerator.h" - -#include - -TEST(SqlGeneratorTest, HeaderCompiles) -{ - EXPECT_TRUE(true); -} - -TEST(SqlGeneratorTest, CanInstantiate) -{ - EXPECT_TRUE(true); -} - -TEST(SqlGeneratorTest, NamespaceExists) -{ - EXPECT_TRUE(true); -} diff --git a/qt6-after/qt6-migrated-benchmark/tests/test_StructBuilder.cpp b/qt6-after/qt6-migrated-benchmark/tests/test_StructBuilder.cpp deleted file mode 100644 index 5d24a7a64..000000000 --- a/qt6-after/qt6-migrated-benchmark/tests/test_StructBuilder.cpp +++ /dev/null @@ -1,18 +0,0 @@ -#include "Lts/Common/CodeGen/StructBuilder.h" - -#include - -TEST(StructBuilderTest, HeaderCompiles) -{ - EXPECT_TRUE(true); -} - -TEST(StructBuilderTest, CanInstantiate) -{ - EXPECT_TRUE(true); -} - -TEST(StructBuilderTest, NamespaceExists) -{ - EXPECT_TRUE(true); -} diff --git a/qt6-after/qt6-migrated-benchmark/tests/test_XmlReader.cpp b/qt6-after/qt6-migrated-benchmark/tests/test_XmlReader.cpp deleted file mode 100644 index a39e6b466..000000000 --- a/qt6-after/qt6-migrated-benchmark/tests/test_XmlReader.cpp +++ /dev/null @@ -1,18 +0,0 @@ -#include "Lts/Common/CodeGen/XmlReader.h" - -#include - -TEST(XmlReaderTest, HeaderCompiles) -{ - EXPECT_TRUE(true); -} - -TEST(XmlReaderTest, CanInstantiate) -{ - EXPECT_TRUE(true); -} - -TEST(XmlReaderTest, NamespaceExists) -{ - EXPECT_TRUE(true); -} diff --git a/qt6-after/qt6-migrated-benchmark/tests/test_abstracttimelinemodel.cpp b/qt6-after/qt6-migrated-benchmark/tests/test_abstracttimelinemodel.cpp deleted file mode 100644 index 12ffb3e95..000000000 --- a/qt6-after/qt6-migrated-benchmark/tests/test_abstracttimelinemodel.cpp +++ /dev/null @@ -1,21 +0,0 @@ -#include "qt6-after/qt6-migrated-legatus/Lts/Common/LtsTimelineClassic/AbstractTimelineModel.h" - -#include - -TEST(LtsAbstractTimelineModelTest, HeaderCompiles) -{ - // Verify header compiles without errors - EXPECT_TRUE(true); -} - -TEST(LtsAbstractTimelineModelTest, CanInstantiate) -{ - // Basic instantiation test if class is instantiable - // Add specific instantiation code if class can be constructed -} - -TEST(LtsAbstractTimelineModelTest, NamespaceExists) -{ - // Verify namespace exists - // Add namespace verification if applicable -} diff --git a/qt6-after/qt6-migrated-benchmark/tests/test_aes_crypt.cpp b/qt6-after/qt6-migrated-benchmark/tests/test_aes_crypt.cpp deleted file mode 100644 index ead259e13..000000000 --- a/qt6-after/qt6-migrated-benchmark/tests/test_aes_crypt.cpp +++ /dev/null @@ -1,25 +0,0 @@ -#include - -// Stub test for aes_crypt.cpp migration validation - -namespace Lts -{ -namespace Common -{ -} // namespace Common -} // namespace Lts - -TEST(aes_cryptMigrationTest, CompilationStub) -{ - EXPECT_TRUE(true); -} - -TEST(aes_cryptMigrationTest, Qt6ApiCompatibility) -{ - EXPECT_TRUE(true); -} - -TEST(aes_cryptMigrationTest, BasicFunctionality) -{ - EXPECT_TRUE(true); -} diff --git a/qt6-after/qt6-migrated-benchmark/tests/test_aes_crypt_test.cpp b/qt6-after/qt6-migrated-benchmark/tests/test_aes_crypt_test.cpp deleted file mode 100644 index b4f5d9d94..000000000 --- a/qt6-after/qt6-migrated-benchmark/tests/test_aes_crypt_test.cpp +++ /dev/null @@ -1,25 +0,0 @@ -#include - -// Stub test for aes_crypt_test.cpp migration validation - -namespace Lts -{ -namespace Common -{ -} // namespace Common -} // namespace Lts - -TEST(aes_crypt_testMigrationTest, CompilationStub) -{ - EXPECT_TRUE(true); -} - -TEST(aes_crypt_testMigrationTest, Qt6ApiCompatibility) -{ - EXPECT_TRUE(true); -} - -TEST(aes_crypt_testMigrationTest, BasicFunctionality) -{ - EXPECT_TRUE(true); -} diff --git a/qt6-after/qt6-migrated-benchmark/tests/test_aes_dtc.cpp b/qt6-after/qt6-migrated-benchmark/tests/test_aes_dtc.cpp deleted file mode 100644 index 548117020..000000000 --- a/qt6-after/qt6-migrated-benchmark/tests/test_aes_dtc.cpp +++ /dev/null @@ -1,59 +0,0 @@ -/** - * @file test_aes_dtc.cpp - * @brief Tests für AreaEffectSimulation Dtc/Ftc Stub-Header - * - * Diese Tests validieren dass die generierten DDS-Stub-Header korrekt kompilieren. - */ - -#include - -// Include des zu testenden Headers -#include "AreaEffectSimulation/aes_dtc.h" - -/** - * @test Test dass der Header kompiliert und Namespace existiert - */ -TEST(AesDtcTest, HeaderCompilesAndNamespaceExists) -{ - // Verify that the namespace and forward declarations exist - // This test ensures the stub header compiles correctly - using namespace AreaEffectSimulation; - using namespace AreaEffectSimulation::Interface; - - // Forward declarations should be available - // We can't instantiate them, but we can declare pointers - Dtc* dtc_ptr = nullptr; - Ftc* ftc_ptr = nullptr; - - EXPECT_EQ(dtc_ptr, nullptr); - EXPECT_EQ(ftc_ptr, nullptr); -} - -/** - * @test Test dass Namespace-Struktur korrekt ist - */ -TEST(AesDtcTest, NamespaceStructure) -{ - // Verify nested namespace structure - using DtcType = AreaEffectSimulation::Interface::Dtc; - using FtcType = AreaEffectSimulation::Interface::Ftc; - - // Type traits verification (compile-time check) - static_assert(std::is_class::value, "Dtc should be a class"); - static_assert(std::is_class::value, "Ftc should be a class"); - - EXPECT_TRUE(true); // Compile-time checks passed -} - -/** - * @test Test dass Header mehrfach inkludierbar ist (include guard) - */ -TEST(AesDtcTest, MultipleIncludeGuard) -{ -// Including the header multiple times should not cause errors -// This is implicitly tested by including it again here -#include "AreaEffectSimulation/aes_dtc.h" - - // If we reach this point, the include guard works - EXPECT_TRUE(true); -} \ No newline at end of file diff --git a/qt6-after/qt6-migrated-benchmark/tests/test_aes_enums.cpp b/qt6-after/qt6-migrated-benchmark/tests/test_aes_enums.cpp deleted file mode 100644 index 4483b7286..000000000 --- a/qt6-after/qt6-migrated-benchmark/tests/test_aes_enums.cpp +++ /dev/null @@ -1,68 +0,0 @@ -/** - * @file test_aes_enums.cpp - * @brief Tests für AreaEffectSimulation Enum-Header - * - * Diese Tests validieren dass die generierten DDS-Enum-Header korrekt kompilieren. - */ - -#include - -// Include des zu testenden Headers -#include "AreaEffectSimulation/aes_enums.hpp" - -/** - * @test Test dass der Header kompiliert und Enums existieren - */ -TEST(AesEnumsTest, HeaderCompilesAndEnumsExist) -{ - // Verify that enum classes are accessible - using namespace AreaEffectSimulation; - - // Create enum values - SymbolAppearance appearance = SymbolAppearance::Solid; - SymbolVisibility visibility = SymbolVisibility::Visible; - - EXPECT_EQ(appearance, SymbolAppearance::Solid); - EXPECT_EQ(visibility, SymbolVisibility::Visible); - - // Test other enum values - EXPECT_EQ(SymbolAppearance::Dashed, static_cast(1)); - EXPECT_EQ(SymbolAppearance::Dotted, static_cast(2)); - EXPECT_EQ(SymbolVisibility::Hidden, static_cast(1)); -} - -/** - * @test Test dass UnitSymbolPosition struct korrekt ist - */ -TEST(AesEnumsTest, UnitSymbolPositionStruct) -{ - using namespace AreaEffectSimulation; - - // Test default initialization - UnitSymbolPosition pos1; - EXPECT_DOUBLE_EQ(pos1.x, 0.0); - EXPECT_DOUBLE_EQ(pos1.y, 0.0); - - // Test custom initialization - UnitSymbolPosition pos2{10.5, 20.5}; - EXPECT_DOUBLE_EQ(pos2.x, 10.5); - EXPECT_DOUBLE_EQ(pos2.y, 20.5); - - // Test assignment - pos1 = pos2; - EXPECT_DOUBLE_EQ(pos1.x, 10.5); - EXPECT_DOUBLE_EQ(pos1.y, 20.5); -} - -/** - * @test Test dass Header mehrfach inkludierbar ist (include guard) - */ -TEST(AesEnumsTest, MultipleIncludeGuard) -{ -// Including the header multiple times should not cause errors -// This is implicitly tested by including it again here -#include "AreaEffectSimulation/aes_enums.hpp" - - // If we reach this point, the include guard works - EXPECT_TRUE(true); -} \ No newline at end of file diff --git a/qt6-after/qt6-migrated-benchmark/tests/test_alm_dtc.cpp b/qt6-after/qt6-migrated-benchmark/tests/test_alm_dtc.cpp deleted file mode 100644 index fdc8c837b..000000000 --- a/qt6-after/qt6-migrated-benchmark/tests/test_alm_dtc.cpp +++ /dev/null @@ -1,44 +0,0 @@ -/** - * @file test_alm_dtc.cpp - * @brief Minimal test for AlarmManagement/alm_dtc.h header inclusion - * - * This test verifies that the stub header can be included without errors. - * The actual Dtc/Ftc classes are generated by ddsdtc tool. - */ - -#include - -// Include the stub header - this test ensures it compiles -#include "AlarmManagement/alm_dtc.h" - -TEST(AlarmManagementDtc, HeaderCompiles) -{ - // Verify that the namespace and forward declarations exist - // This test ensures the stub header is syntactically correct - EXPECT_TRUE(true); -} - -TEST(AlarmManagementDtc, ForwardDeclarationsExist) -{ - // Verify forward declarations are present (compile-time check) - // If these lines compile, the forward declarations exist - AlarmManagement::Interface::Dtc* dtc_ptr = nullptr; - AlarmManagement::Interface::Ftc* ftc_ptr = nullptr; - - EXPECT_EQ(dtc_ptr, nullptr); - EXPECT_EQ(ftc_ptr, nullptr); -} - -TEST(AlarmManagementDtc, NamespaceStructure) -{ - // Verify namespace structure exists - // This is a compile-time verification - using DtcType = AlarmManagement::Interface::Dtc; - using FtcType = AlarmManagement::Interface::Ftc; - - // Suppress unused type alias warnings - (void)sizeof(DtcType*); - (void)sizeof(FtcType*); - - EXPECT_TRUE(true); -} \ No newline at end of file diff --git a/qt6-after/qt6-migrated-benchmark/tests/test_app_chooser.cpp b/qt6-after/qt6-migrated-benchmark/tests/test_app_chooser.cpp deleted file mode 100644 index bb0cb9788..000000000 --- a/qt6-after/qt6-migrated-benchmark/tests/test_app_chooser.cpp +++ /dev/null @@ -1,36 +0,0 @@ -#include - -// Stub test for app_chooser.cpp migration validation -// Actual implementation tests should be added based on app_chooser.cpp functionality - -namespace Lts -{ -namespace Common -{ - -// Forward declarations to verify compilation -class AppChooser; - -} // namespace Common -} // namespace Lts - -TEST(AppChooserMigrationTest, CompilationStub) -{ - // Verify that app_chooser.cpp compiles and links correctly after Qt6 migration - // TODO: Add actual tests for AppChooser functionality - EXPECT_TRUE(true); -} - -TEST(AppChooserMigrationTest, Qt6ApiCompatibility) -{ - // Verify Qt6 API compatibility - // TODO: Add tests for any Qt6-specific API changes in app_chooser.cpp - EXPECT_TRUE(true); -} - -TEST(AppChooserMigrationTest, BasicFunctionality) -{ - // Basic functionality test placeholder - // TODO: Implement actual functionality tests - EXPECT_TRUE(true); -} diff --git a/qt6-after/qt6-migrated-benchmark/tests/test_app_chooser_model.cpp b/qt6-after/qt6-migrated-benchmark/tests/test_app_chooser_model.cpp deleted file mode 100644 index f9ac3ce86..000000000 --- a/qt6-after/qt6-migrated-benchmark/tests/test_app_chooser_model.cpp +++ /dev/null @@ -1,36 +0,0 @@ -#include - -// Stub test for app_chooser_model.cpp migration validation -// Actual implementation tests should be added based on app_chooser_model.cpp functionality - -namespace Lts -{ -namespace Common -{ - -// Forward declarations to verify compilation -class AppChooserModel; - -} // namespace Common -} // namespace Lts - -TEST(AppChooserModelMigrationTest, CompilationStub) -{ - // Verify that app_chooser_model.cpp compiles and links correctly after Qt6 migration - // TODO: Add actual tests for AppChooserModel functionality - EXPECT_TRUE(true); -} - -TEST(AppChooserModelMigrationTest, Qt6ApiCompatibility) -{ - // Verify Qt6 API compatibility - // TODO: Add tests for any Qt6-specific API changes in app_chooser_model.cpp - EXPECT_TRUE(true); -} - -TEST(AppChooserModelMigrationTest, BasicFunctionality) -{ - // Basic functionality test placeholder - // TODO: Implement actual functionality tests - EXPECT_TRUE(true); -} diff --git a/qt6-after/qt6-migrated-benchmark/tests/test_asm_dtc.cpp b/qt6-after/qt6-migrated-benchmark/tests/test_asm_dtc.cpp deleted file mode 100644 index 389b1f3ed..000000000 --- a/qt6-after/qt6-migrated-benchmark/tests/test_asm_dtc.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/** - * @file test_asm_dtc.cpp - * @brief Tests for AssetManagement Dtc stub header compilation - */ - -#include - -// Test that the header compiles and provides expected forward declarations -TEST(AsmDtcTest, HeaderCompilesSuccessfully) -{ - // This test verifies that asm_dtc.h compiles without errors - // The header provides forward declarations for DDS-generated Dtc/Ftc classes - EXPECT_TRUE(true); -} - -TEST(AsmDtcTest, NamespaceStructureExists) -{ - // Verify that the AssetManagement namespace exists - using namespace AssetManagement; - - // Verify that the Interface namespace exists within AssetManagement - using namespace AssetManagement::Interface; - - // Forward declaration should be available (pointer type should compile) - Dtc* dtc_ptr = nullptr; - Ftc* ftc_ptr = nullptr; - - EXPECT_EQ(dtc_ptr, nullptr); - EXPECT_EQ(ftc_ptr, nullptr); -} - -TEST(AsmDtcTest, ForwardDeclarationsAreUsable) -{ - // Test that forward-declared types can be used in function signatures - auto use_dtc = [](AssetManagement::Interface::Dtc* ptr) { return ptr != nullptr; }; - auto use_ftc = [](AssetManagement::Interface::Ftc* ptr) { return ptr != nullptr; }; - - EXPECT_FALSE(use_dtc(nullptr)); - EXPECT_FALSE(use_ftc(nullptr)); -} \ No newline at end of file diff --git a/qt6-after/qt6-migrated-benchmark/tests/test_asm_enums.cpp b/qt6-after/qt6-migrated-benchmark/tests/test_asm_enums.cpp deleted file mode 100644 index dcda5aad6..000000000 --- a/qt6-after/qt6-migrated-benchmark/tests/test_asm_enums.cpp +++ /dev/null @@ -1,29 +0,0 @@ -/** - * @file test_asm_enums.cpp - * @brief Tests for AssetManagement enum definitions - */ - -#include "AssetManagement/asm_enums.hpp" - -#include - -TEST(AsmEnumsTest, SymbolAppearanceEnumValues) -{ - EXPECT_EQ(AssetManagement::SymbolAppearance::Solid, 0); - EXPECT_EQ(AssetManagement::SymbolAppearance::Dashed, 1); - EXPECT_EQ(AssetManagement::SymbolAppearance::Dotted, 2); -} - -TEST(AsmEnumsTest, SymbolVisibilityEnumValues) -{ - EXPECT_EQ(AssetManagement::SymbolVisibility::Visible, 0); - EXPECT_EQ(AssetManagement::SymbolVisibility::Hidden, 1); -} - -TEST(AsmEnumsTest, UnitSymbolPositionDefaultValues) -{ - AssetManagement::UnitSymbolPosition pos; - EXPECT_DOUBLE_EQ(pos.x, 0.0); - EXPECT_DOUBLE_EQ(pos.y, 0.0); - EXPECT_DOUBLE_EQ(pos.z, 0.0); -} \ No newline at end of file diff --git a/qt6-after/qt6-migrated-benchmark/tests/test_avm_dtc.cpp b/qt6-after/qt6-migrated-benchmark/tests/test_avm_dtc.cpp deleted file mode 100644 index 2b45e1a92..000000000 --- a/qt6-after/qt6-migrated-benchmark/tests/test_avm_dtc.cpp +++ /dev/null @@ -1,16 +0,0 @@ -/** - * @file test_avm_dtc.cpp - * @brief Compilation test for AudioVideoManagement/avm_dtc.h - * - * This test verifies that the migrated header compiles correctly with Qt6/C++23. - */ - -#include "AudioVideoManagement/avm_dtc.h" - -#include - -TEST(avm_dtc_Compilation, HeaderCompiles) -{ - // This test verifies that the header compiles without errors - EXPECT_TRUE(true); -} diff --git a/qt6-after/qt6-migrated-benchmark/tests/test_avm_enums.cpp b/qt6-after/qt6-migrated-benchmark/tests/test_avm_enums.cpp deleted file mode 100644 index 49976db4e..000000000 --- a/qt6-after/qt6-migrated-benchmark/tests/test_avm_enums.cpp +++ /dev/null @@ -1,16 +0,0 @@ -/** - * @file test_avm_enums.cpp - * @brief Compilation test for AudioVideoManagement/avm_enums.hpp - * - * This test verifies that the migrated header compiles correctly with Qt6/C++23. - */ - -#include "AudioVideoManagement/avm_enums.hpp" - -#include - -TEST(avm_enums_Compilation, HeaderCompiles) -{ - // This test verifies that the header compiles without errors - EXPECT_TRUE(true); -} diff --git a/qt6-after/qt6-migrated-benchmark/tests/test_bld_dtc.cpp b/qt6-after/qt6-migrated-benchmark/tests/test_bld_dtc.cpp deleted file mode 100644 index 33577242f..000000000 --- a/qt6-after/qt6-migrated-benchmark/tests/test_bld_dtc.cpp +++ /dev/null @@ -1,16 +0,0 @@ -/** - * @file test_bld_dtc.cpp - * @brief Compilation test for Buildings/bld_dtc.h - * - * This test verifies that the migrated header compiles correctly with Qt6/C++23. - */ - -#include "Buildings/bld_dtc.h" - -#include - -TEST(bld_dtc_Compilation, HeaderCompiles) -{ - // This test verifies that the header compiles without errors - EXPECT_TRUE(true); -} diff --git a/qt6-after/qt6-migrated-benchmark/tests/test_bld_enums.cpp b/qt6-after/qt6-migrated-benchmark/tests/test_bld_enums.cpp deleted file mode 100644 index 2595d4878..000000000 --- a/qt6-after/qt6-migrated-benchmark/tests/test_bld_enums.cpp +++ /dev/null @@ -1,16 +0,0 @@ -/** - * @file test_bld_enums.cpp - * @brief Compilation test for Buildings/bld_enums.hpp - * - * This test verifies that the migrated header compiles correctly with Qt6/C++23. - */ - -#include "Buildings/bld_enums.hpp" - -#include - -TEST(bld_enums_Compilation, HeaderCompiles) -{ - // This test verifies that the header compiles without errors - EXPECT_TRUE(true); -} diff --git a/qt6-after/qt6-migrated-benchmark/tests/test_build_rti_guards.cpp b/qt6-after/qt6-migrated-benchmark/tests/test_build_rti_guards.cpp deleted file mode 100644 index 062160ff1..000000000 --- a/qt6-after/qt6-migrated-benchmark/tests/test_build_rti_guards.cpp +++ /dev/null @@ -1,49 +0,0 @@ -/** - * @file test_build_rti_guards.cpp - * @brief Tests für BUILD_RTI conditional compilation guards - * - * Tests verify that: - * 1. Code compiles with BUILD_RTI=OFF (fallback mode) - * 2. RTI-dependent code is properly guarded - * 3. Non-RTI code paths work correctly - */ - -#include - -// Test 1: Verify BUILD_RTI macro is defined correctly -TEST(BuildRTIGuards, MacroDefined) -{ -#ifdef BUILD_RTI - // When BUILD_RTI is enabled, it should be 1 - EXPECT_EQ(BUILD_RTI, 1); -#else - // When BUILD_RTI is disabled, it should be 0 or undefined - // This test passes in fallback mode - SUCCEED(); -#endif -} - -// Test 2: Verify DDS connector compiles without RTI -TEST(BuildRTIGuards, DDSConnectorFallback) -{ - // This test verifies that DDS-related headers can be included - // and basic functionality works without RTI libraries - // The actual DDS connector should have fallback implementations - bool rti_available = false; -#ifdef BUILD_RTI - rti_available = true; -#endif - EXPECT_FALSE(rti_available); // In fallback mode, RTI is not available -} - -// Test 3: Verify conditional compilation doesn't break build -TEST(BuildRTIGuards, ConditionalCompilationSafe) -{ - // Verify that #if BUILD_RTI guards don't cause syntax errors - int value = 0; -#if BUILD_RTI - value = 1; -#endif - // In fallback mode, value should remain 0 - EXPECT_EQ(value, 0); -} \ No newline at end of file diff --git a/qt6-after/qt6-migrated-benchmark/tests/test_ces_dtc.cpp b/qt6-after/qt6-migrated-benchmark/tests/test_ces_dtc.cpp deleted file mode 100644 index fc75c1f28..000000000 --- a/qt6-after/qt6-migrated-benchmark/tests/test_ces_dtc.cpp +++ /dev/null @@ -1,16 +0,0 @@ -/** - * @file test_ces_dtc.cpp - * @brief Compilation test for CentralEffectSimulation/ces_dtc.h - * - * This test verifies that the migrated header compiles correctly with Qt6/C++23. - */ - -#include "CentralEffectSimulation/ces_dtc.h" - -#include - -TEST(ces_dtc_Compilation, HeaderCompiles) -{ - // This test verifies that the header compiles without errors - EXPECT_TRUE(true); -} diff --git a/qt6-after/qt6-migrated-benchmark/tests/test_client_message.cpp b/qt6-after/qt6-migrated-benchmark/tests/test_client_message.cpp deleted file mode 100644 index 67c1fb6dc..000000000 --- a/qt6-after/qt6-migrated-benchmark/tests/test_client_message.cpp +++ /dev/null @@ -1,16 +0,0 @@ -#include - -TEST(client_messageTest, CompilationStub) -{ - EXPECT_TRUE(true); -} - -TEST(client_messageTest, Qt6ApiCompatibility) -{ - EXPECT_TRUE(true); -} - -TEST(client_messageTest, BasicFunctionality) -{ - EXPECT_TRUE(true); -} diff --git a/qt6-after/qt6-migrated-benchmark/tests/test_cmo_dtc.cpp b/qt6-after/qt6-migrated-benchmark/tests/test_cmo_dtc.cpp deleted file mode 100644 index b56f21fc8..000000000 --- a/qt6-after/qt6-migrated-benchmark/tests/test_cmo_dtc.cpp +++ /dev/null @@ -1,16 +0,0 @@ -/** - * @file test_cmo_dtc.cpp - * @brief Compilation test for ComponentMonitor/cmo_dtc.h - * - * This test verifies that the migrated header compiles correctly with Qt6/C++23. - */ - -#include "ComponentMonitor/cmo_dtc.h" - -#include - -TEST(cmo_dtc_Compilation, HeaderCompiles) -{ - // This test verifies that the header compiles without errors - EXPECT_TRUE(true); -} diff --git a/qt6-after/qt6-migrated-benchmark/tests/test_cod_dtc.cpp b/qt6-after/qt6-migrated-benchmark/tests/test_cod_dtc.cpp deleted file mode 100644 index b964d12e6..000000000 --- a/qt6-after/qt6-migrated-benchmark/tests/test_cod_dtc.cpp +++ /dev/null @@ -1,16 +0,0 @@ -/** - * @file test_cod_dtc.cpp - * @brief Compilation test for CodificationManagement/cod_dtc.h - * - * This test verifies that the migrated header compiles correctly with Qt6/C++23. - */ - -#include "CodificationManagement/cod_dtc.h" - -#include - -TEST(cod_dtc_Compilation, HeaderCompiles) -{ - // This test verifies that the header compiles without errors - EXPECT_TRUE(true); -} diff --git a/qt6-after/qt6-migrated-benchmark/tests/test_codegen_export.cpp b/qt6-after/qt6-migrated-benchmark/tests/test_codegen_export.cpp deleted file mode 100644 index 61a036487..000000000 --- a/qt6-after/qt6-migrated-benchmark/tests/test_codegen_export.cpp +++ /dev/null @@ -1,18 +0,0 @@ -#include "Lts/Common/CodeGen/codegen_export.h" - -#include - -TEST(codegen_exportTest, HeaderCompiles) -{ - EXPECT_TRUE(true); -} - -TEST(codegen_exportTest, MacrosDefined) -{ - EXPECT_TRUE(true); -} - -TEST(codegen_exportTest, NamespaceExists) -{ - EXPECT_TRUE(true); -} diff --git a/qt6-after/qt6-migrated-benchmark/tests/test_core_dtc.cpp b/qt6-after/qt6-migrated-benchmark/tests/test_core_dtc.cpp deleted file mode 100644 index 630eb8ad5..000000000 --- a/qt6-after/qt6-migrated-benchmark/tests/test_core_dtc.cpp +++ /dev/null @@ -1,16 +0,0 @@ -/** - * @file test_core_dtc.cpp - * @brief Compilation test for Core/core_dtc.h - * - * This test verifies that the migrated header compiles correctly with Qt6/C++23. - */ - -#include "Core/core_dtc.h" - -#include - -TEST(core_dtc_Compilation, HeaderCompiles) -{ - // This test verifies that the header compiles without errors - EXPECT_TRUE(true); -} diff --git a/qt6-after/qt6-migrated-benchmark/tests/test_core_enums.cpp b/qt6-after/qt6-migrated-benchmark/tests/test_core_enums.cpp deleted file mode 100644 index 2a04d4ba4..000000000 --- a/qt6-after/qt6-migrated-benchmark/tests/test_core_enums.cpp +++ /dev/null @@ -1,16 +0,0 @@ -/** - * @file test_core_enums.cpp - * @brief Compilation test for Core/core_enums.hpp - * - * This test verifies that the migrated header compiles correctly with Qt6/C++23. - */ - -#include "Core/core_enums.hpp" - -#include - -TEST(core_enums_Compilation, HeaderCompiles) -{ - // This test verifies that the header compiles without errors - EXPECT_TRUE(true); -} diff --git a/qt6-after/qt6-migrated-benchmark/tests/test_eem_dtc.cpp b/qt6-after/qt6-migrated-benchmark/tests/test_eem_dtc.cpp deleted file mode 100644 index 4d0c891ad..000000000 --- a/qt6-after/qt6-migrated-benchmark/tests/test_eem_dtc.cpp +++ /dev/null @@ -1,16 +0,0 @@ -/** - * @file test_eem_dtc.cpp - * @brief Compilation test for ExerciseEventManagement/eem_dtc.h - * - * This test verifies that the migrated header compiles correctly with Qt6/C++23. - */ - -#include "ExerciseEventManagement/eem_dtc.h" - -#include - -TEST(eem_dtc_Compilation, HeaderCompiles) -{ - // This test verifies that the header compiles without errors - EXPECT_TRUE(true); -} diff --git a/qt6-after/qt6-migrated-benchmark/tests/test_eem_enums.cpp b/qt6-after/qt6-migrated-benchmark/tests/test_eem_enums.cpp deleted file mode 100644 index 7cece88c4..000000000 --- a/qt6-after/qt6-migrated-benchmark/tests/test_eem_enums.cpp +++ /dev/null @@ -1,16 +0,0 @@ -/** - * @file test_eem_enums.cpp - * @brief Compilation test for Services/ExerciseEventManagement/eem_enums.hpp - * - * This test verifies that the migrated header compiles correctly with Qt6/C++23. - */ - -#include "Services/ExerciseEventManagement/eem_enums.hpp" - -#include - -TEST(eem_enums_Compilation, HeaderCompiles) -{ - // This test verifies that the header compiles without errors - EXPECT_TRUE(true); -} diff --git a/qt6-after/qt6-migrated-benchmark/tests/test_elevation_unit_test.cpp b/qt6-after/qt6-migrated-benchmark/tests/test_elevation_unit_test.cpp deleted file mode 100644 index 2a43fc1f2..000000000 --- a/qt6-after/qt6-migrated-benchmark/tests/test_elevation_unit_test.cpp +++ /dev/null @@ -1,25 +0,0 @@ -#include - -// Stub test for elevation_unit_test.cpp migration validation - -namespace Lts -{ -namespace Common -{ -} // namespace Common -} // namespace Lts - -TEST(elevation_unit_testMigrationTest, CompilationStub) -{ - EXPECT_TRUE(true); -} - -TEST(elevation_unit_testMigrationTest, Qt6ApiCompatibility) -{ - EXPECT_TRUE(true); -} - -TEST(elevation_unit_testMigrationTest, BasicFunctionality) -{ - EXPECT_TRUE(true); -} diff --git a/qt6-after/qt6-migrated-benchmark/tests/test_esc_dtc.cpp b/qt6-after/qt6-migrated-benchmark/tests/test_esc_dtc.cpp deleted file mode 100644 index 3082dcc7a..000000000 --- a/qt6-after/qt6-migrated-benchmark/tests/test_esc_dtc.cpp +++ /dev/null @@ -1,16 +0,0 @@ -/** - * @file test_esc_dtc.cpp - * @brief Compilation test for EffectShowClient/esc_dtc.h - * - * This test verifies that the migrated header compiles correctly with Qt6/C++23. - */ - -#include "EffectShowClient/esc_dtc.h" - -#include - -TEST(esc_dtc_Compilation, HeaderCompiles) -{ - // This test verifies that the header compiles without errors - EXPECT_TRUE(true); -} diff --git a/qt6-after/qt6-migrated-benchmark/tests/test_esm_dtc.cpp b/qt6-after/qt6-migrated-benchmark/tests/test_esm_dtc.cpp deleted file mode 100644 index 7f59d4b20..000000000 --- a/qt6-after/qt6-migrated-benchmark/tests/test_esm_dtc.cpp +++ /dev/null @@ -1,16 +0,0 @@ -/** - * @file test_esm_dtc.cpp - * @brief Compilation test for EffectShowManagement/esm_dtc.h - * - * This test verifies that the migrated header compiles correctly with Qt6/C++23. - */ - -#include "EffectShowManagement/esm_dtc.h" - -#include - -TEST(esm_dtc_Compilation, HeaderCompiles) -{ - // This test verifies that the header compiles without errors - EXPECT_TRUE(true); -} diff --git a/qt6-after/qt6-migrated-benchmark/tests/test_event.cpp b/qt6-after/qt6-migrated-benchmark/tests/test_event.cpp deleted file mode 100644 index 146cdecda..000000000 --- a/qt6-after/qt6-migrated-benchmark/tests/test_event.cpp +++ /dev/null @@ -1,66 +0,0 @@ -#include "Lts/Common/LtsTimelineClassic/Event.h" - -#include -#include -#include - -namespace LtsTimelineClassic -{ - -class EventTest : public ::testing::Test -{ - protected: - void SetUp() override {} - - void TearDown() override {} -}; - -TEST(EventTest, ConstructorInitializesMembers) -{ - QStringList path = {"actuator", "subactuator"}; - QJsonObject detailData; - detailData["key"] = "value"; - QColor color(Qt::red); - - Event event(1, 2, 1000, 2000, 3, 4, 5, path, nullptr, color, detailData); - - EXPECT_EQ(event.uniqueId(), 1); - EXPECT_EQ(event.typeId(), 2); - EXPECT_EQ(event.startTime(), 1000); - EXPECT_EQ(event.endTime(), 2000); - EXPECT_EQ(event.playerId(), 3); - EXPECT_EQ(event.partyId(), 4); - EXPECT_EQ(event.equipmentId(), 5); - EXPECT_EQ(event.getActuator(), path); - EXPECT_EQ(event.getColor(), color); -} - -TEST(EventTest, DurationCalculation) -{ - Event event(1, 2, 1000, 3000, 0, 0, 0, QStringList(), nullptr, QColor()); - - qint64 duration = event.duration(true); - - EXPECT_EQ(duration, 2000); -} - -TEST(EventTest, VisibilityToggle) -{ - Event event; - - EXPECT_TRUE(event.isVisible()); - - event.hide(); - EXPECT_FALSE(event.isVisible()); - - event.show(); - EXPECT_TRUE(event.isVisible()); - - event.setVisible(false); - EXPECT_FALSE(event.isVisible()); - - event.setVisible(true); - EXPECT_TRUE(event.isVisible()); -} - -} // namespace LtsTimelineClassic \ No newline at end of file diff --git a/qt6-after/qt6-migrated-benchmark/tests/test_eventdelegate.cpp b/qt6-after/qt6-migrated-benchmark/tests/test_eventdelegate.cpp deleted file mode 100644 index 17d5e2128..000000000 --- a/qt6-after/qt6-migrated-benchmark/tests/test_eventdelegate.cpp +++ /dev/null @@ -1,52 +0,0 @@ -#include "Lts/Common/LtsTimelineClassic/EventDelegate.h" - -#include -#include - -namespace LtsTimelineClassic -{ - -class EventDelegateTest : public ::testing::Test -{ - protected: - void SetUp() override {} - - void TearDown() override {} -}; - -TEST(EventDelegateTest, ConstructorCreatesDelegate) -{ - QWidget widget; - EventDelegate delegate(&widget); - - EXPECT_NE(delegate.parent(), nullptr); -} - -TEST(EventDelegateTest, SizeHintReturnsValidSize) -{ - QWidget widget; - EventDelegate delegate(&widget); - QStyleOptionViewItem option; - QModelIndex index; - - QSize size = delegate.sizeHint(option, index); - - EXPECT_EQ(size.width(), 50); - EXPECT_EQ(size.height(), 20); -} - -TEST(EventDelegateTest, SetKnownRangesStoresRanges) -{ - QWidget widget; - EventDelegate delegate(&widget); - - QVector ranges; - ranges.append(Range(0, 100)); - ranges.append(Range(200, 300)); - - // setKnownRanges is a public method - we can call it - // The internal storage is private, so we just verify the call compiles and doesn't crash - EXPECT_NO_THROW(delegate.setKnownRanges(ranges)); -} - -} // namespace LtsTimelineClassic \ No newline at end of file diff --git a/qt6-after/qt6-migrated-benchmark/tests/test_eventgraphic.cpp b/qt6-after/qt6-migrated-benchmark/tests/test_eventgraphic.cpp deleted file mode 100644 index 0f6642878..000000000 --- a/qt6-after/qt6-migrated-benchmark/tests/test_eventgraphic.cpp +++ /dev/null @@ -1,59 +0,0 @@ -#include "Lts/Common/LtsTimelineClassic/Event.h" -#include "Lts/Common/LtsTimelineClassic/EventGraphic.h" - -#include -#include -#include - -namespace LtsTimelineClassic -{ - -class EventGraphicTest : public ::testing::Test -{ - protected: - void SetUp() override {} - - void TearDown() override {} -}; - -TEST(EventGraphicTest, ConstructorCreatesEventGraphic) -{ - Event event(0, 100, Qt::red); - EventGraphic graphic(&event); - - EXPECT_FALSE(graphic.isMultipleEvent()); - EXPECT_EQ(graphic.eventList().size(), 1); -} - -TEST(EventGraphicTest, AddEventMakesItMultiple) -{ - Event event1(0, 100, Qt::red); - Event event2(50, 100, Qt::blue); - EventGraphic graphic(&event1); - - EXPECT_FALSE(graphic.isMultipleEvent()); - - graphic.addEvent(&event2); - - EXPECT_TRUE(graphic.isMultipleEvent()); - EXPECT_EQ(graphic.eventList().size(), 2); -} - -TEST(EventGraphicTest, AddEventListMakesItMultiple) -{ - Event event1(0, 100, Qt::red); - Event event2(50, 100, Qt::blue); - Event event3(100, 100, Qt::green); - EventGraphic graphic(&event1); - - QVector additionalEvents; - additionalEvents.append(&event2); - additionalEvents.append(&event3); - - graphic.addEventList(additionalEvents); - - EXPECT_TRUE(graphic.isMultipleEvent()); - EXPECT_EQ(graphic.eventList().size(), 3); -} - -} // namespace LtsTimelineClassic \ No newline at end of file diff --git a/qt6-after/qt6-migrated-benchmark/tests/test_eventlist.cpp b/qt6-after/qt6-migrated-benchmark/tests/test_eventlist.cpp deleted file mode 100644 index 08a69df18..000000000 --- a/qt6-after/qt6-migrated-benchmark/tests/test_eventlist.cpp +++ /dev/null @@ -1,69 +0,0 @@ -#include "Lts/Common/LtsTimelineClassic/Event.h" -#include "Lts/Common/LtsTimelineClassic/EventGraphic.h" -#include "Lts/Common/LtsTimelineClassic/EventList.h" - -#include - -namespace LtsTimelineClassic -{ - -class EventListTest : public ::testing::Test -{ - protected: - void SetUp() override {} - - void TearDown() override {} -}; - -TEST(EventListTest, EventListTypedefWorks) -{ - Event event1(0, 100, Qt::red); - Event event2(50, 100, Qt::blue); - - EventList list; - list.append(&event1); - list.append(&event2); - - EXPECT_EQ(list.size(), 2); - EXPECT_EQ(list[0], &event1); - EXPECT_EQ(list[1], &event2); -} - -TEST(EventListTest, EventListIterationWorks) -{ - Event event1(0, 100, Qt::red); - Event event2(50, 100, Qt::blue); - Event event3(100, 100, Qt::green); - - EventList list; - list.append(&event1); - list.append(&event2); - list.append(&event3); - - int count = 0; - for (Event* event : list) - { - EXPECT_NE(event, nullptr); - count++; - } - EXPECT_EQ(count, 3); -} - -TEST(EventListTest, EventGraphicListTypedefWorks) -{ - Event event1(0, 100, Qt::red); - Event event2(50, 100, Qt::blue); - - EventGraphic graphic1(&event1); - EventGraphic graphic2(&event2); - - EventGraphicList graphicList; - graphicList.append(&graphic1); - graphicList.append(&graphic2); - - EXPECT_EQ(graphicList.size(), 2); - EXPECT_EQ(graphicList[0], &graphic1); - EXPECT_EQ(graphicList[1], &graphic2); -} - -} // namespace LtsTimelineClassic \ No newline at end of file diff --git a/qt6-after/qt6-migrated-benchmark/tests/test_eventtools.cpp b/qt6-after/qt6-migrated-benchmark/tests/test_eventtools.cpp deleted file mode 100644 index 16648994e..000000000 --- a/qt6-after/qt6-migrated-benchmark/tests/test_eventtools.cpp +++ /dev/null @@ -1,105 +0,0 @@ -#include "Lts/Common/LtsTimelineClassic/Event.h" -#include "Lts/Common/LtsTimelineClassic/EventGraphic.h" -#include "Lts/Common/LtsTimelineClassic/EventTools.h" - -#include -#include -#include - -namespace LtsTimelineClassic -{ - -class EventToolsTest : public ::testing::Test -{ - protected: - void SetUp() override {} - - void TearDown() override {} -}; - -TEST(EventToolsTest, FromMsecsToSecondsConvertsCorrectly) -{ - qint64 result = EventTools::fromMsecsToSeconds(5000); - EXPECT_EQ(result, 5); -} - -TEST(EventToolsTest, FromSecondsToMsecsConvertsCorrectly) -{ - qint64 result = EventTools::fromSecondsToMsecs(5); - EXPECT_EQ(result, 5000); -} - -TEST(EventToolsTest, SetValuesMakesValidWithPositiveRange) -{ - EventTools::setValues(10, 100, 0, 50); - EXPECT_TRUE(EventTools::isValid()); -} - -TEST(EventToolsTest, GetEventPositionReturnsCorrectPosition) -{ - EventTools::setValues(0, 1000, 0, 500); - EventTools::setSection(0, 1000); - - int pos = EventTools::getEventPosition(500); - EXPECT_GE(pos, 0); -} - -TEST(EventToolsTest, GetEventTimeReturnsCorrectTime) -{ - EventTools::setValues(0, 1000, 0, 500); - EventTools::setSection(0, 1000); - - qint64 time = EventTools::getEventTime(500); - EXPECT_GE(time, 0); -} - -TEST(EventToolsTest, DrawMarkLinesDoesNotCrash) -{ - EventTools::setValues(0, 1000, 0, 500); - EventTools::setSection(0, 1000); - - Event event1(0, 100, Qt::red); - Event event2(500, 100, Qt::blue); - - EventList eventList; - eventList.append(&event1); - eventList.append(&event2); - - QPixmap pixmap(800, 600); - QPainter painter(&pixmap); - - EXPECT_NO_THROW(EventTools::drawMarkLines(&painter, eventList, 600)); -} - -TEST(EventToolsTest, DrawEventsDoesNotCrash) -{ - EventTools::setValues(0, 1000, 0, 500); - EventTools::setSection(0, 1000); - - Event event1(0, 100, Qt::red); - EventGraphic graphic1(&event1); - - EventGraphicList graphicList; - graphicList.append(&graphic1); - - QPixmap pixmap(800, 600); - QPainter painter(&pixmap); - - EXPECT_NO_THROW(EventTools::drawEvents(&painter, graphicList, 0)); -} - -TEST(EventToolsTest, GetAdjustedMinReturnsZeroWhenInvalid) -{ - EventTools::setValues(0, 0, 0, 0); - qint64 min = EventTools::getAdjustedMin(); - EXPECT_EQ(min, 0); -} - -TEST(EventToolsTest, GetTimelineMinReturnsZeroWhenInvalid) -{ - EventTools::setValues(0, 0, 0, 0); - qint64 min = EventTools::getTimelineMin(); - EXPECT_EQ(min, 0); -} - -} // namespace LtsTimelineClassic \ No newline at end of file diff --git a/qt6-after/qt6-migrated-benchmark/tests/test_evl_dtc.cpp b/qt6-after/qt6-migrated-benchmark/tests/test_evl_dtc.cpp deleted file mode 100644 index a3b93949e..000000000 --- a/qt6-after/qt6-migrated-benchmark/tests/test_evl_dtc.cpp +++ /dev/null @@ -1,16 +0,0 @@ -/** - * @file test_evl_dtc.cpp - * @brief Compilation test for Evaluations/evl_dtc.h - * - * This test verifies that the migrated header compiles correctly with Qt6/C++23. - */ - -#include "Evaluations/evl_dtc.h" - -#include - -TEST(evl_dtc_Compilation, HeaderCompiles) -{ - // This test verifies that the header compiles without errors - EXPECT_TRUE(true); -} diff --git a/qt6-after/qt6-migrated-benchmark/tests/test_exm_dtc.cpp b/qt6-after/qt6-migrated-benchmark/tests/test_exm_dtc.cpp deleted file mode 100644 index ff9fe8c25..000000000 --- a/qt6-after/qt6-migrated-benchmark/tests/test_exm_dtc.cpp +++ /dev/null @@ -1,16 +0,0 @@ -/** - * @file test_exm_dtc.cpp - * @brief Compilation test for ExerciseManagement/exm_dtc.h - * - * This test verifies that the migrated header compiles correctly with Qt6/C++23. - */ - -#include "ExerciseManagement/exm_dtc.h" - -#include - -TEST(exm_dtc_Compilation, HeaderCompiles) -{ - // This test verifies that the header compiles without errors - EXPECT_TRUE(true); -} diff --git a/qt6-after/qt6-migrated-benchmark/tests/test_exm_enums.cpp b/qt6-after/qt6-migrated-benchmark/tests/test_exm_enums.cpp deleted file mode 100644 index 4ee3d15d8..000000000 --- a/qt6-after/qt6-migrated-benchmark/tests/test_exm_enums.cpp +++ /dev/null @@ -1,16 +0,0 @@ -/** - * @file test_exm_enums.cpp - * @brief Compilation test for ExerciseManagement/exm_enums.hpp - * - * This test verifies that the migrated header compiles correctly with Qt6/C++23. - */ - -#include "ExerciseManagement/exm_enums.hpp" - -#include - -TEST(exm_enums_Compilation, HeaderCompiles) -{ - // This test verifies that the header compiles without errors - EXPECT_TRUE(true); -} diff --git a/qt6-after/qt6-migrated-benchmark/tests/test_export_headers.cpp b/qt6-after/qt6-migrated-benchmark/tests/test_export_headers.cpp deleted file mode 100644 index ed814cd96..000000000 --- a/qt6-after/qt6-migrated-benchmark/tests/test_export_headers.cpp +++ /dev/null @@ -1,124 +0,0 @@ -/** - * @file test_export_headers.cpp - * @brief Tests für Export Header Guards - * - * Tests verify that export headers exist and can be included without errors. - * Note: Export macros are defined via CMake target_compile_definitions, - * so we test header existence and structure rather than macro expansion. - */ - -#include -#include -#include -#include - -// Helper to check if file exists and is readable -bool fileExists(const std::string& path) -{ - std::ifstream file(path); - return file.good(); -} - -// Helper to read file content -std::string readFile(const std::string& path) -{ - std::ifstream file(path); - if (!file.is_open()) - { - return ""; - } - return std::string((std::istreambuf_iterator(file)), std::istreambuf_iterator()); -} - -// Test 1: nglwidgets_export.h exists -TEST(ExportHeaders, NglWidgetsExportExists) -{ - std::string path = "build/Z/src/nglwidgets/nglwidgets_export.h"; - EXPECT_TRUE(fileExists(path)) << "Export header not found: " << path; -} - -// Test 2: qtsingleapplication_export.h exists -TEST(ExportHeaders, QtSingleApplicationExportExists) -{ - std::string path = "build/Z/src/QtSingleApplication/qtsingleapplication_export.h"; - EXPECT_TRUE(fileExists(path)) << "Export header not found: " << path; -} - -// Test 3: ltssessiondata_export.h exists -TEST(ExportHeaders, LtsSessionDataExportExists) -{ - std::string path = "build/Lts/Common/LtsSession/ltssessiondata_export.h"; - EXPECT_TRUE(fileExists(path)) << "Export header not found: " << path; -} - -// Test 4: svcgmpserver_export.h exists -TEST(ExportHeaders, SvcGmpServerExportExists) -{ - std::string path = "build/Lts/Services/GuezMinelayerProcessing/svcgmpserver_export.h"; - EXPECT_TRUE(fileExists(path)) << "Export header not found: " << path; -} - -// Test 5: Export headers have proper include guards -TEST(ExportHeaders, HaveIncludeGuards) -{ - std::vector headers = { - "build/Z/src/nglwidgets/nglwidgets_export.h", "build/Z/src/QtSingleApplication/qtsingleapplication_export.h", - "build/Lts/Common/LtsSession/ltssessiondata_export.h", "build/Lts/Proxies/ProjectDataManagement/pdm_export.h"}; - - for (const auto& header : headers) - { - std::string content = readFile(header); - if (!content.empty()) - { - // Check for #ifndef guard - bool hasIfndef = content.find("#ifndef") != std::string::npos; - bool hasDefine = content.find("#define") != std::string::npos; - bool hasEndif = content.find("#endif") != std::string::npos; - - EXPECT_TRUE(hasIfndef && hasDefine && hasEndif) << "Header " << header << " missing proper include guards"; - } - } -} - -// Test 6: Export macros follow naming convention -TEST(ExportHeaders, MacroNamingConvention) -{ - // Check that export headers follow CMake naming convention - std::string adlerPath = - "qt-migration-legatus/qt6-after/qt6-migrated-legatus/build/Lts/Plugins/AdlerJson/adler_export.h"; - std::string content = readFile(adlerPath); - - if (!content.empty()) - { - // Should have ADLER_EXPORT_H guard - bool hasCorrectGuard = content.find("#ifndef ADLER_EXPORT_H") != std::string::npos; - EXPECT_TRUE(hasCorrectGuard) << "adler_export.h should use ADLER_EXPORT_H guard"; - } -} - -// Test 7: Export headers define both EXPORT and NO_EXPORT macros -TEST(ExportHeaders, ExportAndNoExportMacros) -{ - std::vector> expectedMacros = { - {"qt-migration-legatus/qt6-after/qt6-migrated-legatus/build/Lts/Plugins/AdlerJson/adler_export.h", "ADLER"}, - {"qt-migration-legatus/qt6-after/qt6-migrated-legatus/build/Lts/Services/PresentationManagement/" - "svcprecommon_export.h", - "SVCPRECOMMON"}, - {"qt-migration-legatus/qt6-after/qt6-migrated-legatus/build/Lts/Common/LtsSession/ltssessiondata_export.h", - "LTSESSIONDATA"}, - {"qt-migration-legatus/qt6-after/qt6-migrated-legatus/build/Lts/Proxies/ProjectDataManagement/pdm_export.h", - "PDM"}}; - - for (const auto& [header, prefix] : expectedMacros) - { - std::string content = readFile(header); - if (!content.empty()) - { - bool hasExport = content.find(prefix + "_EXPORT") != std::string::npos; - bool hasNoExport = content.find(prefix + "_NO_EXPORT") != std::string::npos; - - EXPECT_TRUE(hasExport) << header << " should define " << prefix << "_EXPORT"; - EXPECT_TRUE(hasNoExport) << header << " should define " << prefix << "_NO_EXPORT"; - } - } -} \ No newline at end of file diff --git a/qt6-after/qt6-migrated-benchmark/tests/test_filter_background_widget.cpp b/qt6-after/qt6-migrated-benchmark/tests/test_filter_background_widget.cpp deleted file mode 100644 index 5d3a6ad7e..000000000 --- a/qt6-after/qt6-migrated-benchmark/tests/test_filter_background_widget.cpp +++ /dev/null @@ -1,16 +0,0 @@ -#include - -TEST(filter_background_widgetTest, CompilationStub) -{ - EXPECT_TRUE(true); -} - -TEST(filter_background_widgetTest, Qt6ApiCompatibility) -{ - EXPECT_TRUE(true); -} - -TEST(filter_background_widgetTest, BasicFunctionality) -{ - EXPECT_TRUE(true); -} diff --git a/qt6-after/qt6-migrated-benchmark/tests/test_filter_track_widget.cpp b/qt6-after/qt6-migrated-benchmark/tests/test_filter_track_widget.cpp deleted file mode 100644 index 0e0407e94..000000000 --- a/qt6-after/qt6-migrated-benchmark/tests/test_filter_track_widget.cpp +++ /dev/null @@ -1,16 +0,0 @@ -#include - -TEST(filter_track_widgetTest, CompilationStub) -{ - EXPECT_TRUE(true); -} - -TEST(filter_track_widgetTest, Qt6ApiCompatibility) -{ - EXPECT_TRUE(true); -} - -TEST(filter_track_widgetTest, BasicFunctionality) -{ - EXPECT_TRUE(true); -} diff --git a/qt6-after/qt6-migrated-benchmark/tests/test_flm_dtc.cpp b/qt6-after/qt6-migrated-benchmark/tests/test_flm_dtc.cpp deleted file mode 100644 index 1c3309d0e..000000000 --- a/qt6-after/qt6-migrated-benchmark/tests/test_flm_dtc.cpp +++ /dev/null @@ -1,16 +0,0 @@ -/** - * @file test_flm_dtc.cpp - * @brief Compilation test for FileManagement/flm_dtc.h - * - * This test verifies that the migrated header compiles correctly with Qt6/C++23. - */ - -#include "FileManagement/flm_dtc.h" - -#include - -TEST(flm_dtc_Compilation, HeaderCompiles) -{ - // This test verifies that the header compiles without errors - EXPECT_TRUE(true); -} diff --git a/qt6-after/qt6-migrated-benchmark/tests/test_flm_enums.cpp b/qt6-after/qt6-migrated-benchmark/tests/test_flm_enums.cpp deleted file mode 100644 index ac622a0f1..000000000 --- a/qt6-after/qt6-migrated-benchmark/tests/test_flm_enums.cpp +++ /dev/null @@ -1,16 +0,0 @@ -/** - * @file test_flm_enums.cpp - * @brief Compilation test for FileManagement/flm_enums.hpp - * - * This test verifies that the migrated header compiles correctly with Qt6/C++23. - */ - -#include "FileManagement/flm_enums.hpp" - -#include - -TEST(flm_enums_Compilation, HeaderCompiles) -{ - // This test verifies that the header compiles without errors - EXPECT_TRUE(true); -} diff --git a/qt6-after/qt6-migrated-benchmark/tests/test_generic_dtc.cpp b/qt6-after/qt6-migrated-benchmark/tests/test_generic_dtc.cpp deleted file mode 100644 index 4c62bfa0c..000000000 --- a/qt6-after/qt6-migrated-benchmark/tests/test_generic_dtc.cpp +++ /dev/null @@ -1,16 +0,0 @@ -/** - * @file test_generic_dtc.cpp - * @brief Compilation test for DDS/DTC/generic_dtc.h - * - * This test verifies that the migrated header compiles correctly with Qt6/C++23. - */ - -#include "DDS/DTC/generic_dtc.h" - -#include - -TEST(generic_dtc_Compilation, HeaderCompiles) -{ - // This test verifies that the header compiles without errors - EXPECT_TRUE(true); -} diff --git a/qt6-after/qt6-migrated-benchmark/tests/test_gim_dtc.cpp b/qt6-after/qt6-migrated-benchmark/tests/test_gim_dtc.cpp deleted file mode 100644 index 14ae80c13..000000000 --- a/qt6-after/qt6-migrated-benchmark/tests/test_gim_dtc.cpp +++ /dev/null @@ -1,16 +0,0 @@ -/** - * @file test_gim_dtc.cpp - * @brief Compilation test for GuezIedManagement/gim_dtc.h - * - * This test verifies that the migrated header compiles correctly with Qt6/C++23. - */ - -#include "GuezIedManagement/gim_dtc.h" - -#include - -TEST(gim_dtc_Compilation, HeaderCompiles) -{ - // This test verifies that the header compiles without errors - EXPECT_TRUE(true); -} diff --git a/qt6-after/qt6-migrated-benchmark/tests/test_gna_dtc.cpp b/qt6-after/qt6-migrated-benchmark/tests/test_gna_dtc.cpp deleted file mode 100644 index a40b8d143..000000000 --- a/qt6-after/qt6-migrated-benchmark/tests/test_gna_dtc.cpp +++ /dev/null @@ -1,16 +0,0 @@ -/** - * @file test_gna_dtc.cpp - * @brief Compilation test for GuezNasat/gna_dtc.h - * - * This test verifies that the migrated header compiles correctly with Qt6/C++23. - */ - -#include "GuezNasat/gna_dtc.h" - -#include - -TEST(gna_dtc_Compilation, HeaderCompiles) -{ - // This test verifies that the header compiles without errors - EXPECT_TRUE(true); -} diff --git a/qt6-after/qt6-migrated-benchmark/tests/test_indicator.cpp b/qt6-after/qt6-migrated-benchmark/tests/test_indicator.cpp deleted file mode 100644 index 102a9dacf..000000000 --- a/qt6-after/qt6-migrated-benchmark/tests/test_indicator.cpp +++ /dev/null @@ -1,16 +0,0 @@ -#include - -TEST(indicatorTest, CompilationStub) -{ - EXPECT_TRUE(true); -} - -TEST(indicatorTest, Qt6ApiCompatibility) -{ - EXPECT_TRUE(true); -} - -TEST(indicatorTest, BasicFunctionality) -{ - EXPECT_TRUE(true); -} diff --git a/qt6-after/qt6-migrated-benchmark/tests/test_ism_dtc.cpp b/qt6-after/qt6-migrated-benchmark/tests/test_ism_dtc.cpp deleted file mode 100644 index dc6973d5f..000000000 --- a/qt6-after/qt6-migrated-benchmark/tests/test_ism_dtc.cpp +++ /dev/null @@ -1,16 +0,0 @@ -/** - * @file test_ism_dtc.cpp - * @brief Compilation test for include/InfrastructureManagement/ism_dtc.h - * - * This test verifies that the migrated header compiles correctly with Qt6/C++23. - */ - -#include "include/InfrastructureManagement/ism_dtc.h" - -#include - -TEST(ism_dtc_Compilation, HeaderCompiles) -{ - // This test verifies that the header compiles without errors - EXPECT_TRUE(true); -} diff --git a/qt6-after/qt6-migrated-benchmark/tests/test_ism_enums.cpp b/qt6-after/qt6-migrated-benchmark/tests/test_ism_enums.cpp deleted file mode 100644 index 2dff72dab..000000000 --- a/qt6-after/qt6-migrated-benchmark/tests/test_ism_enums.cpp +++ /dev/null @@ -1,16 +0,0 @@ -/** - * @file test_ism_enums.cpp - * @brief Compilation test for InfrastructureManagement/ism_enums.hpp - * - * This test verifies that the migrated header compiles correctly with Qt6/C++23. - */ - -#include "InfrastructureManagement/ism_enums.hpp" - -#include - -TEST(ism_enums_Compilation, HeaderCompiles) -{ - // This test verifies that the header compiles without errors - EXPECT_TRUE(true); -} diff --git a/qt6-after/qt6-migrated-benchmark/tests/test_item.cpp b/qt6-after/qt6-migrated-benchmark/tests/test_item.cpp deleted file mode 100644 index d9e951dfc..000000000 --- a/qt6-after/qt6-migrated-benchmark/tests/test_item.cpp +++ /dev/null @@ -1,39 +0,0 @@ -#include "Lts/Common/LtsTimelineClassic/Item.h" - -#include -#include - -namespace LtsTimelineClassic -{ - -class ItemTest : public ::testing::Test -{ - protected: - void SetUp() override {} - - void TearDown() override {} -}; - -TEST(ItemTest, HeaderCompilesAndLinks) -{ - // Verify header compiles without errors - EXPECT_TRUE(true); -} - -TEST(ItemTest, CanInstantiateItem) -{ - // Basic instantiation test - QWidget parent; - Item item(&parent); - EXPECT_NO_THROW(item.update()); -} - -TEST(ItemTest, ItemHasValidState) -{ - QWidget parent; - Item item(&parent); - // Test basic properties - EXPECT_NO_THROW(item.setGeometry(0, 0, 100, 50)); -} - -} // namespace LtsTimelineClassic \ No newline at end of file diff --git a/qt6-after/qt6-migrated-benchmark/tests/test_json_keys.h.cpp b/qt6-after/qt6-migrated-benchmark/tests/test_json_keys.h.cpp deleted file mode 100644 index bcb7f87a2..000000000 --- a/qt6-after/qt6-migrated-benchmark/tests/test_json_keys.h.cpp +++ /dev/null @@ -1,16 +0,0 @@ -#include - -TEST(json_keys.hTest, CompilationStub) -{ - EXPECT_TRUE(true); -} - -TEST(json_keys.hTest, Qt6ApiCompatibility) -{ - EXPECT_TRUE(true); -} - -TEST(json_keys.hTest, BasicFunctionality) -{ - EXPECT_TRUE(true); -} diff --git a/qt6-after/qt6-migrated-benchmark/tests/test_linemap.cpp b/qt6-after/qt6-migrated-benchmark/tests/test_linemap.cpp deleted file mode 100644 index e252e1781..000000000 --- a/qt6-after/qt6-migrated-benchmark/tests/test_linemap.cpp +++ /dev/null @@ -1,39 +0,0 @@ -#include "Lts/Common/LtsTimelineClassic/LineMap.h" - -#include - -namespace LtsTimelineClassic -{ - -class LineMapTest : public ::testing::Test -{ - protected: - void SetUp() override {} - - void TearDown() override {} -}; - -TEST(LineMapTest, CreateEmptyLineMap) -{ - LineMap lineMap; - EXPECT_TRUE(lineMap.isEmpty()); -} - -TEST(LineMapTest, InsertAndRetrieveValue) -{ - LineMap lineMap; - lineMap.insert(1, 1000); - - EXPECT_EQ(lineMap.value(1), 1000); -} - -TEST(LineMapTest, ContainsKeyAfterInsert) -{ - LineMap lineMap; - lineMap.insert(5, 5000); - - EXPECT_TRUE(lineMap.contains(5)); - EXPECT_FALSE(lineMap.contains(3)); -} - -} // namespace LtsTimelineClassic \ No newline at end of file diff --git a/qt6-after/qt6-migrated-benchmark/tests/test_logger.cpp b/qt6-after/qt6-migrated-benchmark/tests/test_logger.cpp deleted file mode 100644 index ec2cbc59f..000000000 --- a/qt6-after/qt6-migrated-benchmark/tests/test_logger.cpp +++ /dev/null @@ -1,25 +0,0 @@ -#include - -// Stub test for logger.cpp migration validation - -namespace Lts -{ -namespace Common -{ -} // namespace Common -} // namespace Lts - -TEST(loggerMigrationTest, CompilationStub) -{ - EXPECT_TRUE(true); -} - -TEST(loggerMigrationTest, Qt6ApiCompatibility) -{ - EXPECT_TRUE(true); -} - -TEST(loggerMigrationTest, BasicFunctionality) -{ - EXPECT_TRUE(true); -} diff --git a/qt6-after/qt6-migrated-benchmark/tests/test_logout_info_dialog.cpp b/qt6-after/qt6-migrated-benchmark/tests/test_logout_info_dialog.cpp deleted file mode 100644 index 3b6f72061..000000000 --- a/qt6-after/qt6-migrated-benchmark/tests/test_logout_info_dialog.cpp +++ /dev/null @@ -1,25 +0,0 @@ -#include - -// Stub test for logout_info_dialog.cpp migration validation - -namespace Lts -{ -namespace Common -{ -} // namespace Common -} // namespace Lts - -TEST(logout_info_dialogMigrationTest, CompilationStub) -{ - EXPECT_TRUE(true); -} - -TEST(logout_info_dialogMigrationTest, Qt6ApiCompatibility) -{ - EXPECT_TRUE(true); -} - -TEST(logout_info_dialogMigrationTest, BasicFunctionality) -{ - EXPECT_TRUE(true); -} diff --git a/qt6-after/qt6-migrated-benchmark/tests/test_lonlat2mgrs.cpp b/qt6-after/qt6-migrated-benchmark/tests/test_lonlat2mgrs.cpp deleted file mode 100644 index 1b1edae05..000000000 --- a/qt6-after/qt6-migrated-benchmark/tests/test_lonlat2mgrs.cpp +++ /dev/null @@ -1,25 +0,0 @@ -#include - -// Stub test for lonlat2mgrs.cpp migration validation - -namespace Lts -{ -namespace Common -{ -} // namespace Common -} // namespace Lts - -TEST(lonlat2mgrsMigrationTest, CompilationStub) -{ - EXPECT_TRUE(true); -} - -TEST(lonlat2mgrsMigrationTest, Qt6ApiCompatibility) -{ - EXPECT_TRUE(true); -} - -TEST(lonlat2mgrsMigrationTest, BasicFunctionality) -{ - EXPECT_TRUE(true); -} diff --git a/qt6-after/qt6-migrated-benchmark/tests/test_lts_app_descriptor.cpp b/qt6-after/qt6-migrated-benchmark/tests/test_lts_app_descriptor.cpp deleted file mode 100644 index 77b4c50e8..000000000 --- a/qt6-after/qt6-migrated-benchmark/tests/test_lts_app_descriptor.cpp +++ /dev/null @@ -1,56 +0,0 @@ -#include "lts_app_descriptor.h" - -#include -#include -#include -#include -#include - -namespace LtsAppDescriptor -{ - -class TestLtsAppDescriptor : public QObject -{ - Q_OBJECT - - private slots: - void testPluginInfoCreation(); - void testPluginInfoFlagOperations(); - void testAppDescriptionDefaultConstruction(); -}; - -void TestLtsAppDescriptor::testPluginInfoCreation() -{ - PluginInfo pluginInfo; - pluginInfo.iid = "test.plugin.iid"; - pluginInfo.type = PluginInfo::PluginType::GUI; - pluginInfo.flags = PluginInfo::Flag::None; - - QCOMPARE(pluginInfo.iid, QString("test.plugin.iid")); - QCOMPARE(pluginInfo.type, PluginInfo::PluginType::GUI); -} - -void TestLtsAppDescriptor::testPluginInfoFlagOperations() -{ - PluginInfo pluginInfo; - pluginInfo.flags = PluginInfo::Flag::None; - - addOptionToPlugin(pluginInfo, PluginInfo::Flag::Mandatory); - QVERIFY(pluginInfo.flags & PluginInfo::Flag::Mandatory); - - addOptionToPlugin(pluginInfo, PluginInfo::Flag::Autostart); - QVERIFY(pluginInfo.flags & PluginInfo::Flag::Mandatory); - QVERIFY(pluginInfo.flags & PluginInfo::Flag::Autostart); -} - -void TestLtsAppDescriptor::testAppDescriptionDefaultConstruction() -{ - AppDescription appDesc; - QVERIFY(appDesc.plugins.isEmpty()); - QVERIFY(appDesc.lastErrors.isEmpty()); -} - -} // namespace LtsAppDescriptor - -QTEST_MAIN(LtsAppDescriptor::TestLtsAppDescriptor) -#include "test_lts_app_descriptor.moc" \ No newline at end of file diff --git a/qt6-after/qt6-migrated-benchmark/tests/test_lts_app_descriptor_editor.cpp b/qt6-after/qt6-migrated-benchmark/tests/test_lts_app_descriptor_editor.cpp deleted file mode 100644 index eacf1afe4..000000000 --- a/qt6-after/qt6-migrated-benchmark/tests/test_lts_app_descriptor_editor.cpp +++ /dev/null @@ -1,38 +0,0 @@ -#include "lts_app_descriptor_editor.h" - -#include -#include - -class TestLtsAppDescriptorEditor : public QObject -{ - Q_OBJECT - - private slots: - void testEditorConstruction(); - void testEditorDestruction(); - void testEditorInitialState(); -}; - -void TestLtsAppDescriptorEditor::testEditorConstruction() -{ - // Create editor widget - requires QApplication for QWidget - LtsAppDescriptorEditor editor; - QVERIFY(!editor.windowTitle().isEmpty() || editor.windowTitle().isEmpty()); // Basic sanity check -} - -void TestLtsAppDescriptorEditor::testEditorDestruction() -{ - // Test that destructor doesn't crash - auto* editor = new LtsAppDescriptorEditor(); - delete editor; -} - -void TestLtsAppDescriptorEditor::testEditorInitialState() -{ - LtsAppDescriptorEditor editor; - // Editor should start in a clean state - QVERIFY(true); // Placeholder for actual state checks -} - -QTEST_MAIN(TestLtsAppDescriptorEditor) -#include "test_lts_app_descriptor_editor.moc" \ No newline at end of file diff --git a/qt6-after/qt6-migrated-benchmark/tests/test_lts_app_manager.cpp b/qt6-after/qt6-migrated-benchmark/tests/test_lts_app_manager.cpp deleted file mode 100644 index 1e3ff379f..000000000 --- a/qt6-after/qt6-migrated-benchmark/tests/test_lts_app_manager.cpp +++ /dev/null @@ -1,36 +0,0 @@ -#include - -// Stub test for lts_app_manager.cpp migration validation -// Actual implementation tests should be added based on lts_app_manager.cpp functionality - -namespace Lts -{ -namespace Common -{ - -// Forward declarations to verify compilation -class LtsAppManager; - -} // namespace Common -} // namespace Lts - -TEST(LtsAppManagerMigrationTest, CompilationStub) -{ - // Verify that lts_app_manager.cpp compiles and links correctly after Qt6 migration - // TODO: Add actual tests for LtsAppManager functionality - EXPECT_TRUE(true); -} - -TEST(LtsAppManagerMigrationTest, Qt6ApiCompatibility) -{ - // Verify Qt6 API compatibility - // TODO: Add tests for any Qt6-specific API changes in lts_app_manager.cpp - EXPECT_TRUE(true); -} - -TEST(LtsAppManagerMigrationTest, BasicFunctionality) -{ - // Basic functionality test placeholder - // TODO: Implement actual functionality tests - EXPECT_TRUE(true); -} diff --git a/qt6-after/qt6-migrated-benchmark/tests/test_lts_comport_querry.h.cpp b/qt6-after/qt6-migrated-benchmark/tests/test_lts_comport_querry.h.cpp deleted file mode 100644 index 947555f16..000000000 --- a/qt6-after/qt6-migrated-benchmark/tests/test_lts_comport_querry.h.cpp +++ /dev/null @@ -1,16 +0,0 @@ -#include - -TEST(lts_comport_querry.hTest, CompilationStub) -{ - EXPECT_TRUE(true); -} - -TEST(lts_comport_querry.hTest, Qt6ApiCompatibility) -{ - EXPECT_TRUE(true); -} - -TEST(lts_comport_querry.hTest, BasicFunctionality) -{ - EXPECT_TRUE(true); -} diff --git a/qt6-after/qt6-migrated-benchmark/tests/test_lts_coord_trans.cpp b/qt6-after/qt6-migrated-benchmark/tests/test_lts_coord_trans.cpp deleted file mode 100644 index a4ac2ec05..000000000 --- a/qt6-after/qt6-migrated-benchmark/tests/test_lts_coord_trans.cpp +++ /dev/null @@ -1,25 +0,0 @@ -#include - -// Stub test for lts_coord_trans.cpp migration validation - -namespace Lts -{ -namespace Common -{ -} // namespace Common -} // namespace Lts - -TEST(lts_coord_transMigrationTest, CompilationStub) -{ - EXPECT_TRUE(true); -} - -TEST(lts_coord_transMigrationTest, Qt6ApiCompatibility) -{ - EXPECT_TRUE(true); -} - -TEST(lts_coord_transMigrationTest, BasicFunctionality) -{ - EXPECT_TRUE(true); -} diff --git a/qt6-after/qt6-migrated-benchmark/tests/test_lts_coord_trans_unit_test.cpp b/qt6-after/qt6-migrated-benchmark/tests/test_lts_coord_trans_unit_test.cpp deleted file mode 100644 index 41fdbf16c..000000000 --- a/qt6-after/qt6-migrated-benchmark/tests/test_lts_coord_trans_unit_test.cpp +++ /dev/null @@ -1,25 +0,0 @@ -#include - -// Stub test for lts_coord_trans_unit_test.cpp migration validation - -namespace Lts -{ -namespace Common -{ -} // namespace Common -} // namespace Lts - -TEST(lts_coord_trans_unit_testMigrationTest, CompilationStub) -{ - EXPECT_TRUE(true); -} - -TEST(lts_coord_trans_unit_testMigrationTest, Qt6ApiCompatibility) -{ - EXPECT_TRUE(true); -} - -TEST(lts_coord_trans_unit_testMigrationTest, BasicFunctionality) -{ - EXPECT_TRUE(true); -} diff --git a/qt6-after/qt6-migrated-benchmark/tests/test_lts_coord_vector.cpp b/qt6-after/qt6-migrated-benchmark/tests/test_lts_coord_vector.cpp deleted file mode 100644 index e3cb85786..000000000 --- a/qt6-after/qt6-migrated-benchmark/tests/test_lts_coord_vector.cpp +++ /dev/null @@ -1,25 +0,0 @@ -#include - -// Stub test for lts_coord_vector.cpp migration validation - -namespace Lts -{ -namespace Common -{ -} // namespace Common -} // namespace Lts - -TEST(lts_coord_vectorMigrationTest, CompilationStub) -{ - EXPECT_TRUE(true); -} - -TEST(lts_coord_vectorMigrationTest, Qt6ApiCompatibility) -{ - EXPECT_TRUE(true); -} - -TEST(lts_coord_vectorMigrationTest, BasicFunctionality) -{ - EXPECT_TRUE(true); -} diff --git a/qt6-after/qt6-migrated-benchmark/tests/test_lts_coord_widget.cpp b/qt6-after/qt6-migrated-benchmark/tests/test_lts_coord_widget.cpp deleted file mode 100644 index d2043de8e..000000000 --- a/qt6-after/qt6-migrated-benchmark/tests/test_lts_coord_widget.cpp +++ /dev/null @@ -1,25 +0,0 @@ -#include - -// Stub test for lts_coord_widget.cpp migration validation - -namespace Lts -{ -namespace Common -{ -} // namespace Common -} // namespace Lts - -TEST(lts_coord_widgetMigrationTest, CompilationStub) -{ - EXPECT_TRUE(true); -} - -TEST(lts_coord_widgetMigrationTest, Qt6ApiCompatibility) -{ - EXPECT_TRUE(true); -} - -TEST(lts_coord_widgetMigrationTest, BasicFunctionality) -{ - EXPECT_TRUE(true); -} diff --git a/qt6-after/qt6-migrated-benchmark/tests/test_lts_coord_widget_test.cpp b/qt6-after/qt6-migrated-benchmark/tests/test_lts_coord_widget_test.cpp deleted file mode 100644 index 240e7507c..000000000 --- a/qt6-after/qt6-migrated-benchmark/tests/test_lts_coord_widget_test.cpp +++ /dev/null @@ -1,25 +0,0 @@ -#include - -// Stub test for lts_coord_widget_test.cpp migration validation - -namespace Lts -{ -namespace Common -{ -} // namespace Common -} // namespace Lts - -TEST(lts_coord_widget_testMigrationTest, CompilationStub) -{ - EXPECT_TRUE(true); -} - -TEST(lts_coord_widget_testMigrationTest, Qt6ApiCompatibility) -{ - EXPECT_TRUE(true); -} - -TEST(lts_coord_widget_testMigrationTest, BasicFunctionality) -{ - EXPECT_TRUE(true); -} diff --git a/qt6-after/qt6-migrated-benchmark/tests/test_lts_coordinate_unit_test.cpp b/qt6-after/qt6-migrated-benchmark/tests/test_lts_coordinate_unit_test.cpp deleted file mode 100644 index 05c73346c..000000000 --- a/qt6-after/qt6-migrated-benchmark/tests/test_lts_coordinate_unit_test.cpp +++ /dev/null @@ -1,25 +0,0 @@ -#include - -// Stub test for lts_coordinate_unit_test.cpp migration validation - -namespace Lts -{ -namespace Common -{ -} // namespace Common -} // namespace Lts - -TEST(lts_coordinate_unit_testMigrationTest, CompilationStub) -{ - EXPECT_TRUE(true); -} - -TEST(lts_coordinate_unit_testMigrationTest, Qt6ApiCompatibility) -{ - EXPECT_TRUE(true); -} - -TEST(lts_coordinate_unit_testMigrationTest, BasicFunctionality) -{ - EXPECT_TRUE(true); -} diff --git a/qt6-after/qt6-migrated-benchmark/tests/test_lts_dummy_widget.cpp b/qt6-after/qt6-migrated-benchmark/tests/test_lts_dummy_widget.cpp deleted file mode 100644 index 5118b810c..000000000 --- a/qt6-after/qt6-migrated-benchmark/tests/test_lts_dummy_widget.cpp +++ /dev/null @@ -1,25 +0,0 @@ -#include - -// Stub test for lts_dummy_widget.cpp migration validation - -namespace Lts -{ -namespace Common -{ -} // namespace Common -} // namespace Lts - -TEST(lts_dummy_widgetMigrationTest, CompilationStub) -{ - EXPECT_TRUE(true); -} - -TEST(lts_dummy_widgetMigrationTest, Qt6ApiCompatibility) -{ - EXPECT_TRUE(true); -} - -TEST(lts_dummy_widgetMigrationTest, BasicFunctionality) -{ - EXPECT_TRUE(true); -} diff --git a/qt6-after/qt6-migrated-benchmark/tests/test_lts_elevation_manager.cpp b/qt6-after/qt6-migrated-benchmark/tests/test_lts_elevation_manager.cpp deleted file mode 100644 index d305646f6..000000000 --- a/qt6-after/qt6-migrated-benchmark/tests/test_lts_elevation_manager.cpp +++ /dev/null @@ -1,25 +0,0 @@ -#include - -// Stub test for lts_elevation_manager.cpp migration validation - -namespace Lts -{ -namespace Common -{ -} // namespace Common -} // namespace Lts - -TEST(lts_elevation_managerMigrationTest, CompilationStub) -{ - EXPECT_TRUE(true); -} - -TEST(lts_elevation_managerMigrationTest, Qt6ApiCompatibility) -{ - EXPECT_TRUE(true); -} - -TEST(lts_elevation_managerMigrationTest, BasicFunctionality) -{ - EXPECT_TRUE(true); -} diff --git a/qt6-after/qt6-migrated-benchmark/tests/test_lts_licence.cpp b/qt6-after/qt6-migrated-benchmark/tests/test_lts_licence.cpp deleted file mode 100644 index 8a429007f..000000000 --- a/qt6-after/qt6-migrated-benchmark/tests/test_lts_licence.cpp +++ /dev/null @@ -1,25 +0,0 @@ -#include - -// Stub test for lts_licence.cpp migration validation - -namespace Lts -{ -namespace Common -{ -} // namespace Common -} // namespace Lts - -TEST(lts_licenceMigrationTest, CompilationStub) -{ - EXPECT_TRUE(true); -} - -TEST(lts_licenceMigrationTest, Qt6ApiCompatibility) -{ - EXPECT_TRUE(true); -} - -TEST(lts_licenceMigrationTest, BasicFunctionality) -{ - EXPECT_TRUE(true); -} diff --git a/qt6-after/qt6-migrated-benchmark/tests/test_lts_login.cpp b/qt6-after/qt6-migrated-benchmark/tests/test_lts_login.cpp deleted file mode 100644 index 14b8c0676..000000000 --- a/qt6-after/qt6-migrated-benchmark/tests/test_lts_login.cpp +++ /dev/null @@ -1,25 +0,0 @@ -#include - -// Stub test for lts_login.cpp migration validation - -namespace Lts -{ -namespace Common -{ -} // namespace Common -} // namespace Lts - -TEST(lts_loginMigrationTest, CompilationStub) -{ - EXPECT_TRUE(true); -} - -TEST(lts_loginMigrationTest, Qt6ApiCompatibility) -{ - EXPECT_TRUE(true); -} - -TEST(lts_loginMigrationTest, BasicFunctionality) -{ - EXPECT_TRUE(true); -} diff --git a/qt6-after/qt6-migrated-benchmark/tests/test_lts_magic_corner.cpp b/qt6-after/qt6-migrated-benchmark/tests/test_lts_magic_corner.cpp deleted file mode 100644 index 4f3a64774..000000000 --- a/qt6-after/qt6-migrated-benchmark/tests/test_lts_magic_corner.cpp +++ /dev/null @@ -1,25 +0,0 @@ -#include - -// Stub test for lts_magic_corner.cpp migration validation - -namespace Lts -{ -namespace Common -{ -} // namespace Common -} // namespace Lts - -TEST(lts_magic_cornerMigrationTest, CompilationStub) -{ - EXPECT_TRUE(true); -} - -TEST(lts_magic_cornerMigrationTest, Qt6ApiCompatibility) -{ - EXPECT_TRUE(true); -} - -TEST(lts_magic_cornerMigrationTest, BasicFunctionality) -{ - EXPECT_TRUE(true); -} diff --git a/qt6-after/qt6-migrated-benchmark/tests/test_lts_multi_monitor.cpp b/qt6-after/qt6-migrated-benchmark/tests/test_lts_multi_monitor.cpp deleted file mode 100644 index 4acc663c3..000000000 --- a/qt6-after/qt6-migrated-benchmark/tests/test_lts_multi_monitor.cpp +++ /dev/null @@ -1,25 +0,0 @@ -#include - -// Stub test for lts_multi_monitor.cpp migration validation - -namespace Lts -{ -namespace Common -{ -} // namespace Common -} // namespace Lts - -TEST(lts_multi_monitorMigrationTest, CompilationStub) -{ - EXPECT_TRUE(true); -} - -TEST(lts_multi_monitorMigrationTest, Qt6ApiCompatibility) -{ - EXPECT_TRUE(true); -} - -TEST(lts_multi_monitorMigrationTest, BasicFunctionality) -{ - EXPECT_TRUE(true); -} diff --git a/qt6-after/qt6-migrated-benchmark/tests/test_lts_multi_monitor_export.h.cpp b/qt6-after/qt6-migrated-benchmark/tests/test_lts_multi_monitor_export.h.cpp deleted file mode 100644 index a8feab5ac..000000000 --- a/qt6-after/qt6-migrated-benchmark/tests/test_lts_multi_monitor_export.h.cpp +++ /dev/null @@ -1,25 +0,0 @@ -#include - -// Stub test for lts_multi_monitor_export.h.cpp migration validation - -namespace Lts -{ -namespace Common -{ -} // namespace Common -} // namespace Lts - -TEST(lts_multi_monitor_export.hMigrationTest, CompilationStub) -{ - EXPECT_TRUE(true); -} - -TEST(lts_multi_monitor_export.hMigrationTest, Qt6ApiCompatibility) -{ - EXPECT_TRUE(true); -} - -TEST(lts_multi_monitor_export.hMigrationTest, BasicFunctionality) -{ - EXPECT_TRUE(true); -} diff --git a/qt6-after/qt6-migrated-benchmark/tests/test_lts_multi_monitor_selector_base.cpp b/qt6-after/qt6-migrated-benchmark/tests/test_lts_multi_monitor_selector_base.cpp deleted file mode 100644 index 8912937e3..000000000 --- a/qt6-after/qt6-migrated-benchmark/tests/test_lts_multi_monitor_selector_base.cpp +++ /dev/null @@ -1,16 +0,0 @@ -#include - -TEST(lts_multi_monitor_selector_baseTest, CompilationStub) -{ - EXPECT_TRUE(true); -} - -TEST(lts_multi_monitor_selector_baseTest, Qt6ApiCompatibility) -{ - EXPECT_TRUE(true); -} - -TEST(lts_multi_monitor_selector_baseTest, BasicFunctionality) -{ - EXPECT_TRUE(true); -} diff --git a/qt6-after/qt6-migrated-benchmark/tests/test_lts_multi_monitor_selector_normal.cpp b/qt6-after/qt6-migrated-benchmark/tests/test_lts_multi_monitor_selector_normal.cpp deleted file mode 100644 index 16d5871ad..000000000 --- a/qt6-after/qt6-migrated-benchmark/tests/test_lts_multi_monitor_selector_normal.cpp +++ /dev/null @@ -1,16 +0,0 @@ -#include - -TEST(lts_multi_monitor_selector_normalTest, CompilationStub) -{ - EXPECT_TRUE(true); -} - -TEST(lts_multi_monitor_selector_normalTest, Qt6ApiCompatibility) -{ - EXPECT_TRUE(true); -} - -TEST(lts_multi_monitor_selector_normalTest, BasicFunctionality) -{ - EXPECT_TRUE(true); -} diff --git a/qt6-after/qt6-migrated-benchmark/tests/test_lts_multi_monitor_selector_wide.cpp b/qt6-after/qt6-migrated-benchmark/tests/test_lts_multi_monitor_selector_wide.cpp deleted file mode 100644 index 49de891c5..000000000 --- a/qt6-after/qt6-migrated-benchmark/tests/test_lts_multi_monitor_selector_wide.cpp +++ /dev/null @@ -1,16 +0,0 @@ -#include - -TEST(lts_multi_monitor_selector_wideTest, CompilationStub) -{ - EXPECT_TRUE(true); -} - -TEST(lts_multi_monitor_selector_wideTest, Qt6ApiCompatibility) -{ - EXPECT_TRUE(true); -} - -TEST(lts_multi_monitor_selector_wideTest, BasicFunctionality) -{ - EXPECT_TRUE(true); -} diff --git a/qt6-after/qt6-migrated-benchmark/tests/test_lts_notification.cpp b/qt6-after/qt6-migrated-benchmark/tests/test_lts_notification.cpp deleted file mode 100644 index 98ee7d752..000000000 --- a/qt6-after/qt6-migrated-benchmark/tests/test_lts_notification.cpp +++ /dev/null @@ -1,16 +0,0 @@ -#include - -TEST(lts_notificationTest, CompilationStub) -{ - EXPECT_TRUE(true); -} - -TEST(lts_notificationTest, Qt6ApiCompatibility) -{ - EXPECT_TRUE(true); -} - -TEST(lts_notificationTest, BasicFunctionality) -{ - EXPECT_TRUE(true); -} diff --git a/qt6-after/qt6-migrated-benchmark/tests/test_lts_notification_ctl.cpp b/qt6-after/qt6-migrated-benchmark/tests/test_lts_notification_ctl.cpp deleted file mode 100644 index 5abe29c18..000000000 --- a/qt6-after/qt6-migrated-benchmark/tests/test_lts_notification_ctl.cpp +++ /dev/null @@ -1,16 +0,0 @@ -#include - -TEST(lts_notification_ctlTest, CompilationStub) -{ - EXPECT_TRUE(true); -} - -TEST(lts_notification_ctlTest, Qt6ApiCompatibility) -{ - EXPECT_TRUE(true); -} - -TEST(lts_notification_ctlTest, BasicFunctionality) -{ - EXPECT_TRUE(true); -} diff --git a/qt6-after/qt6-migrated-benchmark/tests/test_lts_notification_export.h.cpp b/qt6-after/qt6-migrated-benchmark/tests/test_lts_notification_export.h.cpp deleted file mode 100644 index c6d819e71..000000000 --- a/qt6-after/qt6-migrated-benchmark/tests/test_lts_notification_export.h.cpp +++ /dev/null @@ -1,16 +0,0 @@ -#include - -TEST(lts_notification_export.hTest, CompilationStub) -{ - EXPECT_TRUE(true); -} - -TEST(lts_notification_export.hTest, Qt6ApiCompatibility) -{ - EXPECT_TRUE(true); -} - -TEST(lts_notification_export.hTest, BasicFunctionality) -{ - EXPECT_TRUE(true); -} diff --git a/qt6-after/qt6-migrated-benchmark/tests/test_lts_plugin_loader.cpp b/qt6-after/qt6-migrated-benchmark/tests/test_lts_plugin_loader.cpp deleted file mode 100644 index 8d950c809..000000000 --- a/qt6-after/qt6-migrated-benchmark/tests/test_lts_plugin_loader.cpp +++ /dev/null @@ -1,16 +0,0 @@ -#include - -TEST(lts_plugin_loaderTest, CompilationStub) -{ - EXPECT_TRUE(true); -} - -TEST(lts_plugin_loaderTest, Qt6ApiCompatibility) -{ - EXPECT_TRUE(true); -} - -TEST(lts_plugin_loaderTest, BasicFunctionality) -{ - EXPECT_TRUE(true); -} diff --git a/qt6-after/qt6-migrated-benchmark/tests/test_lts_plugin_manager_dialog.cpp b/qt6-after/qt6-migrated-benchmark/tests/test_lts_plugin_manager_dialog.cpp deleted file mode 100644 index d04e7860a..000000000 --- a/qt6-after/qt6-migrated-benchmark/tests/test_lts_plugin_manager_dialog.cpp +++ /dev/null @@ -1,16 +0,0 @@ -#include - -TEST(lts_plugin_manager_dialogTest, CompilationStub) -{ - EXPECT_TRUE(true); -} - -TEST(lts_plugin_manager_dialogTest, Qt6ApiCompatibility) -{ - EXPECT_TRUE(true); -} - -TEST(lts_plugin_manager_dialogTest, BasicFunctionality) -{ - EXPECT_TRUE(true); -} diff --git a/qt6-after/qt6-migrated-benchmark/tests/test_lts_plugin_manager_export.h.cpp b/qt6-after/qt6-migrated-benchmark/tests/test_lts_plugin_manager_export.h.cpp deleted file mode 100644 index 2dcf9c3d4..000000000 --- a/qt6-after/qt6-migrated-benchmark/tests/test_lts_plugin_manager_export.h.cpp +++ /dev/null @@ -1,16 +0,0 @@ -#include - -TEST(lts_plugin_manager_export.hTest, CompilationStub) -{ - EXPECT_TRUE(true); -} - -TEST(lts_plugin_manager_export.hTest, Qt6ApiCompatibility) -{ - EXPECT_TRUE(true); -} - -TEST(lts_plugin_manager_export.hTest, BasicFunctionality) -{ - EXPECT_TRUE(true); -} diff --git a/qt6-after/qt6-migrated-benchmark/tests/test_lts_plugin_manager_widget.cpp b/qt6-after/qt6-migrated-benchmark/tests/test_lts_plugin_manager_widget.cpp deleted file mode 100644 index 240a798da..000000000 --- a/qt6-after/qt6-migrated-benchmark/tests/test_lts_plugin_manager_widget.cpp +++ /dev/null @@ -1,16 +0,0 @@ -#include - -TEST(lts_plugin_manager_widgetTest, CompilationStub) -{ - EXPECT_TRUE(true); -} - -TEST(lts_plugin_manager_widgetTest, Qt6ApiCompatibility) -{ - EXPECT_TRUE(true); -} - -TEST(lts_plugin_manager_widgetTest, BasicFunctionality) -{ - EXPECT_TRUE(true); -} diff --git a/qt6-after/qt6-migrated-benchmark/tests/test_lts_projection_workstation.cpp b/qt6-after/qt6-migrated-benchmark/tests/test_lts_projection_workstation.cpp deleted file mode 100644 index 9c72092fb..000000000 --- a/qt6-after/qt6-migrated-benchmark/tests/test_lts_projection_workstation.cpp +++ /dev/null @@ -1,16 +0,0 @@ -#include - -TEST(lts_projection_workstationTest, CompilationStub) -{ - EXPECT_TRUE(true); -} - -TEST(lts_projection_workstationTest, Qt6ApiCompatibility) -{ - EXPECT_TRUE(true); -} - -TEST(lts_projection_workstationTest, BasicFunctionality) -{ - EXPECT_TRUE(true); -} diff --git a/qt6-after/qt6-migrated-benchmark/tests/test_lts_projection_workstation_export.h.cpp b/qt6-after/qt6-migrated-benchmark/tests/test_lts_projection_workstation_export.h.cpp deleted file mode 100644 index 8e239f0a9..000000000 --- a/qt6-after/qt6-migrated-benchmark/tests/test_lts_projection_workstation_export.h.cpp +++ /dev/null @@ -1,16 +0,0 @@ -#include - -TEST(lts_projection_workstation_export.hTest, CompilationStub) -{ - EXPECT_TRUE(true); -} - -TEST(lts_projection_workstation_export.hTest, Qt6ApiCompatibility) -{ - EXPECT_TRUE(true); -} - -TEST(lts_projection_workstation_export.hTest, BasicFunctionality) -{ - EXPECT_TRUE(true); -} diff --git a/qt6-after/qt6-migrated-benchmark/tests/test_lts_screen_base.cpp b/qt6-after/qt6-migrated-benchmark/tests/test_lts_screen_base.cpp deleted file mode 100644 index 52a9cdf18..000000000 --- a/qt6-after/qt6-migrated-benchmark/tests/test_lts_screen_base.cpp +++ /dev/null @@ -1,16 +0,0 @@ -#include - -TEST(lts_screen_baseTest, CompilationStub) -{ - EXPECT_TRUE(true); -} - -TEST(lts_screen_baseTest, Qt6ApiCompatibility) -{ - EXPECT_TRUE(true); -} - -TEST(lts_screen_baseTest, BasicFunctionality) -{ - EXPECT_TRUE(true); -} diff --git a/qt6-after/qt6-migrated-benchmark/tests/test_lts_screen_container.cpp b/qt6-after/qt6-migrated-benchmark/tests/test_lts_screen_container.cpp deleted file mode 100644 index 81e9f9e9c..000000000 --- a/qt6-after/qt6-migrated-benchmark/tests/test_lts_screen_container.cpp +++ /dev/null @@ -1,16 +0,0 @@ -#include - -TEST(lts_screen_containerTest, CompilationStub) -{ - EXPECT_TRUE(true); -} - -TEST(lts_screen_containerTest, Qt6ApiCompatibility) -{ - EXPECT_TRUE(true); -} - -TEST(lts_screen_containerTest, BasicFunctionality) -{ - EXPECT_TRUE(true); -} diff --git a/qt6-after/qt6-migrated-benchmark/tests/test_lts_screen_normal.cpp b/qt6-after/qt6-migrated-benchmark/tests/test_lts_screen_normal.cpp deleted file mode 100644 index 4acecf77d..000000000 --- a/qt6-after/qt6-migrated-benchmark/tests/test_lts_screen_normal.cpp +++ /dev/null @@ -1,16 +0,0 @@ -#include - -TEST(lts_screen_normalTest, CompilationStub) -{ - EXPECT_TRUE(true); -} - -TEST(lts_screen_normalTest, Qt6ApiCompatibility) -{ - EXPECT_TRUE(true); -} - -TEST(lts_screen_normalTest, BasicFunctionality) -{ - EXPECT_TRUE(true); -} diff --git a/qt6-after/qt6-migrated-benchmark/tests/test_lts_screen_wide.cpp b/qt6-after/qt6-migrated-benchmark/tests/test_lts_screen_wide.cpp deleted file mode 100644 index e09ed01ec..000000000 --- a/qt6-after/qt6-migrated-benchmark/tests/test_lts_screen_wide.cpp +++ /dev/null @@ -1,16 +0,0 @@ -#include - -TEST(lts_screen_wideTest, CompilationStub) -{ - EXPECT_TRUE(true); -} - -TEST(lts_screen_wideTest, Qt6ApiCompatibility) -{ - EXPECT_TRUE(true); -} - -TEST(lts_screen_wideTest, BasicFunctionality) -{ - EXPECT_TRUE(true); -} diff --git a/qt6-after/qt6-migrated-benchmark/tests/test_lts_serial_port_querry.cpp b/qt6-after/qt6-migrated-benchmark/tests/test_lts_serial_port_querry.cpp deleted file mode 100644 index 01488bec8..000000000 --- a/qt6-after/qt6-migrated-benchmark/tests/test_lts_serial_port_querry.cpp +++ /dev/null @@ -1,16 +0,0 @@ -#include - -TEST(lts_serial_port_querryTest, CompilationStub) -{ - EXPECT_TRUE(true); -} - -TEST(lts_serial_port_querryTest, Qt6ApiCompatibility) -{ - EXPECT_TRUE(true); -} - -TEST(lts_serial_port_querryTest, BasicFunctionality) -{ - EXPECT_TRUE(true); -} diff --git a/qt6-after/qt6-migrated-benchmark/tests/test_lts_session.cpp b/qt6-after/qt6-migrated-benchmark/tests/test_lts_session.cpp deleted file mode 100644 index f5b45fc7d..000000000 --- a/qt6-after/qt6-migrated-benchmark/tests/test_lts_session.cpp +++ /dev/null @@ -1,16 +0,0 @@ -#include - -TEST(lts_sessionTest, CompilationStub) -{ - EXPECT_TRUE(true); -} - -TEST(lts_sessionTest, Qt6ApiCompatibility) -{ - EXPECT_TRUE(true); -} - -TEST(lts_sessionTest, BasicFunctionality) -{ - EXPECT_TRUE(true); -} diff --git a/qt6-after/qt6-migrated-benchmark/tests/test_lts_session_data.cpp b/qt6-after/qt6-migrated-benchmark/tests/test_lts_session_data.cpp deleted file mode 100644 index c45245cc4..000000000 --- a/qt6-after/qt6-migrated-benchmark/tests/test_lts_session_data.cpp +++ /dev/null @@ -1,16 +0,0 @@ -#include - -TEST(lts_session_dataTest, CompilationStub) -{ - EXPECT_TRUE(true); -} - -TEST(lts_session_dataTest, Qt6ApiCompatibility) -{ - EXPECT_TRUE(true); -} - -TEST(lts_session_dataTest, BasicFunctionality) -{ - EXPECT_TRUE(true); -} diff --git a/qt6-after/qt6-migrated-benchmark/tests/test_lts_session_data_dds.cpp b/qt6-after/qt6-migrated-benchmark/tests/test_lts_session_data_dds.cpp deleted file mode 100644 index 83c7d1b96..000000000 --- a/qt6-after/qt6-migrated-benchmark/tests/test_lts_session_data_dds.cpp +++ /dev/null @@ -1,16 +0,0 @@ -#include - -TEST(lts_session_data_ddsTest, CompilationStub) -{ - EXPECT_TRUE(true); -} - -TEST(lts_session_data_ddsTest, Qt6ApiCompatibility) -{ - EXPECT_TRUE(true); -} - -TEST(lts_session_data_ddsTest, BasicFunctionality) -{ - EXPECT_TRUE(true); -} diff --git a/qt6-after/qt6-migrated-benchmark/tests/test_lts_session_data_dds_stub.cpp b/qt6-after/qt6-migrated-benchmark/tests/test_lts_session_data_dds_stub.cpp deleted file mode 100644 index 8de37f487..000000000 --- a/qt6-after/qt6-migrated-benchmark/tests/test_lts_session_data_dds_stub.cpp +++ /dev/null @@ -1,21 +0,0 @@ -#include "qt6-after/qt6-migrated-legatus/Lts/Common/LtsSession/lts_session_data_dds_stub.h" - -#include - -TEST(LtsSessionDataDdsStubTest, HeaderCompiles) -{ - // Verify header compiles without errors - EXPECT_TRUE(true); -} - -TEST(LtsSessionDataDdsStubTest, CanInstantiate) -{ - // Basic instantiation test if class is instantiable - // Add specific instantiation code if class can be constructed -} - -TEST(LtsSessionDataDdsStubTest, NamespaceExists) -{ - // Verify namespace exists - // Add namespace verification if applicable -} diff --git a/qt6-after/qt6-migrated-benchmark/tests/test_lts_session_lock_handler.cpp b/qt6-after/qt6-migrated-benchmark/tests/test_lts_session_lock_handler.cpp deleted file mode 100644 index 82cc83f46..000000000 --- a/qt6-after/qt6-migrated-benchmark/tests/test_lts_session_lock_handler.cpp +++ /dev/null @@ -1,21 +0,0 @@ -#include "qt6-after/qt6-migrated-legatus/Lts/Common/LtsSession/lts_session_lock_handler.h" - -#include - -TEST(LtsSessionLockHandlerTest, HeaderCompiles) -{ - // Verify header compiles without errors - EXPECT_TRUE(true); -} - -TEST(LtsSessionLockHandlerTest, CanInstantiate) -{ - // Basic instantiation test if class is instantiable - // Add specific instantiation code if class can be constructed -} - -TEST(LtsSessionLockHandlerTest, NamespaceExists) -{ - // Verify namespace exists - // Add namespace verification if applicable -} diff --git a/qt6-after/qt6-migrated-benchmark/tests/test_lts_session_lock_handler_stub.cpp b/qt6-after/qt6-migrated-benchmark/tests/test_lts_session_lock_handler_stub.cpp deleted file mode 100644 index e907988e2..000000000 --- a/qt6-after/qt6-migrated-benchmark/tests/test_lts_session_lock_handler_stub.cpp +++ /dev/null @@ -1,21 +0,0 @@ -#include "qt6-after/qt6-migrated-legatus/Lts/Common/LtsSession/lts_session_lock_handler_stub.h" - -#include - -TEST(LtsSessionLockHandlerStubTest, HeaderCompiles) -{ - // Verify header compiles without errors - EXPECT_TRUE(true); -} - -TEST(LtsSessionLockHandlerStubTest, CanInstantiate) -{ - // Basic instantiation test if class is instantiable - // Add specific instantiation code if class can be constructed -} - -TEST(LtsSessionLockHandlerStubTest, NamespaceExists) -{ - // Verify namespace exists - // Add namespace verification if applicable -} diff --git a/qt6-after/qt6-migrated-benchmark/tests/test_lts_session_manager.cpp b/qt6-after/qt6-migrated-benchmark/tests/test_lts_session_manager.cpp deleted file mode 100644 index 68a72ec5e..000000000 --- a/qt6-after/qt6-migrated-benchmark/tests/test_lts_session_manager.cpp +++ /dev/null @@ -1,21 +0,0 @@ -#include "qt6-after/qt6-migrated-legatus/Lts/Common/LtsSession/lts_session_manager.h" - -#include - -TEST(LtsSessionManagerTest, HeaderCompiles) -{ - // Verify header compiles without errors - EXPECT_TRUE(true); -} - -TEST(LtsSessionManagerTest, CanInstantiate) -{ - // Basic instantiation test if class is instantiable - // Add specific instantiation code if class can be constructed -} - -TEST(LtsSessionManagerTest, NamespaceExists) -{ - // Verify namespace exists - // Add namespace verification if applicable -} diff --git a/qt6-after/qt6-migrated-benchmark/tests/test_lts_timeline_header_view.cpp b/qt6-after/qt6-migrated-benchmark/tests/test_lts_timeline_header_view.cpp deleted file mode 100644 index 90241714d..000000000 --- a/qt6-after/qt6-migrated-benchmark/tests/test_lts_timeline_header_view.cpp +++ /dev/null @@ -1,21 +0,0 @@ -#include "qt6-after/qt6-migrated-legatus/Lts/Common/LtsTimeline/timeline_header_view.h" - -#include - -TEST(LtsTimelineHeaderViewTest, HeaderCompiles) -{ - // Verify header compiles without errors - EXPECT_TRUE(true); -} - -TEST(LtsTimelineHeaderViewTest, CanInstantiate) -{ - // Basic instantiation test if class is instantiable - // Add specific instantiation code if class can be constructed -} - -TEST(LtsTimelineHeaderViewTest, NamespaceExists) -{ - // Verify namespace exists - // Add namespace verification if applicable -} diff --git a/qt6-after/qt6-migrated-benchmark/tests/test_lts_timeline_header_view_mouse_handler.cpp b/qt6-after/qt6-migrated-benchmark/tests/test_lts_timeline_header_view_mouse_handler.cpp deleted file mode 100644 index be7f5d8c9..000000000 --- a/qt6-after/qt6-migrated-benchmark/tests/test_lts_timeline_header_view_mouse_handler.cpp +++ /dev/null @@ -1,21 +0,0 @@ -#include "qt6-after/qt6-migrated-legatus/Lts/Common/LtsTimeline/timeline_header_view_mouse_handler.h" - -#include - -TEST(LtsTimelineHeaderViewMouseHandlerTest, HeaderCompiles) -{ - // Verify header compiles without errors - EXPECT_TRUE(true); -} - -TEST(LtsTimelineHeaderViewMouseHandlerTest, CanInstantiate) -{ - // Basic instantiation test if class is instantiable - // Add specific instantiation code if class can be constructed -} - -TEST(LtsTimelineHeaderViewMouseHandlerTest, NamespaceExists) -{ - // Verify namespace exists - // Add namespace verification if applicable -} diff --git a/qt6-after/qt6-migrated-benchmark/tests/test_lts_timeline_item.cpp b/qt6-after/qt6-migrated-benchmark/tests/test_lts_timeline_item.cpp deleted file mode 100644 index 59ed285d0..000000000 --- a/qt6-after/qt6-migrated-benchmark/tests/test_lts_timeline_item.cpp +++ /dev/null @@ -1,21 +0,0 @@ -#include "qt6-after/qt6-migrated-legatus/Lts/Common/LtsTimeline/item.h" - -#include - -TEST(LtsTimelineItemTest, HeaderCompiles) -{ - // Verify header compiles without errors - EXPECT_TRUE(true); -} - -TEST(LtsTimelineItemTest, CanInstantiate) -{ - // Basic instantiation test if class is instantiable - // Add specific instantiation code if class can be constructed -} - -TEST(LtsTimelineItemTest, NamespaceExists) -{ - // Verify namespace exists - // Add namespace verification if applicable -} diff --git a/qt6-after/qt6-migrated-benchmark/tests/test_lts_timeline_item_delegate.cpp b/qt6-after/qt6-migrated-benchmark/tests/test_lts_timeline_item_delegate.cpp deleted file mode 100644 index 4494420bc..000000000 --- a/qt6-after/qt6-migrated-benchmark/tests/test_lts_timeline_item_delegate.cpp +++ /dev/null @@ -1,21 +0,0 @@ -#include "qt6-after/qt6-migrated-legatus/Lts/Common/LtsTimeline/item_delegate.h" - -#include - -TEST(LtsTimelineItemDelegateTest, HeaderCompiles) -{ - // Verify header compiles without errors - EXPECT_TRUE(true); -} - -TEST(LtsTimelineItemDelegateTest, CanInstantiate) -{ - // Basic instantiation test if class is instantiable - // Add specific instantiation code if class can be constructed -} - -TEST(LtsTimelineItemDelegateTest, NamespaceExists) -{ - // Verify namespace exists - // Add namespace verification if applicable -} diff --git a/qt6-after/qt6-migrated-benchmark/tests/test_lts_timeline_model.cpp b/qt6-after/qt6-migrated-benchmark/tests/test_lts_timeline_model.cpp deleted file mode 100644 index a2ee16af8..000000000 --- a/qt6-after/qt6-migrated-benchmark/tests/test_lts_timeline_model.cpp +++ /dev/null @@ -1,21 +0,0 @@ -#include "qt6-after/qt6-migrated-legatus/Lts/Common/LtsTimeline/timeline_model.h" - -#include - -TEST(LtsTimelineModelTest, HeaderCompiles) -{ - // Verify header compiles without errors - EXPECT_TRUE(true); -} - -TEST(LtsTimelineModelTest, CanInstantiate) -{ - // Basic instantiation test if class is instantiable - // Add specific instantiation code if class can be constructed -} - -TEST(LtsTimelineModelTest, NamespaceExists) -{ - // Verify namespace exists - // Add namespace verification if applicable -} diff --git a/qt6-after/qt6-migrated-benchmark/tests/test_lts_timeline_utils.cpp b/qt6-after/qt6-migrated-benchmark/tests/test_lts_timeline_utils.cpp deleted file mode 100644 index bfedf3838..000000000 --- a/qt6-after/qt6-migrated-benchmark/tests/test_lts_timeline_utils.cpp +++ /dev/null @@ -1,21 +0,0 @@ -#include "qt6-after/qt6-migrated-legatus/Lts/Common/LtsTimeline/timeline_utils.h" - -#include - -TEST(LtsTimelineUtilsTest, HeaderCompiles) -{ - // Verify header compiles without errors - EXPECT_TRUE(true); -} - -TEST(LtsTimelineUtilsTest, CanInstantiate) -{ - // Basic instantiation test if class is instantiable - // Add specific instantiation code if class can be constructed -} - -TEST(LtsTimelineUtilsTest, NamespaceExists) -{ - // Verify namespace exists - // Add namespace verification if applicable -} diff --git a/qt6-after/qt6-migrated-benchmark/tests/test_lts_timeline_view.cpp b/qt6-after/qt6-migrated-benchmark/tests/test_lts_timeline_view.cpp deleted file mode 100644 index eeb4f8632..000000000 --- a/qt6-after/qt6-migrated-benchmark/tests/test_lts_timeline_view.cpp +++ /dev/null @@ -1,21 +0,0 @@ -#include "qt6-after/qt6-migrated-legatus/Lts/Common/LtsTimeline/timeline_view.h" - -#include - -TEST(LtsTimelineViewTest, HeaderCompiles) -{ - // Verify header compiles without errors - EXPECT_TRUE(true); -} - -TEST(LtsTimelineViewTest, CanInstantiate) -{ - // Basic instantiation test if class is instantiable - // Add specific instantiation code if class can be constructed -} - -TEST(LtsTimelineViewTest, NamespaceExists) -{ - // Verify namespace exists - // Add namespace verification if applicable -} diff --git a/qt6-after/qt6-migrated-benchmark/tests/test_lts_timeline_view_drag_handler.cpp b/qt6-after/qt6-migrated-benchmark/tests/test_lts_timeline_view_drag_handler.cpp deleted file mode 100644 index a94d5c8cb..000000000 --- a/qt6-after/qt6-migrated-benchmark/tests/test_lts_timeline_view_drag_handler.cpp +++ /dev/null @@ -1,21 +0,0 @@ -#include "qt6-after/qt6-migrated-legatus/Lts/Common/LtsTimeline/timeline_view_drag_handler.h" - -#include - -TEST(LtsTimelineViewDragHandlerTest, HeaderCompiles) -{ - // Verify header compiles without errors - EXPECT_TRUE(true); -} - -TEST(LtsTimelineViewDragHandlerTest, CanInstantiate) -{ - // Basic instantiation test if class is instantiable - // Add specific instantiation code if class can be constructed -} - -TEST(LtsTimelineViewDragHandlerTest, NamespaceExists) -{ - // Verify namespace exists - // Add namespace verification if applicable -} diff --git a/qt6-after/qt6-migrated-benchmark/tests/test_lts_timeline_view_resize_handler.cpp b/qt6-after/qt6-migrated-benchmark/tests/test_lts_timeline_view_resize_handler.cpp deleted file mode 100644 index 9cb8f7f61..000000000 --- a/qt6-after/qt6-migrated-benchmark/tests/test_lts_timeline_view_resize_handler.cpp +++ /dev/null @@ -1,21 +0,0 @@ -#include "qt6-after/qt6-migrated-legatus/Lts/Common/LtsTimeline/timeline_view_resize_handler.h" - -#include - -TEST(LtsTimelineViewResizeHandlerTest, HeaderCompiles) -{ - // Verify header compiles without errors - EXPECT_TRUE(true); -} - -TEST(LtsTimelineViewResizeHandlerTest, CanInstantiate) -{ - // Basic instantiation test if class is instantiable - // Add specific instantiation code if class can be constructed -} - -TEST(LtsTimelineViewResizeHandlerTest, NamespaceExists) -{ - // Verify namespace exists - // Add namespace verification if applicable -} diff --git a/qt6-after/qt6-migrated-benchmark/tests/test_lts_timeline_view_selection_handler.cpp b/qt6-after/qt6-migrated-benchmark/tests/test_lts_timeline_view_selection_handler.cpp deleted file mode 100644 index 4c9365148..000000000 --- a/qt6-after/qt6-migrated-benchmark/tests/test_lts_timeline_view_selection_handler.cpp +++ /dev/null @@ -1,21 +0,0 @@ -#include "qt6-after/qt6-migrated-legatus/Lts/Common/LtsTimeline/timeline_view_selection_handler.h" - -#include - -TEST(LtsTimelineViewSelectionHandlerTest, HeaderCompiles) -{ - // Verify header compiles without errors - EXPECT_TRUE(true); -} - -TEST(LtsTimelineViewSelectionHandlerTest, CanInstantiate) -{ - // Basic instantiation test if class is instantiable - // Add specific instantiation code if class can be constructed -} - -TEST(LtsTimelineViewSelectionHandlerTest, NamespaceExists) -{ - // Verify namespace exists - // Add namespace verification if applicable -} diff --git a/qt6-after/qt6-migrated-benchmark/tests/test_lts_timeline_view_track_handler.cpp b/qt6-after/qt6-migrated-benchmark/tests/test_lts_timeline_view_track_handler.cpp deleted file mode 100644 index 03f5b1068..000000000 --- a/qt6-after/qt6-migrated-benchmark/tests/test_lts_timeline_view_track_handler.cpp +++ /dev/null @@ -1,21 +0,0 @@ -#include "qt6-after/qt6-migrated-legatus/Lts/Common/LtsTimeline/timeline_view_track_handler.h" - -#include - -TEST(LtsTimelineViewTrackHandlerTest, HeaderCompiles) -{ - // Verify header compiles without errors - EXPECT_TRUE(true); -} - -TEST(LtsTimelineViewTrackHandlerTest, CanInstantiate) -{ - // Basic instantiation test if class is instantiable - // Add specific instantiation code if class can be constructed -} - -TEST(LtsTimelineViewTrackHandlerTest, NamespaceExists) -{ - // Verify namespace exists - // Add namespace verification if applicable -} diff --git a/qt6-after/qt6-migrated-benchmark/tests/test_lts_timeline_widget.cpp b/qt6-after/qt6-migrated-benchmark/tests/test_lts_timeline_widget.cpp deleted file mode 100644 index b436623b9..000000000 --- a/qt6-after/qt6-migrated-benchmark/tests/test_lts_timeline_widget.cpp +++ /dev/null @@ -1,21 +0,0 @@ -#include "qt6-after/qt6-migrated-legatus/Lts/Common/LtsTimeline/timeline_widget.h" - -#include - -TEST(LtsTimelineWidgetTest, HeaderCompiles) -{ - // Verify header compiles without errors - EXPECT_TRUE(true); -} - -TEST(LtsTimelineWidgetTest, CanInstantiate) -{ - // Basic instantiation test if class is instantiable - // Add specific instantiation code if class can be constructed -} - -TEST(LtsTimelineWidgetTest, NamespaceExists) -{ - // Verify namespace exists - // Add namespace verification if applicable -} diff --git a/qt6-after/qt6-migrated-benchmark/tests/test_ltswidgets_qt6.cpp b/qt6-after/qt6-migrated-benchmark/tests/test_ltswidgets_qt6.cpp deleted file mode 100644 index 51bbdeeea..000000000 --- a/qt6-after/qt6-migrated-benchmark/tests/test_ltswidgets_qt6.cpp +++ /dev/null @@ -1,239 +0,0 @@ -/** - * @file test_ltswidgets_qt6.cpp - * @brief Tests für LtsWidgets Qt6-Migration - * - * Tests verify Qt6 API compatibility changes: - * 1. QRandomGenerator usage (replacing qrand()) - * 2. Signal/slot connections with Qt6 signatures - * 3. QWheelEvent angleDelta() usage - * 4. QStyleOption::initFrom() usage - */ - -#include -#include -#include -#include -#include -#include -#include - -// Ensure QApplication is initialized for widget tests -static bool appInitialized = false; - -static void ensureAppInitialized() -{ - if (!appInitialized) - { - static int argc = 1; - static char* argv[] = {(char*)"test_ltswidgets_qt6", nullptr}; - static QApplication app(argc, argv); - appInitialized = true; - } -} - -// Test 1: QRandomGenerator bounded generation (used in lts_tab_widget.cpp) -TEST(LtsWidgetsQt6, QRandomGeneratorBounded) -{ - auto* generator = QRandomGenerator::global(); - ASSERT_NE(generator, nullptr); - - // Test multiple bounded calls to ensure stability - for (int i = 0; i < 100; ++i) - { - int value = generator->bounded(10); - EXPECT_GE(value, 0); - EXPECT_LT(value, 10); - } -} - -// Test 2: QRandomGenerator produces different values -TEST(LtsWidgetsQt6, QRandomGeneratorVariation) -{ - auto* generator = QRandomGenerator::global(); - - QVector values; - for (int i = 0; i < 50; ++i) - { - values.append(generator->bounded(1000)); - } - - // Check that we get some variation (not all same value) - bool hasDifferent = false; - for (int i = 1; i < values.size(); ++i) - { - if (values[i] != values[0]) - { - hasDifferent = true; - break; - } - } - EXPECT_TRUE(hasDifferent); -} - -// Test 3: QRandomGenerator seeded reproducibility -TEST(LtsWidgetsQt6, QRandomGeneratorSeeded) -{ - QRandomGenerator gen1(12345); - QRandomGenerator gen2(12345); - - // Same seed should produce same sequence - for (int i = 0; i < 10; ++i) - { - EXPECT_EQ(gen1.bounded(1000), gen2.bounded(1000)); - } -} - -// Test 4: QComboBox currentTextChanged signal (Qt6 compatible) -// This tests the signal used in lts_text_editor.cpp -TEST(LtsWidgetsQt6, QComboBoxCurrentTextChangedSignal) -{ - ensureAppInitialized(); - - QComboBox comboBox; - comboBox.addItem("Option1"); - comboBox.addItem("Option2"); - comboBox.addItem("Option3"); - - bool signalReceived = false; - QString receivedText; - - QObject::connect(&comboBox, &QComboBox::currentTextChanged, [&signalReceived, &receivedText](const QString& text) { - signalReceived = true; - receivedText = text; - }); - - comboBox.setCurrentIndex(1); - - EXPECT_TRUE(signalReceived); - EXPECT_EQ(receivedText, "Option2"); -} - -// Test 5: QComboBox activated signal with int parameter (Qt6) -// Note: activated signal is only emitted on user interaction, not on setCurrentIndex -TEST(LtsWidgetsQt6, QComboBoxActivatedIntSignal) -{ - ensureAppInitialized(); - - QComboBox comboBox; - comboBox.addItem("First"); - comboBox.addItem("Second"); - comboBox.addItem("Third"); - - bool signalReceived = false; - int receivedIndex = -1; - - // Connect using Qt6 syntax - activated emits int index - QObject::connect(&comboBox, QOverload::of(&QComboBox::activated), - [&signalReceived, &receivedIndex](int index) { - signalReceived = true; - receivedIndex = index; - }); - - // Simulate user interaction by emitting the signal manually - // (setCurrentIndex does not trigger activated signal) - QMetaObject::invokeMethod(&comboBox, "activated", Qt::QueuedConnection, Q_ARG(int, 2)); - QCoreApplication::processEvents(); - - // Verify the connection works with int parameter - EXPECT_TRUE(signalReceived); - EXPECT_EQ(receivedIndex, 2); -} - -// Test 6: QStyleOption::initFrom() (Qt6 replacement for init()) -// This tests the API used in lts_notification_box.cpp -TEST(LtsWidgetsQt6, QStyleOptionInitFrom) -{ - ensureAppInitialized(); - - QPushButton button("Test"); - button.resize(100, 30); - button.setEnabled(true); - - QStyleOption opt; - opt.initFrom(&button); - - // Verify initFrom sets up the option correctly - // State_Enabled should be set (among other states) - EXPECT_TRUE(opt.state & QStyle::State_Enabled); - EXPECT_FALSE(opt.rect.isNull()); -} - -// Test 7: QStyleOption multiple widgets -TEST(LtsWidgetsQt6, QStyleOptionInitFromMultipleWidgets) -{ - ensureAppInitialized(); - - QPushButton button1("Btn1"); - QPushButton button2("Btn2"); - button1.setEnabled(true); - button2.setEnabled(false); - - QStyleOption opt1; - opt1.initFrom(&button1); - - QStyleOption opt2; - opt2.initFrom(&button2); - - // Verify different widget states are captured - EXPECT_TRUE(opt1.state & QStyle::State_Enabled); - EXPECT_FALSE(opt2.state & QStyle::State_Enabled); -} - -// Test 8: QWheelEvent angleDelta() availability -// This verifies the API used in lts_date_time_edit_p.cpp -TEST(LtsWidgetsQt6, QWheelEventAngleDelta) -{ - ensureAppInitialized(); - - QPoint pos(100, 100); - QPoint globalPos(200, 200); - QPoint pixelDelta(0, 0); - QPoint angleDelta(0, 120); // Standard wheel step - - QWheelEvent wheelEvent(pos, globalPos, pixelDelta, angleDelta, Qt::NoButton, Qt::NoModifier, Qt::NoScrollPhase, - false); - - // Verify angleDelta() is accessible and returns correct value - QPoint delta = wheelEvent.angleDelta(); - EXPECT_EQ(delta.y(), 120); - EXPECT_EQ(delta.x(), 0); -} - -// Test 9: QWheelEvent negative angleDelta -TEST(LtsWidgetsQt6, QWheelEventNegativeAngleDelta) -{ - ensureAppInitialized(); - - QPoint pos(100, 100); - QPoint globalPos(200, 200); - QPoint pixelDelta(0, 0); - QPoint angleDelta(0, -120); // Scroll down - - QWheelEvent wheelEvent(pos, globalPos, pixelDelta, angleDelta, Qt::NoButton, Qt::NoModifier, Qt::NoScrollPhase, - false); - - QPoint delta = wheelEvent.angleDelta(); - EXPECT_EQ(delta.y(), -120); - - // Test the logic used in lts_date_time_edit_p.cpp - bool isUp = delta.y() > 0; - EXPECT_FALSE(isUp); -} - -// Test 10: QWheelEvent angleDelta direction detection -TEST(LtsWidgetsQt6, QWheelEventDirectionDetection) -{ - ensureAppInitialized(); - - // Simulate wheel up (positive delta) - QPoint angleDeltaUp(0, 120); - QWheelEvent wheelUp(QPoint(0, 0), QPoint(0, 0), QPoint(0, 0), angleDeltaUp, Qt::NoButton, Qt::NoModifier, - Qt::NoScrollPhase, false); - EXPECT_TRUE(wheelUp.angleDelta().y() > 0); - - // Simulate wheel down (negative delta) - QPoint angleDeltaDown(0, -120); - QWheelEvent wheelDown(QPoint(0, 0), QPoint(0, 0), QPoint(0, 0), angleDeltaDown, Qt::NoButton, Qt::NoModifier, - Qt::NoScrollPhase, false); - EXPECT_FALSE(wheelDown.angleDelta().y() > 0); -} \ No newline at end of file diff --git a/qt6-after/qt6-migrated-benchmark/tests/test_main_grantlee.cpp b/qt6-after/qt6-migrated-benchmark/tests/test_main_grantlee.cpp deleted file mode 100644 index ed823ec6a..000000000 --- a/qt6-after/qt6-migrated-benchmark/tests/test_main_grantlee.cpp +++ /dev/null @@ -1,17 +0,0 @@ -#include - -// main_grantlee.cpp is typically a main entry point, test compilation only -TEST(main_grantleeTest, Compiles) -{ - EXPECT_TRUE(true); -} - -TEST(main_grantleeTest, Linkage) -{ - EXPECT_TRUE(true); -} - -TEST(main_grantleeTest, EntryPoint) -{ - EXPECT_TRUE(true); -} diff --git a/qt6-after/qt6-migrated-benchmark/tests/test_main_grantlee_gui.cpp b/qt6-after/qt6-migrated-benchmark/tests/test_main_grantlee_gui.cpp deleted file mode 100644 index 1b7dbcc8c..000000000 --- a/qt6-after/qt6-migrated-benchmark/tests/test_main_grantlee_gui.cpp +++ /dev/null @@ -1,18 +0,0 @@ -#include "Lts/Common/CodeGen/main_grantlee_gui.h" - -#include - -TEST(main_grantlee_guiTest, HeaderCompiles) -{ - EXPECT_TRUE(true); -} - -TEST(main_grantlee_guiTest, CanInstantiate) -{ - EXPECT_TRUE(true); -} - -TEST(main_grantlee_guiTest, NamespaceExists) -{ - EXPECT_TRUE(true); -} diff --git a/qt6-after/qt6-migrated-benchmark/tests/test_mainwindow.cpp b/qt6-after/qt6-migrated-benchmark/tests/test_mainwindow.cpp deleted file mode 100644 index f2d4c179e..000000000 --- a/qt6-after/qt6-migrated-benchmark/tests/test_mainwindow.cpp +++ /dev/null @@ -1,16 +0,0 @@ -#include - -TEST(mainwindowTest, CompilationStub) -{ - EXPECT_TRUE(true); -} - -TEST(mainwindowTest, Qt6ApiCompatibility) -{ - EXPECT_TRUE(true); -} - -TEST(mainwindowTest, BasicFunctionality) -{ - EXPECT_TRUE(true); -} diff --git a/qt6-after/qt6-migrated-benchmark/tests/test_mdm_dtc.cpp b/qt6-after/qt6-migrated-benchmark/tests/test_mdm_dtc.cpp deleted file mode 100644 index 819c1b03b..000000000 --- a/qt6-after/qt6-migrated-benchmark/tests/test_mdm_dtc.cpp +++ /dev/null @@ -1,16 +0,0 @@ -/** - * @file test_mdm_dtc.cpp - * @brief Compilation test for include/MeteoDataManagement/mdm_dtc.h - * - * This test verifies that the migrated header compiles correctly with Qt6/C++23. - */ - -#include "include/MeteoDataManagement/mdm_dtc.h" - -#include - -TEST(mdm_dtc_Compilation, HeaderCompiles) -{ - // This test verifies that the header compiles without errors - EXPECT_TRUE(true); -} diff --git a/qt6-after/qt6-migrated-benchmark/tests/test_message_factory.cpp b/qt6-after/qt6-migrated-benchmark/tests/test_message_factory.cpp deleted file mode 100644 index 6550f9a20..000000000 --- a/qt6-after/qt6-migrated-benchmark/tests/test_message_factory.cpp +++ /dev/null @@ -1,16 +0,0 @@ -#include - -TEST(message_factoryTest, CompilationStub) -{ - EXPECT_TRUE(true); -} - -TEST(message_factoryTest, Qt6ApiCompatibility) -{ - EXPECT_TRUE(true); -} - -TEST(message_factoryTest, BasicFunctionality) -{ - EXPECT_TRUE(true); -} diff --git a/qt6-after/qt6-migrated-benchmark/tests/test_messages.cpp b/qt6-after/qt6-migrated-benchmark/tests/test_messages.cpp deleted file mode 100644 index 7a43ce295..000000000 --- a/qt6-after/qt6-migrated-benchmark/tests/test_messages.cpp +++ /dev/null @@ -1,16 +0,0 @@ -#include - -TEST(messagesTest, CompilationStub) -{ - EXPECT_TRUE(true); -} - -TEST(messagesTest, Qt6ApiCompatibility) -{ - EXPECT_TRUE(true); -} - -TEST(messagesTest, BasicFunctionality) -{ - EXPECT_TRUE(true); -} diff --git a/qt6-after/qt6-migrated-benchmark/tests/test_mgrs2lonlat.cpp b/qt6-after/qt6-migrated-benchmark/tests/test_mgrs2lonlat.cpp deleted file mode 100644 index 1ba99cb5b..000000000 --- a/qt6-after/qt6-migrated-benchmark/tests/test_mgrs2lonlat.cpp +++ /dev/null @@ -1,25 +0,0 @@ -#include - -// Stub test for mgrs2lonlat.cpp migration validation - -namespace Lts -{ -namespace Common -{ -} // namespace Common -} // namespace Lts - -TEST(mgrs2lonlatMigrationTest, CompilationStub) -{ - EXPECT_TRUE(true); -} - -TEST(mgrs2lonlatMigrationTest, Qt6ApiCompatibility) -{ - EXPECT_TRUE(true); -} - -TEST(mgrs2lonlatMigrationTest, BasicFunctionality) -{ - EXPECT_TRUE(true); -} diff --git a/qt6-after/qt6-migrated-benchmark/tests/test_migration_stubs.cpp b/qt6-after/qt6-migrated-benchmark/tests/test_migration_stubs.cpp deleted file mode 100644 index badcf5cf2..000000000 --- a/qt6-after/qt6-migrated-benchmark/tests/test_migration_stubs.cpp +++ /dev/null @@ -1,225 +0,0 @@ -/** - * @file test_migration_stubs.cpp - * @brief Compilation tests for migrated stub headers (DTCs and enums) - * - * This test file verifies that all migrated stub headers compile correctly - * with Qt6 and C++23. These are forward declaration stubs that would normally - * be generated by DDS DTC tooling. - */ - -#include - -// Test that the test framework is working -TEST(MigrationStubs, TestFrameworkWorks) -{ - EXPECT_TRUE(true); -} - -// Test that basic Qt6 types are available -TEST(MigrationStubs, Qt6TypesAvailable) -{ - QString test = "Qt6 migration"; - EXPECT_FALSE(test.isEmpty()); -} - -// DTC Stub Headers - these are forward declarations only -// Each include verifies the header compiles without errors - -// AlarmManagement -#include "AlarmManagement/alm_dtc.h" - -TEST(MigrationStubs, AlarmManagementDtcCompiles) -{ - // Forward declaration only - verify namespace exists - using namespace AlarmManagement::Interface; - EXPECT_TRUE(true); -} - -// AreaEffectSimulation -#include "AreaEffectSimulation/aes_dtc.h" - -TEST(MigrationStubs, AreaEffectSimulationDtcCompiles) -{ - using namespace AreaEffectSimulation::Interface; - EXPECT_TRUE(true); -} - -// AssetManagement -#include "AssetManagement/asm_dtc.h" - -TEST(MigrationStubs, AssetManagementDtcCompiles) -{ - using namespace AssetManagement::Interface; - EXPECT_TRUE(true); -} - -// AudioVideoManagement -#include "AudioVideoManagement/avm_dtc.h" - -TEST(MigrationStubs, AudioVideoManagementDtcCompiles) -{ - using namespace AudioVideoManagement::Interface; - EXPECT_TRUE(true); -} - -// Buildings -#include "Buildings/bld_dtc.h" - -TEST(MigrationStubs, BuildingsDtcCompiles) -{ - using namespace Buildings::Interface; - EXPECT_TRUE(true); -} - -// CentralEffectSimulation -#include "CentralEffectSimulation/ces_dtc.h" - -TEST(MigrationStubs, CentralEffectSimulationDtcCompiles) -{ - using namespace CentralEffectSimulation::Interface; - EXPECT_TRUE(true); -} - -// CodificationManagement -#include "CodificationManagement/cod_dtc.h" - -TEST(MigrationStubs, CodificationManagementDtcCompiles) -{ - using namespace CodificationManagement::Interface; - EXPECT_TRUE(true); -} - -// ComponentMonitor -#include "ComponentMonitor/cmo_dtc.h" - -TEST(MigrationStubs, ComponentMonitorDtcCompiles) -{ - using namespace ComponentMonitor::Interface; - EXPECT_TRUE(true); -} - -// Core -#include "Core/core_dtc.h" - -TEST(MigrationStubs, CoreDtcCompiles) -{ - using namespace Core::Interface; - EXPECT_TRUE(true); -} - -// DDS Core -#include "DDS/Core/core_dtc.h" - -TEST(MigrationStubs, DDSCoreDtcCompiles) -{ - using namespace DDS::Core::Interface; - EXPECT_TRUE(true); -} - -// DDS DTC -#include "DDS/DTC/generic_dtc.h" - -TEST(MigrationStubs, DDSDtcCompiles) -{ - using namespace DDS::DTC; - EXPECT_TRUE(true); -} - -// EffectShowClient -#include "EffectShowClient/esc_dtc.h" - -TEST(MigrationStubs, EffectShowClientDtcCompiles) -{ - using namespace EffectShowClient::Interface; - EXPECT_TRUE(true); -} - -// EffectShowManagement -#include "EffectShowManagement/esm_dtc.h" - -TEST(MigrationStubs, EffectShowManagementDtcCompiles) -{ - using namespace EffectShowManagement::Interface; - EXPECT_TRUE(true); -} - -// Evaluations -#include "Evaluations/evl_dtc.h" - -TEST(MigrationStubs, EvaluationsDtcCompiles) -{ - using namespace Evaluations::Interface; - EXPECT_TRUE(true); -} - -// ExerciseEventManagement -#include "ExerciseEventManagement/eem_dtc.h" - -TEST(MigrationStubs, ExerciseEventManagementDtcCompiles) -{ - using namespace ExerciseEventManagement::Interface; - EXPECT_TRUE(true); -} - -// ExerciseManagement -#include "ExerciseManagement/exm_dtc.h" - -TEST(MigrationStubs, ExerciseManagementDtcCompiles) -{ - using namespace ExerciseManagement::Interface; - EXPECT_TRUE(true); -} - -// FileManagement -#include "FileManagement/flm_dtc.h" - -TEST(MigrationStubs, FileManagementDtcCompiles) -{ - using namespace FileManagement::Interface; - EXPECT_TRUE(true); -} - -// GuezIedManagement -#include "GuezIedManagement/gim_dtc.h" - -TEST(MigrationStubs, GuezIedManagementDtcCompiles) -{ - using namespace GuezIedManagement::Interface; - EXPECT_TRUE(true); -} - -// GuezNasat -#include "GuezNasat/gna_dtc.h" - -TEST(MigrationStubs, GuezNasatDtcCompiles) -{ - using namespace GuezNasat::Interface; - EXPECT_TRUE(true); -} - -// InfrastructureManagement -#include "InfrastructureManagement/ism_dtc.h" - -TEST(MigrationStubs, InfrastructureManagementDtcCompiles) -{ - using namespace InfrastructureManagement::Interface; - EXPECT_TRUE(true); -} - -// Generic DTC -#include "generic_dtc.h" - -TEST(MigrationStubs, GenericDtcCompiles) -{ - using namespace Generic; - EXPECT_TRUE(true); -} - -// AES DTC (root level) -#include "aes_dtc.h" - -TEST(MigrationStubs, AesDtcCompiles) -{ - using namespace AES; - EXPECT_TRUE(true); -} diff --git a/qt6-after/qt6-migrated-benchmark/tests/test_mockcoordtrans.cpp b/qt6-after/qt6-migrated-benchmark/tests/test_mockcoordtrans.cpp deleted file mode 100644 index f04ac210c..000000000 --- a/qt6-after/qt6-migrated-benchmark/tests/test_mockcoordtrans.cpp +++ /dev/null @@ -1,11 +0,0 @@ -#include "MockCoordTrans.h" - -#include - -// MockCoordTrans compilation test -TEST(MockCoordTransTest, CanInstantiate) -{ - // Verify MockCoordTrans compiles and can be instantiated - // This is a stub test to satisfy policy requirements - EXPECT_TRUE(true); -} diff --git a/qt6-after/qt6-migrated-benchmark/tests/test_mrk_dtc.cpp b/qt6-after/qt6-migrated-benchmark/tests/test_mrk_dtc.cpp deleted file mode 100644 index 8925834a3..000000000 --- a/qt6-after/qt6-migrated-benchmark/tests/test_mrk_dtc.cpp +++ /dev/null @@ -1,16 +0,0 @@ -/** - * @file test_mrk_dtc.cpp - * @brief Compilation test for include/MarkerManagement/mrk_dtc.h - * - * This test verifies that the migrated header compiles correctly with Qt6/C++23. - */ - -#include "include/MarkerManagement/mrk_dtc.h" - -#include - -TEST(mrk_dtc_Compilation, HeaderCompiles) -{ - // This test verifies that the header compiles without errors - EXPECT_TRUE(true); -} diff --git a/qt6-after/qt6-migrated-benchmark/tests/test_msg_dtc.cpp b/qt6-after/qt6-migrated-benchmark/tests/test_msg_dtc.cpp deleted file mode 100644 index 6662ccef6..000000000 --- a/qt6-after/qt6-migrated-benchmark/tests/test_msg_dtc.cpp +++ /dev/null @@ -1,16 +0,0 @@ -/** - * @file test_msg_dtc.cpp - * @brief Compilation test for include/Messaging/msg_dtc.h - * - * This test verifies that the migrated header compiles correctly with Qt6/C++23. - */ - -#include "include/Messaging/msg_dtc.h" - -#include - -TEST(msg_dtc_Compilation, HeaderCompiles) -{ - // This test verifies that the header compiles without errors - EXPECT_TRUE(true); -} diff --git a/qt6-after/qt6-migrated-benchmark/tests/test_nom_dtc.cpp b/qt6-after/qt6-migrated-benchmark/tests/test_nom_dtc.cpp deleted file mode 100644 index 12f16f037..000000000 --- a/qt6-after/qt6-migrated-benchmark/tests/test_nom_dtc.cpp +++ /dev/null @@ -1,16 +0,0 @@ -/** - * @file test_nom_dtc.cpp - * @brief Compilation test for include/NotificationManagement/nom_dtc.h - * - * This test verifies that the migrated header compiles correctly with Qt6/C++23. - */ - -#include "include/NotificationManagement/nom_dtc.h" - -#include - -TEST(nom_dtc_Compilation, HeaderCompiles) -{ - // This test verifies that the header compiles without errors - EXPECT_TRUE(true); -} diff --git a/qt6-after/qt6-migrated-benchmark/tests/test_nom_enums.cpp b/qt6-after/qt6-migrated-benchmark/tests/test_nom_enums.cpp deleted file mode 100644 index 3aa728efa..000000000 --- a/qt6-after/qt6-migrated-benchmark/tests/test_nom_enums.cpp +++ /dev/null @@ -1,16 +0,0 @@ -/** - * @file test_nom_enums.cpp - * @brief Compilation test for NotificationManagement/nom_enums.hpp - * - * This test verifies that the migrated header compiles correctly with Qt6/C++23. - */ - -#include "NotificationManagement/nom_enums.hpp" - -#include - -TEST(nom_enums_Compilation, HeaderCompiles) -{ - // This test verifies that the header compiles without errors - EXPECT_TRUE(true); -} diff --git a/qt6-after/qt6-migrated-benchmark/tests/test_opm_dtc.cpp b/qt6-after/qt6-migrated-benchmark/tests/test_opm_dtc.cpp deleted file mode 100644 index 3ffe9df55..000000000 --- a/qt6-after/qt6-migrated-benchmark/tests/test_opm_dtc.cpp +++ /dev/null @@ -1,16 +0,0 @@ -/** - * @file test_opm_dtc.cpp - * @brief Compilation test for include/OperatorManagement/opm_dtc.h - * - * This test verifies that the migrated header compiles correctly with Qt6/C++23. - */ - -#include "include/OperatorManagement/opm_dtc.h" - -#include - -TEST(opm_dtc_Compilation, HeaderCompiles) -{ - // This test verifies that the header compiles without errors - EXPECT_TRUE(true); -} diff --git a/qt6-after/qt6-migrated-benchmark/tests/test_oss_dtc.cpp b/qt6-after/qt6-migrated-benchmark/tests/test_oss_dtc.cpp deleted file mode 100644 index 4fb63e930..000000000 --- a/qt6-after/qt6-migrated-benchmark/tests/test_oss_dtc.cpp +++ /dev/null @@ -1,16 +0,0 @@ -/** - * @file test_oss_dtc.cpp - * @brief Compilation test for include/OcSituationServer/oss_dtc.h - * - * This test verifies that the migrated header compiles correctly with Qt6/C++23. - */ - -#include "include/OcSituationServer/oss_dtc.h" - -#include - -TEST(oss_dtc_Compilation, HeaderCompiles) -{ - // This test verifies that the header compiles without errors - EXPECT_TRUE(true); -} diff --git a/qt6-after/qt6-migrated-benchmark/tests/test_passiveeventcontainer.cpp b/qt6-after/qt6-migrated-benchmark/tests/test_passiveeventcontainer.cpp deleted file mode 100644 index b084dd23c..000000000 --- a/qt6-after/qt6-migrated-benchmark/tests/test_passiveeventcontainer.cpp +++ /dev/null @@ -1,75 +0,0 @@ -#include "Lts/Common/LtsTimelineClassic/Event.h" -#include "Lts/Common/LtsTimelineClassic/EventGraphic.h" -#include "Lts/Common/LtsTimelineClassic/PassiveEventContainer.h" - -#include -#include -#include -#include - -namespace LtsTimelineClassic -{ - -class PassiveEventContainerTest : public ::testing::Test -{ - protected: - void SetUp() override {} - - void TearDown() override {} -}; - -TEST(PassiveEventContainerTest, CreateContainer) -{ - PassiveEventContainer container(false); - EXPECT_TRUE(container.getEventGraphicList().isEmpty()); -} - -TEST(PassiveEventContainerTest, SetEventList) -{ - PassiveEventContainer container(false); - - Event event1(0, 100, Qt::red); - Event event2(500, 100, Qt::blue); - - EventGraphic graphic1(&event1); - EventGraphic graphic2(&event2); - - EventGraphicList list; - list.append(&graphic1); - list.append(&graphic2); - - container.setEventList(list); - - EXPECT_EQ(container.getEventGraphicList().size(), 2); -} - -TEST(PassiveEventContainerTest, PaintDoesNotCrash) -{ - PassiveEventContainer container(false); - - Event event1(0, 100, Qt::red); - EventGraphic graphic1(&event1); - - EventGraphicList list; - list.append(&graphic1); - container.setEventList(list); - - EventTools::setValues(0, 1000, 0, 500); - EventTools::setSection(0, 1000); - - QPixmap pixmap(800, 600); - QPainter painter(&pixmap); - - QStyleOptionViewItem option; - option.rect = QRect(0, 0, 800, 50); - option.features = QStyleOptionViewItem::ViewItemFeature::None; - - LineMap lineMap; - lineMap.insert(100, 1000); - - QVector knownRanges; - - EXPECT_NO_THROW(container.paint(&painter, option, lineMap, knownRanges)); -} - -} // namespace LtsTimelineClassic \ No newline at end of file diff --git a/qt6-after/qt6-migrated-benchmark/tests/test_pdm_dtc.cpp b/qt6-after/qt6-migrated-benchmark/tests/test_pdm_dtc.cpp deleted file mode 100644 index 0c557b40b..000000000 --- a/qt6-after/qt6-migrated-benchmark/tests/test_pdm_dtc.cpp +++ /dev/null @@ -1,16 +0,0 @@ -/** - * @file test_pdm_dtc.cpp - * @brief Compilation test for include/ProjectDataManagement/pdm_dtc.h - * - * This test verifies that the migrated header compiles correctly with Qt6/C++23. - */ - -#include "include/ProjectDataManagement/pdm_dtc.h" - -#include - -TEST(pdm_dtc_Compilation, HeaderCompiles) -{ - // This test verifies that the header compiles without errors - EXPECT_TRUE(true); -} diff --git a/qt6-after/qt6-migrated-benchmark/tests/test_pdm_enums.cpp b/qt6-after/qt6-migrated-benchmark/tests/test_pdm_enums.cpp deleted file mode 100644 index 0f91a17b1..000000000 --- a/qt6-after/qt6-migrated-benchmark/tests/test_pdm_enums.cpp +++ /dev/null @@ -1,16 +0,0 @@ -/** - * @file test_pdm_enums.cpp - * @brief Compilation test for ProjectDataManagement/pdm_enums.hpp - * - * This test verifies that the migrated header compiles correctly with Qt6/C++23. - */ - -#include "ProjectDataManagement/pdm_enums.hpp" - -#include - -TEST(pdm_enums_Compilation, HeaderCompiles) -{ - // This test verifies that the header compiles without errors - EXPECT_TRUE(true); -} diff --git a/qt6-after/qt6-migrated-benchmark/tests/test_ppm_dtc.cpp b/qt6-after/qt6-migrated-benchmark/tests/test_ppm_dtc.cpp deleted file mode 100644 index 333777b4d..000000000 --- a/qt6-after/qt6-migrated-benchmark/tests/test_ppm_dtc.cpp +++ /dev/null @@ -1,16 +0,0 @@ -/** - * @file test_ppm_dtc.cpp - * @brief Compilation test for ParticipantManagement/ppm_dtc.h - * - * This test verifies that the migrated header compiles correctly with Qt6/C++23. - */ - -#include "ParticipantManagement/ppm_dtc.h" - -#include - -TEST(ppm_dtc_Compilation, HeaderCompiles) -{ - // This test verifies that the header compiles without errors - EXPECT_TRUE(true); -} diff --git a/qt6-after/qt6-migrated-benchmark/tests/test_ppm_enums.cpp b/qt6-after/qt6-migrated-benchmark/tests/test_ppm_enums.cpp deleted file mode 100644 index c93709ec7..000000000 --- a/qt6-after/qt6-migrated-benchmark/tests/test_ppm_enums.cpp +++ /dev/null @@ -1,16 +0,0 @@ -/** - * @file test_ppm_enums.cpp - * @brief Compilation test for ParticipantManagement/ppm_enums.hpp - * - * This test verifies that the migrated header compiles correctly with Qt6/C++23. - */ - -#include "ParticipantManagement/ppm_enums.hpp" - -#include - -TEST(ppm_enums_Compilation, HeaderCompiles) -{ - // This test verifies that the header compiles without errors - EXPECT_TRUE(true); -} diff --git a/qt6-after/qt6-migrated-benchmark/tests/test_pre_dtc.cpp b/qt6-after/qt6-migrated-benchmark/tests/test_pre_dtc.cpp deleted file mode 100644 index af65d1f1f..000000000 --- a/qt6-after/qt6-migrated-benchmark/tests/test_pre_dtc.cpp +++ /dev/null @@ -1,16 +0,0 @@ -/** - * @file test_pre_dtc.cpp - * @brief Compilation test for include/PresentationManagement/pre_dtc.h - * - * This test verifies that the migrated header compiles correctly with Qt6/C++23. - */ - -#include "include/PresentationManagement/pre_dtc.h" - -#include - -TEST(pre_dtc_Compilation, HeaderCompiles) -{ - // This test verifies that the header compiles without errors - EXPECT_TRUE(true); -} diff --git a/qt6-after/qt6-migrated-benchmark/tests/test_printing.cpp b/qt6-after/qt6-migrated-benchmark/tests/test_printing.cpp deleted file mode 100644 index 038fdd519..000000000 --- a/qt6-after/qt6-migrated-benchmark/tests/test_printing.cpp +++ /dev/null @@ -1,16 +0,0 @@ -#include - -TEST(printingTest, CompilationStub) -{ - EXPECT_TRUE(true); -} - -TEST(printingTest, Qt6ApiCompatibility) -{ - EXPECT_TRUE(true); -} - -TEST(printingTest, BasicFunctionality) -{ - EXPECT_TRUE(true); -} diff --git a/qt6-after/qt6-migrated-benchmark/tests/test_printing_base.cpp b/qt6-after/qt6-migrated-benchmark/tests/test_printing_base.cpp deleted file mode 100644 index 2c745113b..000000000 --- a/qt6-after/qt6-migrated-benchmark/tests/test_printing_base.cpp +++ /dev/null @@ -1,16 +0,0 @@ -#include - -TEST(printing_baseTest, CompilationStub) -{ - EXPECT_TRUE(true); -} - -TEST(printing_baseTest, Qt6ApiCompatibility) -{ - EXPECT_TRUE(true); -} - -TEST(printing_baseTest, BasicFunctionality) -{ - EXPECT_TRUE(true); -} diff --git a/qt6-after/qt6-migrated-benchmark/tests/test_qt6_api_migrations.cpp b/qt6-after/qt6-migrated-benchmark/tests/test_qt6_api_migrations.cpp deleted file mode 100644 index be31f8af2..000000000 --- a/qt6-after/qt6-migrated-benchmark/tests/test_qt6_api_migrations.cpp +++ /dev/null @@ -1,282 +0,0 @@ -/** - * @file test_qt6_api_migrations.cpp - * @brief Tests für Qt6 API-Migrationen - * - * Tests verify that: - * 1. QStringView works correctly (replacing QStringRef) - * 2. std::list works correctly (replacing QLinkedList) - * 3. QMultiMap works correctly (replacing QMap with multi-values) - * 4. QFontMetricsF::horizontalAdvance() works (replacing width()) - * 5. QVariant::fromValue() works for custom types - * 6. QXmlStreamWriter UTF-8 handling (no setCodec needed) - */ - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -// Custom type for QVariant test -struct CustomData -{ - int value; - QString text; - - bool operator==(const CustomData& other) const - { - return value == other.value && text == other.text; - } -}; - -// Register custom type with Qt meta-type system -Q_DECLARE_METATYPE(CustomData) - -// Test 1: QStringView basic functionality (replacing QStringRef) -TEST(Qt6ApiMigrations, QStringViewBasic) -{ - QString original = "Hello Qt6 Migration"; - QStringView view = original; - - // Test substring view (similar to QStringRef behavior) - QStringView subView = view.mid(6, 4); // "Qt6 " - EXPECT_EQ(subView.toString(), "Qt6 "); - - // Test that view doesn't allocate memory - EXPECT_EQ(view.data(), original.data()); -} - -// Test 2: QStringView with function parameters -TEST(Qt6ApiMigrations, QStringViewInParameter) -{ - auto processString = [](QStringView sv) -> int { return static_cast(sv.length()); }; - - QString str = "Test String"; - int result = processString(str); - EXPECT_EQ(result, 11); -} - -// Test 3: std::list replacement for QLinkedList -TEST(Qt6ApiMigrations, StdListReplacement) -{ - std::list intList; - intList.push_back(1); - intList.push_back(2); - intList.push_back(3); - - EXPECT_EQ(intList.size(), 3u); - EXPECT_EQ(intList.front(), 1); - EXPECT_EQ(intList.back(), 3); - - // Test iteration - std::vector vec(intList.begin(), intList.end()); - EXPECT_EQ(vec, std::vector({1, 2, 3})); -} - -// Test 4: std::list with custom types -TEST(Qt6ApiMigrations, StdListWithCustomTypes) -{ - std::list stringList; - stringList.push_back("First"); - stringList.push_back("Second"); - stringList.push_back("Third"); - - EXPECT_EQ(stringList.size(), 3u); - - // Test contains-like operation - bool found = std::find(stringList.begin(), stringList.end(), "Second") != stringList.end(); - EXPECT_TRUE(found); -} - -// Test 5: QMultiMap for multi-value keys (replacing QMap::insertMulti) -TEST(Qt6ApiMigrations, QMultiMapMultiValue) -{ - QMultiMap multiMap; - multiMap.insert("key", 1); - multiMap.insert("key", 2); - multiMap.insert("key", 3); - - EXPECT_EQ(multiMap.size(), 3); - EXPECT_EQ(multiMap.count("key"), 3); - - // Test values() method - verify all values present - QList values = multiMap.values("key"); - EXPECT_EQ(values.size(), 3); - // QMultiMap ordering may vary, just verify all values exist - std::sort(values.begin(), values.end()); - EXPECT_EQ(values[0], 1); - EXPECT_EQ(values[1], 2); - EXPECT_EQ(values[2], 3); -} - -// Test 6: QMultiMap iteration -TEST(Qt6ApiMigrations, QMultiMapIteration) -{ - QMultiMap multiMap; - multiMap.insert("a", 1); - multiMap.insert("b", 2); - multiMap.insert("a", 3); - - int aCount = 0; - int bCount = 0; - - for (auto it = multiMap.begin(); it != multiMap.end(); ++it) - { - if (it.key() == "a") - { - aCount++; - } - else if (it.key() == "b") - { - bCount++; - } - } - - EXPECT_EQ(aCount, 2); - EXPECT_EQ(bCount, 1); -} - -// Test 7: QFontMetricsF::horizontalAdvance (replacing width()) -TEST(Qt6ApiMigrations, QFontMetricsFHorizontalAdvance) -{ - // QFontMetricsF::width() removed in Qt6, use horizontalAdvance() - // Note: QFontMetricsF requires QGuiApplication for proper font database access - // This test just verifies the code compiles - actual runtime requires GUI app - // In production code, this would be used within a QWidget/QGuiApplication context - SUCCEED() << "QFontMetricsF::horizontalAdvance() API exists (verified by compilation)"; -} - -// Test 8: QFontMetricsF with single character overload -TEST(Qt6ApiMigrations, QFontMetricsFChar) -{ - // QFontMetricsF::horizontalAdvance(QChar) overload exists in Qt6 - // Note: Actual font metrics require QGuiApplication for font database - // This test verifies the API compiles - in production code this would be - // used within a QWidget/QGuiApplication context - SUCCEED() << "QFontMetricsF::horizontalAdvance(QChar) overload exists (verified by compilation)"; -} - -// Test 9: QVariant::fromValue with custom types -TEST(Qt6ApiMigrations, QVariantFromValueCustomType) -{ - // Register the type - qRegisterMetaType("CustomData"); - - CustomData data{42, "Test"}; - QVariant variant = QVariant::fromValue(data); - - EXPECT_TRUE(variant.canConvert()); - - CustomData retrieved = variant.value(); - EXPECT_EQ(retrieved.value, 42); - EXPECT_EQ(retrieved.text, "Test"); -} - -// Test 10: QVariant with standard types -TEST(Qt6ApiMigrations, QVariantFromValueStandard) -{ - QVariant intVariant = QVariant::fromValue(42); - EXPECT_EQ(intVariant.toInt(), 42); - - QVariant stringVariant = QVariant::fromValue(QString("Hello")); - EXPECT_EQ(stringVariant.toString(), "Hello"); -} - -// Test 11: QXmlStreamWriter UTF-8 (no setCodec needed) -TEST(Qt6ApiMigrations, QXmlStreamWriterUtf8) -{ - QByteArray buffer; - QBuffer qBuffer(&buffer); - qBuffer.open(QIODevice::WriteOnly); - - QXmlStreamWriter writer(&qBuffer); - writer.setAutoFormatting(true); - - // Qt6 uses UTF-8 by default, no setCodec needed - writer.writeStartDocument(); - writer.writeStartElement("root"); - writer.writeTextElement("text", "Hello Qt6 with UTF-8: äöü"); - writer.writeEndElement(); - writer.writeEndDocument(); - - qBuffer.close(); - - // Verify XML was written - EXPECT_GT(buffer.size(), 0); - EXPECT_TRUE(buffer.contains("Hello Qt6 with UTF-8")); -} - -// Test 12: QXmlStreamWriter with attributes -TEST(Qt6ApiMigrations, QXmlStreamWriterAttributes) -{ - QByteArray buffer; - QBuffer qBuffer(&buffer); - qBuffer.open(QIODevice::WriteOnly); - - QXmlStreamWriter writer(&qBuffer); - - writer.writeStartDocument(); - writer.writeStartElement("element"); - writer.writeAttribute("name", "value"); - writer.writeAttribute("id", "123"); - writer.writeEndElement(); - writer.writeEndDocument(); - - qBuffer.close(); - - EXPECT_GT(buffer.size(), 0); - EXPECT_TRUE(buffer.contains("name=\"value\"")); - EXPECT_TRUE(buffer.contains("id=\"123\"")); -} - -// Test 13: QStringView comparison with QString -TEST(Qt6ApiMigrations, QStringViewComparison) -{ - QString str = "Hello"; - QStringView view = str; - - EXPECT_EQ(view, str); - EXPECT_TRUE(view == "Hello"); - EXPECT_TRUE(str == view); -} - -// Test 14: std::list algorithms -TEST(Qt6ApiMigrations, StdListAlgorithms) -{ - std::list numbers = {5, 2, 8, 1, 9}; - - // Test sorting - numbers.sort(); - EXPECT_EQ(numbers.front(), 1); - EXPECT_EQ(numbers.back(), 9); - - // Test remove - numbers.remove(2); - EXPECT_EQ(numbers.size(), 4u); - bool found = std::find(numbers.begin(), numbers.end(), 2) != numbers.end(); - EXPECT_FALSE(found); -} - -// Test 15: QMultiMap contains and remove -TEST(Qt6ApiMigrations, QMultiMapOperations) -{ - QMultiMap map; - map.insert("key1", 1); - map.insert("key2", 2); - - EXPECT_TRUE(map.contains("key1")); - EXPECT_FALSE(map.contains("key3")); - - // Remove all values for a key - int removed = map.remove("key1"); - EXPECT_EQ(removed, 1); - EXPECT_FALSE(map.contains("key1")); -} \ No newline at end of file diff --git a/qt6-after/qt6-migrated-benchmark/tests/test_qt6_compatibility.cpp b/qt6-after/qt6-migrated-benchmark/tests/test_qt6_compatibility.cpp deleted file mode 100644 index 4d216b81c..000000000 --- a/qt6-after/qt6-migrated-benchmark/tests/test_qt6_compatibility.cpp +++ /dev/null @@ -1,85 +0,0 @@ -/** - * @file test_qt6_compatibility.cpp - * @brief Tests für Qt6-Kompatibilitätsfixes - * - * Tests verify that: - * 1. QRandomGenerator works correctly (replacing qrand()) - * 2. QChar conversions work with static_cast - * 3. Qt6 APIs function correctly - */ - -#include -#include -#include -#include -#include -#include - -// Test 1: QRandomGenerator basic functionality -TEST(Qt6Compatibility, QRandomGeneratorBasic) -{ - // Test bounded random number generation (Qt6 replacement for qrand() % n) - auto* generator = QRandomGenerator::global(); - ASSERT_NE(generator, nullptr); - - int value = generator->bounded(100); - EXPECT_GE(value, 0); - EXPECT_LT(value, 100); -} - -// Test 2: QRandomGenerator seeded generation -TEST(Qt6Compatibility, QRandomGeneratorSeeded) -{ - QRandomGenerator generator(42); // Fixed seed for reproducibility - int value1 = generator.bounded(1000); - - QRandomGenerator generator2(42); // Same seed - int value2 = generator2.bounded(1000); - - EXPECT_EQ(value1, value2); // Should produce same sequence -} - -// Test 3: QChar construction with static_cast -TEST(Qt6Compatibility, QCharConstruction) -{ - // Qt6 has stricter QChar constructors - char c = 'A'; - QChar qchar = QChar(static_cast(c)); - EXPECT_EQ(qchar, QChar('A')); -} - -// Test 4: QChar Unicode handling -TEST(Qt6Compatibility, QCharUnicode) -{ - // Test Unicode character handling in Qt6 - QChar unicodeChar(0x00E9); // é - EXPECT_EQ(unicodeChar.unicode(), 0x00E9); - - QString str(unicodeChar); - EXPECT_EQ(str, QString("é")); -} - -// Test 5: QVector with Qt6 -TEST(Qt6Compatibility, QVectorBasic) -{ - QVector vec; - vec.append(1); - vec.append(2); - vec.append(3); - - EXPECT_EQ(vec.size(), 3); - EXPECT_EQ(vec[0], 1); - EXPECT_EQ(vec.contains(2), true); -} - -// Test 6: QString Qt6 compatibility -TEST(Qt6Compatibility, QStringBasic) -{ - QString str = "Hello Qt6"; - EXPECT_EQ(str.length(), 9); - EXPECT_TRUE(str.contains("Qt6")); - - // Test Qt6 string methods - use QStringView instead of toStdStringView - QStringView view = str; - EXPECT_EQ(view.size(), 9); -} \ No newline at end of file diff --git a/qt6-after/qt6-migrated-benchmark/tests/test_range.cpp b/qt6-after/qt6-migrated-benchmark/tests/test_range.cpp deleted file mode 100644 index 5b4617382..000000000 --- a/qt6-after/qt6-migrated-benchmark/tests/test_range.cpp +++ /dev/null @@ -1,39 +0,0 @@ -#include "Lts/Common/LtsTimelineClassic/Range.h" - -#include - -namespace LtsTimelineClassic -{ - -class RangeTest : public ::testing::Test -{ - protected: - void SetUp() override {} - - void TearDown() override {} -}; - -TEST(RangeTest, DefaultConstructorInitializesToZero) -{ - Range range; - EXPECT_EQ(range.start, 0); - EXPECT_EQ(range.end, 0); -} - -TEST(RangeTest, ParameterizedConstructorSetsValues) -{ - Range range(100, 500); - EXPECT_EQ(range.start, 100); - EXPECT_EQ(range.end, 500); -} - -TEST(RangeTest, CopyConstructorWorks) -{ - Range range1(100, 500); - Range range2(range1); - - EXPECT_EQ(range2.start, 100); - EXPECT_EQ(range2.end, 500); -} - -} // namespace LtsTimelineClassic \ No newline at end of file diff --git a/qt6-after/qt6-migrated-benchmark/tests/test_rep_dtc.cpp b/qt6-after/qt6-migrated-benchmark/tests/test_rep_dtc.cpp deleted file mode 100644 index 7d8cf551e..000000000 --- a/qt6-after/qt6-migrated-benchmark/tests/test_rep_dtc.cpp +++ /dev/null @@ -1,16 +0,0 @@ -/** - * @file test_rep_dtc.cpp - * @brief Compilation test for include/ReportManagement/rep_dtc.h - * - * This test verifies that the migrated header compiles correctly with Qt6/C++23. - */ - -#include "include/ReportManagement/rep_dtc.h" - -#include - -TEST(rep_dtc_Compilation, HeaderCompiles) -{ - // This test verifies that the header compiles without errors - EXPECT_TRUE(true); -} diff --git a/qt6-after/qt6-migrated-benchmark/tests/test_rep_enums.cpp b/qt6-after/qt6-migrated-benchmark/tests/test_rep_enums.cpp deleted file mode 100644 index 94bc5ace0..000000000 --- a/qt6-after/qt6-migrated-benchmark/tests/test_rep_enums.cpp +++ /dev/null @@ -1,16 +0,0 @@ -/** - * @file test_rep_enums.cpp - * @brief Compilation test for ReportManagement/rep_enums.hpp - * - * This test verifies that the migrated header compiles correctly with Qt6/C++23. - */ - -#include "ReportManagement/rep_enums.hpp" - -#include - -TEST(rep_enums_Compilation, HeaderCompiles) -{ - // This test verifies that the header compiles without errors - EXPECT_TRUE(true); -} diff --git a/qt6-after/qt6-migrated-benchmark/tests/test_reply_message.cpp b/qt6-after/qt6-migrated-benchmark/tests/test_reply_message.cpp deleted file mode 100644 index 1ef062e8d..000000000 --- a/qt6-after/qt6-migrated-benchmark/tests/test_reply_message.cpp +++ /dev/null @@ -1,16 +0,0 @@ -#include - -TEST(reply_messageTest, CompilationStub) -{ - EXPECT_TRUE(true); -} - -TEST(reply_messageTest, Qt6ApiCompatibility) -{ - EXPECT_TRUE(true); -} - -TEST(reply_messageTest, BasicFunctionality) -{ - EXPECT_TRUE(true); -} diff --git a/qt6-after/qt6-migrated-benchmark/tests/test_rti_integration.cpp b/qt6-after/qt6-migrated-benchmark/tests/test_rti_integration.cpp deleted file mode 100644 index 766c09f1c..000000000 --- a/qt6-after/qt6-migrated-benchmark/tests/test_rti_integration.cpp +++ /dev/null @@ -1,80 +0,0 @@ -/** - * @file test_rti_integration.cpp - * @brief Tests für RTI Connext DDS Integration - * - * Tests verify that: - * 1. RTI library detection works correctly - * 2. RTI-dependent code is properly guarded - * 3. Fallback behavior when RTI is not available - */ - -#include -#include - -// Test 1: RTI library path detection -TEST(RTIIntegration, LibraryPathDetection) -{ - // Test that RTI library path can be configured - std::string rti_dir = "./external/rti_connext_dds-7.7.0"; - EXPECT_FALSE(rti_dir.empty()); -} - -// Test 2: BUILD_RTI configuration -TEST(RTIIntegration, BuildRTIConfiguration) -{ -#if BUILD_RTI - // RTI build mode - EXPECT_TRUE(true); // RTI is enabled -#else - // Fallback mode - SUCCEED(); // Fallback mode is valid -#endif -} - -// Test 3: RTI version detection (mock) -TEST(RTIIntegration, RTIVersionDetection) -{ - // Mock test for RTI version detection - std::string expected_version = "7.7.0"; - std::string detected_version = expected_version; // In real code, this would be detected - - EXPECT_EQ(detected_version, expected_version); -} - -// Test 4: DDS module conditional compilation -TEST(RTIIntegration, DDSModuleGuards) -{ - // Verify DDS modules compile with BUILD_RTI guards - bool dds_available = false; -#if BUILD_RTI - dds_available = true; -#endif - - // In fallback mode, DDS should not be available - // In RTI mode, DDS should be available - // This test just verifies the guard works - (void)dds_available; - SUCCEED(); -} - -// Test 5: ProjectDataManagement with RTI guards -TEST(RTIIntegration, ProjectDataManagementGuards) -{ - // Verify ProjectDataManagement compiles with BUILD_RTI guards -#if BUILD_RTI - // RTI-specific PDM functionality would be tested here - SUCCEED(); -#else - // Fallback PDM functionality - SUCCEED(); -#endif -} - -// Test 6: Architecture-specific RTI library path -TEST(RTIIntegration, ArchitecturePath) -{ - // Test architecture-specific path detection - std::string arch_path = "x64Linux4gcc8.5.0"; - EXPECT_FALSE(arch_path.empty()); - EXPECT_TRUE(arch_path.find("Linux") != std::string::npos); -} \ No newline at end of file diff --git a/qt6-after/qt6-migrated-benchmark/tests/test_saa_telegrams.cpp b/qt6-after/qt6-migrated-benchmark/tests/test_saa_telegrams.cpp deleted file mode 100644 index 747b7a7c9..000000000 --- a/qt6-after/qt6-migrated-benchmark/tests/test_saa_telegrams.cpp +++ /dev/null @@ -1,90 +0,0 @@ -/** - * @file test_saa_telegrams.cpp - * @brief Tests für saaTelegrams mit BUILD_RTI guards - * - * Tests verify that: - * 1. saaTelegrams compiles with BUILD_RTI guards - * 2. Telegram structures are properly defined - * 3. Serialization/deserialization works in fallback mode - */ - -#include -#include -#include - -// Mock structures for testing without full RTI dependency -namespace saa -{ - -// Simple telegram structure for testing -struct TestTelegram -{ - uint32_t id; - uint32_t timestamp; - char data[64]; - - TestTelegram() : id(0), timestamp(0) - { - std::memset(data, 0, sizeof(data)); - } -}; - -} // namespace saa - -// Test 1: Telegram structure size -TEST(SAATelegrams, TelegramStructureSize) -{ - saa::TestTelegram telegram; - EXPECT_GT(sizeof(telegram), 0); - EXPECT_EQ(sizeof(telegram.data), 64u); -} - -// Test 2: Telegram initialization -TEST(SAATelegrams, TelegramInitialization) -{ - saa::TestTelegram telegram; - EXPECT_EQ(telegram.id, 0u); - EXPECT_EQ(telegram.timestamp, 0u); -} - -// Test 3: Telegram data handling -TEST(SAATelegrams, TelegramDataHandling) -{ - saa::TestTelegram telegram; - const char* test_data = "test message"; - std::strncpy(telegram.data, test_data, sizeof(telegram.data) - 1); - - EXPECT_STREQ(telegram.data, test_data); -} - -// Test 4: BUILD_RTI conditional compilation for saaTelegrams -TEST(SAATelegrams, BuildRTIGuards) -{ - // Verify saaTelegrams compiles correctly with BUILD_RTI guards -#if BUILD_RTI - // When BUILD_RTI is on, full RTI functionality should be available - SUCCEED(); // Placeholder for RTI-specific tests -#else - // When BUILD_RTI is off, fallback implementation should work - saa::TestTelegram telegram; - EXPECT_EQ(telegram.id, 0u); -#endif -} - -// Test 5: Telegram serialization (fallback mode) -TEST(SAATelegrams, SerializationFallback) -{ - saa::TestTelegram telegram1; - telegram1.id = 12345; - telegram1.timestamp = 987654321; - - // Simple serialization test - uint8_t buffer[sizeof(saa::TestTelegram)]; - std::memcpy(buffer, &telegram1, sizeof(telegram1)); - - saa::TestTelegram telegram2; - std::memcpy(&telegram2, buffer, sizeof(telegram2)); - - EXPECT_EQ(telegram1.id, telegram2.id); - EXPECT_EQ(telegram1.timestamp, telegram2.timestamp); -} \ No newline at end of file diff --git a/qt6-after/qt6-migrated-benchmark/tests/test_scm_dtc.cpp b/qt6-after/qt6-migrated-benchmark/tests/test_scm_dtc.cpp deleted file mode 100644 index dc1a21e89..000000000 --- a/qt6-after/qt6-migrated-benchmark/tests/test_scm_dtc.cpp +++ /dev/null @@ -1,16 +0,0 @@ -/** - * @file test_scm_dtc.cpp - * @brief Compilation test for include/ScenarioManagement/scm_dtc.h - * - * This test verifies that the migrated header compiles correctly with Qt6/C++23. - */ - -#include "include/ScenarioManagement/scm_dtc.h" - -#include - -TEST(scm_dtc_Compilation, HeaderCompiles) -{ - // This test verifies that the header compiles without errors - EXPECT_TRUE(true); -} diff --git a/qt6-after/qt6-migrated-benchmark/tests/test_script_timeline.cpp b/qt6-after/qt6-migrated-benchmark/tests/test_script_timeline.cpp deleted file mode 100644 index 56059d0a2..000000000 --- a/qt6-after/qt6-migrated-benchmark/tests/test_script_timeline.cpp +++ /dev/null @@ -1,16 +0,0 @@ -#include - -TEST(script_timelineTest, CompilationStub) -{ - EXPECT_TRUE(true); -} - -TEST(script_timelineTest, Qt6ApiCompatibility) -{ - EXPECT_TRUE(true); -} - -TEST(script_timelineTest, BasicFunctionality) -{ - EXPECT_TRUE(true); -} diff --git a/qt6-after/qt6-migrated-benchmark/tests/test_skl_dtc.cpp b/qt6-after/qt6-migrated-benchmark/tests/test_skl_dtc.cpp deleted file mode 100644 index b399ecd6c..000000000 --- a/qt6-after/qt6-migrated-benchmark/tests/test_skl_dtc.cpp +++ /dev/null @@ -1,16 +0,0 @@ -/** - * @file test_skl_dtc.cpp - * @brief Compilation test for include/Skeleton/skl_dtc.h - * - * This test verifies that the migrated header compiles correctly with Qt6/C++23. - */ - -#include "include/Skeleton/skl_dtc.h" - -#include - -TEST(skl_dtc_Compilation, HeaderCompiles) -{ - // This test verifies that the header compiles without errors - EXPECT_TRUE(true); -} diff --git a/qt6-after/qt6-migrated-benchmark/tests/test_som_dtc.cpp b/qt6-after/qt6-migrated-benchmark/tests/test_som_dtc.cpp deleted file mode 100644 index 6659eb261..000000000 --- a/qt6-after/qt6-migrated-benchmark/tests/test_som_dtc.cpp +++ /dev/null @@ -1,16 +0,0 @@ -/** - * @file test_som_dtc.cpp - * @brief Compilation test for include/SoundManagement/som_dtc.h - * - * This test verifies that the migrated header compiles correctly with Qt6/C++23. - */ - -#include "include/SoundManagement/som_dtc.h" - -#include - -TEST(som_dtc_Compilation, HeaderCompiles) -{ - // This test verifies that the header compiles without errors - EXPECT_TRUE(true); -} diff --git a/qt6-after/qt6-migrated-benchmark/tests/test_srm_dtc.cpp b/qt6-after/qt6-migrated-benchmark/tests/test_srm_dtc.cpp deleted file mode 100644 index d0be41d70..000000000 --- a/qt6-after/qt6-migrated-benchmark/tests/test_srm_dtc.cpp +++ /dev/null @@ -1,16 +0,0 @@ -/** - * @file test_srm_dtc.cpp - * @brief Compilation test for include/SituationReplayManagement/srm_dtc.h - * - * This test verifies that the migrated header compiles correctly with Qt6/C++23. - */ - -#include "include/SituationReplayManagement/srm_dtc.h" - -#include - -TEST(srm_dtc_Compilation, HeaderCompiles) -{ - // This test verifies that the header compiles without errors - EXPECT_TRUE(true); -} diff --git a/qt6-after/qt6-migrated-benchmark/tests/test_srp_dtc.cpp b/qt6-after/qt6-migrated-benchmark/tests/test_srp_dtc.cpp deleted file mode 100644 index d2807348f..000000000 --- a/qt6-after/qt6-migrated-benchmark/tests/test_srp_dtc.cpp +++ /dev/null @@ -1,16 +0,0 @@ -/** - * @file test_srp_dtc.cpp - * @brief Compilation test for include/SituationReplay/srp_dtc.h - * - * This test verifies that the migrated header compiles correctly with Qt6/C++23. - */ - -#include "include/SituationReplay/srp_dtc.h" - -#include - -TEST(srp_dtc_Compilation, HeaderCompiles) -{ - // This test verifies that the header compiles without errors - EXPECT_TRUE(true); -} diff --git a/qt6-after/qt6-migrated-benchmark/tests/test_srp_enums.cpp b/qt6-after/qt6-migrated-benchmark/tests/test_srp_enums.cpp deleted file mode 100644 index 932c5b9f3..000000000 --- a/qt6-after/qt6-migrated-benchmark/tests/test_srp_enums.cpp +++ /dev/null @@ -1,16 +0,0 @@ -/** - * @file test_srp_enums.cpp - * @brief Compilation test for SituationReplay/srp_enums.hpp - * - * This test verifies that the migrated header compiles correctly with Qt6/C++23. - */ - -#include "SituationReplay/srp_enums.hpp" - -#include - -TEST(srp_enums_Compilation, HeaderCompiles) -{ - // This test verifies that the header compiles without errors - EXPECT_TRUE(true); -} diff --git a/qt6-after/qt6-migrated-benchmark/tests/test_symbology_xml.cpp b/qt6-after/qt6-migrated-benchmark/tests/test_symbology_xml.cpp deleted file mode 100644 index 35455ae2f..000000000 --- a/qt6-after/qt6-migrated-benchmark/tests/test_symbology_xml.cpp +++ /dev/null @@ -1,120 +0,0 @@ -/** - * @file test_symbology_xml.cpp - * @brief Tests für SymbologyXML Qt6 API Migrationen - * - * Tests verify that: - * 1. QStringView works correctly (replaced QStringRef) - * 2. std::list works correctly (replaced QLinkedList) - * 3. QMultiMap works correctly (replaced QMap for multi-value keys) - * 4. QFontMetricsF::horizontalAdvance() works (replaced width()) - * 5. QVariant::fromValue() works for custom types - * 6. QXmlStreamWriter without setCodec() works (UTF-8 default) - */ - -#include - -// Qt6 headers with proper module prefixes -#include -#include -#include -#include -#include -#include -#include -#include -#include - -// Test 1: QStringView compatibility (replaced QStringRef) -TEST(SymbologyXML, QStringViewCompatibility) -{ - QString text = "Test SymbologyXML"; - QStringView view = text; - - EXPECT_EQ(view.toString(), text); - EXPECT_EQ(view.length(), text.length()); - EXPECT_EQ(view.first(4).toString(), "Test"); -} - -// Test 2: std::list compatibility (replaced QLinkedList) -TEST(SymbologyXML, StdListCompatibility) -{ - std::list symbolIds = {1, 2, 3, 4, 5}; - - EXPECT_EQ(symbolIds.size(), 5); - EXPECT_EQ(symbolIds.front(), 1); - EXPECT_EQ(symbolIds.back(), 5); - - // Test iteration - int sum = 0; - for (int id : symbolIds) - { - sum += id; - } - EXPECT_EQ(sum, 15); -} - -// Test 3: QMultiMap compatibility (replaced QMap for multi-value keys) -TEST(SymbologyXML, QMultiMapCompatibility) -{ - QMultiMap symbolTable; - - // Insert multiple values for same key - symbolTable.insert("symbol", 1); - symbolTable.insert("symbol", 2); - symbolTable.insert("symbol", 3); - - EXPECT_EQ(symbolTable.count("symbol"), 3); - - auto values = symbolTable.values("symbol"); - EXPECT_EQ(values.size(), 3); - - // Note: QMultiMap values() order is undefined (not necessarily insertion order) - // Sort values to verify all expected values are present - std::sort(values.begin(), values.end()); - EXPECT_EQ(values[0], 1); - EXPECT_EQ(values[1], 2); - EXPECT_EQ(values[2], 3); -} - -// Test 4: QFontMetricsF::horizontalAdvance (replaced width()) -TEST(SymbologyXML, QFontMetricsFHorizontalAdvance) -{ - // QFontMetricsF::horizontalAdvance() exists in Qt6 - // Note: Actual font metrics require QGuiApplication for font database - // This test verifies the API compiles - in production code this would be - // used within a QWidget/QGuiApplication context - SUCCEED() << "QFontMetricsF::horizontalAdvance() exists (verified by compilation)"; -} - -// Test 5: QVariant::fromValue for custom types -TEST(SymbologyXML, QVariantFromValue) -{ - struct SymbolData - { - int id; - QString name; - }; - - SymbolData data{42, "TestSymbol"}; - QVariant variant = QVariant::fromValue(data); - - EXPECT_TRUE(variant.canConvert()); - SymbolData retrieved = variant.value(); - EXPECT_EQ(retrieved.id, 42); - EXPECT_EQ(retrieved.name, "TestSymbol"); -} - -// Test 6: QXmlStreamWriter without setCodec (UTF-8 default in Qt6) -TEST(SymbologyXML, QXmlStreamWriterUtf8Default) -{ - QByteArray buffer; - QXmlStreamWriter writer(&buffer); - - writer.writeStartDocument(); - writer.writeTextElement("symbol", "Testäöü"); - writer.writeEndDocument(); - - QString xml = QString::fromUtf8(buffer); - EXPECT_TRUE(xml.contains("Testäöü")); - // Qt6 uses UTF-8 by default, no setCodec needed -} diff --git a/qt6-after/qt6-migrated-benchmark/tests/test_tab_dtc.cpp b/qt6-after/qt6-migrated-benchmark/tests/test_tab_dtc.cpp deleted file mode 100644 index 35b07d8a9..000000000 --- a/qt6-after/qt6-migrated-benchmark/tests/test_tab_dtc.cpp +++ /dev/null @@ -1,16 +0,0 @@ -/** - * @file test_tab_dtc.cpp - * @brief Compilation test for include/TrainingAreaBase/tab_dtc.h - * - * This test verifies that the migrated header compiles correctly with Qt6/C++23. - */ - -#include "include/TrainingAreaBase/tab_dtc.h" - -#include - -TEST(tab_dtc_Compilation, HeaderCompiles) -{ - // This test verifies that the header compiles without errors - EXPECT_TRUE(true); -} diff --git a/qt6-after/qt6-migrated-benchmark/tests/test_taboc_dtc.cpp b/qt6-after/qt6-migrated-benchmark/tests/test_taboc_dtc.cpp deleted file mode 100644 index 08505da7e..000000000 --- a/qt6-after/qt6-migrated-benchmark/tests/test_taboc_dtc.cpp +++ /dev/null @@ -1,16 +0,0 @@ -/** - * @file test_taboc_dtc.cpp - * @brief Compilation test for include/DDS/taboc_dtc.h - * - * This test verifies that the migrated header compiles correctly with Qt6/C++23. - */ - -#include "include/DDS/taboc_dtc.h" - -#include - -TEST(taboc_dtc_Compilation, HeaderCompiles) -{ - // This test verifies that the header compiles without errors - EXPECT_TRUE(true); -} diff --git a/qt6-after/qt6-migrated-benchmark/tests/test_temporary_pointer_vector.h.cpp b/qt6-after/qt6-migrated-benchmark/tests/test_temporary_pointer_vector.h.cpp deleted file mode 100644 index 71cd17a3f..000000000 --- a/qt6-after/qt6-migrated-benchmark/tests/test_temporary_pointer_vector.h.cpp +++ /dev/null @@ -1,16 +0,0 @@ -#include - -TEST(temporary_pointer_vector.hTest, CompilationStub) -{ - EXPECT_TRUE(true); -} - -TEST(temporary_pointer_vector.hTest, Qt6ApiCompatibility) -{ - EXPECT_TRUE(true); -} - -TEST(temporary_pointer_vector.hTest, BasicFunctionality) -{ - EXPECT_TRUE(true); -} diff --git a/qt6-after/qt6-migrated-benchmark/tests/test_testtimelinemodel.cpp b/qt6-after/qt6-migrated-benchmark/tests/test_testtimelinemodel.cpp deleted file mode 100644 index f62d9fd21..000000000 --- a/qt6-after/qt6-migrated-benchmark/tests/test_testtimelinemodel.cpp +++ /dev/null @@ -1,51 +0,0 @@ -#include "Lts/Common/LtsTimelineClassic/Event.h" -#include "Lts/Common/LtsTimelineClassic/TestTimelineModel.h" - -#include - -namespace LtsTimelineClassic -{ - -class TestTimelineModelTest : public ::testing::Test -{ - protected: - void SetUp() override {} - - void TearDown() override {} -}; - -TEST(TestTimelineModelTest, ConstructorCreatesValidModel) -{ - TestTimelineModel model; - EXPECT_NO_THROW(model.rowCount()); - EXPECT_NO_THROW(model.columnCount()); -} - -TEST(TestTimelineModelTest, AddTestEventIncreasesRowCount) -{ - TestTimelineModel model; - int initialCount = model.rowCount(); - - Event* event = new Event(); - model.addTestEvent(event); - - EXPECT_EQ(model.rowCount(), initialCount + 1); -} - -TEST(TestTimelineModelTest, MultipleEventsCanBeAdded) -{ - TestTimelineModel model; - int initialCount = model.rowCount(); - - Event* event1 = new Event(); - Event* event2 = new Event(); - Event* event3 = new Event(); - - model.addTestEvent(event1); - model.addTestEvent(event2); - model.addTestEvent(event3); - - EXPECT_EQ(model.rowCount(), initialCount + 3); -} - -} // namespace LtsTimelineClassic \ No newline at end of file diff --git a/qt6-after/qt6-migrated-benchmark/tests/test_tgt_dtc.cpp b/qt6-after/qt6-migrated-benchmark/tests/test_tgt_dtc.cpp deleted file mode 100644 index 45c1f718d..000000000 --- a/qt6-after/qt6-migrated-benchmark/tests/test_tgt_dtc.cpp +++ /dev/null @@ -1,16 +0,0 @@ -/** - * @file test_tgt_dtc.cpp - * @brief Compilation test for include/TargetManagement/tgt_dtc.h - * - * This test verifies that the migrated header compiles correctly with Qt6/C++23. - */ - -#include "include/TargetManagement/tgt_dtc.h" - -#include - -TEST(tgt_dtc_Compilation, HeaderCompiles) -{ - // This test verifies that the header compiles without errors - EXPECT_TRUE(true); -} diff --git a/qt6-after/qt6-migrated-benchmark/tests/test_timelineheaderview.cpp b/qt6-after/qt6-migrated-benchmark/tests/test_timelineheaderview.cpp deleted file mode 100644 index def57d371..000000000 --- a/qt6-after/qt6-migrated-benchmark/tests/test_timelineheaderview.cpp +++ /dev/null @@ -1,52 +0,0 @@ -#include "Lts/Common/LtsTimelineClassic/TimelineHeaderView.h" - -#include -#include - -namespace LtsTimelineClassic -{ - -class TimelineHeaderViewTest : public ::testing::Test -{ - protected: - void SetUp() override - { - int argc = 1; - char* argv[] = {const_cast("test")}; - qApp = new QApplication(argc, argv); - } - - void TearDown() override - { - delete qApp; - qApp = nullptr; - } -}; - -TEST(TimelineHeaderViewTest, ConstructorCreatesValidHeader) -{ - QWidget parent; - TimelineHeaderView header(&parent); - EXPECT_NE(header.count(), -1); - EXPECT_TRUE(header.stretchLastSection()); -} - -TEST(TimelineHeaderViewTest, SetPosMarkTimeUpdatesValue) -{ - QWidget parent; - TimelineHeaderView header(&parent); - - EXPECT_NO_THROW(header.setPosMarkTime(1000)); - EXPECT_NO_THROW(header.setPosMarkTime(5000)); -} - -TEST(TimelineHeaderViewTest, SetLiveTimeUpdatesValue) -{ - QWidget parent; - TimelineHeaderView header(&parent); - - EXPECT_NO_THROW(header.setLiveTime(1000)); - EXPECT_NO_THROW(header.setLiveTime(5000)); -} - -} // namespace LtsTimelineClassic \ No newline at end of file diff --git a/qt6-after/qt6-migrated-benchmark/tests/test_timelineindicator.cpp b/qt6-after/qt6-migrated-benchmark/tests/test_timelineindicator.cpp deleted file mode 100644 index a1544403a..000000000 --- a/qt6-after/qt6-migrated-benchmark/tests/test_timelineindicator.cpp +++ /dev/null @@ -1,67 +0,0 @@ -#include "Lts/Common/LtsTimelineClassic/TimelineIndicator.h" - -#include -#include - -namespace LtsTimelineClassic -{ - -class TimelineIndicatorTest : public ::testing::Test -{ - protected: - void SetUp() override - { - int argc = 1; - char* argv[] = {const_cast("test")}; - qApp = new QApplication(argc, argv); - } - - void TearDown() override - { - delete qApp; - qApp = nullptr; - } -}; - -TEST(TimelineIndicatorTest, ConstructorCreatesValidIndicator) -{ - QWidget parent; - TimelineIndicator indicator(&parent); - EXPECT_NO_THROW(indicator.update()); -} - -TEST(TimelineIndicatorTest, SlotZoomChangesIndex) -{ - QWidget parent; - TimelineIndicator indicator(&parent); - - int initialIndex = indicator.m_cbZoomLevel->currentIndex(); - indicator.slotZoom(); - - // Zoom out should decrease index (if not already at 0) - if (initialIndex > 0) - { - EXPECT_EQ(indicator.m_cbZoomLevel->currentIndex(), initialIndex - 1); - } - else - { - EXPECT_EQ(indicator.m_cbZoomLevel->currentIndex(), 0); - } -} - -TEST(TimelineIndicatorTest, SlotUnzoomChangesIndex) -{ - QWidget parent; - TimelineIndicator indicator(&parent); - - int initialIndex = indicator.m_cbZoomLevel->currentIndex(); - int maxIndex = indicator.m_cbZoomLevel->count() - 1; - - // Set to a lower index to allow unzoom - indicator.m_cbZoomLevel->setCurrentIndex(1); - indicator.slotUnzoom(); - - EXPECT_EQ(indicator.m_cbZoomLevel->currentIndex(), 2); -} - -} // namespace LtsTimelineClassic \ No newline at end of file diff --git a/qt6-after/qt6-migrated-benchmark/tests/test_timelineview.cpp b/qt6-after/qt6-migrated-benchmark/tests/test_timelineview.cpp deleted file mode 100644 index c40f0ddaf..000000000 --- a/qt6-after/qt6-migrated-benchmark/tests/test_timelineview.cpp +++ /dev/null @@ -1,39 +0,0 @@ -#include "Lts/Common/LtsTimelineClassic/TimelineView.h" - -#include -#include - -namespace LtsTimelineClassic -{ - -class TimelineViewTest : public ::testing::Test -{ - protected: - void SetUp() override {} - - void TearDown() override {} -}; - -TEST(TimelineViewTest, HeaderCompilesAndLinks) -{ - // Verify header compiles without errors - EXPECT_TRUE(true); -} - -TEST(TimelineViewTest, CanInstantiateTimelineView) -{ - // Basic instantiation test - QWidget parent; - TimelineView timelineView(&parent); - EXPECT_NO_THROW(timelineView.update()); -} - -TEST(TimelineViewTest, TimelineViewHasValidState) -{ - QWidget parent; - TimelineView timelineView(&parent); - // Test basic properties - EXPECT_NO_THROW(timelineView.setGeometry(0, 0, 800, 600)); -} - -} // namespace LtsTimelineClassic \ No newline at end of file diff --git a/qt6-after/qt6-migrated-benchmark/tests/test_timelinewidget.cpp b/qt6-after/qt6-migrated-benchmark/tests/test_timelinewidget.cpp deleted file mode 100644 index f324e22d7..000000000 --- a/qt6-after/qt6-migrated-benchmark/tests/test_timelinewidget.cpp +++ /dev/null @@ -1,39 +0,0 @@ -#include "Lts/Common/LtsTimelineClassic/TimelineWidget.h" - -#include -#include - -namespace LtsTimelineClassic -{ - -class TimelineWidgetTest : public ::testing::Test -{ - protected: - void SetUp() override {} - - void TearDown() override {} -}; - -TEST(TimelineWidgetTest, HeaderCompilesAndLinks) -{ - // Verify header compiles without errors - EXPECT_TRUE(true); -} - -TEST(TimelineWidgetTest, CanInstantiateTimelineWidget) -{ - // Basic instantiation test - QWidget parent; - TimelineWidget timelineWidget(&parent); - EXPECT_NO_THROW(timelineWidget.update()); -} - -TEST(TimelineWidgetTest, TimelineWidgetHasValidState) -{ - QWidget parent; - TimelineWidget timelineWidget(&parent); - // Test basic properties - EXPECT_NO_THROW(timelineWidget.setGeometry(0, 0, 1024, 768)); -} - -} // namespace LtsTimelineClassic \ No newline at end of file diff --git a/qt6-after/qt6-migrated-benchmark/tests/test_tools.cpp b/qt6-after/qt6-migrated-benchmark/tests/test_tools.cpp deleted file mode 100644 index eef14b831..000000000 --- a/qt6-after/qt6-migrated-benchmark/tests/test_tools.cpp +++ /dev/null @@ -1,16 +0,0 @@ -#include - -TEST(toolsTest, CompilationStub) -{ - EXPECT_TRUE(true); -} - -TEST(toolsTest, Qt6ApiCompatibility) -{ - EXPECT_TRUE(true); -} - -TEST(toolsTest, BasicFunctionality) -{ - EXPECT_TRUE(true); -} diff --git a/qt6-after/qt6-migrated-benchmark/tests/test_track_content_widget.cpp b/qt6-after/qt6-migrated-benchmark/tests/test_track_content_widget.cpp deleted file mode 100644 index 460aba418..000000000 --- a/qt6-after/qt6-migrated-benchmark/tests/test_track_content_widget.cpp +++ /dev/null @@ -1,16 +0,0 @@ -#include - -TEST(track_content_widgetTest, CompilationStub) -{ - EXPECT_TRUE(true); -} - -TEST(track_content_widgetTest, Qt6ApiCompatibility) -{ - EXPECT_TRUE(true); -} - -TEST(track_content_widgetTest, BasicFunctionality) -{ - EXPECT_TRUE(true); -} diff --git a/qt6-after/qt6-migrated-benchmark/tests/test_track_drag_handler.cpp b/qt6-after/qt6-migrated-benchmark/tests/test_track_drag_handler.cpp deleted file mode 100644 index b3cc4372f..000000000 --- a/qt6-after/qt6-migrated-benchmark/tests/test_track_drag_handler.cpp +++ /dev/null @@ -1,16 +0,0 @@ -#include - -TEST(track_drag_handlerTest, CompilationStub) -{ - EXPECT_TRUE(true); -} - -TEST(track_drag_handlerTest, Qt6ApiCompatibility) -{ - EXPECT_TRUE(true); -} - -TEST(track_drag_handlerTest, BasicFunctionality) -{ - EXPECT_TRUE(true); -} diff --git a/qt6-after/qt6-migrated-benchmark/tests/test_track_entry.h.cpp b/qt6-after/qt6-migrated-benchmark/tests/test_track_entry.h.cpp deleted file mode 100644 index 7bb52b440..000000000 --- a/qt6-after/qt6-migrated-benchmark/tests/test_track_entry.h.cpp +++ /dev/null @@ -1,16 +0,0 @@ -#include - -TEST(track_entry.hTest, CompilationStub) -{ - EXPECT_TRUE(true); -} - -TEST(track_entry.hTest, Qt6ApiCompatibility) -{ - EXPECT_TRUE(true); -} - -TEST(track_entry.hTest, BasicFunctionality) -{ - EXPECT_TRUE(true); -} diff --git a/qt6-after/qt6-migrated-benchmark/tests/test_track_entry_painters.cpp b/qt6-after/qt6-migrated-benchmark/tests/test_track_entry_painters.cpp deleted file mode 100644 index 239b0af7c..000000000 --- a/qt6-after/qt6-migrated-benchmark/tests/test_track_entry_painters.cpp +++ /dev/null @@ -1,16 +0,0 @@ -#include - -TEST(track_entry_paintersTest, CompilationStub) -{ - EXPECT_TRUE(true); -} - -TEST(track_entry_paintersTest, Qt6ApiCompatibility) -{ - EXPECT_TRUE(true); -} - -TEST(track_entry_paintersTest, BasicFunctionality) -{ - EXPECT_TRUE(true); -} diff --git a/qt6-after/qt6-migrated-benchmark/tests/test_track_entry_preview_widget.cpp b/qt6-after/qt6-migrated-benchmark/tests/test_track_entry_preview_widget.cpp deleted file mode 100644 index e726778d0..000000000 --- a/qt6-after/qt6-migrated-benchmark/tests/test_track_entry_preview_widget.cpp +++ /dev/null @@ -1,16 +0,0 @@ -#include - -TEST(track_entry_preview_widgetTest, CompilationStub) -{ - EXPECT_TRUE(true); -} - -TEST(track_entry_preview_widgetTest, Qt6ApiCompatibility) -{ - EXPECT_TRUE(true); -} - -TEST(track_entry_preview_widgetTest, BasicFunctionality) -{ - EXPECT_TRUE(true); -} diff --git a/qt6-after/qt6-migrated-benchmark/tests/test_track_entry_previewer.cpp b/qt6-after/qt6-migrated-benchmark/tests/test_track_entry_previewer.cpp deleted file mode 100644 index bcfa6fb1c..000000000 --- a/qt6-after/qt6-migrated-benchmark/tests/test_track_entry_previewer.cpp +++ /dev/null @@ -1,16 +0,0 @@ -#include - -TEST(track_entry_previewerTest, CompilationStub) -{ - EXPECT_TRUE(true); -} - -TEST(track_entry_previewerTest, Qt6ApiCompatibility) -{ - EXPECT_TRUE(true); -} - -TEST(track_entry_previewerTest, BasicFunctionality) -{ - EXPECT_TRUE(true); -} diff --git a/qt6-after/qt6-migrated-benchmark/tests/test_track_header.cpp b/qt6-after/qt6-migrated-benchmark/tests/test_track_header.cpp deleted file mode 100644 index 49e38fc71..000000000 --- a/qt6-after/qt6-migrated-benchmark/tests/test_track_header.cpp +++ /dev/null @@ -1,16 +0,0 @@ -#include - -TEST(track_headerTest, CompilationStub) -{ - EXPECT_TRUE(true); -} - -TEST(track_headerTest, Qt6ApiCompatibility) -{ - EXPECT_TRUE(true); -} - -TEST(track_headerTest, BasicFunctionality) -{ - EXPECT_TRUE(true); -} diff --git a/qt6-after/qt6-migrated-benchmark/tests/test_track_resize_handler.cpp b/qt6-after/qt6-migrated-benchmark/tests/test_track_resize_handler.cpp deleted file mode 100644 index a0d6ce929..000000000 --- a/qt6-after/qt6-migrated-benchmark/tests/test_track_resize_handler.cpp +++ /dev/null @@ -1,16 +0,0 @@ -#include - -TEST(track_resize_handlerTest, CompilationStub) -{ - EXPECT_TRUE(true); -} - -TEST(track_resize_handlerTest, Qt6ApiCompatibility) -{ - EXPECT_TRUE(true); -} - -TEST(track_resize_handlerTest, BasicFunctionality) -{ - EXPECT_TRUE(true); -} diff --git a/qt6-after/qt6-migrated-benchmark/tests/test_track_select_handler.cpp b/qt6-after/qt6-migrated-benchmark/tests/test_track_select_handler.cpp deleted file mode 100644 index 946323564..000000000 --- a/qt6-after/qt6-migrated-benchmark/tests/test_track_select_handler.cpp +++ /dev/null @@ -1,16 +0,0 @@ -#include - -TEST(track_select_handlerTest, CompilationStub) -{ - EXPECT_TRUE(true); -} - -TEST(track_select_handlerTest, Qt6ApiCompatibility) -{ - EXPECT_TRUE(true); -} - -TEST(track_select_handlerTest, BasicFunctionality) -{ - EXPECT_TRUE(true); -} diff --git a/qt6-after/qt6-migrated-benchmark/tests/test_vnc_server_manager.cpp b/qt6-after/qt6-migrated-benchmark/tests/test_vnc_server_manager.cpp deleted file mode 100644 index 8d64627b2..000000000 --- a/qt6-after/qt6-migrated-benchmark/tests/test_vnc_server_manager.cpp +++ /dev/null @@ -1,16 +0,0 @@ -#include - -TEST(vnc_server_managerTest, CompilationStub) -{ - EXPECT_TRUE(true); -} - -TEST(vnc_server_managerTest, Qt6ApiCompatibility) -{ - EXPECT_TRUE(true); -} - -TEST(vnc_server_managerTest, BasicFunctionality) -{ - EXPECT_TRUE(true); -} diff --git a/qt6-after/qt6-migrated-benchmark/tests/test_whg_dtc.cpp b/qt6-after/qt6-migrated-benchmark/tests/test_whg_dtc.cpp deleted file mode 100644 index 527fde98a..000000000 --- a/qt6-after/qt6-migrated-benchmark/tests/test_whg_dtc.cpp +++ /dev/null @@ -1,16 +0,0 @@ -/** - * @file test_whg_dtc.cpp - * @brief Compilation test for include/WarehouseGuez/whg_dtc.h - * - * This test verifies that the migrated header compiles correctly with Qt6/C++23. - */ - -#include "include/WarehouseGuez/whg_dtc.h" - -#include - -TEST(whg_dtc_Compilation, HeaderCompiles) -{ - // This test verifies that the header compiles without errors - EXPECT_TRUE(true); -}