diff options
author | Alex Blasche <alexander.blasche@theqtcompany.com> | 2015-03-04 16:40:14 +0100 |
---|---|---|
committer | Alex Blasche <alexander.blasche@theqtcompany.com> | 2015-03-25 07:51:46 +0000 |
commit | 3216d71dae42126c3d730ce56b616abebd1c5b87 (patch) | |
tree | facd0662a0fd25f1b9586fccbc21ac7cdf9547d7 /tests/auto/nokia_services/routing/tst_routing.cpp | |
parent | f738357f041291eb42c8f6a6d5ca9aa1dd4ebfb1 (diff) | |
download | qtlocation-3216d71dae42126c3d730ce56b616abebd1c5b87.tar.gz |
Changes key of "nokia" geoservices plugin to "here"
The old name is not advertised anymore but the plugin can still be loaded
using the "nokia" key. This will be removed by later versions of Qt.
Adds a QGeoServiceProvider unit tests
Change-Id: I01f36f1bb19d31e0855e90c1605b99e61ee4450b
Reviewed-by: Michal Klocek <michal.klocek@theqtcompany.com>
Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com>
Reviewed-by: Aaron McCarthy <mccarthy.aaron@gmail.com>
Diffstat (limited to 'tests/auto/nokia_services/routing/tst_routing.cpp')
-rw-r--r-- | tests/auto/nokia_services/routing/tst_routing.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/nokia_services/routing/tst_routing.cpp b/tests/auto/nokia_services/routing/tst_routing.cpp index a664a8dd..53deb55d 100644 --- a/tests/auto/nokia_services/routing/tst_routing.cpp +++ b/tests/auto/nokia_services/routing/tst_routing.cpp @@ -323,7 +323,7 @@ void tst_nokia_routing::routingError(QGeoRouteReply* reply, QGeoRouteReply::Erro void tst_nokia_routing::initTestCase() { QStringList providers = QGeoServiceProvider::availableServiceProviders(); - QVERIFY(providers.contains(QStringLiteral("nokia"))); + QVERIFY(providers.contains(QStringLiteral("here"))); m_networkManager = new MockGeoNetworkAccessManager(); @@ -332,7 +332,7 @@ void tst_nokia_routing::initTestCase() parameters.insert(QStringLiteral("app_id"), "stub"); parameters.insert(QStringLiteral("token"), "stub"); - m_geoServiceProvider = new QGeoServiceProvider(QStringLiteral("nokia"), parameters); + m_geoServiceProvider = new QGeoServiceProvider(QStringLiteral("here"), parameters); QVERIFY(m_geoServiceProvider); m_routingManager = m_geoServiceProvider->routingManager(); |