summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorAlex Blasche <alexander.blasche@theqtcompany.com>2015-03-06 12:22:05 +0100
committerAlex Blasche <alexander.blasche@theqtcompany.com>2015-03-18 07:09:59 +0000
commitf915542ba38d830e3ffdf409bea55f46832421f3 (patch)
treea4b1990cbc7f3117bbe949cf85837b22ee6081e6 /tests
parent767e2b00441dc3b87df6c63a26f27d2b2fefecbf (diff)
downloadqtlocation-f915542ba38d830e3ffdf409bea55f46832421f3.tar.gz
Make Nokia/Here specific place test pass
Retrieving of detailed place information is currently broken. This may be caused by an API or policy change on the here server. Further investigation is required. Change-Id: I43837c9a611f77cc70725cf42667a130136774e4 Task-number: QTBUG-44837 Reviewed-by: Michal Klocek <michal.klocek@theqtcompany.com> Reviewed-by: Aaron McCarthy <mccarthy.aaron@gmail.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/nokia_services/places_semiauto/tst_places.cpp10
1 files changed, 9 insertions, 1 deletions
diff --git a/tests/auto/nokia_services/places_semiauto/tst_places.cpp b/tests/auto/nokia_services/places_semiauto/tst_places.cpp
index 2c5db5d3..2e80036a 100644
--- a/tests/auto/nokia_services/places_semiauto/tst_places.cpp
+++ b/tests/auto/nokia_services/places_semiauto/tst_places.cpp
@@ -98,7 +98,7 @@ Q_DECLARE_METATYPE(tst_QPlaceManagerNokia::ExpectedResults)
const QLatin1String tst_QPlaceManagerNokia::ValidKnownPlaceId("250u09tu-4561b8da952f4fd79c4e1998c3fcf032");
const QLatin1String tst_QPlaceManagerNokia::ProxyEnv("NOKIA_PLUGIN_PROXY");
-const QLatin1String tst_QPlaceManagerNokia::AppIdEnv("NOKIA_APP_ID");
+const QLatin1String tst_QPlaceManagerNokia::AppIdEnv("NOKIA_APPID");
const QLatin1String tst_QPlaceManagerNokia::TokenEnv("NOKIA_TOKEN");
tst_QPlaceManagerNokia::tst_QPlaceManagerNokia()
@@ -377,6 +377,7 @@ void tst_QPlaceManagerNokia::recommendations_data()
void tst_QPlaceManagerNokia::details()
{
+ QSKIP("Fetching details from HERE place server always fails - QTBUG-44837");
//fetch the details of a valid place
QPlace place;
QVERIFY(doFetchDetails(ValidKnownPlaceId, &place));
@@ -573,6 +574,13 @@ void tst_QPlaceManagerNokia::locale()
}
}
+ // we are skipping the check below because we are requesting
+ // details for a place without a search before. This implies
+ // URL templating must be possible which the HERE place
+ // server refuses.
+
+ QSKIP("remainder of test skipped due to QTBUG-44837");
+
//check that setting a locale will affect place detail fetches.
QPlace place;
placeManager->setLocale(QLocale("en"));