summaryrefslogtreecommitdiff
path: root/tests/auto/qgeolocation
Commit message (Collapse)AuthorAgeFilesLines
* Updated license headersAntti Kokko2016-01-202-34/+24
| | | | | | | | | | | 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>
* Remove QT_DISABLE_DEPRECATED_BEFORE=0 from tests not using deprecated API.Friedemann Kleint2015-08-281-1/+0
| | | | | Change-Id: I1eb987fdd48e33bd1d71da7f9efb9f02e05de3c9 Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com>
* Update contact URL in all license headers to qt.ioAlex Blasche2015-02-182-2/+2
| | | | | Change-Id: Ia1e333be7fec8898de609d9b9303b1ad7687632e Reviewed-by: Maurice Kalinowski <maurice.kalinowski@theqtcompany.com>
* Update BSD and LGPLv2.1 licensesAlex Blasche2015-02-182-6/+6
| | | | | | | | - 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-152-8/+8
| | | | | | | | | | | 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-242-38/+22
| | | | | | | | | - 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>
* Use QStringLiteral whereever possibleAlex Blasche2014-05-151-1/+1
| | | | | | | This replaces a lot of old QLatin1String cases Change-Id: I47aec711f5e00de68bde6c2c8ee09506f577cfd4 Reviewed-by: Kai Koehne <kai.koehne@digia.com>
* Split QtLocation into QtPositioning and QtLocationAlex Blasche2013-09-022-5/+5
| | | | | | | | | | | | 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-131-1/+1
| | | | | Change-Id: I5b0cb7d56997ad7b91c073b3e02b31d0368fdcfa Reviewed-by: Alex <alexander.blasche@digia.com>
* Change copyright from 2012 to 2013Rainer Keller2013-01-171-1/+1
| | | | | Change-Id: I61ae1bd1a9f68d120d4e11635f306374b1f494d0 Reviewed-by: Aaron McCarthy <mccarthy.aaron@gmail.com>
* Change copyrights from Nokia to DigiaIikka Eklund2012-09-242-48/+48
| | | | | | | | 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>
* 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>
* Move qlocationtestutils.* to a more appropriate locationabcd2012-08-012-3/+3
| | | | | | | | | qlocationtestutils is no longer specifically dedicated for qgeocoordinate therefore move it into a common utils directory. Change-Id: I3f25d0e1f0524323813f78b0bcf18112d5755ef5 Reviewed-by: Aaron McCarthy <aaron.mccarthy@nokia.com>
* Rename QGeoBoundingArea and related classes to QGeoShape.Aaron McCarthy2012-06-212-7/+7
| | | | | | | | | | | | | | | | | | | | | QGeoBoundingArea is used for describing more than just a bounding area. Renaming it to a more appropriate name, QGeoShape. The same is done for subclasses and QML equivalents. In C++: QGeoBoundingArea -> QGeoShape QGeoBoundingCircle -> QGeoCircle QGeoBoundingBox -> QGeoRectangle In QML: BoundingArea -> GeoShape BoundingCircle -> GeoCircle BoundingBox -> GeoRectangle Change-Id: I93c6df8f1b6c5179ed52fd8354a05f709063b1cf Reviewed-by: abcd <amos.choy@nokia.com>
* isEmpty() functions for place data classesJean Gressmann2012-02-292-0/+35
| | | | | | | | | Added isEmpty() method to QPlace, QPlaceSupplier, and QPlaceRatings. Bugfix for QTBUG-23557 Change-Id: I49d71ac2428003ef3127bbab2e46f83a8bb6ecd3 Reviewed-by: Aaron McCarthy <aaron.mccarthy@nokia.com>
* Remove "All rights reserved" line from license headers.Jason McDonald2012-01-302-2/+2
| | | | | | | | | | 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-232-2/+2
| | | | | | | Replace Nokia contact email address with Qt Project website. Change-Id: I3850177e14291901e924f9c27ba09e75df00f96a Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
* Update copyright year in license headers.Jason McDonald2012-01-062-2/+2
| | | | | Change-Id: I496795d13a615be8d252ca20a40dd2c5ba84ed60 Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
* Rename postcode to postalCodeabcd2011-11-301-2/+2
| | | | | Change-Id: I14e4aa9b6b8fd54f19a3c49c118c2083f2578be4 Reviewed-by: abcd <amos.choy@nokia.com>
* QtLocation doesn't support Symbian anymore.alex2011-11-101-4/+0
| | | | | Change-Id: I1f90ecd180ce08976338fc9683a7cef5c1389f59 Reviewed-by: Alex <alex.blasche@nokia.com>
* LocationId is not useful to developersabcd2011-11-102-19/+0
| | | | | | | This should have been removed some time ago. Change-Id: I7d922b9988a9508d44f53373e89aa9654038ca29 Reviewed-by: Aaron McCarthy <aaron.mccarthy@nokia.com>
* tests: eliminated usage of qttest_p4.prfRohan McGovern2011-10-101-2/+3
| | | | | | | | | | | qttest_p4.prf was added as a convenience for Qt's own autotests in Qt4. It enables various crufty undocumented magic, of dubious value. Stop using it, and explicitly enable the things from it which we want. Change-Id: I927c50bb469382800f3be7f2d470c8dc71388023 Reviewed-on: http://codereview.qt-project.org/6294 Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Jason McDonald <jason.mcdonald@nokia.com>
* Improve naming consistency in Places API.Aaron McCarthy2011-10-101-6/+6
| | | | | | | Change-Id: Ic902592c3367a76fc0e23c237712224abbf31703 Reviewed-on: http://codereview.qt-project.org/6206 Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Aaron McCarthy <aaron.mccarthy@nokia.com>
* Fix missing/outdated license headers.Aaron McCarthy2011-09-262-4/+4
| | | | | | | Change-Id: I9dbdf6f4974167a2a4229bd3bd798f7de36bfc10 Reviewed-on: http://codereview.qt-project.org/4939 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Jason McDonald <jason.mcdonald@nokia.com>
* Remove additionalData from QGeoLocationabcd2011-09-232-27/+1
| | | | | | | | | | | | additionalData is an entirely speculative API element currently there is nothing to place in there. Following the principle of YAGNI we remove it from the API Change-Id: Ib1a1593b76fe52205272ec7c904dfb76ac73cc5e Reviewed-on: http://codereview.qt-project.org/5212 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Aaron McCarthy <aaron.mccarthy@nokia.com>
* Rename QGeoPlace to QPlaceabcd2011-09-231-1/+1
| | | | | | | | | | | | | | | | | | This is to be more consistent with the other place classes like QPlaceManager. The alternative would be for everything to have the QGeo prefix e.g QGePlaceManager, QGeoPlaceCategory, the Geo prefix does not help much in avoiding name collisions since 'Place' shouldn't collide with anything anyway. For classes like routing the Geo prefix is necessary to give context for what's being routed. Change-Id: Ibcf6e6909a41ea0ce2c402e24b427496d06bf243 Reviewed-on: http://codereview.qt-project.org/5210 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Aaron McCarthy <aaron.mccarthy@nokia.com>
* Remove navigationPositions from QGeoLocationabcd2011-07-262-29/+0
| | | | | | | | | The Places REST API does not currently support navigation positions. Change-Id: Id909e3a59da83334a09253fb033180e0d6951c26 Reviewed-on: http://codereview.qt.nokia.com/2137 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Aaron McCarthy <aaron.mccarthy@nokia.com>
* Remove label from geolocationabcd2011-07-262-19/+0
| | | | | | | | | The rest API does not support labels for locations Change-Id: I2737072fe2e577926d96549233324fe38fd960c4 Reviewed-on: http://codereview.qt.nokia.com/2136 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Aaron McCarthy <aaron.mccarthy@nokia.com>
* Remove alternative labelsabcd2011-07-262-35/+0
| | | | | | | | | | | | | Currently there is uncertainty on how alternative labels should be handled so remove for now. For most use cases this won't be needed anyway. If necessary we can add these in at a later point in time. Change-Id: I24e719bd394d60787f12234ddbe8e9aaa683d53c Reviewed-on: http://codereview.qt.nokia.com/2097 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Aaron McCarthy <aaron.mccarthy@nokia.com>
* Remove locationScore field form QGeoLocationabcd2011-07-262-21/+1
| | | | | | | | | | | The location score is meant to represent the quality of data of a location. For end users this isn't very useful. Also the REST API doesn't support the field so remove it. Change-Id: I69e66eaf1a15d09400310d4abb06c45a3f8376ce Reviewed-on: http://codereview.qt.nokia.com/2093 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Aaron McCarthy <aaron.mccarthy@nokia.com>
* Enable building of auto tests + use Qt namespace in autotestsabcd2011-07-142-2/+2
| | | | | | | | | Change QTM_* to QT_ * Change-Id: Ica2b057e05f71ba8c741dd9e8d8adf302fd2b7c9 Reviewed-on: http://codereview.qt.nokia.com/1616 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Aaron McCarthy <aaron.mccarthy@nokia.com>
* Refactoring to use QGeoLocationabcd2011-07-114-238/+394
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This refactoring is comprised of 2 main tasks. 1) Use QGeoLocation instead of QPlaceLocation, which came from the qt4-prerelease. 2) Use QGeoLocation instead of QGeoPlace from mobility. QGeoPlace in mobility encapsulated an address + coordinate, QGeoLocation in qt5 now fulfills that role(with some extra data fields) Mostly the searchreply and searchmanagers have been refactored to use qgeolocation instead of qgeoplace. This change addresses the library, plugins and tests but only some of the qml. Note the geosearchmanager in future will need to be refactored into a geocodingmanager, and there is still work needed on the qml side of things. Aside: the namings of mobility were used over the namings of the qt4 preprelease eg QPlaceLocation::displayPosition->QGeoLocation::coordinate QPlaceLocatoin::mapView->QGeoLocation::viewport. Change-Id: I312cddcb835ff52e94256c1fa97c6a9027eb9312 Reviewed-on: http://codereview.qt.nokia.com/1339 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: abcd <qt_abcd1@ovi.com>
* Addin QGeoLocation unit testabcd2011-07-053-0/+328
Note that it still currently uses QGeoPlace, this needs to be transitioned to QGeoLocation. This test was taken from Qt mobility as at sha1, a7f0eaff2295ced345fb05dafb31a2e6c5f98d6e