From f915542ba38d830e3ffdf409bea55f46832421f3 Mon Sep 17 00:00:00 2001 From: Alex Blasche Date: Fri, 6 Mar 2015 12:22:05 +0100 Subject: 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 Reviewed-by: Aaron McCarthy --- tests/auto/nokia_services/places_semiauto/tst_places.cpp | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'tests') 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")); -- cgit v1.2.1