summaryrefslogtreecommitdiffstats
path: root/conf.d/controller/lua.d
diff options
context:
space:
mode:
authorCorentinLGS <corentinlgs@gmail.com>2018-08-06 11:31:27 +0200
committerCorentinLGS <corentinlgs@gmail.com>2018-08-08 11:32:42 +0200
commitf8129b73691310f4576c7033310d59d4b80fefb3 (patch)
tree018d67e270cf507a81fa5d07e60b0e5a69e24bc7 /conf.d/controller/lua.d
parenta1aa316178b097ad50417360f4f9e777b7f9999e (diff)
Tested and added doc on updated assertEvtGrpReceived functions
- Tested changed assertEvtGrpReceived functions - Updated doc about it Change-Id: I91725152e54ebba9d65e501da54a72801699c760 Signed-off-by: Corentin Le Gall <corentinlgs@gmail.com>
Diffstat (limited to 'conf.d/controller/lua.d')
-rw-r--r--conf.d/controller/lua.d/helloworld.lua5
1 files changed, 3 insertions, 2 deletions
diff --git a/conf.d/controller/lua.d/helloworld.lua b/conf.d/controller/lua.d/helloworld.lua
index bffb230..41ba603 100644
--- a/conf.d/controller/lua.d/helloworld.lua
+++ b/conf.d/controller/lua.d/helloworld.lua
@@ -55,8 +55,9 @@ _AFT.testVerbStatusSuccess('testEventPushanotherEvent', 'hello', 'eventpush', {t
_AFT.testVerbStatusSuccess('testGenerateWarning', 'hello', 'verbose', {level = 4, message = 'My Warning message!'})
-_AFT.testEvtGrpReceived("testEventGroupReceived",{"hello/anEvent","hello/anotherEvent"},300000)
-_AFT.testEvtGrpNotReceived("testEventGroupNotReceived",{"hello/anEvent","hello/anotherEvent"},300000)
+_AFT.testEvtGrpReceived("testEventGroupReceived",{["hello/anEvent"]=1,["hello/anotherEvent"]=1},300000)
+_AFT.testEvtGrpReceived("testEventGroupReceived",{["hello/anEvent"]=2,["hello/anotherEvent"]=1},300000)
+_AFT.testEvtGrpReceived("testEventGroupReceived",{["hello/anEvent"]=0,["hello/anotherEvent"]=0},300000)
_AFT.testEvtReceived("testanEventReceived", "hello/anEvent",300000)
_AFT.testEvtReceived("testanotherEventReceived", "hello/anotherEvent",300000)