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_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 <gtest/gtest.h>
// 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);
}