Adds further migration results and moves generated tests in

This commit is contained in:
torsten committed 2026-08-19 21:21:59 +02:00
1 parent 19ab996be2
commit 72cbe318b6
442 files changed
+17126 -246

No files matched your search

@@ -0,0 +1,40 @@
/**
* @file test_asm_dtc.cpp
* @brief Tests for AssetManagement Dtc stub header compilation
*/
#include <gtest/gtest.h>
// Test that the header compiles and provides expected forward declarations
TEST(AsmDtcTest, HeaderCompilesSuccessfully)
{
// This test verifies that asm_dtc.h compiles without errors
// The header provides forward declarations for DDS-generated Dtc/Ftc classes
EXPECT_TRUE(true);
}
TEST(AsmDtcTest, NamespaceStructureExists)
{
// Verify that the AssetManagement namespace exists
using namespace AssetManagement;
// Verify that the Interface namespace exists within AssetManagement
using namespace AssetManagement::Interface;
// Forward declaration should be available (pointer type should compile)
Dtc* dtc_ptr = nullptr;
Ftc* ftc_ptr = nullptr;
EXPECT_EQ(dtc_ptr, nullptr);
EXPECT_EQ(ftc_ptr, nullptr);
}
TEST(AsmDtcTest, ForwardDeclarationsAreUsable)
{
// Test that forward-declared types can be used in function signatures
auto use_dtc = [](AssetManagement::Interface::Dtc* ptr) { return ptr != nullptr; };
auto use_ftc = [](AssetManagement::Interface::Ftc* ptr) { return ptr != nullptr; };
EXPECT_FALSE(use_dtc(nullptr));
EXPECT_FALSE(use_ftc(nullptr));
}