diff options
author | Vladimir Bezkorovainyi <vladimir.bezkorovainyi@nokia.com> | 2012-05-24 19:02:47 +0200 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-06-04 13:52:43 +0200 |
commit | 8b5dee29df22155b3dedf32861053db299112094 (patch) | |
tree | 5680a21d52e5d29664439caef8c1807493c481d6 /tests/auto/nokia_services | |
parent | 81ee36a1a88c0430ce54318b8ef82987158038f7 (diff) | |
download | qtlocation-8b5dee29df22155b3dedf32861053db299112094.tar.gz |
Populate error information if required parameters (app_id and token) are absent.
Change-Id: Ia110416b1cd64425abcb3ebcf79209b635050b0b
Reviewed-by: Jean Gressmann <jean.gressmann@nokia.com>
Diffstat (limited to 'tests/auto/nokia_services')
-rw-r--r-- | tests/auto/nokia_services/routing/tst_routing.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/auto/nokia_services/routing/tst_routing.cpp b/tests/auto/nokia_services/routing/tst_routing.cpp index 6c710199..87ef7847 100644 --- a/tests/auto/nokia_services/routing/tst_routing.cpp +++ b/tests/auto/nokia_services/routing/tst_routing.cpp @@ -337,6 +337,8 @@ void tst_nokia_routing::initTestCase() QMap<QString, QVariant> parameters; parameters.insert(QStringLiteral("nam"), QVariant::fromValue<void*>(m_networkManager)); + parameters.insert(QStringLiteral("app_id"), "stub"); + parameters.insert(QStringLiteral("token"), "stub"); m_geoServiceProvider = new QGeoServiceProvider(QStringLiteral("nokia"), parameters); QVERIFY(m_geoServiceProvider); |