summaryrefslogtreecommitdiffstats
path: root/tests/auto/qgeoserviceprovider/tst_qgeoserviceprovider.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/qgeoserviceprovider/tst_qgeoserviceprovider.cpp')
-rw-r--r--tests/auto/qgeoserviceprovider/tst_qgeoserviceprovider.cpp12
1 files changed, 10 insertions, 2 deletions
diff --git a/tests/auto/qgeoserviceprovider/tst_qgeoserviceprovider.cpp b/tests/auto/qgeoserviceprovider/tst_qgeoserviceprovider.cpp
index f6fe2d71..121253fa 100644
--- a/tests/auto/qgeoserviceprovider/tst_qgeoserviceprovider.cpp
+++ b/tests/auto/qgeoserviceprovider/tst_qgeoserviceprovider.cpp
@@ -65,13 +65,14 @@ void tst_QGeoServiceProvider::tst_availableServiceProvider()
const QStringList provider = QGeoServiceProvider::availableServiceProviders();
// Currently provided plugins
- if (provider.count() != 7)
+ if (provider.count() != 8)
qWarning() << provider;
- QCOMPARE(provider.count(), 7);
+ QCOMPARE(provider.count(), 8);
// these providers are deployed
QVERIFY(provider.contains(QStringLiteral("mapbox")));
QVERIFY(provider.contains(QStringLiteral("here")));
QVERIFY(provider.contains(QStringLiteral("osm")));
+ QVERIFY(provider.contains(QStringLiteral("esri")));
// these providers exist for unit tests only
QVERIFY(provider.contains(QStringLiteral("geocode.test.plugin")));
QVERIFY(provider.contains(QStringLiteral("georoute.test.plugin")));
@@ -124,6 +125,13 @@ void tst_QGeoServiceProvider::tst_features_data()
| QGeoServiceProvider::ReverseGeocodingFeature)
<< QGeoServiceProvider::RoutingFeatures(QGeoServiceProvider::OnlineRoutingFeature)
<< QGeoServiceProvider::PlacesFeatures(QGeoServiceProvider::OnlinePlacesFeature);
+
+ QTest::newRow("esri") << QString("esri")
+ << QGeoServiceProvider::MappingFeatures(QGeoServiceProvider::OnlineMappingFeature)
+ << QGeoServiceProvider::GeocodingFeatures(QGeoServiceProvider::OnlineGeocodingFeature
+ | QGeoServiceProvider::ReverseGeocodingFeature)
+ << QGeoServiceProvider::RoutingFeatures(QGeoServiceProvider::OnlineRoutingFeature)
+ << QGeoServiceProvider::PlacesFeatures(QGeoServiceProvider::NoPlacesFeatures);
}
void tst_QGeoServiceProvider::tst_features()