From 576e67f9f379e73033a975056ca9493b1d7369a8 Mon Sep 17 00:00:00 2001 From: Michael Zanetti Date: Sun, 15 Jun 2014 01:25:43 +0200 Subject: [PATCH] also add event params to rule load/store test --- tests/auto/rules/testrules.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tests/auto/rules/testrules.cpp b/tests/auto/rules/testrules.cpp index 4ea02ec5..4288e7a9 100644 --- a/tests/auto/rules/testrules.cpp +++ b/tests/auto/rules/testrules.cpp @@ -167,6 +167,11 @@ void TestRules::loadStoreConfig() eventDescriptor2.insert("eventTypeId", mockEvent1Id); eventDescriptor2.insert("deviceId", m_mockDeviceId); eventDescriptor2.insert("paramDescriptors", QVariantList()); + QVariantList eventParamDescriptors; + QVariantMap eventParam1; + eventParam1.insert("mockParamInt", 3); + eventParamDescriptors.append(eventParam1); + eventDescriptor2.insert("paramDescriptors", eventParamDescriptors); QVariantMap action1; action1.insert("actionTypeId", mockActionIdNoParams);