Apply clang-format to all test files
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
144 files changed
+1967
-792
No files matched your search
@@ -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);
|
||||
}
|
||||
Reference in new issue
Block a user