summaryrefslogtreecommitdiffstats
path: root/test/afb-test/tests/low-can_FilterTest01.lua
AgeCommit message (Collapse)AuthorFilesLines
2018-12-14Filter tests improvementsRomain Forlot1-19/+26
- Unsubscribe using the tear down feature instead of invoking it inside a test which could not be called if a previous assertion failed. - Always use the same event so make the 'api' and 'evt' variables at file scope. - Asserting the bash script's return launcher execution Change-Id: I6be151d07f890aef053a5ada06216aac7941c165 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-09-12Reach fixture files in all cases.Romain Forlot1-3/+3
Depending if you are executing tests on a board or natively with one or more binders you have to reliably be able to reach your fixtures files. Using the bindingRootDir you always point to the right directory and know exactly where are your files. Change-Id: I61e7cd9d7ff43637dff6e63ffc82a7485cf92443 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-07-28Several tests improvements and fixesRomain Forlot1-16/+31
- New tests about authenticate and write on CAN bus. - Fixes diagnostic messages handling, all diagnostic messages are received through the same handle then in its data there is the detailled message name. - Set after and before method the same between the both file then they could be played separately. About now setting multiple times those methods will override them and the latest set wins - Disable the Step3 for now because of segfault - Fix unsubscribe argument to match the previous subscription else it doesn't match and verb call fails - Fix: typo,wrong variable Change-Id: I2f4c2873e57611c946a99d4313021bb7bfea679c Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-07-24Added frequency filter test8000ff1-7/+27
Change-Id: I9b80a713f5696e36e4acbe815dc3422281b6e0d3 Signed-off-by: 8000ff <clementmallejac@gmail.com>
2018-07-20Improved testing procedures8000ff1-0/+56
- Deleted deprecated low-can-tests.lua - Renamed low-can-coverage.lua as it does not describe its purpose - Added 2 new canreplay files - Added new test file for testing subscription filters - Edited the test configuration to play the new test file Change-Id: I11315581a5fac7428ed17d3ef299a9f0e96ce7f4 Signed-off-by: 8000ff <clementmallejac@gmail.com>