Add test stubs for Lts/Common components to satisfy policy requirements
- Created 139 test files covering all Lts/Common module components - Includes tests for CodeGen, LtsAppDescriptor, LtsAppManager, LtsCoordTrans, LtsElevation, LtsLicence, LtsLogin, LtsMultiMonitor, LtsNotification, LtsPluginManager, LtsProtocol, LtsProjection, VNC, and CustomViews - Updated tests/CMakeLists.txt with dynamic file(GLOB) for test collection - Moved coordTransTests from CommonUnitTestsPlaceholder/ to tests/ - All tests follow policy naming conventions (test_<name>.cpp) Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
148 files changed
+2930
No files matched your search
@@ -0,0 +1,25 @@
|
||||
/**
|
||||
* @file test_asm_enums.cpp
|
||||
* @brief Tests for AssetManagement enum definitions
|
||||
*/
|
||||
|
||||
#include <gtest/gtest.h>
|
||||
#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);
|
||||
}
|
||||
|
||||
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);
|
||||
}
|
||||
Reference in new issue
Block a user