From 99e5c662eb4c5819e082d955da963a6db21c0e0a Mon Sep 17 00:00:00 2001 From: Corentin Le Gall Date: Mon, 23 Jul 2018 13:55:25 +0200 Subject: Fixed bugs on EvtGrpReceived functions -Changed event.name to eventName and added a condition in _AFT.triggerEvtCallback. -Added tests functions to assertEvtGrpReceived functions. -Corrected a mistake in _AFT.assertEvtGrpNotReceived. Change-Id: Ic0f72ac9789f5056dd628d950fa53f54b3a82112 Signed-off-by: Corentin Le Gall --- conf.d/controller/lua.d/helloworld.lua | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'conf.d/controller/lua.d/helloworld.lua') diff --git a/conf.d/controller/lua.d/helloworld.lua b/conf.d/controller/lua.d/helloworld.lua index 8fcf077..bffb230 100644 --- a/conf.d/controller/lua.d/helloworld.lua +++ b/conf.d/controller/lua.d/helloworld.lua @@ -55,5 +55,8 @@ _AFT.testVerbStatusSuccess('testEventPushanotherEvent', 'hello', 'eventpush', {t _AFT.testVerbStatusSuccess('testGenerateWarning', 'hello', 'verbose', {level = 4, message = 'My Warning message!'}) -_AFT.testEvtReceived("testanEventReceived", "hello/anEvent",3000000) -_AFT.testEvtReceived("testanotherEventReceived", "hello/anotherEvent",3000000) +_AFT.testEvtGrpReceived("testEventGroupReceived",{"hello/anEvent","hello/anotherEvent"},300000) +_AFT.testEvtGrpNotReceived("testEventGroupNotReceived",{"hello/anEvent","hello/anotherEvent"},300000) + +_AFT.testEvtReceived("testanEventReceived", "hello/anEvent",300000) +_AFT.testEvtReceived("testanotherEventReceived", "hello/anotherEvent",300000) -- cgit 1.2.3-korg