summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Binary compatibility file for QtSensors for Qt 5.12Milla Pohjanheimo2018-12-181-0/+6451
| | | | | | | Binary compatibility file added. Change-Id: I15a1890d0a921f4427b777d2324649e85db58bbb Reviewed-by: Sergio Ahumada <sahumada@texla.cl>
* Add binary compatibility file for 5.11 for QtSensorsMilla Pohjanheimo2018-06-051-0/+6386
| | | | | | | Binary compatibility file for bic test added. Change-Id: Id0b45f457fd00ee388070fd07cb5dec69834d514 Reviewed-by: Lars Knoll <lars.knoll@qt.io>
* Merge remote-tracking branch 'origin/5.10' into devLiang Qi2018-01-201-0/+6386
|\ | | | | | | | | | | | | Conflicts: .qmake.conf Change-Id: I17dec1cd2d4934710663e5fa97c926a65fe301e5
| * Add binary compatibility file for QtSensors for 5.10Milla Pohjanheimo2018-01-081-0/+6386
| | | | | | | | | | | | | | | | File to test binary compatibility for 5.10 added Change-Id: Ic86425ada00f5c3804d50fff6d2e8618b2bc923e Reviewed-by: Sergio Ahumada <sahumada@texla.cl> Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
* | Add missing override and remove redundant virtualAlexander Volkov2017-11-1419-65/+65
| | | | | | | | | | 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>
* Update binary compatibility files for Qt5.9.0 for QtSensorsMilla Pohjanheimo2017-08-151-0/+6065
| | | | | | | Binary compatibility files updated. Change-Id: I5c712e1bee1e791731ee4a5f6573478ee680cd6e Reviewed-by: Sergio Ahumada <sahumada@texla.cl>
* Fix licensingJani Heikkinen2017-05-106-175/+103
| | | | | | | | | | | | | | | | | - Remove unused old license files - Update BSD and FDL license headers - Unify licensing * Examples are nowdays licensed under BSD, update correct license header to there * Tools and tests are nowdays licensed under GPL-EXCEPT, update correct license header to those * Src is nowdays licensed under LGPL, update correct license header to there Task-number: QTBUG-57147 Change-Id: I5d9d7a3bc5e360f01ec73fb6a2a873f3173b5918 Reviewed-by: Lars Knoll <lars.knoll@qt.io> Reviewed-by: Lorn Potter <lorn.potter@gmail.com>
* Binary compatibility file for qtsensors (5.8.0)5.8Milla Pohjanheimo2017-02-031-0/+5884
| | | | | | | Added binary compatibility file for qtsensors Change-Id: Id281027e4342afe7b6090c5617e257f5d5481c28 Reviewed-by: Sergio Ahumada <sahumada@texla.cl>
* Replace Q_DECL_OVERRIDE by overrideAlexander Volkov2016-12-021-1/+1
| | | | | | | 'override' keyword can be used directly since Qt 5.7. Change-Id: Ibf0fc590f7e247a310a833a22ece700ec75199bb Reviewed-by: Lorn Potter <lorn.potter@canonical.com>
* Merge remote-tracking branch 'origin/5.6' into 5.7Liang Qi2016-09-171-0/+5577
|\ | | | | | | Change-Id: I14345192d06a8a0ac9000feab6daea0f11b41f72
| * BC data files for QtSensors for Qt 5.6Milla Pohjanheimo2016-09-141-0/+5577
| | | | | | | | | | | | | | Added binary compatibility data files for tst_bic test Change-Id: I6e2b562d2d8611e43aaaae4d16fdb073a477be0c Reviewed-by: Sergio Ahumada <sahumada@texla.cl>
* | BC data files added for QtSensors (5.7)Milla Pohjanheimo2016-09-161-0/+5859
| | | | | | | | | | | | | | | | Added the generated data files for the binary compatibility tests for QtSensors for Qt 5.7. Change-Id: Ia98bbfbb20142967278c70a19daa42abb9bec7af Reviewed-by: Sergio Ahumada <sahumada@texla.cl>
* | Merge remote-tracking branch 'origin/5.6' into 5.7Liang Qi2016-03-071-5/+5
|\ \ | |/ | | | | | | | | | | Conflicts: src/sensors/doc/src/compatmap.qdoc Change-Id: I7bd464cbd506f630798091fef3896050ade7b3f8
| * consistently put {qt,qml}_{module,plugin} at the end of project filesOswald Buddenhagen2016-02-251-5/+5
| | | | | | | | | | | | | | | | this fixes static builds by ensuring that all dependencies are exported. Task-number: QTBUG-51071 Change-Id: Ia3c3f69505650fd35982fc76e385e744b877e4df Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
* | Updated license headersAntti Kokko2016-01-2044-748/+528
| | | | | | | | | | | | | | | | | | | | | | 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>
* | Merge remote-tracking branch 'origin/5.6' into devLiang Qi2015-10-141-1/+1
|\ \ | |/ | | | | Change-Id: I4286dcb9262bf38960ff3852932012718aaa5d65
| * Stabilze some tests in Tst_qsensorgestureTestAlexander Volkov2015-10-081-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | tst_recognizer() and tst_sensor_gesture_multi() fail in some cases. It happens because QTestRecognizer is emiting the "detected" signal every 10 ms and QTRY_COMPARE internally calls QTest::qWait(50). Thus it may happen that QTestRecognizer will emit the "detected" signal several times before the comparison. So increase the timeout for the timer in QTestRecognizer from 10 ms to 100 ms. Change-Id: I48b2b9455113db832f277abd05cc016bda5718cc Reviewed-by: Lorn Potter <lorn.potter@gmail.com>
* | Remove QT_DISABLE_DEPRECATED_BEFORE=0 from tests not using deprecated API.Friedemann Kleint2015-08-258-8/+0
|/ | | | | Change-Id: I4b06759f2a6f02ff6de0e9b1f5e758949ee081b0 Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com>
* Remove BlackBerry as supported platform from QtSensorsAlex Blasche2015-06-181-4/+0
| | | | | | | | | [ChangeLog][QtSensors][Platform Specific Changes] Removed support for BlackBerry 10 from QtSensors. Change-Id: I56788caaa53797b7d4e23bb053c3ea8b460b1341 Reviewed-by: Rafael Roquetto <rafael.roquetto@kdab.com> Reviewed-by: Lars Knoll <lars.knoll@theqtcompany.com>
* Certain test cases can only be built with QML availableUlf Hermann2015-03-161-2/+4
| | | | | Change-Id: I27b6bef6382c599a7ec412895fbb4da0d1760cd0 Reviewed-by: Lorn Potter <lorn.potter@gmail.com>
* Merge "Merge remote-tracking branch 'origin/5.4' into dev" into refs/staging/devSergio Ahumada2015-02-226-0/+20772
|\
| * bic: Add 5.{1,2,3,4}.0 bic data for QtSensorsSergio Ahumada2015-02-126-0/+20772
| | | | | | | | | | Change-Id: I328a947a8a25de542950d4b5c77304c4deb876c0 Reviewed-by: Lorn Potter <lorn.potter@gmail.com>
* | Update copyright headersJani Heikkinen2015-02-1750-358/+342
|/ | | | | | | | | 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>
* Merge remote-tracking branch 'origin/5.3' into 5.4v5.4.0-alpha1Frederik Gladhorn2014-08-281-0/+11
|\ | | | | | | Change-Id: I7c2b192d4b3b4d745096058fd69921d855433f85
| * Add missing private headers warningv5.3.2Samuel Gaist2014-08-181-0/+11
| | | | | | | | | | | | Change-Id: I06883e0f2bb16999f13993b69b3701443912c5cc Reviewed-by: Alex Blasche <alexander.blasche@digia.com> Reviewed-by: Lorn Potter <lorn.potter@jollamobile.com>
* | Update license headers and add new licensesJani Heikkinen2014-08-2442-798/+462
| | | | | | | | | | | | | | | | | | | | | | - 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>
* | Merge remote-tracking branch 'origin/stable' into devFrederik Gladhorn2014-04-111-0/+2
|\ \ | |/ | | | | Change-Id: I07a6842afc72f56c82e82906429fa422f9a82de2
| * add PLUGIN_CLASS_NAME declarations to plugin projectsOswald Buddenhagen2014-04-091-0/+2
| | | | | | | | | | | | | | | | | | | | | | needed for automatic static linking (and later deployment). the gesture plugins are excluded from the automation based on the assumption that they are usually not needed. the example and the test plugin are also excluded for obvious reasons. Change-Id: I7645aa0daf216ce430989e13d4380dbe6dd2bbd1 Reviewed-by: Fawzi Mohamed <fawzi.mohamed@digia.com> Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
* | Fix autotests expecting a trailing whitespace for qDebug streamKai Koehne2014-02-213-23/+23
|/ | | | | | | | | The behavior of QDebug was fixed in qtbase. Update autotests accordingly. Change-Id: Iec8d28f18ca6f5ff1ae960e74d0d978b212ca60b Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com> Reviewed-by: Lorn Potter <lorn.potter@jollamobile.com>
* Merge branch 'stable' into devSergio Ahumada2013-07-121-1/+1
|\ | | | | | | Change-Id: Id44a93ddf8dc778f44e9684842a759d585558ee4
| * Freefall gesture needs to be initialized into plugin to be usableLorn Potter2013-07-031-1/+1
| | | | | | | | | | | | | | | | | | | | This fixes the flaky unit test failures. It also adds freefall to unit test. Task-number: QTBUG-32108 Change-Id: Ia1ee852b1e57b937fd7368073e259a139da9a697 Reviewed-by: Frederik Gladhorn <frederik.gladhorn@digia.com> Reviewed-by: Thomas McGuire <thomas.mcguire@kdab.com>
* | add a way to collect sensor dump in the format the autotests can use.Lorn Potter2013-05-086-0/+558
| | | | | | | | | | Change-Id: Iec9be6e858aabd579ea61e48fd5b9d884c980fc3 Reviewed-by: Thomas McGuire <thomas.mcguire@kdab.com>
* | Fixed manual sensor testBernd Weimer2013-04-091-1/+1
| | | | | | | | | | | | | | Widgets module was missing in project file Change-Id: I4b5ba34a35e6097231b134b967b03689ca71fa0d Reviewed-by: Thomas McGuire <thomas.mcguire@kdab.com>
* | Added temperature property to pressure sensorBernd Weimer2013-04-092-0/+2
|/ | | | | | | | | | | Many air pressure sensors provide their temperature, as well. This can be used for temperature compensation for instance. The pressure sensor API has been extended and a BlackBerry backend has been implemented. Change-Id: I188e1276dff74601d757d0a356b28b4fea4594bd Reviewed-by: Thomas McGuire <thomas.mcguire@kdab.com> Reviewed-by: Lorn Potter <lorn.potter@jollamobile.com>
* Merge branch 'dev' into stableSergio Ahumada2013-03-192-0/+34
|\ | | | | | | | | | | This starts Qt 5.1 release cycle Change-Id: Idce0f9b94f9e585abfb6903f554500a06f4f8aaa
| * Merge remote-tracking branch 'origin/stable' into devFrederik Gladhorn2013-02-257-77/+7
| |\ | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/plugins/sensors/generic/generictiltsensor.cpp src/sensors/qtapsensor.h sync.profile Change-Id: I017a5fa8dffb69b41727495175c0fca9b76962e1
| * | Add a QAmbientTemperatureSensor class.Thomas McGuire2013-02-082-0/+8
| | | | | | | | | | | | | | | | | | | | | Port the Blackberry backend to use it. Change-Id: I6d4395f5ab9e0ce3fb6f76c47282929103929557 Reviewed-by: Lorn Potter <lorn.potter@jollamobile.com>
| * | Add a QAltimeter class.Thomas McGuire2013-02-082-0/+8
| | | | | | | | | | | | | | | | | | | | | Port the Blackberry backend to use it. Change-Id: I3d3bc1d6fa8b42d3d0d64bcd3245050b67a37dc7 Reviewed-by: Thomas McGuire <thomas.mcguire@kdab.com>
| * | Add QHolsterSensorThomas McGuire2013-01-232-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This adds a new QHolsterSensor plus the assorted reading and filter classes, as well as a QML API. Also implement the Blackberry backend for it. Change-Id: I42e76c21ee74a39a65629e7ab6d9a18f23eae4d4 Reviewed-by: Thomas McGuire <thomas.mcguire@kdab.com>
| * | Add QPressureSensorThomas McGuire2013-01-232-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This adds a new QPressureSensor plus the assorted reading and filter classes, as well as a QML API. The Blackberry backend is ported to use the new reading class. Change-Id: Ifc86a2ae955a9337a67fd9a86ceabab908917cb3 Reviewed-by: Thomas McGuire <thomas.mcguire@kdab.com>
| * | QAccelerometer: Add AccelerationMode propertyThomas McGuire2013-01-231-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add a new property to be able to toggle effects of gravity on or off. Implement the Blackberry backend side of this as well. QTBUG-25842 Change-Id: I15c4cae72373f48b0153b83c6aa3d27b66538c87 Reviewed-by: Lorn Potter <lorn.potter@jollamobile.com> Reviewed-by: Sérgio Martins <sergio.martins.qnx@kdab.com>
* | | Use qmake for package dependency resolution in cmake tests.Stephen Kelly2013-02-262-2/+2
| |/ |/| | | | | | | | | | | This allows us to remove hardcoded depends information. Change-Id: Id094414d27c1da9b957730b0101d920d561d396d Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
* | Generate the CMake test automatically.Stephen Kelly2013-02-123-73/+5
| | | | | | | | | | Change-Id: I4a478827e7724a46dda3725f760372d7420ac32f Reviewed-by: Lorn Potter <lorn.potter@jollamobile.com>
* | remove nokia and replace with qt-project in pluginsLorn Potter2013-02-072-2/+2
| | | | | | | | | | Change-Id: I63fa985991653e4b8465a7fb88acab647d8546e8 Reviewed-by: Thomas McGuire <thomas.mcguire@kdab.com>
* | remove obsolete DEPENDPATH assignmentsOswald Buddenhagen2012-12-192-2/+0
|/ | | | | | | | qmake now add CONFIG+=depend_includepath by default, making manual DEPENDPATH setup unnecessary. Change-Id: I27122f2dfe738e9504704a5632d09c964481a05c Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
* It's org.qt-project for plugin interfacesLorn Potter2012-11-293-3/+3
| | | | | Change-Id: I4b442f25f4593f2d957ff572b5ec565ff952818b Reviewed-by: Lorn Potter <lorn.potter@gmail.com>
* remove Nokia isms from plugin interfaceLorn Potter2012-11-283-3/+3
| | | | | | | As well as from documentation and usage of Sensors.conf location Change-Id: I52d657d6799e44a94b3f37bae86445c73e176103 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>
* adjust to qt_plugin.prf and qml_plugin.prf changesOswald Buddenhagen2012-11-021-6/+3
| | | | | | | | | | | DESTDIR and INSTALLS+=target are set up automatically now, but PLUGIN_TYPE needs to be defined. this contains a nasty hack for examples, as we don't want users to use the internal prf files. Change-Id: I9e854e7ff6183e19801998ff7157a279b97b2be4 Reviewed-by: Lorn Potter <lorn.potter@gmail.com>