summaryrefslogtreecommitdiffstats
path: root/tests/auto/qsensorgestures_gestures
Commit message (Collapse)AuthorAgeFilesLines
* Remove disabled sensor gesture codeJuha Vuolle2022-10-0435-8176/+0
| | | | | | | | | | | | | | | Support for sensor gestures in their then-current form was removed in Qt 6 (QTBUG-95747). This commit removes the disabled code. This is to avoid distraction when keeping the repository up-to-date with rest of Qt. The gestures may be reintroduced in some shape or form in the future (QTBUG-97066). For those reference purposes the old code can be found in the git history. Fixes: QTBUG-107065 Change-Id: If2c50171f84d483dde55600422d138d550124bdc Reviewed-by: Lorn Potter <lorn.potter@gmail.com>
* Change the license of all CMakeLists.txt and *.cmake files to BSDLucie Gérard2022-08-231-1/+1
| | | | | | | Task-number: QTBUG-105718 Change-Id: I8e1e210b85a5c02947a259edec14a915fa64cfc5 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io>
* CMake: Don't use PUBLIC_LIBRARIES for tests and test helpersAlexandru Croitor2022-07-281-1/+1
| | | | | Change-Id: I1ed37bf392000364bc1bf72dd11a3d3deec099d7 Reviewed-by: Alexey Edelev <alexey.edelev@qt.io>
* Add license headers to cmake filesLucie Gérard2022-07-071-0/+3
| | | | | | | | | | | | | CMakeLists.txt and .cmake files of significant size (more than 2 lines according to our check in tst_license.pl) now have the copyright and license header. Existing copyright statements remain intact Task-number: QTBUG-88621 Change-Id: If432c07e9205f97f3c256ca2a8e682478d9dd82c Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io>
* Use SPDX license identifiersLucie Gérard2022-06-134-108/+8
| | | | | | | | | | | Replace the current license disclaimer in files by a SPDX-License-Identifier. License files are organized under LICENSES directory. Pick-to: 6.4 Task-number: QTBUG-67283 Change-Id: I114588b3215fecda3a9127931f17a33bd4ef1edb Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io>
* Fix tst_sensorgestures_gestures to pass on AndroidJuha Vuolle2021-06-212-17/+13
| | | | | | | | | | | | | | The problem was that the testcase did not find the testdata files on Android. On closer inspection it turns out that TESTDATA token in qt_internal_add_test treats ANDROID/IOS and rest of the platforms differently in terms of how test resources are handled. This commit stores testdata unconditionally as qrc resources. Pick-to: 6.2 Task-number: QTBUG-92513 Task-number: QTBUG-73618 Change-Id: I0cfe878661dd2c55fa63abc1f95534a8041aa34d Reviewed-by: Lorn Potter <lorn.potter@gmail.com>
* QtSensors initial cmake supportLorn Potter2021-04-192-21/+19
| | | | | | | | | | | | | | | | | This commit introduces the bare minimum cmake support that should unblock the CI and allow further verification and development on most platforms: macOS, Linux, Win, iOS and Android. Some clarifications: * The support for sensorfw backend is very preliminary and can be enabled later if needed (no Qt6 version of the sensorfw). * The simulator backend is dropped as obsolete / unnecessary. * Three examples are currently commented out and shall be ported with a later commit. Task-number: QTBUG-92502 Change-Id: Id523d43ed3ef177010dc73afc5812ed374cff0dd Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
* Add missing override and remove redundant virtualAlexander Volkov2017-11-142-4/+4
| | | | | Change-Id: I51c0fc424f44ae68c3c1c4cf6377e7701ee5a0dd Reviewed-by: Lorn Potter <lorn.potter@gmail.com>
* testSingleGestures: Fix for case of multiple gesturesAlexander Volkov2017-11-141-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. Change-Id: Icfd86831b527da4933da2a20f45ccf9617862eac Reviewed-by: Lorn Potter <lorn.potter@gmail.com>
* Updated license headersAntti Kokko2016-01-204-68/+48
| | | | | | | | | | | 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>
* Remove QT_DISABLE_DEPRECATED_BEFORE=0 from tests not using deprecated API.Friedemann Kleint2015-08-251-1/+0
| | | | | Change-Id: I4b06759f2a6f02ff6de0e9b1f5e758949ee081b0 Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com>
* Update copyright headersJani Heikkinen2015-02-174-28/+28
| | | | | | | | | 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-244-76/+44
| | | | | | | | | | | - 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 nokia and replace with qt-project in pluginsLorn Potter2013-02-071-1/+1
| | | | | Change-Id: I63fa985991653e4b8465a7fb88acab647d8546e8 Reviewed-by: Thomas McGuire <thomas.mcguire@kdab.com>
* remove the need to use QTimer and use timestamps instead.Lorn Potter2012-11-143-1/+425
| | | | | Change-Id: I6327357de9f84df3db86d714747210fe62547818 Reviewed-by: Lorn Potter <lorn.potter@gmail.com>
* Change copyrights from Nokia to DigiaIikka Eklund2012-09-244-96/+96
| | | | | | | | | | 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>
* Set the Qt API level to compatibility mode in all tests.Thiago Macieira2012-08-021-0/+1
| | | | | | | | | | Qt 5.0 beta requires changing the default to the 5.0 API, disabling the deprecated code. However, tests should test (and often do) the compatibility API too, so turn it back on. Task-number: QTBUG-25053 Change-Id: Ie47ddce66e9738b43826e6472811ae76a88472d2 Reviewed-by: Alex <alex.blasche@nokia.com>
* make twist work better when the phone is tilted.Lorn Potter2012-06-132-0/+286
| | | | | 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-242-0/+230
| | | | | Change-Id: Ic6aa24ca44b6cb61c1592bd8536a092d7ec0fc90 Reviewed-by: Lorn Potter <lorn.potter@nokia.com>
* fix false positive whip gesture.Lorn Potter2012-05-243-291/+826
| | | | | | | | 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-242-0/+258
| | | | | | | | | 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>
* make twist dependent upon an orientation change.Lorn Potter2012-05-181-33/+150
| | | | | | | | | This fixes getting a twist gesture by just moving the device left or right. and update one test data that did not have needed orientation change when the gesture was performed. Change-Id: I4fd9148d3f9c3d093530d08c2f6834f0972c659e Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com>
* add sensor gesture auto testsLorn Potter2012-05-1430-0/+6470
use mock sensor plugin to feed captured data through sensorgestures. Change-Id: I5d040f2b7d5786b79bf295c98777ada425acbe8a Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com>