summaryrefslogtreecommitdiff
path: root/tests/auto/qsensorgestures_gestures/tst_sensorgestures_gestures.cpp
Commit message (Collapse)AuthorAgeFilesLines
* testSingleGestures: Fix for case of multiple gesturesAlexander Volkov2018-01-241-10/+21
| | | | | | | | | | | | | | | | | | 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)
* Updated license headersAntti Kokko2016-01-201-17/+12
| | | | | | | | | | | From Qt 5.7 -> tools & applications are lisenced under GPL v3 with some exceptions, see http://blog.qt.io/blog/2016/01/13/new-agreement-with-the-kde-free-qt-foundation/ Updated license headers to use new GPL-EXCEPT header instead of LGPL21 one (in those files which will be under GPL 3 with exceptions) Change-Id: I9776db2840136cadb5cb1684a066b31758e16b8c Reviewed-by: Lars Knoll <lars.knoll@theqtcompany.com>
* Update copyright headersJani Heikkinen2015-02-171-7/+7
| | | | | | | | | Qt copyrights are now in The Qt Company, so we could update the source code headers accordingly. In the same go we should also fix the links to point to qt.io. Change-Id: I141862df4ed2475c05ebbeb8fe447c4a6e736849 Reviewed-by: Antti Kokko <antti.kokko@theqtcompany.com>
* Update license headers and add new licensesJani Heikkinen2014-08-241-19/+11
| | | | | | | | | | | - Renamed LICENSE.LGPL to LICENSE.LGPLv21 - Added LICENSE.LGPLv3 & LICENSE.GPLv2 - Removed LICENSE.GPL Change-Id: I99c601a398559886c2900f3e04833acfceba8263 Reviewed-by: Antti Kokko <antti.kokko@digia.com> Reviewed-by: BogDan Vatra <bogdan@kde.org> Reviewed-by: Tony Sarajärvi <tony.sarajarvi@digia.com>
* remove the need to use QTimer and use timestamps instead.Lorn Potter2012-11-141-1/+24
| | | | | Change-Id: I6327357de9f84df3db86d714747210fe62547818 Reviewed-by: Lorn Potter <lorn.potter@gmail.com>
* Change copyrights from Nokia to DigiaIikka Eklund2012-09-241-24/+24
| | | | | | | | | | Change copyrights and license headers from Nokia to Digia Change-Id: I85014238e262cb59d8d92b0d708851e82e5633da Reviewed-by: Janne Anttila <janne.anttila@digia.com> Reviewed-by: Thomas McGuire <thomas.mcguire@kdab.com> Reviewed-by: Sergio Ahumada <sergio.ahumada@digia.com> Reviewed-by: Lorn Potter <lorn.potter@gmail.com>
* make twist work better when the phone is tilted.Lorn Potter2012-06-131-0/+26
| | | | | Change-Id: If4c04a6e3f9a936f55233c621d184bc0e4d99e1b Reviewed-by: Lorn Potter <lorn.potter@nokia.com>
* fix false positive sensor gesture recognition when slam is too close to headLorn Potter2012-05-241-0/+26
| | | | | Change-Id: Ic6aa24ca44b6cb61c1592bd8536a092d7ec0fc90 Reviewed-by: Lorn Potter <lorn.potter@nokia.com>
* fix false positive whip gesture.Lorn Potter2012-05-241-0/+26
| | | | | | | | false positive was tapping fingers on screen would produce a whip : Change-Id: Ibff1323f27e899cd63bdbaddcf0e77915a993b21 Reviewed-by: Lorn Potter <lorn.potter@nokia.com>
* make hover gesture work betterLorn Potter2012-05-241-0/+24
| | | | | | | | | make hover work when the ir prox is calibrated. Also make sure that a hand moving up after doing a cover does not trigger a hover signal. Change-Id: I8925c4d7dd53302b9d9950989e37ad991216f621 Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com>
* add sensor gesture auto testsLorn Potter2012-05-141-0/+326
use mock sensor plugin to feed captured data through sensorgestures. Change-Id: I5d040f2b7d5786b79bf295c98777ada425acbe8a Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com>