summaryrefslogtreecommitdiff
path: root/tests/auto
Commit message (Collapse)AuthorAgeFilesLines
* Add binary compatibility files for qtlocation 5.14 branchMilla Pohjanheimo2019-12-131-0/+5268
| | | | | | | BC file built against 5.14.0 added. Change-Id: I11ce479a65a05d8816d234fdab9f3319575dfa7b Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
* Merge remote-tracking branch 'origin/5.13' into 5.14Qt Forward Merge Bot2019-11-011-0/+6
|\ | | | | | | | | | | | | Conflicts: .qmake.conf Change-Id: I21ae20734645fc34b302409163f7400015d8302c
| * Blacklist flaky testDimitrios Apostolou2019-10-301-0/+6
| | | | | | | | | | | | Task-number: QTBUG-59074 Change-Id: I34a43d5f0852a3976ad32b03743aadd265ab5438 Reviewed-by: Paolo Angelelli <paolo.angelelli@qt.io>
* | Ensure that geotestplugin is built before the targets that depends on itv5.14.0-alpha1Jan Arve Sæther2019-09-201-5/+18
| | | | | | | | | | | | Change-Id: Ib3a9ea37506e29eafcfb45e0c1d73a4c65d8e70b Fixes: QTBUG-78562 Reviewed-by: Paolo Angelelli <paolo.angelelli@qt.io>
* | Fix 5.14 positioning APIsPaolo Angelelli2019-09-191-1/+1
| | | | | | | | | | | | | | | | This patch fixes a few inconsistencies in the newely added features. Change-Id: Icdf1c9208fd0d5ab1d6ec6d87fcc5be5072c3f58 Fixes: QTBUG-77865 Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
* | Merge remote-tracking branch 'origin/5.13' into 5.14Qt Forward Merge Bot2019-08-311-0/+5208
|\ \ | |/ | | | | Change-Id: Ic431a95117ee8290a5b91937a756e9f9cfc37c7a
| * Binary compatibility file for Qt5.13.0 for QtLocationMilla Pohjanheimo2019-08-121-0/+5208
| | | | | | | | | | | | | | Binary compatibility file added. Change-Id: Ic7d328d1c3f6ad17b547085992f266559a1679c4 Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
* | Eradicate Java-style iterators and mark the module free of themMarc Mutz2019-08-033-20/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ... and of QLinkedList Java-style iterators are going to be deprecated, or at the very least banned from use in Qt code. Ditto QLinkedList. Unfortunately, the module contains more than 120 uses of Q_FOREACH, even though, according to my sources, its use was banned in Qt implementation from the get-go. So QT_NO_FOREACH is currently not an option. Change-Id: I0f05e9c78dda259b0eac1bcdfc7dddfcddc4b908 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* | Allow setting backend properties of positioning pluginsPaolo Angelelli2019-07-243-6/+33
| | | | | | | | | | | | | | | | | | | | This change adds a pair of setter/getter to specify positioning backend properties at runtime, both in QGeoPositionInfoSource and QDeclarativePositionSource. Task-number: QTBUG-66304 Change-Id: Iea9421fb708879bee5c62c4afaf45cbda57f50bb Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
* | Add tests for PluginParameters in PositionSourcePaolo Angelelli2019-07-248-47/+369
| | | | | | | | | | | | | | | | | | Testing parameters in QGeoPositionInfoSourceFactory becomes implicit with this test. Task-number: QTBUG-66304 Change-Id: I3e9fbf99762e9a03e4c8cae3ff317ea36313e687 Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
* | unblacklist passing testsDaniel Smith2019-06-251-20/+0
| | | | | | | | | | | | | | | | These tests have not failed on the removed platforms for at least 60 days Task-number: QTBUG-76608 Change-Id: I97d52398535261312574fe170831641a67d4e8a5 Reviewed-by: Frederik Gladhorn <frederik.gladhorn@qt.io>
* | Convert uses of QTime as a timer to QElapsedTimerEdward Welbourne2019-06-121-1/+3
| | | | | | | | | | | | | | Change-Id: Ife80695ff0204e2760a75c1b8194753cb8b6141e Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io> Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
* | Merge remote-tracking branch 'origin/5.13' into devQt Forward Merge Bot2019-06-111-16/+23
|\ \ | |/ | | | | Change-Id: I657e61aba9a65be05876c5b1822a3bf7c88857d5
| * Merge remote-tracking branch 'origin/5.12' into 5.13Qt Forward Merge Bot2019-06-081-16/+23
| |\ | | | | | | | | | | | | | | | | | | Conflicts: tests/auto/auto.pro Change-Id: Ibb9c7c93a30d981f7e519eda495436c1c4873aa0
| | * Android: disable tests requiring plugins or local filesPaolo Angelelli2019-05-081-18/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | While we develop a long term solution to deal with this. Fixes: QTBUG-73575 Fixes: QTBUG-73576 Fixes: QTBUG-73578 Fixes: QTBUG-73579 Fixes: QTBUG-73580 Fixes: QTBUG-73581 Change-Id: Ib70d8f084dcbafa8853e0c687d0a31c88eef991f Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
| * | Diagnose flaky coordinate animation testPaolo Angelelli2019-04-101-12/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | Add debug info to failing verify. Reviewed-by: Alex Blasche <alexander.blasche@qt.io> (cherry picked from commit 7e35bd3a31341b9593134808b08ee8dee6951c10) Change-Id: Ib0a01a31c6e5ae1ebd81cc48d73e995c06770826 Reviewed-by: Liang Qi <liang.qi@qt.io>
* | | Fix deprecation warningsFriedemann Kleint2019-05-272-5/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix warnings: maps/qgeotilefetcher.cpp:78:36: warning: 'QList<T> QSet<T>::toList() const [with T = QGeoTileSpec]' is deprecated: Use values() instead. [-Wdeprecated-declarations] declarativeplaces/qdeclarativeplace.cpp:1088:101: warning: 'QVariant qVariantFromValue(const T&) [with T = QDeclarativePlaceAttribute*]' is deprecated: Use QVariant::fromValue() instead. [-Wdeprecated-declarations] maps/qgeotiledmapscene.cpp:498:62: warning: 'static QSet<T> QSet<T>::fromList(const QList<T>&) [with T = QGeoTileSpec]' is deprecated: Use QSet<T>(list.begin(), list.end()) instead. [-Wdeprecated-declarations] maps/qgeotiledmapscene.cpp:498:89: warning: 'static QSet<T> QSet<T>::fromList(const QList<T>&) [with T = QGeoTileSpec]' is deprecated: Use QSet<T>(list.begin(), list.end()) instead. [-Wdeprecated-declarations] maps/qgeotiledmapscene.cpp:643:61: warning: 'static QSet<T> QSet<T>::fromList(const QList<T>&) [with T = QGeoTileSpec]' is deprecated: Use QSet<T>(list.begin(), list.end()) instead. [-Wdeprecated-declarations] maps/qgeotiledmapscene.cpp:643:94: warning: 'static QSet<T> QSet<T>::fromList(const QList<T>&) [with T = QGeoTileSpec]' is deprecated: Use QSet<T>(list.begin(), list.end()) instead. [-Wdeprecated-declarations] /data1/frkleint/qt-dev/qtbase/include/QtCore/../../src/corelib/tools/qset.h:400:23: warning: 'QSet<T> QList<T>::toSet() const [with T = QGeoTileSpec]' is deprecated: Use QSet<T>(list.begin(), list.end()) instead. [-Wdeprecated-declarations] declarativemaps/qdeclarativegeomap.cpp:453:45: warning: 'QSet<T> QList<T>::toSet() const [with T = QObject*]' is deprecated: Use QSet<T>(list.begin(), list.end()) instead. [-Wdeprecated-declarations] qplacemanagerengine_test.h:477:72: warning: 'QSet<T> QList<T>::toSet() const [with T = QPlaceCategory]' is deprecated: Use QSet<T>(list.begin(), list.end()) instead. [-Wdeprecated-declarations] ../utils/qlocationtestutils.cpp:50:31: warning: 'QString& QString::sprintf(const char*, ...)' is deprecated: Use asprintf(), arg() or QTextStream instead [-Wdeprecated-declarations] Change-Id: Ice04fd0f158ee95a42f53b33dcb7b9204a33c90e Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
* | | Add QDeclarativeGeoServiceProviderRequirements navigation propertyPaolo Angelelli2019-03-203-3/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This was previously missing, making it impossible to require specific navigation features. [ChangeLog] Added QDeclarativeGeoServiceProviderRequirements navigation property. Change-Id: I75f8f3208aa387aea9d1652bb674fdb747877747 Fixes: QTBUG-72505 Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
* | | Diagnose flaky coordinate animation testPaolo Angelelli2019-03-111-12/+9
|/ / | | | | | | | | | | | | Add debug info to failing verify. Change-Id: Ic5e81a70a6ee0bc488edab1b63b7b16840fc9fe9 Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
* | Merge remote-tracking branch 'origin/5.12' into 5.13Qt Forward Merge Bot2019-02-212-3/+3
|\ \ | |/ | | | | Change-Id: If768f08fd6a7bc55dc65ebec9db1ccd23aa3bdf9
| * Fix toCoordinate calls in qml testsPaolo Angelelli2019-02-212-3/+3
| | | | | | | | | | | | Task-number: QTBUG-73943 Change-Id: Ia6c008575d0415f5301d177114e4a906cdc7f2e9 Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
* | Merge remote-tracking branch 'origin/5.12' into 5.13Qt Forward Merge Bot2019-02-161-0/+4838
|\ \ | |/ | | | | Change-Id: Ibf40dee29026002ce435e4b316ed999e320e73b6
| * Merge remote-tracking branch 'origin/5.12.1' into 5.12Qt Forward Merge Bot2019-02-011-0/+4838
| |\ | | | | | | | | | Change-Id: I13775b0f1df521fef560fa4b39b341517e0edc62
| | * Add binary compatibility file to QtLocation for 5.12Milla Pohjanheimo2018-12-191-0/+4838
| | | | | | | | | | | | | | | | | | | | | Binary compatibility file added. Change-Id: I46e179f29957a281f0b04424a6d44fb63556b208 Reviewed-by: Sergio Ahumada <sahumada@texla.cl>
* | | Add departure time attribute to route queriesv5.13.0-alpha1Paolo Angelelli2019-02-064-0/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | So that it can be used to improve the route calculation based on traffic information or other time-based information (ferries etc.) Change-Id: I8bdc81046484cc4f0ebfaffbdf6f034c555d7781 Fixes: QTBUG-70503 Reviewed-by: BogDan Vatra <bogdan@kdab.com>
* | | Unify semicolon usage in Q_UNUSEDJesus Fernandez2019-01-237-15/+15
| | | | | | | | | | | | | | | Change-Id: I36dd6881b6f6f028869d63b6311cba7f52a99cc4 Reviewed-by: Paolo Angelelli <paolo.angelelli@qt.io>
* | | Merge remote-tracking branch 'origin/5.12' into devQt Forward Merge Bot2019-01-221-0/+8
|\ \ \ | |/ / | | | | | | | | | | | | | | | Conflicts: .qmake.conf Change-Id: I8d0881209c8b0a0dce4ed949ef89ee2679448420
| * | Fix QGeoRectangle::operator|=Paolo Angelelli2019-01-141-0/+8
| |/ | | | | | | | | | | | | | | | | This patch fixes the case when one QGeoRectangle contains the second, and wraps around. Change-Id: I7110c1864082c502845754fab2dc4e783455a446 Fixes: QTBUG-72935 Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
* | Add QGeoJson: a GeoJSON parserJulian Sherollari2019-01-1815-0/+46558
| | | | | | | | | | | | | | | | | | | | | | | | | | Add a Class to convert a GeoJSON document to a QVariantList ready to be used as Model in a MapItemView. It comes with autotests, example and detailed documentation. [ChangeLog][QtLocation] Added a GeoJSON parser which can be used to annotate maps with tracks, polygonal boundaries, etc. Fixes: QTBUG-64111 Change-Id: Ib06d3902a052f69f75ae40be5c9ab56023cad916 Reviewed-by: Paolo Angelelli <paolo.angelelli@qt.io>
* | Merge remote-tracking branch 'origin/5.12' into devLiang Qi2018-12-102-3/+4
|\ \ | |/ | | | | | | | | | | Conflicts: .qmake.conf Change-Id: I00453b819d65460dabf771617e6181275461cc78
| * Merge remote-tracking branch 'origin/5.12.0' into 5.12Qt Forward Merge Bot2018-12-051-1/+1
| |\ | | | | | | | | | Change-Id: I53b052e12532392192d73da7006b204539cad57c
| | * QGeoPath: revert clear API to clearPathv5.12.0-rc2v5.12.0-rc1v5.12.05.12.0Samuel Gaist2018-11-101-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | The original name was correct as clear would need to reset more properties which is was not the goal of this method. Change-Id: Iac43a61e4b8bf57220c88d627b33578612c4ddad Reviewed-by: Lars Knoll <lars.knoll@qt.io>
| * | Improve the initialization behavior of CategoryModelPaolo Angelelli2018-11-271-2/+3
| |/ | | | | | | | | | | | | | | | | | | | | | | CategoryModel was missing an update call in the ::componentComplete callback, as well as reacting on the name changed signal of the plugin. An update call was also missing in the setPlugin method. This patch makes it react on the attached signal instead, and adds missing update calls. Fixes: QTBUG-70254 Change-Id: I1a8de0137b4fe4af7c5ffc848799061147febba2 Reviewed-by: Michael Brasser <michael.brasser@live.com>
* | Provide extended, plugin dependent information for Geo LocationsPaolo Angelelli2018-12-044-1/+110
|/ | | | | | | | | | | | This includes support for osm geojson and class fields. At the present, the content of the geojson field is returned as is. As soon as QGeoJson support is finalized, this will be integrated with a QGeoPolygon. Fixes: QTBUG-43401 Change-Id: Ifa7e24cf904a2c1e1e77ebfaa7948ac0ce81d265 Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
* Merge remote-tracking branch 'origin/5.11' into 5.12.0v5.12.0-beta4Liang Qi2018-10-301-0/+1
|\ | | | | | | Change-Id: I0f4a3b7bc7c5c7f8da5af631000a6d5156884efe
| * Fix crash when calling QGeoPath::length on empty QGeoPath instanceAlex Blasche2018-10-241-0/+1
| | | | | | | | | | | | | | Fixes: QTBUG-71355 Change-Id: I47b058891a47cd6d020c4e192d40233c57814313 Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io> Reviewed-by: Paolo Angelelli <paolo.angelelli@qt.io>
* | Esri: enable place searchv5.12.0-beta3v5.12.0-beta2Guillaume Belz2018-10-091-1/+1
| | | | | | | | | | Change-Id: I136ef0a3125b42b484e36413d26aa49e59a43b57 Reviewed-by: Paolo Angelelli <paolo.angelelli@qt.io>
* | Revert "Mark QNmeaPositionInfoSource tests as insignificant on Windows."Tony Sarajärvi2018-09-215-35/+5
| | | | | | | | | | | | | | | | | | | | | | This reverts commit 63c8b3bca03586994c2b59c262e9cb3a9b12b363. With vSphere based VMs moved to KVM based, we can try if the networking issues have been solved. Change-Id: I41fd6845341df5722c1ba2e0cd76e01bf16df4fb Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Liang Qi <liang.qi@qt.io>
* | QGeoPath: fix clear APIv5.12.0-alpha1Samuel Gaist2018-09-121-1/+1
| | | | | | | | | | | | | | | | | | Change the clear method name from clearPath to just clear to follow more closely the other Qt APIs. Change-Id: I98d4ea43e69e3d365c2c470e9b8b14479f288fe6 Reviewed-by: Paolo Angelelli <paolo.angelelli@qt.io> Reviewed-by: Lars Knoll <lars.knoll@qt.io>
* | Fix HERE qgeoroutexmlparser and add legs supportPaolo Angelelli2018-09-051-1/+1
| | | | | | | | | | | | | | | | | | | | All route segments after the second waypoint contain broken paths. This patch fixes it refactoring the parsing logic, also adding support for route legs. Change-Id: I30ec9e889a5e16bf81c4a0caf1b59fc895b7ea5e Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
* | Move management of QDeclarativeGeoMap camera data into QGeoMapPaolo Angelelli2018-08-202-8/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | This patch makes QDeclarativeGeoMap always refer to QGeoMap when it comes to setting and getting camera data properties. The signal emission for each of these properties is also deferred to the reception of QGeoMap::cameraDataChanged. This patch also enable plugins to enforce tilt ranges per zoom, updating the tilt value (as well as any other camera data value) on their own. Change-Id: Icc16645ea53fa2b53b33530f802ce390a2479d39 Reviewed-by: BogDan Vatra <bogdan@kdab.com>
* | Make QDeclarativeGeoMapItemBase::geoShape R/WPaolo Angelelli2018-08-141-12/+1
| | | | | | | | | | | | | | | | This patch adds a setter for the geoShape property, overridden in the subclasses. Change-Id: I5fc4d412efee5e95c5650943ea5bf9b72dc40155 Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
* | Enable nested MapItemViewsPaolo Angelelli2018-07-271-2/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change allows MapItemView to use a MapItem, MapItemGroup or MapItemView as delegate. To achieve this, MapItemView base class also changes from QObject to MapItemGroup, effectively making MapItemView a MapItemGroup. Note, though, that MapItemGroup API in Map should be avoided, when dealing with a MapItemView, and only MapItemView-specific API should be used. Tests and example coming after [ChangeLog][QtLocation] Enabled nesting of MapItemView. This required a behavioral change, as MapItemView is now a MapItemGroup, not anymore a plain QObject. Due to a bug, MapItemView was previously not a Qt Quick Item, making it possible to create it as a child of any QObject. This has now been fixed, so if you happen to have a MapItemView in your scene which is not a child of a Qt Quick Item, you will get an error message. Task-number: QTBUG-62683 Task-number: QTBUG-62397 Change-Id: Id97e480429e7f952a541fe88df5c01317afeac18 Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
* | Introduce Map.visibleAreaPaolo Angelelli2018-07-264-6/+82
| | | | | | | | | | | | | | | | | | | | This will allow moving the visible map area to a subregion of the viewport, allowing to maintain the desired visible region visible when overlaying controls on top of the map. Task-number: QTBUG-68966 Change-Id: Idf4b30f7c1e4062e5e1c0ddc01a31bc856c0bc0c Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
* | Add property for QGeoPolygon's perimeter and QML autotests using itPaolo Angelelli2018-07-231-0/+41
| | | | | | | | | | | | | | QML autotests were previously missing. Change-Id: Id2c3a7fc61c57cef369dda109dbbfca183979443 Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
* | QGeoPath: implement clear functionSamuel Gaist2018-06-271-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | QGeoPath is missing a function to clear its content. This patch implements it. [ChangeLog][Positioning] QGeoPath can now be cleared directly using clearPath. Task-number: QTBUG-62875 Change-Id: I215edf180d11002c6f7e57bb10b008e935f32340 Reviewed-by: Alex Blasche <alexander.blasche@qt.io> Reviewed-by: Paolo Angelelli <paolo.angelelli@qt.io>
* | Add QDeclarativeGeoRoute::equalsPaolo Angelelli2018-06-261-2/+10
|/ | | | | | | So that deep comparisons can be performed in QML too Change-Id: I484644d4ddf3334c16321e5fc361504e9de105b2 Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
* Combine NMEA sentences - Live modePaolo Angelelli2018-06-213-13/+14
| | | | | | | | | | This patch combines multiple nmea sentences related to the same update, preventing the push of multiple separate updates with the same timestamp. Task-number: QTBUG-64699 Change-Id: I082cd46924afe0f00e510dc059ff8594373b1e67 Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
* Reduce minimum NMEA update intervalPaolo Angelelli2018-06-211-1/+1
| | | | | | | | Some devices can generate up to 100 updates per second. So the old 100msec minimum update interval was too limiting. Change-Id: I539e308e0249166714d4fb567f8b78c136bc77cb Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
* Add binary compatibility file for 5.11 for QtLocationMilla Pohjanheimo2018-06-051-0/+4773
| | | | | | | File to test binary compatibility added Change-Id: Idbe38e542fba3b97ca0d9253d9c6b540ed79df84 Reviewed-by: Lars Knoll <lars.knoll@qt.io>