summaryrefslogtreecommitdiffstats
path: root/conf.d/project/lua.d
AgeCommit message (Collapse)AuthorFilesLines
2018-07-10Added test exemplesCorentin Le Gall1-0/+78
Change-Id: Icf8eb2214c77575029de0a44916b8391a7f5102b Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-07-10Handle string or array arguments for "files" keyRomain Forlot1-2/+6
Change-Id: I16b6dedfa4c2fee866463c6df235505bc68a358c Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-07-10CleaningRomain Forlot1-84/+0
Change-Id: Id264b4b0a90cbb4684fc91db6e2e4103216483aa Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-07-10Added alias function to the READMERomain Forlot1-0/+2
To improve readability of tests we need a function to reset the receivedCount on event or log messages then we can assert in a same function that it has been received and not received. Change-Id: If08f24732c78797a0ef36b780e9620474d95f70d Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-07-10Extend and added dedicated coverage test fileRomain Forlot2-2/+63
Change-Id: If087d52db631e8accc3fa81f13c91554b150c7f9 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-07-10Added Not Received assert and test functionsRomain Forlot1-2/+25
Change-Id: Ic5bdbb9c57144acac2ca54c0c60ef202766c5704 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-07-10Adapt low-can test cases to the new test frameworkRomain Forlot1-73/+20
Change-Id: I6868b6bd5919dfc5d1e9c938febe2f29be99ddfd Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-07-10Execute Callback in assertion is more usefulRomain Forlot1-6/+6
Indeed we need to be able to execute a callback to improve the assertion so it has to lies in the assert and not the verb Change-Id: Id835d76c1984087fb815db207c89cfe650f6240c Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-07-10Fix: renamed key api to traceRomain Forlot1-1/+1
Change-Id: I7bae735e05e0fb753816bb555034936c60d33789 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-07-10Fix: infinite loop of event fired by test bindingRomain Forlot2-8/+18
Restrict which api are monitored to avoid daemon log messages to be infinitely generated. Change-Id: Ie527267985ca8035c3f410be1d775f3214feac2c Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-07-10Add the ability to assert daemon log messagesRomain Forlot2-32/+92
Change-Id: I392dc677061223d4990a12517606e9ef9142d515 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-07-10Add possibility to create custom test functionRomain Forlot1-0/+6
Change-Id: I83de0cc0edce37cb0d512fce0cec560659f625a7 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-07-10Implement event part of test frameworkRomain Forlot2-57/+158
Change-Id: I77151a668f89671e0391a90be2559d61dc0e5ec4 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-07-10Add a Application Framework TestRomain Forlot3-2/+305
Change-Id: Ic786bab6df777f62ff2156ea18156389c8aa79e3 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-07-10Adding more material to do testsRomain Forlot2-18/+48
Make the lua interpreter find the luaunit module. Find a way to use it from the controller. Adding canreplayer file and write a script that could launch in background the canplayer. No process handling by now which have to done in the next step Change-Id: I2d35472ba0e2fbb03ead121ff2587d831fe4ff17 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-07-10Update controller mechanismRomain Forlot3-20/+3091
Add luaunit as xUnit lua framework Change-Id: I49627b6554c62d05eca5e367d073b037385e40b1 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-07-10Initial commitRomain Forlot2-0/+66
This is the skeleton, it compile but there isn't tests implemented for now. Change-Id: Ie810a9eb23d58797bebd6b64b00682238e4bd732 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>