summaryrefslogtreecommitdiffstats
path: root/tests/auto/qfeedbackplugin/testplugin/qfeedbacktestplugin.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Update copyright year in Digia's license headersSergio Ahumada2013-01-101-1/+1
| | | | | | Change-Id: I96513e8b6f09e76998a18edb5411ae06f52cba7c Reviewed-by: Akseli Salovaara <akseli.salovaara@digia.com> Reviewed-by: Sergio Ahumada <sergio.ahumada@digia.com>
* Update to new license formatSergio Ahumada2012-11-071-22/+22
| | | | | | | Also fixing some left overs from 8de152a9e1deb533070663cccf6a98e0d374b1d6 Change-Id: I28a91ca233dd835e6e53efbbd7ebd649461f5c04 Reviewed-by: Lars Knoll <lars.knoll@digia.com>
* Change copyrights from Nokia to DigiaSergio Ahumada2012-11-071-3/+3
| | | | | | | Change copyrights and license headers from Nokia to Digia Change-Id: Ie3b9224b2b6a32b417fa0b6643350d45046381e6 Reviewed-by: Lars Knoll <lars.knoll@digia.com>
* Update licenseheader text in source files for qtmobilityJyri Tahtela2011-05-181-17/+17
| | | | | | | Updated version of LGPL licenseheader. Apply release phase licenseheaders for all source files. Reviewed-by: Trust Me
* Fix immersion plugin.Xizhi Zhu2011-04-081-1/+0
| | | | | | The refCount increases only when successfully loaded, and decreases only when referred at least once. Task-number: MOBILITY-2396
* Make sure error conditions are also handled well in MMK plugin.Michael Goddard2010-12-231-1/+2
| | | | | | | | | | When we fail a load, make sure we don't keep the previous loading state around, and properly handle the case where start() is called before the effect is actually loaded, and a subsequent error occurs. Change-Id: I5ea8ba7b51ae67250be8a6823e2b56598bc429d1 Task-number: MOBILITY-2199 Reviewed-by: Chris Adams
* Improve feedback plugin testing paths.Michael Goddard2010-12-221-1/+3
| | | | | | | | | | | Add hooks (in test mode only) to disable plugin loading, and a few other plugins to check priority overrides and plugins that only implement one of the interfaces. There were a few unused functions/classes that got cleaned up, as well. Change-Id: I7894ba0bcead202987af8b657672f9111d19cfc0 Task-number: QTMOBILITY-92 Reviewed-by: Chris Adams
* Reenable the check for haptics effect state changing to stop when done.Michael Goddard2010-11-041-7/+27
| | | | | | | It is possible to do this now. Backends will need to be updated. Change-Id: I5e6efe23d9cf407bb07c13f5a5cb3dea08a3838c Task-number: QTMOBILITY-687
* Make sure the example (and feedback stack) enumerate actuators correctly.Michael Goddard2010-10-201-1/+4
| | | | | | | | | The code in the hapticsplayer was doing some strange things. Add an autotest to check that two actuators from the test plugin show up correctly. This might also fix the "no feedback" issue on S60, if the wrong actuator was passed to the backend. Task-number: MOBILITY-1631, MOBILITY-1784
* Remove debug output.Michael Goddard2010-10-191-1/+0
|
* Extend the test plugin to test more parts of the API.Michael Goddard2010-10-191-4/+24
| | | | | Unfortunately you can't currently report that an effect has finished playing from the backend (reliably).
* Fix unloading of file effects.Michael Goddard2010-10-191-8/+27
| | | | | | Includes a beefed up autotest for this problem. Task-number: MOBILITY-1771
* Add QML support to feedbackJoona Petrell2010-10-041-5/+3
|
* Fix bug in feedback API where actuator state is returned incorrectlyChris Adams2010-09-151-2/+15
| | | | | | The wrong property identifier was used in the QFeedbackActuator::state() function. Fixed this, and added a unit test for the issue.
* Add unit test for feedback plugin loadingChris Adams2010-09-141-0/+148
Added a test plugin which does nothing, and tested that the property reporting works correctly.