diff --git a/qt6-after/qt6-migrated-benchmark/tests/test_DaoGeneratorGrantlee.cpp b/qt6-after/qt6-migrated-benchmark/tests/test_DaoGeneratorGrantlee.cpp index a43b88dff..bcb2fffa4 100644 --- a/qt6-after/qt6-migrated-benchmark/tests/test_DaoGeneratorGrantlee.cpp +++ b/qt6-after/qt6-migrated-benchmark/tests/test_DaoGeneratorGrantlee.cpp @@ -3,18 +3,21 @@ // Header compilation test for DaoGeneratorGrantlee #include "Lts/Common/CodeGen/DaoGeneratorGrantlee.h" -TEST(DaoGeneratorGrantleeTest, HeaderCompiles) { +TEST(DaoGeneratorGrantleeTest, HeaderCompiles) +{ // Verify header compiles without errors EXPECT_TRUE(true); } -TEST(DaoGeneratorGrantleeTest, CanInstantiate) { +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) { +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 index bdafff225..7b4e10312 100644 --- a/qt6-after/qt6-migrated-benchmark/tests/test_DatabaseGeneratorGrantlee.cpp +++ b/qt6-after/qt6-migrated-benchmark/tests/test_DatabaseGeneratorGrantlee.cpp @@ -1,6 +1,18 @@ -#include #include "Lts/Common/CodeGen/DatabaseGeneratorGrantlee.h" -TEST(DatabaseGeneratorGrantleeTest, HeaderCompiles) { EXPECT_TRUE(true); } -TEST(DatabaseGeneratorGrantleeTest, CanInstantiate) { EXPECT_TRUE(true); } -TEST(DatabaseGeneratorGrantleeTest, NamespaceExists) { EXPECT_TRUE(true); } +#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 index 984f961c5..13402b2ba 100644 --- a/qt6-after/qt6-migrated-benchmark/tests/test_GeneratorGrantleeBase.cpp +++ b/qt6-after/qt6-migrated-benchmark/tests/test_GeneratorGrantleeBase.cpp @@ -1,6 +1,18 @@ -#include #include "Lts/Common/CodeGen/GeneratorGrantleeBase.h" -TEST(GeneratorGrantleeBaseTest, HeaderCompiles) { EXPECT_TRUE(true); } -TEST(GeneratorGrantleeBaseTest, CanInstantiate) { EXPECT_TRUE(true); } -TEST(GeneratorGrantleeBaseTest, NamespaceExists) { EXPECT_TRUE(true); } +#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 index 437b6a481..ca69553fd 100644 --- a/qt6-after/qt6-migrated-benchmark/tests/test_GrantleeParserSmoke.cpp +++ b/qt6-after/qt6-migrated-benchmark/tests/test_GrantleeParserSmoke.cpp @@ -1,6 +1,18 @@ -#include #include "Lts/Common/CodeGen/GrantleeParserSmoke.h" -TEST(GrantleeParserSmokeTest, HeaderCompiles) { EXPECT_TRUE(true); } -TEST(GrantleeParserSmokeTest, CanInstantiate) { EXPECT_TRUE(true); } -TEST(GrantleeParserSmokeTest, NamespaceExists) { EXPECT_TRUE(true); } +#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 index 22ddea80b..5f7324374 100644 --- a/qt6-after/qt6-migrated-benchmark/tests/test_GrantleeWrappers.cpp +++ b/qt6-after/qt6-migrated-benchmark/tests/test_GrantleeWrappers.cpp @@ -1,6 +1,18 @@ -#include #include "Lts/Common/CodeGen/GrantleeWrappers.h" -TEST(GrantleeWrappersTest, HeaderCompiles) { EXPECT_TRUE(true); } -TEST(GrantleeWrappersTest, CanInstantiate) { EXPECT_TRUE(true); } -TEST(GrantleeWrappersTest, NamespaceExists) { EXPECT_TRUE(true); } +#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 index 8d17684b6..217f8278e 100644 --- a/qt6-after/qt6-migrated-benchmark/tests/test_LtsCommandLineParser.cpp +++ b/qt6-after/qt6-migrated-benchmark/tests/test_LtsCommandLineParser.cpp @@ -3,8 +3,10 @@ // Stub test for LtsCommandLineParser.cpp migration validation // Actual implementation tests should be added based on LtsCommandLineParser.cpp functionality -namespace Lts { -namespace Common { +namespace Lts +{ +namespace Common +{ // Forward declarations to verify compilation // TODO: Add actual class/function declarations from LtsCommandLineParser @@ -12,19 +14,22 @@ namespace Common { } // namespace Common } // namespace Lts -TEST(LtsCommandLineParserMigrationTest, CompilationStub) { +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) { +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) { +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 index 80cd196d5..24ffd98eb 100644 --- a/qt6-after/qt6-migrated-benchmark/tests/test_SqlGenerator.cpp +++ b/qt6-after/qt6-migrated-benchmark/tests/test_SqlGenerator.cpp @@ -1,6 +1,18 @@ -#include #include "Lts/Common/CodeGen/SqlGenerator.h" -TEST(SqlGeneratorTest, HeaderCompiles) { EXPECT_TRUE(true); } -TEST(SqlGeneratorTest, CanInstantiate) { EXPECT_TRUE(true); } -TEST(SqlGeneratorTest, NamespaceExists) { EXPECT_TRUE(true); } +#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 index 57284e11e..5d24a7a64 100644 --- a/qt6-after/qt6-migrated-benchmark/tests/test_StructBuilder.cpp +++ b/qt6-after/qt6-migrated-benchmark/tests/test_StructBuilder.cpp @@ -1,6 +1,18 @@ -#include #include "Lts/Common/CodeGen/StructBuilder.h" -TEST(StructBuilderTest, HeaderCompiles) { EXPECT_TRUE(true); } -TEST(StructBuilderTest, CanInstantiate) { EXPECT_TRUE(true); } -TEST(StructBuilderTest, NamespaceExists) { EXPECT_TRUE(true); } +#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 index 40953f7f2..a39e6b466 100644 --- a/qt6-after/qt6-migrated-benchmark/tests/test_XmlReader.cpp +++ b/qt6-after/qt6-migrated-benchmark/tests/test_XmlReader.cpp @@ -1,6 +1,18 @@ -#include #include "Lts/Common/CodeGen/XmlReader.h" -TEST(XmlReaderTest, HeaderCompiles) { EXPECT_TRUE(true); } -TEST(XmlReaderTest, CanInstantiate) { EXPECT_TRUE(true); } -TEST(XmlReaderTest, NamespaceExists) { EXPECT_TRUE(true); } +#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_aes_crypt.cpp b/qt6-after/qt6-migrated-benchmark/tests/test_aes_crypt.cpp index 769317d50..ead259e13 100644 --- a/qt6-after/qt6-migrated-benchmark/tests/test_aes_crypt.cpp +++ b/qt6-after/qt6-migrated-benchmark/tests/test_aes_crypt.cpp @@ -2,11 +2,24 @@ // Stub test for aes_crypt.cpp migration validation -namespace Lts { -namespace Common { +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); } +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 index 6b45c2258..b4f5d9d94 100644 --- a/qt6-after/qt6-migrated-benchmark/tests/test_aes_crypt_test.cpp +++ b/qt6-after/qt6-migrated-benchmark/tests/test_aes_crypt_test.cpp @@ -2,11 +2,24 @@ // Stub test for aes_crypt_test.cpp migration validation -namespace Lts { -namespace Common { +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); } +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 index 19a91b32c..548117020 100644 --- a/qt6-after/qt6-migrated-benchmark/tests/test_aes_dtc.cpp +++ b/qt6-after/qt6-migrated-benchmark/tests/test_aes_dtc.cpp @@ -1,7 +1,7 @@ /** * @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. */ @@ -13,17 +13,18 @@ /** * @test Test dass der Header kompiliert und Namespace existiert */ -TEST(AesDtcTest, HeaderCompilesAndNamespaceExists) { +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); } @@ -31,26 +32,28 @@ TEST(AesDtcTest, HeaderCompilesAndNamespaceExists) { /** * @test Test dass Namespace-Struktur korrekt ist */ -TEST(AesDtcTest, NamespaceStructure) { +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" - +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 index 404a2989c..4483b7286 100644 --- a/qt6-after/qt6-migrated-benchmark/tests/test_aes_enums.cpp +++ b/qt6-after/qt6-migrated-benchmark/tests/test_aes_enums.cpp @@ -1,7 +1,7 @@ /** * @file test_aes_enums.cpp * @brief Tests für AreaEffectSimulation Enum-Header - * + * * Diese Tests validieren dass die generierten DDS-Enum-Header korrekt kompilieren. */ @@ -13,17 +13,18 @@ /** * @test Test dass der Header kompiliert und Enums existieren */ -TEST(AesEnumsTest, HeaderCompilesAndEnumsExist) { +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)); @@ -33,19 +34,20 @@ TEST(AesEnumsTest, HeaderCompilesAndEnumsExist) { /** * @test Test dass UnitSymbolPosition struct korrekt ist */ -TEST(AesEnumsTest, UnitSymbolPositionStruct) { +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); @@ -55,11 +57,12 @@ TEST(AesEnumsTest, UnitSymbolPositionStruct) { /** * @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" - +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 index 7b097012b..fdc8c837b 100644 --- a/qt6-after/qt6-migrated-benchmark/tests/test_alm_dtc.cpp +++ b/qt6-after/qt6-migrated-benchmark/tests/test_alm_dtc.cpp @@ -1,7 +1,7 @@ /** * @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. */ @@ -24,7 +24,7 @@ TEST(AlarmManagementDtc, ForwardDeclarationsExist) // 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); } @@ -35,10 +35,10 @@ TEST(AlarmManagementDtc, NamespaceStructure) // 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 index 8552fee6e..bb0cb9788 100644 --- a/qt6-after/qt6-migrated-benchmark/tests/test_app_chooser.cpp +++ b/qt6-after/qt6-migrated-benchmark/tests/test_app_chooser.cpp @@ -3,8 +3,10 @@ // Stub test for app_chooser.cpp migration validation // Actual implementation tests should be added based on app_chooser.cpp functionality -namespace Lts { -namespace Common { +namespace Lts +{ +namespace Common +{ // Forward declarations to verify compilation class AppChooser; @@ -12,21 +14,23 @@ class AppChooser; } // namespace Common } // namespace Lts -TEST(AppChooserMigrationTest, CompilationStub) { +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) { +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) { +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 index e6c989d66..f9ac3ce86 100644 --- a/qt6-after/qt6-migrated-benchmark/tests/test_app_chooser_model.cpp +++ b/qt6-after/qt6-migrated-benchmark/tests/test_app_chooser_model.cpp @@ -3,8 +3,10 @@ // 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 { +namespace Lts +{ +namespace Common +{ // Forward declarations to verify compilation class AppChooserModel; @@ -12,21 +14,23 @@ class AppChooserModel; } // namespace Common } // namespace Lts -TEST(AppChooserModelMigrationTest, CompilationStub) { +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) { +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) { +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 index 9841c8c3a..389b1f3ed 100644 --- a/qt6-after/qt6-migrated-benchmark/tests/test_asm_dtc.cpp +++ b/qt6-after/qt6-migrated-benchmark/tests/test_asm_dtc.cpp @@ -6,32 +6,35 @@ #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, 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, 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)); +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 index 1e047c5f9..dcda5aad6 100644 --- a/qt6-after/qt6-migrated-benchmark/tests/test_asm_enums.cpp +++ b/qt6-after/qt6-migrated-benchmark/tests/test_asm_enums.cpp @@ -3,23 +3,27 @@ * @brief Tests for AssetManagement enum definitions */ -#include #include "AssetManagement/asm_enums.hpp" -TEST(AsmEnumsTest, SymbolAppearanceEnumValues) { - EXPECT_EQ(AssetManagement::SymbolAppearance::Solid, 0); - EXPECT_EQ(AssetManagement::SymbolAppearance::Dashed, 1); - EXPECT_EQ(AssetManagement::SymbolAppearance::Dotted, 2); +#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, 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); +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 index 520f6b708..2b45e1a92 100644 --- a/qt6-after/qt6-migrated-benchmark/tests/test_avm_dtc.cpp +++ b/qt6-after/qt6-migrated-benchmark/tests/test_avm_dtc.cpp @@ -1,14 +1,16 @@ /** * @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 #include "AudioVideoManagement/avm_dtc.h" -TEST(avm_dtc_Compilation, HeaderCompiles) { +#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 index 5b5dad647..49976db4e 100644 --- a/qt6-after/qt6-migrated-benchmark/tests/test_avm_enums.cpp +++ b/qt6-after/qt6-migrated-benchmark/tests/test_avm_enums.cpp @@ -1,14 +1,16 @@ /** * @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 #include "AudioVideoManagement/avm_enums.hpp" -TEST(avm_enums_Compilation, HeaderCompiles) { +#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 index e7dae1955..33577242f 100644 --- a/qt6-after/qt6-migrated-benchmark/tests/test_bld_dtc.cpp +++ b/qt6-after/qt6-migrated-benchmark/tests/test_bld_dtc.cpp @@ -1,14 +1,16 @@ /** * @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 #include "Buildings/bld_dtc.h" -TEST(bld_dtc_Compilation, HeaderCompiles) { +#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 index ec6471d1d..2595d4878 100644 --- a/qt6-after/qt6-migrated-benchmark/tests/test_bld_enums.cpp +++ b/qt6-after/qt6-migrated-benchmark/tests/test_bld_enums.cpp @@ -1,14 +1,16 @@ /** * @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 #include "Buildings/bld_enums.hpp" -TEST(bld_enums_Compilation, HeaderCompiles) { +#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 index d3be89042..062160ff1 100644 --- a/qt6-after/qt6-migrated-benchmark/tests/test_build_rti_guards.cpp +++ b/qt6-after/qt6-migrated-benchmark/tests/test_build_rti_guards.cpp @@ -1,7 +1,7 @@ /** * @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 @@ -11,7 +11,8 @@ #include // Test 1: Verify BUILD_RTI macro is defined correctly -TEST(BuildRTIGuards, MacroDefined) { +TEST(BuildRTIGuards, MacroDefined) +{ #ifdef BUILD_RTI // When BUILD_RTI is enabled, it should be 1 EXPECT_EQ(BUILD_RTI, 1); @@ -23,7 +24,8 @@ TEST(BuildRTIGuards, MacroDefined) { } // Test 2: Verify DDS connector compiles without RTI -TEST(BuildRTIGuards, DDSConnectorFallback) { +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 @@ -31,11 +33,12 @@ TEST(BuildRTIGuards, DDSConnectorFallback) { #ifdef BUILD_RTI rti_available = true; #endif - EXPECT_FALSE(rti_available); // In fallback mode, RTI is not available + EXPECT_FALSE(rti_available); // In fallback mode, RTI is not available } // Test 3: Verify conditional compilation doesn't break build -TEST(BuildRTIGuards, ConditionalCompilationSafe) { +TEST(BuildRTIGuards, ConditionalCompilationSafe) +{ // Verify that #if BUILD_RTI guards don't cause syntax errors int value = 0; #if BUILD_RTI diff --git a/qt6-after/qt6-migrated-benchmark/tests/test_ces_dtc.cpp b/qt6-after/qt6-migrated-benchmark/tests/test_ces_dtc.cpp index 5c6d6852b..fc75c1f28 100644 --- a/qt6-after/qt6-migrated-benchmark/tests/test_ces_dtc.cpp +++ b/qt6-after/qt6-migrated-benchmark/tests/test_ces_dtc.cpp @@ -1,14 +1,16 @@ /** * @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 #include "CentralEffectSimulation/ces_dtc.h" -TEST(ces_dtc_Compilation, HeaderCompiles) { +#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 index 94d9e8434..67c1fb6dc 100644 --- a/qt6-after/qt6-migrated-benchmark/tests/test_client_message.cpp +++ b/qt6-after/qt6-migrated-benchmark/tests/test_client_message.cpp @@ -1,4 +1,16 @@ #include -TEST(client_messageTest, CompilationStub) { EXPECT_TRUE(true); } -TEST(client_messageTest, Qt6ApiCompatibility) { EXPECT_TRUE(true); } -TEST(client_messageTest, BasicFunctionality) { EXPECT_TRUE(true); } + +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 index 44e6c0e60..b56f21fc8 100644 --- a/qt6-after/qt6-migrated-benchmark/tests/test_cmo_dtc.cpp +++ b/qt6-after/qt6-migrated-benchmark/tests/test_cmo_dtc.cpp @@ -1,14 +1,16 @@ /** * @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 #include "ComponentMonitor/cmo_dtc.h" -TEST(cmo_dtc_Compilation, HeaderCompiles) { +#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 index 3ab04d8fd..b964d12e6 100644 --- a/qt6-after/qt6-migrated-benchmark/tests/test_cod_dtc.cpp +++ b/qt6-after/qt6-migrated-benchmark/tests/test_cod_dtc.cpp @@ -1,14 +1,16 @@ /** * @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 #include "CodificationManagement/cod_dtc.h" -TEST(cod_dtc_Compilation, HeaderCompiles) { +#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 index 3a43f1884..61a036487 100644 --- a/qt6-after/qt6-migrated-benchmark/tests/test_codegen_export.cpp +++ b/qt6-after/qt6-migrated-benchmark/tests/test_codegen_export.cpp @@ -1,6 +1,18 @@ -#include #include "Lts/Common/CodeGen/codegen_export.h" -TEST(codegen_exportTest, HeaderCompiles) { EXPECT_TRUE(true); } -TEST(codegen_exportTest, MacrosDefined) { EXPECT_TRUE(true); } -TEST(codegen_exportTest, NamespaceExists) { EXPECT_TRUE(true); } +#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 index 0768121c2..630eb8ad5 100644 --- a/qt6-after/qt6-migrated-benchmark/tests/test_core_dtc.cpp +++ b/qt6-after/qt6-migrated-benchmark/tests/test_core_dtc.cpp @@ -1,14 +1,16 @@ /** * @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 #include "Core/core_dtc.h" -TEST(core_dtc_Compilation, HeaderCompiles) { +#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 index b60a9c73e..2a04d4ba4 100644 --- a/qt6-after/qt6-migrated-benchmark/tests/test_core_enums.cpp +++ b/qt6-after/qt6-migrated-benchmark/tests/test_core_enums.cpp @@ -1,14 +1,16 @@ /** * @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 #include "Core/core_enums.hpp" -TEST(core_enums_Compilation, HeaderCompiles) { +#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 index 6791317ae..4d0c891ad 100644 --- a/qt6-after/qt6-migrated-benchmark/tests/test_eem_dtc.cpp +++ b/qt6-after/qt6-migrated-benchmark/tests/test_eem_dtc.cpp @@ -1,14 +1,16 @@ /** * @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 #include "ExerciseEventManagement/eem_dtc.h" -TEST(eem_dtc_Compilation, HeaderCompiles) { +#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 index 8b197d68f..7cece88c4 100644 --- a/qt6-after/qt6-migrated-benchmark/tests/test_eem_enums.cpp +++ b/qt6-after/qt6-migrated-benchmark/tests/test_eem_enums.cpp @@ -1,14 +1,16 @@ /** * @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 #include "Services/ExerciseEventManagement/eem_enums.hpp" -TEST(eem_enums_Compilation, HeaderCompiles) { +#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 index 79060eb58..2a43fc1f2 100644 --- a/qt6-after/qt6-migrated-benchmark/tests/test_elevation_unit_test.cpp +++ b/qt6-after/qt6-migrated-benchmark/tests/test_elevation_unit_test.cpp @@ -2,11 +2,24 @@ // Stub test for elevation_unit_test.cpp migration validation -namespace Lts { -namespace Common { +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); } +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 index 715f88d97..3082dcc7a 100644 --- a/qt6-after/qt6-migrated-benchmark/tests/test_esc_dtc.cpp +++ b/qt6-after/qt6-migrated-benchmark/tests/test_esc_dtc.cpp @@ -1,14 +1,16 @@ /** * @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 #include "EffectShowClient/esc_dtc.h" -TEST(esc_dtc_Compilation, HeaderCompiles) { +#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 index 28afb697e..7f59d4b20 100644 --- a/qt6-after/qt6-migrated-benchmark/tests/test_esm_dtc.cpp +++ b/qt6-after/qt6-migrated-benchmark/tests/test_esm_dtc.cpp @@ -1,14 +1,16 @@ /** * @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 #include "EffectShowManagement/esm_dtc.h" -TEST(esm_dtc_Compilation, HeaderCompiles) { +#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_evl_dtc.cpp b/qt6-after/qt6-migrated-benchmark/tests/test_evl_dtc.cpp index 52e2f2f98..a3b93949e 100644 --- a/qt6-after/qt6-migrated-benchmark/tests/test_evl_dtc.cpp +++ b/qt6-after/qt6-migrated-benchmark/tests/test_evl_dtc.cpp @@ -1,14 +1,16 @@ /** * @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 #include "Evaluations/evl_dtc.h" -TEST(evl_dtc_Compilation, HeaderCompiles) { +#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 index d7533c486..ff9fe8c25 100644 --- a/qt6-after/qt6-migrated-benchmark/tests/test_exm_dtc.cpp +++ b/qt6-after/qt6-migrated-benchmark/tests/test_exm_dtc.cpp @@ -1,14 +1,16 @@ /** * @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 #include "ExerciseManagement/exm_dtc.h" -TEST(exm_dtc_Compilation, HeaderCompiles) { +#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 index 9d71b5d68..4ee3d15d8 100644 --- a/qt6-after/qt6-migrated-benchmark/tests/test_exm_enums.cpp +++ b/qt6-after/qt6-migrated-benchmark/tests/test_exm_enums.cpp @@ -1,14 +1,16 @@ /** * @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 #include "ExerciseManagement/exm_enums.hpp" -TEST(exm_enums_Compilation, HeaderCompiles) { +#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 index dfe73f336..ed814cd96 100644 --- a/qt6-after/qt6-migrated-benchmark/tests/test_export_headers.cpp +++ b/qt6-after/qt6-migrated-benchmark/tests/test_export_headers.cpp @@ -1,87 +1,95 @@ /** * @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 #include // Helper to check if file exists and is readable -bool fileExists(const std::string& path) { +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::string readFile(const std::string& path) +{ std::ifstream file(path); - if (!file.is_open()) { + if (!file.is_open()) + { return ""; } - return std::string((std::istreambuf_iterator(file)), - std::istreambuf_iterator()); + return std::string((std::istreambuf_iterator(file)), std::istreambuf_iterator()); } // Test 1: nglwidgets_export.h exists -TEST(ExportHeaders, NglWidgetsExportExists) { +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) { +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) { +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) { +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) { +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) { + "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()) { + 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"; + + EXPECT_TRUE(hasIfndef && hasDefine && hasEndif) << "Header " << header << " missing proper include guards"; } } } // Test 6: Export macros follow naming convention -TEST(ExportHeaders, MacroNamingConvention) { +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 adlerPath = + "qt-migration-legatus/qt6-after/qt6-migrated-legatus/build/Lts/Plugins/AdlerJson/adler_export.h"; std::string content = readFile(adlerPath); - - if (!content.empty()) { + + 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"; @@ -89,20 +97,26 @@ TEST(ExportHeaders, MacroNamingConvention) { } // Test 7: Export headers define both EXPORT and NO_EXPORT macros -TEST(ExportHeaders, ExportAndNoExportMacros) { +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) { + {"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()) { + 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"; } 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 index 9d34853ff..5d3a6ad7e 100644 --- a/qt6-after/qt6-migrated-benchmark/tests/test_filter_background_widget.cpp +++ b/qt6-after/qt6-migrated-benchmark/tests/test_filter_background_widget.cpp @@ -1,4 +1,16 @@ #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); } + +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 index 233706793..0e0407e94 100644 --- a/qt6-after/qt6-migrated-benchmark/tests/test_filter_track_widget.cpp +++ b/qt6-after/qt6-migrated-benchmark/tests/test_filter_track_widget.cpp @@ -1,4 +1,16 @@ #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); } + +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 index 2ed65c083..1c3309d0e 100644 --- a/qt6-after/qt6-migrated-benchmark/tests/test_flm_dtc.cpp +++ b/qt6-after/qt6-migrated-benchmark/tests/test_flm_dtc.cpp @@ -1,14 +1,16 @@ /** * @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 #include "FileManagement/flm_dtc.h" -TEST(flm_dtc_Compilation, HeaderCompiles) { +#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 index 95070bfbf..ac622a0f1 100644 --- a/qt6-after/qt6-migrated-benchmark/tests/test_flm_enums.cpp +++ b/qt6-after/qt6-migrated-benchmark/tests/test_flm_enums.cpp @@ -1,14 +1,16 @@ /** * @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 #include "FileManagement/flm_enums.hpp" -TEST(flm_enums_Compilation, HeaderCompiles) { +#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 index 3f09c00a0..4c62bfa0c 100644 --- a/qt6-after/qt6-migrated-benchmark/tests/test_generic_dtc.cpp +++ b/qt6-after/qt6-migrated-benchmark/tests/test_generic_dtc.cpp @@ -1,14 +1,16 @@ /** * @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 #include "DDS/DTC/generic_dtc.h" -TEST(generic_dtc_Compilation, HeaderCompiles) { +#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 index 032c5b6bc..14ae80c13 100644 --- a/qt6-after/qt6-migrated-benchmark/tests/test_gim_dtc.cpp +++ b/qt6-after/qt6-migrated-benchmark/tests/test_gim_dtc.cpp @@ -1,14 +1,16 @@ /** * @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 #include "GuezIedManagement/gim_dtc.h" -TEST(gim_dtc_Compilation, HeaderCompiles) { +#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 index 061880900..a40b8d143 100644 --- a/qt6-after/qt6-migrated-benchmark/tests/test_gna_dtc.cpp +++ b/qt6-after/qt6-migrated-benchmark/tests/test_gna_dtc.cpp @@ -1,14 +1,16 @@ /** * @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 #include "GuezNasat/gna_dtc.h" -TEST(gna_dtc_Compilation, HeaderCompiles) { +#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 index 469de961a..102a9dacf 100644 --- a/qt6-after/qt6-migrated-benchmark/tests/test_indicator.cpp +++ b/qt6-after/qt6-migrated-benchmark/tests/test_indicator.cpp @@ -1,4 +1,16 @@ #include -TEST(indicatorTest, CompilationStub) { EXPECT_TRUE(true); } -TEST(indicatorTest, Qt6ApiCompatibility) { EXPECT_TRUE(true); } -TEST(indicatorTest, BasicFunctionality) { EXPECT_TRUE(true); } + +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 index aac0df0f9..dc6973d5f 100644 --- a/qt6-after/qt6-migrated-benchmark/tests/test_ism_dtc.cpp +++ b/qt6-after/qt6-migrated-benchmark/tests/test_ism_dtc.cpp @@ -1,14 +1,16 @@ /** * @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 "include/InfrastructureManagement/ism_dtc.h" -TEST(ism_dtc_Compilation, HeaderCompiles) { +#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 index 0e7fd5646..2dff72dab 100644 --- a/qt6-after/qt6-migrated-benchmark/tests/test_ism_enums.cpp +++ b/qt6-after/qt6-migrated-benchmark/tests/test_ism_enums.cpp @@ -1,14 +1,16 @@ /** * @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 #include "InfrastructureManagement/ism_enums.hpp" -TEST(ism_enums_Compilation, HeaderCompiles) { +#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_json_keys.h.cpp b/qt6-after/qt6-migrated-benchmark/tests/test_json_keys.h.cpp index 273fd40a0..bcb7f87a2 100644 --- a/qt6-after/qt6-migrated-benchmark/tests/test_json_keys.h.cpp +++ b/qt6-after/qt6-migrated-benchmark/tests/test_json_keys.h.cpp @@ -1,4 +1,16 @@ #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); } + +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_logger.cpp b/qt6-after/qt6-migrated-benchmark/tests/test_logger.cpp index 9c4569175..ec2cbc59f 100644 --- a/qt6-after/qt6-migrated-benchmark/tests/test_logger.cpp +++ b/qt6-after/qt6-migrated-benchmark/tests/test_logger.cpp @@ -2,11 +2,24 @@ // Stub test for logger.cpp migration validation -namespace Lts { -namespace Common { +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); } +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 index 7f52cf3ff..3b6f72061 100644 --- a/qt6-after/qt6-migrated-benchmark/tests/test_logout_info_dialog.cpp +++ b/qt6-after/qt6-migrated-benchmark/tests/test_logout_info_dialog.cpp @@ -2,11 +2,24 @@ // Stub test for logout_info_dialog.cpp migration validation -namespace Lts { -namespace Common { +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); } +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 index 8a42eaaf1..1b1edae05 100644 --- a/qt6-after/qt6-migrated-benchmark/tests/test_lonlat2mgrs.cpp +++ b/qt6-after/qt6-migrated-benchmark/tests/test_lonlat2mgrs.cpp @@ -2,11 +2,24 @@ // Stub test for lonlat2mgrs.cpp migration validation -namespace Lts { -namespace Common { +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); } +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 index a354b1dd9..77b4c50e8 100644 --- a/qt6-after/qt6-migrated-benchmark/tests/test_lts_app_descriptor.cpp +++ b/qt6-after/qt6-migrated-benchmark/tests/test_lts_app_descriptor.cpp @@ -1,6 +1,7 @@ #include "lts_app_descriptor.h" -#include + #include +#include #include #include #include @@ -12,7 +13,7 @@ class TestLtsAppDescriptor : public QObject { Q_OBJECT -private slots: + private slots: void testPluginInfoCreation(); void testPluginInfoFlagOperations(); void testAppDescriptionDefaultConstruction(); 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 index 061fc90ad..eacf1afe4 100644 --- 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 @@ -1,12 +1,13 @@ #include "lts_app_descriptor_editor.h" -#include + #include +#include class TestLtsAppDescriptorEditor : public QObject { Q_OBJECT -private slots: + private slots: void testEditorConstruction(); void testEditorDestruction(); void testEditorInitialState(); 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 index 903874749..1e3ff379f 100644 --- a/qt6-after/qt6-migrated-benchmark/tests/test_lts_app_manager.cpp +++ b/qt6-after/qt6-migrated-benchmark/tests/test_lts_app_manager.cpp @@ -3,8 +3,10 @@ // 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 { +namespace Lts +{ +namespace Common +{ // Forward declarations to verify compilation class LtsAppManager; @@ -12,21 +14,23 @@ class LtsAppManager; } // namespace Common } // namespace Lts -TEST(LtsAppManagerMigrationTest, CompilationStub) { +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) { +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) { +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 index f76cecc18..947555f16 100644 --- 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 @@ -1,4 +1,16 @@ #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); } + +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 index a3f1122e5..a4ac2ec05 100644 --- a/qt6-after/qt6-migrated-benchmark/tests/test_lts_coord_trans.cpp +++ b/qt6-after/qt6-migrated-benchmark/tests/test_lts_coord_trans.cpp @@ -2,11 +2,24 @@ // Stub test for lts_coord_trans.cpp migration validation -namespace Lts { -namespace Common { +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); } +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 index 895736b1f..41fdbf16c 100644 --- 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 @@ -2,11 +2,24 @@ // Stub test for lts_coord_trans_unit_test.cpp migration validation -namespace Lts { -namespace Common { +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); } +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 index 83c1f16bc..e3cb85786 100644 --- a/qt6-after/qt6-migrated-benchmark/tests/test_lts_coord_vector.cpp +++ b/qt6-after/qt6-migrated-benchmark/tests/test_lts_coord_vector.cpp @@ -2,11 +2,24 @@ // Stub test for lts_coord_vector.cpp migration validation -namespace Lts { -namespace Common { +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); } +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 index 9c3bd44de..d2043de8e 100644 --- a/qt6-after/qt6-migrated-benchmark/tests/test_lts_coord_widget.cpp +++ b/qt6-after/qt6-migrated-benchmark/tests/test_lts_coord_widget.cpp @@ -2,11 +2,24 @@ // Stub test for lts_coord_widget.cpp migration validation -namespace Lts { -namespace Common { +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); } +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 index c35a8bb6f..240e7507c 100644 --- 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 @@ -2,11 +2,24 @@ // Stub test for lts_coord_widget_test.cpp migration validation -namespace Lts { -namespace Common { +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); } +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 index b80ae7e06..05c73346c 100644 --- 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 @@ -2,11 +2,24 @@ // Stub test for lts_coordinate_unit_test.cpp migration validation -namespace Lts { -namespace Common { +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); } +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 index f0957c7c0..5118b810c 100644 --- a/qt6-after/qt6-migrated-benchmark/tests/test_lts_dummy_widget.cpp +++ b/qt6-after/qt6-migrated-benchmark/tests/test_lts_dummy_widget.cpp @@ -2,11 +2,24 @@ // Stub test for lts_dummy_widget.cpp migration validation -namespace Lts { -namespace Common { +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); } +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 index bd7b6732e..d305646f6 100644 --- a/qt6-after/qt6-migrated-benchmark/tests/test_lts_elevation_manager.cpp +++ b/qt6-after/qt6-migrated-benchmark/tests/test_lts_elevation_manager.cpp @@ -2,11 +2,24 @@ // Stub test for lts_elevation_manager.cpp migration validation -namespace Lts { -namespace Common { +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); } +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 index 3292712a5..8a429007f 100644 --- a/qt6-after/qt6-migrated-benchmark/tests/test_lts_licence.cpp +++ b/qt6-after/qt6-migrated-benchmark/tests/test_lts_licence.cpp @@ -2,11 +2,24 @@ // Stub test for lts_licence.cpp migration validation -namespace Lts { -namespace Common { +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); } +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 index bc20c9d6f..14b8c0676 100644 --- a/qt6-after/qt6-migrated-benchmark/tests/test_lts_login.cpp +++ b/qt6-after/qt6-migrated-benchmark/tests/test_lts_login.cpp @@ -2,11 +2,24 @@ // Stub test for lts_login.cpp migration validation -namespace Lts { -namespace Common { +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); } +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 index 8ca0b8afe..4f3a64774 100644 --- a/qt6-after/qt6-migrated-benchmark/tests/test_lts_magic_corner.cpp +++ b/qt6-after/qt6-migrated-benchmark/tests/test_lts_magic_corner.cpp @@ -2,11 +2,24 @@ // Stub test for lts_magic_corner.cpp migration validation -namespace Lts { -namespace Common { +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); } +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 index 4a87551a5..4acc663c3 100644 --- a/qt6-after/qt6-migrated-benchmark/tests/test_lts_multi_monitor.cpp +++ b/qt6-after/qt6-migrated-benchmark/tests/test_lts_multi_monitor.cpp @@ -2,11 +2,24 @@ // Stub test for lts_multi_monitor.cpp migration validation -namespace Lts { -namespace Common { +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); } +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 index ffa45b56a..a8feab5ac 100644 --- 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 @@ -2,11 +2,24 @@ // Stub test for lts_multi_monitor_export.h.cpp migration validation -namespace Lts { -namespace Common { +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); } +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 index 9e989b894..8912937e3 100644 --- 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 @@ -1,4 +1,16 @@ #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); } + +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 index 6dc3df972..16d5871ad 100644 --- 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 @@ -1,4 +1,16 @@ #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); } + +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 index 0b7b01953..49de891c5 100644 --- 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 @@ -1,4 +1,16 @@ #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); } + +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 index 3fe5aa22c..98ee7d752 100644 --- a/qt6-after/qt6-migrated-benchmark/tests/test_lts_notification.cpp +++ b/qt6-after/qt6-migrated-benchmark/tests/test_lts_notification.cpp @@ -1,4 +1,16 @@ #include -TEST(lts_notificationTest, CompilationStub) { EXPECT_TRUE(true); } -TEST(lts_notificationTest, Qt6ApiCompatibility) { EXPECT_TRUE(true); } -TEST(lts_notificationTest, BasicFunctionality) { EXPECT_TRUE(true); } + +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 index a29c5411e..5abe29c18 100644 --- a/qt6-after/qt6-migrated-benchmark/tests/test_lts_notification_ctl.cpp +++ b/qt6-after/qt6-migrated-benchmark/tests/test_lts_notification_ctl.cpp @@ -1,4 +1,16 @@ #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); } + +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 index 26646b80a..c6d819e71 100644 --- 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 @@ -1,4 +1,16 @@ #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); } + +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 index 5a687b701..8d950c809 100644 --- a/qt6-after/qt6-migrated-benchmark/tests/test_lts_plugin_loader.cpp +++ b/qt6-after/qt6-migrated-benchmark/tests/test_lts_plugin_loader.cpp @@ -1,4 +1,16 @@ #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); } + +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 index 41d1d716c..d04e7860a 100644 --- 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 @@ -1,4 +1,16 @@ #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); } + +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 index ce16f24c9..2dcf9c3d4 100644 --- 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 @@ -1,4 +1,16 @@ #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); } + +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 index 5c4a2f25b..240a798da 100644 --- 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 @@ -1,4 +1,16 @@ #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); } + +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 index 16de0a338..9c72092fb 100644 --- a/qt6-after/qt6-migrated-benchmark/tests/test_lts_projection_workstation.cpp +++ b/qt6-after/qt6-migrated-benchmark/tests/test_lts_projection_workstation.cpp @@ -1,4 +1,16 @@ #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); } + +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 index 4dfdfb636..8e239f0a9 100644 --- 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 @@ -1,4 +1,16 @@ #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); } + +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 index b9a5f5845..52a9cdf18 100644 --- a/qt6-after/qt6-migrated-benchmark/tests/test_lts_screen_base.cpp +++ b/qt6-after/qt6-migrated-benchmark/tests/test_lts_screen_base.cpp @@ -1,4 +1,16 @@ #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); } + +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 index 8d811f87d..81e9f9e9c 100644 --- a/qt6-after/qt6-migrated-benchmark/tests/test_lts_screen_container.cpp +++ b/qt6-after/qt6-migrated-benchmark/tests/test_lts_screen_container.cpp @@ -1,4 +1,16 @@ #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); } + +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 index 721edf5e7..4acecf77d 100644 --- a/qt6-after/qt6-migrated-benchmark/tests/test_lts_screen_normal.cpp +++ b/qt6-after/qt6-migrated-benchmark/tests/test_lts_screen_normal.cpp @@ -1,4 +1,16 @@ #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); } + +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 index 939041af5..e09ed01ec 100644 --- a/qt6-after/qt6-migrated-benchmark/tests/test_lts_screen_wide.cpp +++ b/qt6-after/qt6-migrated-benchmark/tests/test_lts_screen_wide.cpp @@ -1,4 +1,16 @@ #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); } + +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 index c324b61ea..01488bec8 100644 --- 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 @@ -1,4 +1,16 @@ #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); } + +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 index ff798471f..f5b45fc7d 100644 --- a/qt6-after/qt6-migrated-benchmark/tests/test_lts_session.cpp +++ b/qt6-after/qt6-migrated-benchmark/tests/test_lts_session.cpp @@ -1,4 +1,16 @@ #include -TEST(lts_sessionTest, CompilationStub) { EXPECT_TRUE(true); } -TEST(lts_sessionTest, Qt6ApiCompatibility) { EXPECT_TRUE(true); } -TEST(lts_sessionTest, BasicFunctionality) { EXPECT_TRUE(true); } + +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 index 785d2f39a..c45245cc4 100644 --- a/qt6-after/qt6-migrated-benchmark/tests/test_lts_session_data.cpp +++ b/qt6-after/qt6-migrated-benchmark/tests/test_lts_session_data.cpp @@ -1,4 +1,16 @@ #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); } + +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 index 5ba8711a1..83c7d1b96 100644 --- 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 @@ -1,4 +1,16 @@ #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); } + +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_ltswidgets_qt6.cpp b/qt6-after/qt6-migrated-benchmark/tests/test_ltswidgets_qt6.cpp index 269878e3e..51bbdeeea 100644 --- a/qt6-after/qt6-migrated-benchmark/tests/test_ltswidgets_qt6.cpp +++ b/qt6-after/qt6-migrated-benchmark/tests/test_ltswidgets_qt6.cpp @@ -1,7 +1,7 @@ /** * @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 @@ -9,32 +9,37 @@ * 4. QStyleOption::initFrom() usage */ -#include -#include -#include -#include -#include -#include #include +#include +#include +#include +#include +#include +#include // Ensure QApplication is initialized for widget tests static bool appInitialized = false; -static void ensureAppInitialized() { - if (!appInitialized) { + +static void ensureAppInitialized() +{ + if (!appInitialized) + { static int argc = 1; - static char* argv[] = { (char*)"test_ltswidgets_qt6", nullptr }; + 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) { +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) { + for (int i = 0; i < 100; ++i) + { int value = generator->bounded(10); EXPECT_GE(value, 0); EXPECT_LT(value, 10); @@ -42,18 +47,22 @@ TEST(LtsWidgetsQt6, QRandomGeneratorBounded) { } // Test 2: QRandomGenerator produces different values -TEST(LtsWidgetsQt6, QRandomGeneratorVariation) { +TEST(LtsWidgetsQt6, QRandomGeneratorVariation) +{ auto* generator = QRandomGenerator::global(); - + QVector values; - for (int i = 0; i < 50; ++i) { + 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]) { + for (int i = 1; i < values.size(); ++i) + { + if (values[i] != values[0]) + { hasDifferent = true; break; } @@ -62,66 +71,69 @@ TEST(LtsWidgetsQt6, QRandomGeneratorVariation) { } // Test 3: QRandomGenerator seeded reproducibility -TEST(LtsWidgetsQt6, QRandomGeneratorSeeded) { +TEST(LtsWidgetsQt6, QRandomGeneratorSeeded) +{ QRandomGenerator gen1(12345); QRandomGenerator gen2(12345); - + // Same seed should produce same sequence - for (int i = 0; i < 10; ++i) { + 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) { +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; - }); - + + 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) { +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; - }); - + [&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); @@ -129,16 +141,17 @@ TEST(LtsWidgetsQt6, QComboBoxActivatedIntSignal) { // Test 6: QStyleOption::initFrom() (Qt6 replacement for init()) // This tests the API used in lts_notification_box.cpp -TEST(LtsWidgetsQt6, QStyleOptionInitFrom) { +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); @@ -146,20 +159,21 @@ TEST(LtsWidgetsQt6, QStyleOptionInitFrom) { } // Test 7: QStyleOption multiple widgets -TEST(LtsWidgetsQt6, QStyleOptionInitFromMultipleWidgets) { +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); @@ -167,18 +181,18 @@ TEST(LtsWidgetsQt6, QStyleOptionInitFromMultipleWidgets) { // Test 8: QWheelEvent angleDelta() availability // This verifies the API used in lts_date_time_edit_p.cpp -TEST(LtsWidgetsQt6, QWheelEventAngleDelta) { +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); - + 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); @@ -186,39 +200,40 @@ TEST(LtsWidgetsQt6, QWheelEventAngleDelta) { } // Test 9: QWheelEvent negative angleDelta -TEST(LtsWidgetsQt6, QWheelEventNegativeAngleDelta) { +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 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) { +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); + 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); + 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 index a40f33c9d..ed823ec6a 100644 --- a/qt6-after/qt6-migrated-benchmark/tests/test_main_grantlee.cpp +++ b/qt6-after/qt6-migrated-benchmark/tests/test_main_grantlee.cpp @@ -1,5 +1,17 @@ #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); } +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 index 326d65287..1b7dbcc8c 100644 --- a/qt6-after/qt6-migrated-benchmark/tests/test_main_grantlee_gui.cpp +++ b/qt6-after/qt6-migrated-benchmark/tests/test_main_grantlee_gui.cpp @@ -1,6 +1,18 @@ -#include #include "Lts/Common/CodeGen/main_grantlee_gui.h" -TEST(main_grantlee_guiTest, HeaderCompiles) { EXPECT_TRUE(true); } -TEST(main_grantlee_guiTest, CanInstantiate) { EXPECT_TRUE(true); } -TEST(main_grantlee_guiTest, NamespaceExists) { EXPECT_TRUE(true); } +#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 index c4042d8c3..f2d4c179e 100644 --- a/qt6-after/qt6-migrated-benchmark/tests/test_mainwindow.cpp +++ b/qt6-after/qt6-migrated-benchmark/tests/test_mainwindow.cpp @@ -1,4 +1,16 @@ #include -TEST(mainwindowTest, CompilationStub) { EXPECT_TRUE(true); } -TEST(mainwindowTest, Qt6ApiCompatibility) { EXPECT_TRUE(true); } -TEST(mainwindowTest, BasicFunctionality) { EXPECT_TRUE(true); } + +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 index 448bbf903..819c1b03b 100644 --- a/qt6-after/qt6-migrated-benchmark/tests/test_mdm_dtc.cpp +++ b/qt6-after/qt6-migrated-benchmark/tests/test_mdm_dtc.cpp @@ -1,14 +1,16 @@ /** * @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 "include/MeteoDataManagement/mdm_dtc.h" -TEST(mdm_dtc_Compilation, HeaderCompiles) { +#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 index 8e88e3c0e..6550f9a20 100644 --- a/qt6-after/qt6-migrated-benchmark/tests/test_message_factory.cpp +++ b/qt6-after/qt6-migrated-benchmark/tests/test_message_factory.cpp @@ -1,4 +1,16 @@ #include -TEST(message_factoryTest, CompilationStub) { EXPECT_TRUE(true); } -TEST(message_factoryTest, Qt6ApiCompatibility) { EXPECT_TRUE(true); } -TEST(message_factoryTest, BasicFunctionality) { EXPECT_TRUE(true); } + +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 index ae24e3444..7a43ce295 100644 --- a/qt6-after/qt6-migrated-benchmark/tests/test_messages.cpp +++ b/qt6-after/qt6-migrated-benchmark/tests/test_messages.cpp @@ -1,4 +1,16 @@ #include -TEST(messagesTest, CompilationStub) { EXPECT_TRUE(true); } -TEST(messagesTest, Qt6ApiCompatibility) { EXPECT_TRUE(true); } -TEST(messagesTest, BasicFunctionality) { EXPECT_TRUE(true); } + +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 index d753d0560..1ba99cb5b 100644 --- a/qt6-after/qt6-migrated-benchmark/tests/test_mgrs2lonlat.cpp +++ b/qt6-after/qt6-migrated-benchmark/tests/test_mgrs2lonlat.cpp @@ -2,11 +2,24 @@ // Stub test for mgrs2lonlat.cpp migration validation -namespace Lts { -namespace Common { +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); } +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 index eadd8f8c6..badcf5cf2 100644 --- a/qt6-after/qt6-migrated-benchmark/tests/test_migration_stubs.cpp +++ b/qt6-after/qt6-migrated-benchmark/tests/test_migration_stubs.cpp @@ -1,7 +1,7 @@ /** * @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. @@ -10,12 +10,14 @@ #include // Test that the test framework is working -TEST(MigrationStubs, TestFrameworkWorks) { +TEST(MigrationStubs, TestFrameworkWorks) +{ EXPECT_TRUE(true); } // Test that basic Qt6 types are available -TEST(MigrationStubs, Qt6TypesAvailable) { +TEST(MigrationStubs, Qt6TypesAvailable) +{ QString test = "Qt6 migration"; EXPECT_FALSE(test.isEmpty()); } @@ -25,7 +27,9 @@ TEST(MigrationStubs, Qt6TypesAvailable) { // AlarmManagement #include "AlarmManagement/alm_dtc.h" -TEST(MigrationStubs, AlarmManagementDtcCompiles) { + +TEST(MigrationStubs, AlarmManagementDtcCompiles) +{ // Forward declaration only - verify namespace exists using namespace AlarmManagement::Interface; EXPECT_TRUE(true); @@ -33,147 +37,189 @@ TEST(MigrationStubs, AlarmManagementDtcCompiles) { // AreaEffectSimulation #include "AreaEffectSimulation/aes_dtc.h" -TEST(MigrationStubs, AreaEffectSimulationDtcCompiles) { + +TEST(MigrationStubs, AreaEffectSimulationDtcCompiles) +{ using namespace AreaEffectSimulation::Interface; EXPECT_TRUE(true); } // AssetManagement #include "AssetManagement/asm_dtc.h" -TEST(MigrationStubs, AssetManagementDtcCompiles) { + +TEST(MigrationStubs, AssetManagementDtcCompiles) +{ using namespace AssetManagement::Interface; EXPECT_TRUE(true); } // AudioVideoManagement #include "AudioVideoManagement/avm_dtc.h" -TEST(MigrationStubs, AudioVideoManagementDtcCompiles) { + +TEST(MigrationStubs, AudioVideoManagementDtcCompiles) +{ using namespace AudioVideoManagement::Interface; EXPECT_TRUE(true); } // Buildings #include "Buildings/bld_dtc.h" -TEST(MigrationStubs, BuildingsDtcCompiles) { + +TEST(MigrationStubs, BuildingsDtcCompiles) +{ using namespace Buildings::Interface; EXPECT_TRUE(true); } // CentralEffectSimulation #include "CentralEffectSimulation/ces_dtc.h" -TEST(MigrationStubs, CentralEffectSimulationDtcCompiles) { + +TEST(MigrationStubs, CentralEffectSimulationDtcCompiles) +{ using namespace CentralEffectSimulation::Interface; EXPECT_TRUE(true); } // CodificationManagement #include "CodificationManagement/cod_dtc.h" -TEST(MigrationStubs, CodificationManagementDtcCompiles) { + +TEST(MigrationStubs, CodificationManagementDtcCompiles) +{ using namespace CodificationManagement::Interface; EXPECT_TRUE(true); } // ComponentMonitor #include "ComponentMonitor/cmo_dtc.h" -TEST(MigrationStubs, ComponentMonitorDtcCompiles) { + +TEST(MigrationStubs, ComponentMonitorDtcCompiles) +{ using namespace ComponentMonitor::Interface; EXPECT_TRUE(true); } // Core #include "Core/core_dtc.h" -TEST(MigrationStubs, CoreDtcCompiles) { + +TEST(MigrationStubs, CoreDtcCompiles) +{ using namespace Core::Interface; EXPECT_TRUE(true); } // DDS Core #include "DDS/Core/core_dtc.h" -TEST(MigrationStubs, DDSCoreDtcCompiles) { + +TEST(MigrationStubs, DDSCoreDtcCompiles) +{ using namespace DDS::Core::Interface; EXPECT_TRUE(true); } // DDS DTC #include "DDS/DTC/generic_dtc.h" -TEST(MigrationStubs, DDSDtcCompiles) { + +TEST(MigrationStubs, DDSDtcCompiles) +{ using namespace DDS::DTC; EXPECT_TRUE(true); } // EffectShowClient #include "EffectShowClient/esc_dtc.h" -TEST(MigrationStubs, EffectShowClientDtcCompiles) { + +TEST(MigrationStubs, EffectShowClientDtcCompiles) +{ using namespace EffectShowClient::Interface; EXPECT_TRUE(true); } // EffectShowManagement #include "EffectShowManagement/esm_dtc.h" -TEST(MigrationStubs, EffectShowManagementDtcCompiles) { + +TEST(MigrationStubs, EffectShowManagementDtcCompiles) +{ using namespace EffectShowManagement::Interface; EXPECT_TRUE(true); } // Evaluations #include "Evaluations/evl_dtc.h" -TEST(MigrationStubs, EvaluationsDtcCompiles) { + +TEST(MigrationStubs, EvaluationsDtcCompiles) +{ using namespace Evaluations::Interface; EXPECT_TRUE(true); } // ExerciseEventManagement #include "ExerciseEventManagement/eem_dtc.h" -TEST(MigrationStubs, ExerciseEventManagementDtcCompiles) { + +TEST(MigrationStubs, ExerciseEventManagementDtcCompiles) +{ using namespace ExerciseEventManagement::Interface; EXPECT_TRUE(true); } // ExerciseManagement #include "ExerciseManagement/exm_dtc.h" -TEST(MigrationStubs, ExerciseManagementDtcCompiles) { + +TEST(MigrationStubs, ExerciseManagementDtcCompiles) +{ using namespace ExerciseManagement::Interface; EXPECT_TRUE(true); } // FileManagement #include "FileManagement/flm_dtc.h" -TEST(MigrationStubs, FileManagementDtcCompiles) { + +TEST(MigrationStubs, FileManagementDtcCompiles) +{ using namespace FileManagement::Interface; EXPECT_TRUE(true); } // GuezIedManagement #include "GuezIedManagement/gim_dtc.h" -TEST(MigrationStubs, GuezIedManagementDtcCompiles) { + +TEST(MigrationStubs, GuezIedManagementDtcCompiles) +{ using namespace GuezIedManagement::Interface; EXPECT_TRUE(true); } // GuezNasat #include "GuezNasat/gna_dtc.h" -TEST(MigrationStubs, GuezNasatDtcCompiles) { + +TEST(MigrationStubs, GuezNasatDtcCompiles) +{ using namespace GuezNasat::Interface; EXPECT_TRUE(true); } // InfrastructureManagement #include "InfrastructureManagement/ism_dtc.h" -TEST(MigrationStubs, InfrastructureManagementDtcCompiles) { + +TEST(MigrationStubs, InfrastructureManagementDtcCompiles) +{ using namespace InfrastructureManagement::Interface; EXPECT_TRUE(true); } // Generic DTC #include "generic_dtc.h" -TEST(MigrationStubs, GenericDtcCompiles) { + +TEST(MigrationStubs, GenericDtcCompiles) +{ using namespace Generic; EXPECT_TRUE(true); } // AES DTC (root level) #include "aes_dtc.h" -TEST(MigrationStubs, AesDtcCompiles) { + +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 index c465a32c6..f04ac210c 100644 --- a/qt6-after/qt6-migrated-benchmark/tests/test_mockcoordtrans.cpp +++ b/qt6-after/qt6-migrated-benchmark/tests/test_mockcoordtrans.cpp @@ -1,8 +1,10 @@ #include "MockCoordTrans.h" + #include // MockCoordTrans compilation test -TEST(MockCoordTransTest, CanInstantiate) { +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 index 2e69477f3..8925834a3 100644 --- a/qt6-after/qt6-migrated-benchmark/tests/test_mrk_dtc.cpp +++ b/qt6-after/qt6-migrated-benchmark/tests/test_mrk_dtc.cpp @@ -1,14 +1,16 @@ /** * @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 "include/MarkerManagement/mrk_dtc.h" -TEST(mrk_dtc_Compilation, HeaderCompiles) { +#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 index 15eb5d447..6662ccef6 100644 --- a/qt6-after/qt6-migrated-benchmark/tests/test_msg_dtc.cpp +++ b/qt6-after/qt6-migrated-benchmark/tests/test_msg_dtc.cpp @@ -1,14 +1,16 @@ /** * @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 "include/Messaging/msg_dtc.h" -TEST(msg_dtc_Compilation, HeaderCompiles) { +#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 index 5ce8b6a7a..12f16f037 100644 --- a/qt6-after/qt6-migrated-benchmark/tests/test_nom_dtc.cpp +++ b/qt6-after/qt6-migrated-benchmark/tests/test_nom_dtc.cpp @@ -1,14 +1,16 @@ /** * @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 "include/NotificationManagement/nom_dtc.h" -TEST(nom_dtc_Compilation, HeaderCompiles) { +#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 index acacedc85..3aa728efa 100644 --- a/qt6-after/qt6-migrated-benchmark/tests/test_nom_enums.cpp +++ b/qt6-after/qt6-migrated-benchmark/tests/test_nom_enums.cpp @@ -1,14 +1,16 @@ /** * @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 #include "NotificationManagement/nom_enums.hpp" -TEST(nom_enums_Compilation, HeaderCompiles) { +#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 index b95515a39..3ffe9df55 100644 --- a/qt6-after/qt6-migrated-benchmark/tests/test_opm_dtc.cpp +++ b/qt6-after/qt6-migrated-benchmark/tests/test_opm_dtc.cpp @@ -1,14 +1,16 @@ /** * @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 "include/OperatorManagement/opm_dtc.h" -TEST(opm_dtc_Compilation, HeaderCompiles) { +#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 index d790f3210..4fb63e930 100644 --- a/qt6-after/qt6-migrated-benchmark/tests/test_oss_dtc.cpp +++ b/qt6-after/qt6-migrated-benchmark/tests/test_oss_dtc.cpp @@ -1,14 +1,16 @@ /** * @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 "include/OcSituationServer/oss_dtc.h" -TEST(oss_dtc_Compilation, HeaderCompiles) { +#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_pdm_dtc.cpp b/qt6-after/qt6-migrated-benchmark/tests/test_pdm_dtc.cpp index 65015f330..0c557b40b 100644 --- a/qt6-after/qt6-migrated-benchmark/tests/test_pdm_dtc.cpp +++ b/qt6-after/qt6-migrated-benchmark/tests/test_pdm_dtc.cpp @@ -1,14 +1,16 @@ /** * @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 "include/ProjectDataManagement/pdm_dtc.h" -TEST(pdm_dtc_Compilation, HeaderCompiles) { +#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 index 3b01811f7..0f91a17b1 100644 --- a/qt6-after/qt6-migrated-benchmark/tests/test_pdm_enums.cpp +++ b/qt6-after/qt6-migrated-benchmark/tests/test_pdm_enums.cpp @@ -1,14 +1,16 @@ /** * @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 #include "ProjectDataManagement/pdm_enums.hpp" -TEST(pdm_enums_Compilation, HeaderCompiles) { +#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 index fca0fad6d..333777b4d 100644 --- a/qt6-after/qt6-migrated-benchmark/tests/test_ppm_dtc.cpp +++ b/qt6-after/qt6-migrated-benchmark/tests/test_ppm_dtc.cpp @@ -1,14 +1,16 @@ /** * @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 #include "ParticipantManagement/ppm_dtc.h" -TEST(ppm_dtc_Compilation, HeaderCompiles) { +#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 index 3228650c7..c93709ec7 100644 --- a/qt6-after/qt6-migrated-benchmark/tests/test_ppm_enums.cpp +++ b/qt6-after/qt6-migrated-benchmark/tests/test_ppm_enums.cpp @@ -1,14 +1,16 @@ /** * @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 #include "ParticipantManagement/ppm_enums.hpp" -TEST(ppm_enums_Compilation, HeaderCompiles) { +#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 index 99853b29c..af65d1f1f 100644 --- a/qt6-after/qt6-migrated-benchmark/tests/test_pre_dtc.cpp +++ b/qt6-after/qt6-migrated-benchmark/tests/test_pre_dtc.cpp @@ -1,14 +1,16 @@ /** * @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 "include/PresentationManagement/pre_dtc.h" -TEST(pre_dtc_Compilation, HeaderCompiles) { +#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 index 80eed4400..038fdd519 100644 --- a/qt6-after/qt6-migrated-benchmark/tests/test_printing.cpp +++ b/qt6-after/qt6-migrated-benchmark/tests/test_printing.cpp @@ -1,4 +1,16 @@ #include -TEST(printingTest, CompilationStub) { EXPECT_TRUE(true); } -TEST(printingTest, Qt6ApiCompatibility) { EXPECT_TRUE(true); } -TEST(printingTest, BasicFunctionality) { EXPECT_TRUE(true); } + +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 index e0bb08542..2c745113b 100644 --- a/qt6-after/qt6-migrated-benchmark/tests/test_printing_base.cpp +++ b/qt6-after/qt6-migrated-benchmark/tests/test_printing_base.cpp @@ -1,4 +1,16 @@ #include -TEST(printing_baseTest, CompilationStub) { EXPECT_TRUE(true); } -TEST(printing_baseTest, Qt6ApiCompatibility) { EXPECT_TRUE(true); } -TEST(printing_baseTest, BasicFunctionality) { EXPECT_TRUE(true); } + +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 index 509e8daf5..be31f8af2 100644 --- a/qt6-after/qt6-migrated-benchmark/tests/test_qt6_api_migrations.cpp +++ b/qt6-after/qt6-migrated-benchmark/tests/test_qt6_api_migrations.cpp @@ -1,7 +1,7 @@ /** * @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) @@ -11,27 +11,28 @@ * 6. QXmlStreamWriter UTF-8 handling (no setCodec needed) */ -#include -#include -#include +#include #include #include #include -#include -#include -#include +#include +#include #include #include -#include -#include +#include +#include +#include #include +#include // Custom type for QVariant test -struct CustomData { +struct CustomData +{ int value; QString text; - - bool operator==(const CustomData& other) const { + + bool operator==(const CustomData& other) const + { return value == other.value && text == other.text; } }; @@ -40,69 +41,72 @@ struct CustomData { Q_DECLARE_METATYPE(CustomData) // Test 1: QStringView basic functionality (replacing QStringRef) -TEST(Qt6ApiMigrations, QStringViewBasic) { +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 " + 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()); - }; - +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) { +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) { +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) { +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); @@ -114,29 +118,35 @@ TEST(Qt6ApiMigrations, QMultiMapMultiValue) { } // Test 6: QMultiMap iteration -TEST(Qt6ApiMigrations, QMultiMapIteration) { +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") { + + for (auto it = multiMap.begin(); it != multiMap.end(); ++it) + { + if (it.key() == "a") + { aCount++; - } else if (it.key() == "b") { + } + else if (it.key() == "b") + { bCount++; } } - + EXPECT_EQ(aCount, 2); EXPECT_EQ(bCount, 1); } // Test 7: QFontMetricsF::horizontalAdvance (replacing width()) -TEST(Qt6ApiMigrations, QFontMetricsFHorizontalAdvance) { +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 @@ -145,7 +155,8 @@ TEST(Qt6ApiMigrations, QFontMetricsFHorizontalAdvance) { } // Test 8: QFontMetricsF with single character overload -TEST(Qt6ApiMigrations, QFontMetricsFChar) { +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 @@ -154,93 +165,99 @@ TEST(Qt6ApiMigrations, QFontMetricsFChar) { } // Test 9: QVariant::fromValue with custom types -TEST(Qt6ApiMigrations, QVariantFromValueCustomType) { +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) { +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) { +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) { +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) { +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) { +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); @@ -249,14 +266,15 @@ TEST(Qt6ApiMigrations, StdListAlgorithms) { } // Test 15: QMultiMap contains and remove -TEST(Qt6ApiMigrations, QMultiMapOperations) { +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); diff --git a/qt6-after/qt6-migrated-benchmark/tests/test_qt6_compatibility.cpp b/qt6-after/qt6-migrated-benchmark/tests/test_qt6_compatibility.cpp index 94109881b..4d216b81c 100644 --- a/qt6-after/qt6-migrated-benchmark/tests/test_qt6_compatibility.cpp +++ b/qt6-after/qt6-migrated-benchmark/tests/test_qt6_compatibility.cpp @@ -1,44 +1,47 @@ /** * @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 #include +#include // Test 1: QRandomGenerator basic functionality -TEST(Qt6Compatibility, QRandomGeneratorBasic) { +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 +TEST(Qt6Compatibility, QRandomGeneratorSeeded) +{ + QRandomGenerator generator(42); // Fixed seed for reproducibility int value1 = generator.bounded(1000); - - QRandomGenerator generator2(42); // Same seed + + QRandomGenerator generator2(42); // Same seed int value2 = generator2.bounded(1000); - - EXPECT_EQ(value1, value2); // Should produce same sequence + + EXPECT_EQ(value1, value2); // Should produce same sequence } // Test 3: QChar construction with static_cast -TEST(Qt6Compatibility, QCharConstruction) { +TEST(Qt6Compatibility, QCharConstruction) +{ // Qt6 has stricter QChar constructors char c = 'A'; QChar qchar = QChar(static_cast(c)); @@ -46,33 +49,36 @@ TEST(Qt6Compatibility, QCharConstruction) { } // Test 4: QChar Unicode handling -TEST(Qt6Compatibility, QCharUnicode) { +TEST(Qt6Compatibility, QCharUnicode) +{ // Test Unicode character handling in Qt6 - QChar unicodeChar(0x00E9); // é + QChar unicodeChar(0x00E9); // é EXPECT_EQ(unicodeChar.unicode(), 0x00E9); - + QString str(unicodeChar); EXPECT_EQ(str, QString("é")); } // Test 5: QVector with Qt6 -TEST(Qt6Compatibility, QVectorBasic) { +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) { +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); diff --git a/qt6-after/qt6-migrated-benchmark/tests/test_rep_dtc.cpp b/qt6-after/qt6-migrated-benchmark/tests/test_rep_dtc.cpp index 341d76dc0..7d8cf551e 100644 --- a/qt6-after/qt6-migrated-benchmark/tests/test_rep_dtc.cpp +++ b/qt6-after/qt6-migrated-benchmark/tests/test_rep_dtc.cpp @@ -1,14 +1,16 @@ /** * @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 "include/ReportManagement/rep_dtc.h" -TEST(rep_dtc_Compilation, HeaderCompiles) { +#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 index d91c96b9c..94bc5ace0 100644 --- a/qt6-after/qt6-migrated-benchmark/tests/test_rep_enums.cpp +++ b/qt6-after/qt6-migrated-benchmark/tests/test_rep_enums.cpp @@ -1,14 +1,16 @@ /** * @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 #include "ReportManagement/rep_enums.hpp" -TEST(rep_enums_Compilation, HeaderCompiles) { +#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 index 66a41d997..1ef062e8d 100644 --- a/qt6-after/qt6-migrated-benchmark/tests/test_reply_message.cpp +++ b/qt6-after/qt6-migrated-benchmark/tests/test_reply_message.cpp @@ -1,4 +1,16 @@ #include -TEST(reply_messageTest, CompilationStub) { EXPECT_TRUE(true); } -TEST(reply_messageTest, Qt6ApiCompatibility) { EXPECT_TRUE(true); } -TEST(reply_messageTest, BasicFunctionality) { EXPECT_TRUE(true); } + +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 index b6691c7e1..766c09f1c 100644 --- a/qt6-after/qt6-migrated-benchmark/tests/test_rti_integration.cpp +++ b/qt6-after/qt6-migrated-benchmark/tests/test_rti_integration.cpp @@ -1,7 +1,7 @@ /** * @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 @@ -12,40 +12,44 @@ #include // Test 1: RTI library path detection -TEST(RTIIntegration, LibraryPathDetection) { +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) { +TEST(RTIIntegration, BuildRTIConfiguration) +{ #if BUILD_RTI // RTI build mode - EXPECT_TRUE(true); // RTI is enabled + EXPECT_TRUE(true); // RTI is enabled #else // Fallback mode - SUCCEED(); // Fallback mode is valid + SUCCEED(); // Fallback mode is valid #endif } // Test 3: RTI version detection (mock) -TEST(RTIIntegration, RTIVersionDetection) { +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 - + 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) { +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 @@ -54,7 +58,8 @@ TEST(RTIIntegration, DDSModuleGuards) { } // Test 5: ProjectDataManagement with RTI guards -TEST(RTIIntegration, ProjectDataManagementGuards) { +TEST(RTIIntegration, ProjectDataManagementGuards) +{ // Verify ProjectDataManagement compiles with BUILD_RTI guards #if BUILD_RTI // RTI-specific PDM functionality would be tested here @@ -66,7 +71,8 @@ TEST(RTIIntegration, ProjectDataManagementGuards) { } // Test 6: Architecture-specific RTI library path -TEST(RTIIntegration, ArchitecturePath) { +TEST(RTIIntegration, ArchitecturePath) +{ // Test architecture-specific path detection std::string arch_path = "x64Linux4gcc8.5.0"; EXPECT_FALSE(arch_path.empty()); diff --git a/qt6-after/qt6-migrated-benchmark/tests/test_saa_telegrams.cpp b/qt6-after/qt6-migrated-benchmark/tests/test_saa_telegrams.cpp index 5053ae62e..747b7a7c9 100644 --- a/qt6-after/qt6-migrated-benchmark/tests/test_saa_telegrams.cpp +++ b/qt6-after/qt6-migrated-benchmark/tests/test_saa_telegrams.cpp @@ -1,62 +1,69 @@ /** * @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 +#include // Mock structures for testing without full RTI dependency -namespace saa { +namespace saa +{ // Simple telegram structure for testing -struct TestTelegram { +struct TestTelegram +{ uint32_t id; uint32_t timestamp; char data[64]; - - TestTelegram() : id(0), timestamp(0) { + + TestTelegram() : id(0), timestamp(0) + { std::memset(data, 0, sizeof(data)); } }; -} // namespace saa +} // namespace saa // Test 1: Telegram structure size -TEST(SAATelegrams, TelegramStructureSize) { +TEST(SAATelegrams, TelegramStructureSize) +{ saa::TestTelegram telegram; EXPECT_GT(sizeof(telegram), 0); EXPECT_EQ(sizeof(telegram.data), 64u); } // Test 2: Telegram initialization -TEST(SAATelegrams, TelegramInitialization) { +TEST(SAATelegrams, TelegramInitialization) +{ saa::TestTelegram telegram; EXPECT_EQ(telegram.id, 0u); EXPECT_EQ(telegram.timestamp, 0u); } // Test 3: Telegram data handling -TEST(SAATelegrams, TelegramDataHandling) { +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) { +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 + SUCCEED(); // Placeholder for RTI-specific tests #else // When BUILD_RTI is off, fallback implementation should work saa::TestTelegram telegram; @@ -65,18 +72,19 @@ TEST(SAATelegrams, BuildRTIGuards) { } // Test 5: Telegram serialization (fallback mode) -TEST(SAATelegrams, SerializationFallback) { +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 index f282b89b0..dc1a21e89 100644 --- a/qt6-after/qt6-migrated-benchmark/tests/test_scm_dtc.cpp +++ b/qt6-after/qt6-migrated-benchmark/tests/test_scm_dtc.cpp @@ -1,14 +1,16 @@ /** * @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 "include/ScenarioManagement/scm_dtc.h" -TEST(scm_dtc_Compilation, HeaderCompiles) { +#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 index 0a2c8da7c..56059d0a2 100644 --- a/qt6-after/qt6-migrated-benchmark/tests/test_script_timeline.cpp +++ b/qt6-after/qt6-migrated-benchmark/tests/test_script_timeline.cpp @@ -1,4 +1,16 @@ #include -TEST(script_timelineTest, CompilationStub) { EXPECT_TRUE(true); } -TEST(script_timelineTest, Qt6ApiCompatibility) { EXPECT_TRUE(true); } -TEST(script_timelineTest, BasicFunctionality) { EXPECT_TRUE(true); } + +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 index fd7ed5b5a..b399ecd6c 100644 --- a/qt6-after/qt6-migrated-benchmark/tests/test_skl_dtc.cpp +++ b/qt6-after/qt6-migrated-benchmark/tests/test_skl_dtc.cpp @@ -1,14 +1,16 @@ /** * @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 "include/Skeleton/skl_dtc.h" -TEST(skl_dtc_Compilation, HeaderCompiles) { +#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 index 67d94431d..6659eb261 100644 --- a/qt6-after/qt6-migrated-benchmark/tests/test_som_dtc.cpp +++ b/qt6-after/qt6-migrated-benchmark/tests/test_som_dtc.cpp @@ -1,14 +1,16 @@ /** * @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 "include/SoundManagement/som_dtc.h" -TEST(som_dtc_Compilation, HeaderCompiles) { +#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 index 4711cc78d..d0be41d70 100644 --- a/qt6-after/qt6-migrated-benchmark/tests/test_srm_dtc.cpp +++ b/qt6-after/qt6-migrated-benchmark/tests/test_srm_dtc.cpp @@ -1,14 +1,16 @@ /** * @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 "include/SituationReplayManagement/srm_dtc.h" -TEST(srm_dtc_Compilation, HeaderCompiles) { +#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 index 08e47667f..d2807348f 100644 --- a/qt6-after/qt6-migrated-benchmark/tests/test_srp_dtc.cpp +++ b/qt6-after/qt6-migrated-benchmark/tests/test_srp_dtc.cpp @@ -1,14 +1,16 @@ /** * @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 "include/SituationReplay/srp_dtc.h" -TEST(srp_dtc_Compilation, HeaderCompiles) { +#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 index 0677b91da..932c5b9f3 100644 --- a/qt6-after/qt6-migrated-benchmark/tests/test_srp_enums.cpp +++ b/qt6-after/qt6-migrated-benchmark/tests/test_srp_enums.cpp @@ -1,14 +1,16 @@ /** * @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 #include "SituationReplay/srp_enums.hpp" -TEST(srp_enums_Compilation, HeaderCompiles) { +#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 index c3c1c436b..35455ae2f 100644 --- a/qt6-after/qt6-migrated-benchmark/tests/test_symbology_xml.cpp +++ b/qt6-after/qt6-migrated-benchmark/tests/test_symbology_xml.cpp @@ -1,7 +1,7 @@ /** * @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) @@ -14,56 +14,60 @@ #include // Qt6 headers with proper module prefixes -#include -#include -#include -#include -#include -#include #include #include +#include +#include +#include +#include +#include +#include #include // Test 1: QStringView compatibility (replaced QStringRef) -TEST(SymbologyXML, QStringViewCompatibility) { +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) { +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) { + for (int id : symbolIds) + { sum += id; } EXPECT_EQ(sum, 15); } // Test 3: QMultiMap compatibility (replaced QMap for multi-value keys) -TEST(SymbologyXML, QMultiMapCompatibility) { +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()); @@ -73,7 +77,8 @@ TEST(SymbologyXML, QMultiMapCompatibility) { } // Test 4: QFontMetricsF::horizontalAdvance (replaced width()) -TEST(SymbologyXML, QFontMetricsFHorizontalAdvance) { +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 @@ -82,15 +87,17 @@ TEST(SymbologyXML, QFontMetricsFHorizontalAdvance) { } // Test 5: QVariant::fromValue for custom types -TEST(SymbologyXML, QVariantFromValue) { - struct SymbolData { +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); @@ -98,14 +105,15 @@ TEST(SymbologyXML, QVariantFromValue) { } // Test 6: QXmlStreamWriter without setCodec (UTF-8 default in Qt6) -TEST(SymbologyXML, QXmlStreamWriterUtf8Default) { +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 index 2d2a9572e..35b07d8a9 100644 --- a/qt6-after/qt6-migrated-benchmark/tests/test_tab_dtc.cpp +++ b/qt6-after/qt6-migrated-benchmark/tests/test_tab_dtc.cpp @@ -1,14 +1,16 @@ /** * @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 "include/TrainingAreaBase/tab_dtc.h" -TEST(tab_dtc_Compilation, HeaderCompiles) { +#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 index 7e6819e34..08505da7e 100644 --- a/qt6-after/qt6-migrated-benchmark/tests/test_taboc_dtc.cpp +++ b/qt6-after/qt6-migrated-benchmark/tests/test_taboc_dtc.cpp @@ -1,14 +1,16 @@ /** * @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 "include/DDS/taboc_dtc.h" -TEST(taboc_dtc_Compilation, HeaderCompiles) { +#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 index 0ab3af6d1..71cd17a3f 100644 --- 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 @@ -1,4 +1,16 @@ #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); } + +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_tgt_dtc.cpp b/qt6-after/qt6-migrated-benchmark/tests/test_tgt_dtc.cpp index 70903b009..45c1f718d 100644 --- a/qt6-after/qt6-migrated-benchmark/tests/test_tgt_dtc.cpp +++ b/qt6-after/qt6-migrated-benchmark/tests/test_tgt_dtc.cpp @@ -1,14 +1,16 @@ /** * @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 "include/TargetManagement/tgt_dtc.h" -TEST(tgt_dtc_Compilation, HeaderCompiles) { +#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_tools.cpp b/qt6-after/qt6-migrated-benchmark/tests/test_tools.cpp index 1247bafa6..eef14b831 100644 --- a/qt6-after/qt6-migrated-benchmark/tests/test_tools.cpp +++ b/qt6-after/qt6-migrated-benchmark/tests/test_tools.cpp @@ -1,4 +1,16 @@ #include -TEST(toolsTest, CompilationStub) { EXPECT_TRUE(true); } -TEST(toolsTest, Qt6ApiCompatibility) { EXPECT_TRUE(true); } -TEST(toolsTest, BasicFunctionality) { EXPECT_TRUE(true); } + +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 index 62fa98cd4..460aba418 100644 --- a/qt6-after/qt6-migrated-benchmark/tests/test_track_content_widget.cpp +++ b/qt6-after/qt6-migrated-benchmark/tests/test_track_content_widget.cpp @@ -1,4 +1,16 @@ #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); } + +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 index 903cbae71..b3cc4372f 100644 --- a/qt6-after/qt6-migrated-benchmark/tests/test_track_drag_handler.cpp +++ b/qt6-after/qt6-migrated-benchmark/tests/test_track_drag_handler.cpp @@ -1,4 +1,16 @@ #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); } + +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 index fcad3ae21..7bb52b440 100644 --- a/qt6-after/qt6-migrated-benchmark/tests/test_track_entry.h.cpp +++ b/qt6-after/qt6-migrated-benchmark/tests/test_track_entry.h.cpp @@ -1,4 +1,16 @@ #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); } + +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 index 062ad2bbd..239b0af7c 100644 --- a/qt6-after/qt6-migrated-benchmark/tests/test_track_entry_painters.cpp +++ b/qt6-after/qt6-migrated-benchmark/tests/test_track_entry_painters.cpp @@ -1,4 +1,16 @@ #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); } + +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 index f4dce5133..e726778d0 100644 --- 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 @@ -1,4 +1,16 @@ #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); } + +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 index 0255f5f7f..bcfa6fb1c 100644 --- a/qt6-after/qt6-migrated-benchmark/tests/test_track_entry_previewer.cpp +++ b/qt6-after/qt6-migrated-benchmark/tests/test_track_entry_previewer.cpp @@ -1,4 +1,16 @@ #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); } + +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 index f9f55ebc7..49e38fc71 100644 --- a/qt6-after/qt6-migrated-benchmark/tests/test_track_header.cpp +++ b/qt6-after/qt6-migrated-benchmark/tests/test_track_header.cpp @@ -1,4 +1,16 @@ #include -TEST(track_headerTest, CompilationStub) { EXPECT_TRUE(true); } -TEST(track_headerTest, Qt6ApiCompatibility) { EXPECT_TRUE(true); } -TEST(track_headerTest, BasicFunctionality) { EXPECT_TRUE(true); } + +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 index 87ee4e552..a0d6ce929 100644 --- a/qt6-after/qt6-migrated-benchmark/tests/test_track_resize_handler.cpp +++ b/qt6-after/qt6-migrated-benchmark/tests/test_track_resize_handler.cpp @@ -1,4 +1,16 @@ #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); } + +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 index fae3eacf6..946323564 100644 --- a/qt6-after/qt6-migrated-benchmark/tests/test_track_select_handler.cpp +++ b/qt6-after/qt6-migrated-benchmark/tests/test_track_select_handler.cpp @@ -1,4 +1,16 @@ #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); } + +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 index e14e48d33..8d64627b2 100644 --- a/qt6-after/qt6-migrated-benchmark/tests/test_vnc_server_manager.cpp +++ b/qt6-after/qt6-migrated-benchmark/tests/test_vnc_server_manager.cpp @@ -1,4 +1,16 @@ #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); } + +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 index 72b57cd3c..527fde98a 100644 --- a/qt6-after/qt6-migrated-benchmark/tests/test_whg_dtc.cpp +++ b/qt6-after/qt6-migrated-benchmark/tests/test_whg_dtc.cpp @@ -1,14 +1,16 @@ /** * @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 "include/WarehouseGuez/whg_dtc.h" -TEST(whg_dtc_Compilation, HeaderCompiles) { +#include + +TEST(whg_dtc_Compilation, HeaderCompiles) +{ // This test verifies that the header compiles without errors EXPECT_TRUE(true); }