summaryrefslogtreecommitdiffstats
path: root/conf.d/project
AgeCommit message (Collapse)AuthorFilesLines
2018-07-10Continue Mapis works WIPRomain Forlot3-1/+8
Beginning work to handle events from a Mapi. Also rename old fapis file to mapis and some format Change-Id: I30bedcbe13cac9568e21cd3a0947516e74dde271 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-07-10Remove log monitoring capabilityRomain Forlot1-10/+1
Tests should not rely on binder logs messages. Change-Id: Ic274cb5600924100dde48fb7d3d31fc367b1c5cd Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-07-10Add an exit handler also in LUA.Romain Forlot1-0/+9
Needs to make it as a parameter tested at the end of afb request call "launch_all_test". Change-Id: I87b93aae67561e5aec0a138bfbdc0dabac3bdc21 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-07-10Update onload to testVerbRomain Forlot2-2/+2
Then tests are executed at verb call instead of at the binding launch Change-Id: I133c203c28f561dd6d4242bf8c78bfcf71f73209 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-07-10First draft for mock apisRomain Forlot4-3/+97
An m(ock)api is a plugin with its action as verb. About now the event listener is the same then the main api Change-Id: Iadbbb60cfbe9d5ef85801c346e6565ccde92b0c4 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-07-10Began Mock API implementation WIPRomain Forlot1-0/+59
Change-Id: I30782e272cad5da75950d7983f9504dac6d24676 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-07-10Redirect print to a file in addition of standard outputRomain Forlot1-1/+13
Change-Id: I3cd556d8dba9b2d30d169da15a1f09de7ccc2b10 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-07-10Remove low-can testsRomain Forlot7-1672/+0
These tests should lies in the low-can git repo. Change-Id: I87c679fc2d3024c22191dc98bb99290f5fd19eca Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-07-10Rolling back pull request, that shouldn't be merged.Romain Forlot1-70/+15
Change-Id: I56f9c7446dd603f098010344dc661317d065518c Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-07-10Update helloworld.luaCorentinLGS1-22/+0
Change-Id: Icb1c56cc369fcc5f85cb71257b53c554287e63f5 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
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 Forlot2-3/+7
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 Forlot3-8/+19
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-10Simplify the writing of configuration.Romain Forlot1-14/+5
As resources and events are "static" hardcode them in the binding. Change-Id: I9dd600fa6cfe0d2f5f55cf605ce75d8c5446d78d 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 Forlot3-59/+160
Change-Id: I77151a668f89671e0391a90be2559d61dc0e5ec4 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-07-10Add a Application Framework TestRomain Forlot4-8/+313
Change-Id: Ic786bab6df777f62ff2156ea18156389c8aa79e3 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-07-10Fixed CMakefile target namingSebastien Douheret2-2/+2
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2018-07-10Adding more material to do testsRomain Forlot8-19/+1619
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 Forlot7-28/+3105
Add luaunit as xUnit lua framework Change-Id: I49627b6554c62d05eca5e367d073b037385e40b1 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-07-10Initial commitRomain Forlot11-0/+606
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>