summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* removed some tests due to test app availablity problemsDaron Andrew Edie2012-02-081-108/+2
| | | | | Change-Id: I1426afa510cf3339668934e81fa7e4475f22ebc8 Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com>
* Remove "All rights reserved" line from license headers.Jason McDonald2012-01-3043-45/+45
| | | | | | | | | | | As in the past, to avoid rewriting various autotests that contain line-number information, an extra blank line has been inserted at the end of the license text to ensure that this commit does not change the total number of lines in the license header. Change-Id: I1ecfbf66a49bb91dd995d92c871ca36148adc645 Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
* added QML System Test - Slow down IR Proxy polling when closeDaron Andrew Edie2012-01-291-3/+28
| | | | | | Change-Id: I9e2c2cfe6a597f72286c307be55aadbe8ef99c71 Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Natalia Shubina <natalia.shubina@nokia.com>
* Update obsolete contact address.Jason McDonald2012-01-2343-43/+43
| | | | | | | | Replace Nokia contact email address with Qt Project website. Change-Id: Ie8628548cde5d3b251f319cbb6f33e6c08852d9e Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
* comment out auto and added default sensor rate testsDaron Andrew Edie2012-01-191-12/+94
| | | | | | Change-Id: Id2b2713902ece7264e9b17de341d8e4da85d9eb5 Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Daniel Kovacic <daniel.kovacic@nokia.com>
* Remove friend class tst_Sesnsors2QMLAPIWolfgang Beck2012-01-191-22/+22
| | | | | | Change-Id: I24772c90fc20cd02d6b442b5e80bddc226a736ee Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com>
* speed up sensor gesture auto testLorn Potter2012-01-161-2/+2
| | | | | | Change-Id: Ie29714abcfa3f11d0507df6757022060100762a1 Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Lorn Potter <lorn.potter@nokia.com>
* alwaysOn for QtSensors 5.0 sensorsLincoln Ramsay2012-01-132-0/+30
| | | | | | | | | refactor the enabled and alwaysOn properties into a common base class use appropriate namespacing to avoid collisions with the QtMobility.sensors elements Change-Id: I6ac9f040d226bb648ede5459df2c26b82feff587 Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Wolfgang Beck <wolfgang.beck@nokia.com>
* alwaysOn for legacy QML elementsLincoln Ramsay2012-01-132-1/+65
| | | | | | | | | You must use QtMobility.sensors 1.3 to get alwaysOn Use apprpriate namespacing to avoid collisions with the QtSensors 5 elements. Change-Id: If0f6dfff116d7de8a6de403b2d7c75ffd48b03b8 Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Zsolt Simon <zsolt.simon@nokia.com>
* add new sensor gesturesLorn Potter2012-01-121-6/+6
| | | | | | Change-Id: Ided28e5d26af383b019d84ebb128c8ec6d6e3d34 Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com>
* Implement an API for alwaysOn.Lincoln Ramsay2012-01-111-0/+10
| | | | | | Change-Id: If530fed02979ad9c4608f317b718ee449bb25ddc Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Zsolt Simon <zsolt.simon@nokia.com>
* Update copyright year in Nokia copyright headers.Jason McDonald2012-01-112-2/+2
| | | | | | | | Update copyright headers from before 2011. Change-Id: Id0abf4df20df2a5db55c98866f93b7be2e891372 Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
* change test name to Show_Device_OrientationDaron Andrew Edie2012-01-061-2/+2
| | | | | | Change-Id: I6ce0c52f75362dbc9b943d0aca51a6717e156433 Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Natalia Shubina <natalia.shubina@nokia.com>
* Added tests to confirm operation of sensors singly and in combinationDaron Andrew Edie2012-01-061-4/+10
| | | | | | Change-Id: Ie5db85d3a4ca7d94a683ef3fe0212665e1a332fa Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Natalia Shubina <natalia.shubina@nokia.com>
* Update copyright year in license headers.Jason McDonald2012-01-0541-41/+41
| | | | | | Change-Id: I7fdedc329cf80f84f1f6e0c6c9da3f7d1ebcd70d Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
* added test MTMW-426 Handle service errors gracefullyDaron Andrew Edie2011-12-221-0/+26
| | | | | | Change-Id: I2a11edc78dc14802eb06a00b49da7cc96966af75 Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Daniel Kovacic <daniel.kovacic@nokia.com>
* Normalize SIGNAL/SLOT macros.Lincoln Ramsay2011-12-151-3/+3
| | | | | | Change-Id: Ic46576ab8a9f28258020ed3afe12b377036c6797 Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com>
* updated system test for changes to APIDaron Andrew Edie2011-12-121-6/+38
| | | | | | Change-Id: I8a41a0c2a31ccbd256b4d7a84ab0fe27d0ca618b Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Daniel Kovacic <daniel.kovacic@nokia.com>
* Sensor Gesture system testDaron Andrew Edie2011-12-011-0/+165
| | | | | | Change-Id: I0a5da26e15d312570e8c56546d59944e87d6457c Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Daniel Kovacic <daniel.kovacic@nokia.com>
* Clean up the sensor gestures unit test.Lincoln Ramsay2011-11-292-185/+124
| | | | | | | | | | QTRY_ instead of custom waiting functions. Do the thread test properly. Since it can't possibly work anyway, remove the qt_metacast() function. Change-Id: I139ab29bc0785bee49a22fa20d10f2970cbac367 Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Lorn Potter <lorn.potter@nokia.com>
* Changed app run script from "select" which sometimes doesn't workDaron Andrew Edie2011-11-281-12/+38
| | | | | | Change-Id: I6f8c168a1b9b09988d04a4df5a29913fe2ef4605 Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Daniel Kovacic <daniel.kovacic@nokia.com>
* QtSensors: Fix compilation of examples/warnings on Windows.Friedemann Kleint2011-11-252-8/+8
| | | | | | | | | | | | - Fix double->float truncation in tests - Use -rdynamic for g++ only - Introduce EXPORT macro in grue library for Windows to work - Add DESTDIR for the grue lib (to prevent it from ending up in the debug/release subfolders, respectively Change-Id: I3b902b501483c92639c0a6252240db4ed8a4a00d Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com>
* Don't use <QtDeclarative> so we can compile with -WerrorLincoln Ramsay2011-11-252-2/+4
| | | | | | Change-Id: I039727b8920395af8b1129427f409d630d79c52d Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Lorn Potter <lorn.potter@nokia.com>
* Fixed QtSensors autotest namespace compilation.Toby Tomkins2011-11-252-0/+7
| | | | | | Change-Id: Iaf903df5b74f8793e74a633cf4d42306d1e30263 Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com>
* compileLincoln Ramsay2011-11-151-76/+0
| | | | | | | | | | The simulator plugin did not compile under OBS. While looking for other plugins that may be affected a junk file was discovered in the qsensor unit test. Change-Id: Ic28d703d8f80214739579b74c11e7cef9b1b4148 Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Lorn Potter <lorn.potter@nokia.com>
* remove qmobilitypluginsearch and use the QFactoryLoader instead.Lorn Potter2011-11-145-7/+15
| | | | | | Change-Id: Ifdd2031d309a5ac4cbeedc5d7cdb6ba9cbb845c3 Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com> Sanity-Review: Lincoln Ramsay <lincoln.ramsay@nokia.com>
* Add QtSensorGesture QML APIWolfgang Beck2011-11-107-2/+508
| | | | | | Change-Id: Iaa0a875941316c341d69f473eeba3be4a87ec736 Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com>
* Make TiltSensor 100% code coverageWolfgang Beck2011-11-091-1/+67
| | | | | | Change-Id: If769dc2f6b8652f3b1cbbd532cd11498a65c2317 Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Wolfgang Beck <wolfgang.beck@nokia.com>
* add more code coverage.Lorn Potter2011-11-082-0/+30
| | | | | | | | | qt_metacast was not tested. add Q_ASSERT instead of conditional checking for object. Change-Id: Ib8eaa0583d0f8f71b144941a34b1fe9109e85b7a Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com>
* add invalidIds, remove redundant isValid, rename availableIds to validIdsLorn Potter2011-11-031-14/+21
| | | | | | Change-Id: I9677535dde72e771b943fa1b0522689c34336824 Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com>
* make sure recognizers do not need pluginLorn Potter2011-11-031-1/+4
| | | | | | Change-Id: Id3deaca92019c964d0d093cc2b04bf1eb043fbbf Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com>
* make sure newSensorGestureAvailable gets signaledLorn Potter2011-11-031-0/+4
| | | | | | | | signaling needs to begin in the backend singleton Change-Id: I63453a919a0b5c9e1f093c6269bdfc171a592af9 Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com>
* add QSensorGestures API. Long live QSensorGestures!Lorn Potter2011-11-0117-2/+1735
| | | | | | Change-Id: Iada4e8888aad8b7b2180cc0bfb8576a766f75b24 Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com>
* These are system tests. Allow suppressing them.Lincoln Ramsay2011-10-282-2/+2
| | | | | | Change-Id: I107b90658304d44fe7fb0b885ae47e26df7be6d1 Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Zsolt Simon <zsolt.simon@nokia.com>
* Add missing test coverage for QIRProximitySensorLincoln Ramsay2011-10-282-0/+8
| | | | | | | Change-Id: I77a8a457d485f76853512063eeae15838929db0a Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Zsolt Simon <zsolt.simon@nokia.com> Sanity-Review: Zsolt Simon <zsolt.simon@nokia.com>
* Revert temporary Q_SENSORS_EXPORT_TEMPalex2011-10-212-2/+2
| | | | | | | | Q_SENSORS_EXPORT_TEMP was used while the normal macro was removed from qglobal.h. Change-Id: I55bf788e9beab5b060b9e24ee2a815ce3d9bc2a4 Reviewed-by: Alex <alex.blasche@nokia.com>
* Fix test running under OBS.Lincoln Ramsay2011-10-191-96/+96
| | | | | | | | | Remove the assumptions that break between i586 and ARMv5. Cleanup code by replacing C-style casts with C++ casts. Remove redundant QVariant() wrappers. Change-Id: Ie6fd4be1c04c2c725aa7c8e87c1de261c7750cd8 Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com>
* First step of removal of Q_SENSORS_EXPXORT macro from qglobal.halex2011-10-172-2/+2
| | | | | | | | | Each module handles its own exports. We need to change the QtSensors version, remove the qglobal.h define and then add it back under the old name in QtSensors. Change-Id: I4183b7fcfc46469745c11c373d3122f02d64ccc7 Reviewed-by: Alex <alex.blasche@nokia.com>
* Added QML sensor elements system testDaron Andrew Edie2011-10-141-0/+204
| | | | | | Change-Id: I9daa56d7300fe2f98ccb98a6371bfd624f5696a3 Reviewed-on: http://codereview.qt-project.org/4720 Reviewed-by: Daron Andrew Edie
* MTMW-347 Replace dataRate with speed in TltSensorWolfgang Beck2011-10-142-10/+90
| | | | | | Change-Id: Icdca79436d1fe0f0e7f5035ab1e27bc958a9e517 Reviewed-on: http://codereview.qt-project.org/6634 Reviewed-by: Wolfgang Beck <wolfgang.beck@nokia.com>
* update license headersLincoln Ramsay2011-10-103-3/+3
| | | | | | | Change-Id: Ifbbcb23eed144e7ac4a91bc5d132dea32937f93c Reviewed-on: http://codereview.qt-project.org/6275 Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Jason McDonald <jason.mcdonald@nokia.com>
* Sensors "porting" guide.Lincoln Ramsay2011-10-101-0/+4
| | | | | | | Change-Id: Ie471fcb632d3cfc581076c36b1c9bfc78c2b4d22 Reviewed-on: http://codereview.qt-project.org/6211 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com>
* MTMW-345-346 CR change for TiltSensorWolfgang Beck2011-10-102-59/+157
| | | | | | | Change-Id: I735e0a6ab3aaad4290216c8501e8be684f7d0e6b Reviewed-on: http://codereview.qt-project.org/5938 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Wolfgang Beck <wolfgang.beck@nokia.com>
* MTMW356 Coderevew changes for the AmbientLightSensor QML ElementWolfgang Beck2011-10-101-4/+4
| | | | | | | Change-Id: Ic5ceb21897fdf65ca611ad5ff4c7ac397b44547c Reviewed-on: http://codereview.qt-project.org/5664 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Wolfgang Beck <wolfgang.beck@nokia.com>
* MTMW-357 Codereview changes for ProximitySensor QML ElementWolfgang Beck2011-10-101-7/+7
| | | | | | | | Change-Id: I5ded985ad4ea99fa7691c6b06bd233acdc517332 Reviewed-on: http://codereview.qt-project.org/5661 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Michael Brasser <michael.brasser@nokia.com> Reviewed-by: Martin Jones <martin.jones@nokia.com>
* MTMW-337 Unit test (presence of each new QML API element)Wolfgang Beck2011-10-103-0/+136
| | | | | | | Change-Id: Ie0efa681cff6cce4ec2b75b25fcd8cdb45cd03bd Reviewed-on: http://codereview.qt-project.org/5568 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Wolfgang Beck <wolfgang.beck@nokia.com>
* Fix missing/outdated license headers.Jason McDonald2011-10-101-0/+41
| | | | | | | Change-Id: I92a025f4ef48915d19c3ea1599cebb2876161925 Reviewed-on: http://codereview.qt-project.org/5504 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com>
* Add a unit test for legacy sensor QML elementsLincoln Ramsay2011-10-103-0/+166
| | | | | | | | | | | The unit test verifies that versions exist and that certain elements are available (or not) in particular versions. Change-Id: Idc00b10cd72b0e438e7e4229f0bdc959798033e0 Fixes: MTMW-299 Reviewed-on: http://codereview.qt-project.org/5354 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com>
* Remove debugging statements, use QCOMPARELincoln Ramsay2011-10-101-18/+10
| | | | | | | | | | QCOMPARE ensures that failures are reported more clearly. Change-Id: Iff2ce4550c546f40ff2dd420a4440b79ecdf61a4 Fixes: MTMW-339 Reviewed-on: http://codereview.qt-project.org/5436 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com>
* MTMW-339 Make new QML API unit test quiterWolfgang Beck2011-10-102-2/+1
| | | | | | | Change-Id: Ibb417d21f6353d932fb84f136c62223ed2ea71f2 Reviewed-on: http://codereview.qt-project.org/5422 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Wolfgang Beck <wolfgang.beck@nokia.com>