summaryrefslogtreecommitdiff
path: root/tests/plugins
Commit message (Collapse)AuthorAgeFilesLines
* Update to new QRandomGenerator APIv5.10.0-beta4Thiago Macieira2017-11-031-3/+3
| | | | | Change-Id: I69f37f9304f24709a823fffd14e676c097712329 Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
* Use QRandomGenerator instead of q?randThiago Macieira2017-06-301-5/+3
| | | | | Change-Id: Icd0e0d4b27cb4e5eb892fffd14b5285d43f4afbf Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
* Fix warning about unused parameter only used in Q_ASSERTThiago Macieira2017-04-111-0/+1
| | | | | | | | | | Somehow MSVC still sees it as unused, despite our best efforts in Q_ASSERT. So add Q_UNUSED. qdeclarativepinchgenerator.cpp(218) : warning C4100: 'event' : unreferenced formal parameter Change-Id: I523b0abacd5148b2bf08fffd14b46aa8f8409f42 Reviewed-by: Paolo Angelelli <paolo.angelelli@qt.io>
* Skip Flick autotests altogether on windows 32bitPaolo Angelelli2017-03-151-0/+9
| | | | | | | | Apparently these cause a test crash Task-number: QTBUG-59503 Change-Id: I3982eaf68503f791faf25ec4b57f7a592d8a2242 Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
* Improve robustness of QML plugin loadingSimon Hausmann2016-08-261-1/+1
| | | | | | | | | Use a variable that expands to the latest plugin version instead of hard-coding the string. Change-Id: I8f7864e4ead85487943ed2c4dc2ae2584005c1c9 Reviewed-by: Paolo Angelelli <paolo.angelelli@theqtcompany.com> Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
* Merge remote-tracking branch 'gerrit/5.6' into 5.7Alex Blasche2016-05-277-7/+93
|\ | | | | | | Change-Id: I066dc4f161f4bdfe182ba9fe00d273e5fbcedf5d
| * Replace waitForRendering calls in qml unit testsMichal Klocek2016-05-267-7/+93
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changes eea315187d1add70aaf69745c031b8d6342b2303 moved map items final position calculation to "polish" call of sg. In unit testing "waitForRendering" was introduced to sync between input events processing and items being polished. Unfortunately this approach is race condition prone, since render can run in separate thread and frame swapped signals are emitted from render thread. Replace waitForRendering with waitForPolished instead. Improve test execution by providing init() and intTestCase() functions for map items unit tests, so test can be run "out of order" manner. Add missing namespace macros for location test qml plugin. Task-number: QTBUG-31797 Task-number: QTBUG-53455 Change-Id: Iec083143ae621e5be603d03f43d6ef260b056d0f Reviewed-by: Paolo Angelelli <paolo.angelelli@theqtcompany.com> Reviewed-by: Simon Hausmann <simon.hausmann@qt.io> Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com>
* | Merge remote-tracking branch 'origin/5.6' into 5.7Simon Hausmann2016-05-181-6/+3
|\ \ | |/ | | | | Change-Id: Ifed3a326085bd4aaff069007966efd6932c2be3b
| * make use of COPIESOswald Buddenhagen2016-04-281-6/+3
| | | | | | | | | | Change-Id: Ie1fe505d7b07a66e41ed7968275feaa98abe46d2 Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
* | Updated license headersAntti Kokko2016-01-205-85/+60
|/ | | | | | | | | | | 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: Ic9ed595cc04b1fbbefb8ec8cac20c1480681857a Reviewed-by: Lars Knoll <lars.knoll@theqtcompany.com>
* Fix warning about registering test plugin without idMichal Klocek2015-06-163-10/+10
| | | | | | | | | | | | Fixes warning 'Module 'QtLocation.test' does not contain a module identifier directive - it cannot be protected from external registrations.' Add proper plugin description to qmldir, use proper plugin naming convention QtLocation.Test Change-Id: I67b24e2f82c6d07ec577b9cf477f9a581af65fe6 Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com>
* Small cleanup of _ui qml unit testsMichal Klocek2015-06-151-5/+2
| | | | | | | | Fix version numbers across test files, fix formating and remove useless debug Change-Id: Ib7721716a5e270a32c7620d087d9c2982a61fa59 Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com>
* Enable and update map flick and pinch autotest.Michal Klocek2015-05-222-3/+10
| | | | | | | | | | | | | Make pan drag distance inclusive in QDeclarativeGeoMapGestureArea which simplifies unit testing on different platforms. Use sceneCenter instead of lastPos for panning startup. lastPos is used with velocity sampling which makes it not reliable as a starting value. Change-Id: If0d98e834a5e2d4264a51d70c2c39846cd2a677b Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com>
* Update contact URL in all license headers to qt.ioAlex Blasche2015-02-185-5/+5
| | | | | Change-Id: Ia1e333be7fec8898de609d9b9303b1ad7687632e Reviewed-by: Maurice Kalinowski <maurice.kalinowski@theqtcompany.com>
* Update BSD and LGPLv2.1 licensesAlex Blasche2015-02-185-15/+15
| | | | | | | | - Removes subsidiary extension from Qt Company - Replaces remaining occurrences of Digia in BSD and LGPLv2.1 Change-Id: I7467a6744af7d1c3aef3c29118f219399162a18c Reviewed-by: Maurice Kalinowski <maurice.kalinowski@theqtcompany.com>
* Update all LGPLv2.1 license headers in source to latest versionAlex Blasche2015-02-155-20/+20
| | | | | | | | | | | This affects all QtPositioning related code and the test code in the entire repository. The Qt Company is set as new copyright owner and the copyright year is bumped to 2015. Change-Id: Iee0e990680683c20f5920e49cc1063ea9349e2cd Reviewed-by: Lars Knoll <lars.knoll@digia.com>
* Update license headers and add new license filesAntti Kokko2014-08-245-95/+55
| | | | | | | | | - Renamed LICENSE.LGPL to LICENSE.LGPLv21 - Added LICENSE.LGPLv3 & LICENSE.GPLv2 - Removed LICENSE.GPL Change-Id: Iedee2507ab1bd46788409a98505d7be510253110 Reviewed-by: Jani Heikkinen <jani.heikkinen@digia.com>
* Copy qmldir of test import to destination directory.Aaron McCarthy2014-02-252-0/+14
| | | | | | | | | | Test imports, used only during tests, are not installed prior to running tests. Copy the qmldir file to the output directory so that the tests can successfully load the import. Task-number: QTBUG-31797 Change-Id: I85095eb7532df6b1fc06f10e46ed8b4db41554a6 Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
* Split QtLocation into QtPositioning and QtLocationAlex Blasche2013-09-021-1/+1
| | | | | | | | | | | | QtPositioning is not dependent on any gui component and mostly covers everything around the retrieval of position information. QtLocation covers place, map and navigation APIs. Several documentation issues were fixed during the process. Change-Id: I98e2a53065549a2fc43f93a75b4f65b5bc884c92 Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
* Update copyright year to 2013Sergio Ahumada2013-06-133-3/+3
| | | | | Change-Id: I5b0cb7d56997ad7b91c073b3e02b31d0368fdcfa Reviewed-by: Alex <alexander.blasche@digia.com>
* Change copyright from 2012 to 2013Rainer Keller2013-01-172-2/+2
| | | | | Change-Id: I61ae1bd1a9f68d120d4e11635f306374b1f494d0 Reviewed-by: Aaron McCarthy <mccarthy.aaron@gmail.com>
* Change copyrights from Nokia to DigiaIikka Eklund2012-09-245-120/+120
| | | | | | | | Change copyrights and license headers from Nokia to Digia Change-Id: Ic1390da64a219642fa1e1482a7677a4c2db15cbc Reviewed-by: Janne Anttila <janne.anttila@digia.com> Reviewed-by: Lars Knoll <lars.knoll@digia.com>
* Convert Coordinate into a QML coordinate value type.Aaron McCarthy2012-08-243-12/+9
| | | | | | | | | | | | | | This replaces the Coordinate QML element with a value type. A value type is a better fit for a coordinate. It is very similar to a vector3d except it has an explicit coordinate system and some utility functions. Declare QGeoCoordinate as a movable type. Update documentation. Change-Id: I758fa9dfd7154a4d60fb791fe553b9fee3164c2c Reviewed-by: abcd <amos.choy@nokia.com>
* Fix compile.Aaron McCarthy2012-08-062-2/+4
| | | | | Change-Id: I380cdded91db97efc190e5c000ee618ac6d6fae5 Reviewed-by: abcd <amos.choy@nokia.com>
* Set the Qt API level to compatibility mode in all tests.Thiago Macieira2012-08-011-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: Ie0f96417cf765796e5288769563df7845086546a Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
* Rename QQuickCanvas to QQuickWindow, in line with qtdeclarativeIan Chen2012-07-182-15/+15
| | | | | | | similarly, "canvas" -> "window" Change-Id: I71745fad36f3dcb100d0eaf7bba0806465a761ee Reviewed-by: Toby Tomkins <toby.tomkins@nokia.com>
* use centralized qml plugin project handlingOswald Buddenhagen2012-07-111-14/+2
| | | | | Change-Id: Ibe9b056e783f78d2cb2622a174619e4cf36372af Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
* Fix PinchGeneratorIan Chen2012-07-053-314/+148
| | | | | | | | | | Now use QTest::TouchEventSequence instead of generating touch events and points itself. Re-enable tests that rely on the pinch generator Change-Id: If4dc3e05f244dd9dbf169a015e224219c087359d Reviewed-by: Aaron McCarthy <aaron.mccarthy@nokia.com>
* Don't include QtWidgets headerKent Hansen2012-06-081-1/+1
| | | | | Change-Id: Idfcc1f470ea2cb639f19f1e173103137608c3f03 Reviewed-by: Aaron McCarthy <aaron.mccarthy@nokia.com>
* QAbstractItemModel::setRoleNames is deprecated in favour of a virtual.Aaron McCarthy2012-06-052-5/+8
| | | | | | | Based on https://codereview.qt-project.org/25219. Change-Id: I31f51bb5e532e57fd29a42e2ee6520e5f28d4cb1 Reviewed-by: abcd <amos.choy@nokia.com>
* QtLocation: Fix dependencies, remove network.Friedemann Kleint2012-05-292-2/+1
| | | | | | | | - The library does not seem to depend on network. - Remove unneeded dependencies on QtWidgets. Change-Id: Icdbe8a00c746a1ec0d7512f74e0f2566148fdb6e Reviewed-by: Jean Gressmann <jean.gressmann@nokia.com>
* Do not include deprecated header fileGunnar Sletta2012-05-021-1/+0
| | | | | | Change-Id: Ic78472339f926e94be5877ddad3cb1a51fef5156 Reviewed-by: Cristian Adam <cristian.adam@nokia.com> Reviewed-by: Samuel Rødal <samuel.rodal@nokia.com>
* Use new plugin systemDebao Zhang2012-04-301-2/+1
| | | | | Change-Id: If7c1759e561d20bb298efb3c0868197d3c9d95de Reviewed-by: Alex Wilson <alex.wilson@nokia.com>
* Coverity fixes, the sequel.David Laing2012-03-201-2/+2
| | | | | Change-Id: Icbe91d0f348e60a24599e2f93a719fafedf26708 Reviewed-by: Alex Wilson <alex.wilson@nokia.com>
* QtDeclarative renaming.Aaron McCarthy2012-03-094-9/+11
| | | | | | Change-Id: I0412d2e8e27cf3035712a3c413b5fa99e3a7ad36 Reviewed-by: David Laing <david.laing@nokia.com> Reviewed-by: Alex Wilson <alex.wilson@nokia.com>
* Remove "All rights reserved" line from license headers.Jason McDonald2012-01-305-5/+5
| | | | | | | | | | 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: I00c66363046e475e6924aafd221483c7fad5c0d9 Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
* Update obsolete contact address.Jason McDonald2012-01-235-5/+5
| | | | | | | Replace Nokia contact email address with Qt Project website. Change-Id: I3850177e14291901e924f9c27ba09e75df00f96a Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
* Build fixes for removal of TouchPoint::PrimaryAlex Wilson2012-01-162-20/+2
| | | | | | | see http://codereview.qt-project.org/12928 Change-Id: I3ea3223a2f5579fcef2c58d28e8fe15b82b3f4a4 Reviewed-by: David Laing <david.laing@nokia.com>
* Update copyright year in license headers.Jason McDonald2012-01-065-5/+5
| | | | | Change-Id: I496795d13a615be8d252ca20a40dd2c5ba84ed60 Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
* First set of map(-item, -view) quick autotests.Juha Vuolle2011-12-132-0/+6
| | | | | | | Fixed misc findings. Change-Id: I8dce4e6ac557a4a2abaff0c0676c62c383b1e901 Reviewed-by: Juha Vuolle <juha.vuolle@nokia.com>
* Updates pinch generator to use latest touch API.David Laing2011-12-131-1/+2
| | | | | | | | Some recent changes meant this was failing to compile. Change-Id: Ib8d37146464fd977bf4ebe72b3254a050b56b08f Reviewed-by: Alex Wilson <alex.wilson@nokia.com> Reviewed-by: David Laing <david.laing@nokia.com>
* Build against new QtQuick2 library.Aaron McCarthy2011-12-134-6/+5
| | | | | | Edited-by: Alex Wilson <alex.wilson@nokia.com> Change-Id: I0cebb40062f645665fa17048f04a5c5c78add0e6 Reviewed-by: David Laing <david.laing@nokia.com>
* Fix for compile error introduced by QTouchEvent changesAlex Wilson2011-12-121-3/+3
| | | | | | | | Just supplying a NULL device for the events rather than the old type constants. Change-Id: I28f5745a2174013f3cbdcfdfc6f698aa026d1df7 Reviewed-by: David Laing <david.laing@nokia.com>
* Remove qmobilitypluginsearch.halex2011-11-101-1/+1
| | | | | | | | | We use QFactoryLoader from now on. This doubles up the keys() and providerName() methods on the two factory interfaces but this will be fixed by a separate change. Change-Id: I5f2cee40f44e0760d40f87ebd53d2ca15cfc2ec5 Reviewed-by: Aaron McCarthy <aaron.mccarthy@nokia.com>
* QML Map pinch and flick part 2/3Juha Vuolle2011-10-261-1/+1
| | | | | | | Bunch of autotests, fixes, API changes and preliminary docs. Change-Id: If540adbc3068fc7bee401bfacb791cb685ad1298 Reviewed-by: David Laing <david.laing@nokia.com>
* Adapt to QtDeclarative api renaming (QSG --> QQuick)Kent Hansen2011-10-253-13/+13
| | | | | Change-Id: I9eb9829a11937504ca0b1cd93c4155ba2388f542 Reviewed-by: Aaron McCarthy <aaron.mccarthy@nokia.com>
* QML Map pinch and flick part 1/3juhvu2011-10-202-10/+100
| | | | | | | | | Autotest fw changes. First autotests and related fixes. Map initialization order changed to avoid blinking in hardcoded geocoordinate during app startup. Change-Id: Iaad879c135b6283957e0705b991474517f933485 Reviewed-by: David Laing <david.laing@nokia.com>
* Convert QtLocation QML import to new Qt 5.0 standardalex2011-10-102-6/+2
| | | | | | | | | | "import Qt.location 5.0" is replaced by "import QtLocation 5.0" Change-Id: I88e33bca4da62be4ab9f5490d660c306b1f2f425 Reviewed-on: http://codereview.qt-project.org/6205 Reviewed-by: Aaron McCarthy <aaron.mccarthy@nokia.com> Reviewed-by: Alex <alex.blasche@nokia.com> Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com>
* restructure of tests directoryshubinba2011-10-047-0/+1126
Change-Id: I9665c1a48976720597779be164d93da5087c3133 Reviewed-on: http://codereview.qt-project.org/5907 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Natalia Shubina <natalia.shubina@nokia.com> Reviewed-by: Juha Vuolle <juha.vuolle@nokia.com>