Integrates unittests for lts/services/s almost successfull into final validation phase

This commit is contained in:
torsten committed 2026-09-17 07:13:12 +00:00
1 parent 778866b7cd
commit 86f331341a
46 files changed
+307 -108

No files matched your search

@@ -23,15 +23,15 @@ TEST(ItemTest, HeaderCompilesAndLinks)
TEST(ItemTest, CanInstantiateItem)
{
// Basic instantiation test
Item item("TestItem", "test-id");
EXPECT_EQ(item.getName(), "TestItem");
EXPECT_EQ(item.getIdentifier(), "test-id");
Item item(QStringLiteral("TestItem"), QStringLiteral("test-id"));
EXPECT_EQ(item.getName(), QStringLiteral("TestItem"));
EXPECT_EQ(item.getIdentifier(), QStringLiteral("test-id"));
}
TEST(ItemTest, ItemHasValidState)
{
Item parent("Parent");
Item child("Child");
Item parent(QStringLiteral("Parent"));
Item child(QStringLiteral("Child"));
// Test parent-child relationship
child.setParent(&parent);