diff options
author | Alexander Volkov <a.volkov@rusbitech.ru> | 2017-10-12 17:35:16 +0300 |
---|---|---|
committer | Liang Qi <liang.qi@qt.io> | 2018-01-24 08:07:11 +0000 |
commit | 8f89e12e90d3f13f243c8dc51442f50e91446371 (patch) | |
tree | 742423c8fe6fa0483259db714f30767823f1beb9 /LICENSE.FDL | |
parent | a5881f10e0ba6ba283b1215a5342056196661414 (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 <lorn.potter@gmail.com>
(cherry picked from commit e3b6a54a75482c5ddd91dab50a86629053c69a2e)
Diffstat (limited to 'LICENSE.FDL')
0 files changed, 0 insertions, 0 deletions