diff options
author | Alexander Volkov <a.volkov@rusbitech.ru> | 2017-10-12 17:35:16 +0300 |
---|---|---|
committer | Lorn Potter <lorn.potter@gmail.com> | 2017-11-14 01:35:06 +0000 |
commit | e3b6a54a75482c5ddd91dab50a86629053c69a2e (patch) | |
tree | b06bfd58bdf87770c78f40c54893f9520d323569 /tests/auto/qsensor/test_sensorimpl.h | |
parent | 203c9707194f167a70cb27ea47dbb6d7bb3e7d09 (diff) | |
download | qtsensors-e3b6a54a75482c5ddd91dab50a86629053c69a2e.tar.gz |
testSingleGestures: Fix for case of multiple gestures
This test fails sometimes for the twist gesture data, because
it contains 3 gestures. QTRY_COMPARE_WITH_TIMEOUT usually stops
comparison after recognition of the first gesture, but it may
make the first comparison after more than one gesture has been
recognized and thus fail the test.
Add a new column to the test data with a list of gestures that
should be recognized and use the list in QTRY_COMPARE_WITH_TIMEOUT.
It will make the error message more informative if the test will
fail, and should make the test pass on all configurations.
Change-Id: Icfd86831b527da4933da2a20f45ccf9617862eac
Reviewed-by: Lorn Potter <lorn.potter@gmail.com>
Diffstat (limited to 'tests/auto/qsensor/test_sensorimpl.h')
0 files changed, 0 insertions, 0 deletions