Added test case and setting Test configuration
This commit is contained in:
1 parent
f815271486
commit
a86f9b5bac
48 files changed
+423
-168
No files matched your search
@@ -17,9 +17,9 @@ class EventTest : public ::testing::Test
|
||||
|
||||
TEST(EventTest, ConstructorInitializesMembers)
|
||||
{
|
||||
QStringList path = {"actuator", "subactuator"};
|
||||
QStringList path = {QStringLiteral("actuator"), QStringLiteral("subactuator")};
|
||||
QJsonObject detailData;
|
||||
detailData["key"] = "value";
|
||||
detailData[QStringLiteral("key")] = QStringLiteral("value");
|
||||
QColor color(Qt::red);
|
||||
|
||||
Event event(1, 2, 1000, 2000, 3, 4, 5, path, nullptr, color, detailData);
|
||||
|
||||
Reference in new issue
Block a user