path: root/examples/sensors
diff options
authorAlexander Volkov <>2017-10-12 17:35:16 +0300
committerLiang Qi <>2018-01-24 08:07:11 +0000
commit8f89e12e90d3f13f243c8dc51442f50e91446371 (patch)
tree742423c8fe6fa0483259db714f30767823f1beb9 /examples/sensors
parenta5881f10e0ba6ba283b1215a5342056196661414 (diff)
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. Task-number: QTBUG-65861 Change-Id: Icfd86831b527da4933da2a20f45ccf9617862eac Reviewed-by: Lorn Potter <> (cherry picked from commit e3b6a54a75482c5ddd91dab50a86629053c69a2e)
Diffstat (limited to 'examples/sensors')
0 files changed, 0 insertions, 0 deletions