Apply clang-format to all test files

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
torstenandCopilot committed 2026-08-19 14:49:51 +02:00
1 parent d7f6ff1f9e
commit e8d501773b
144 files changed
+1967 -792

No files matched your search

@@ -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<DtcType>::value, "Dtc should be a class");
static_assert(std::is_class<FtcType>::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);
}