summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJuha Alanen <juha.alanen@mapbox.com>2020-01-09 15:59:03 +0200
committerJuha Alanen <juha.alanen@mapbox.com>2020-01-10 17:19:30 +0200
commitc7c441167dbea2adf6928790a8c09c57b79b1c2b (patch)
treed96fa57cc9dabc482f50bb3c4e98d0b32817252f
parentd3b5f06c8e1366775575685021ec0b17482a14d2 (diff)
downloadqtlocation-mapboxgl-c7c441167dbea2adf6928790a8c09c57b79b1c2b.tar.gz
[test] Increase the threshold for Map.Offline test on Android
-rw-r--r--test/map/map.test.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/test/map/map.test.cpp b/test/map/map.test.cpp
index a0cd64bdd5..3eb01a7383 100644
--- a/test/map/map.test.cpp
+++ b/test/map/map.test.cpp
@@ -315,8 +315,11 @@ TEST(Map, Offline) {
test.map.getStyle().loadURL(prefix + "style.json");
+#if ANDROID
+ test::checkImage("test/fixtures/map/offline", test.frontend.render(test.map).image, 0.0045, 0.1);
+#else
test::checkImage("test/fixtures/map/offline", test.frontend.render(test.map).image, 0.0015, 0.1);
-
+#endif
NetworkStatus::Set(NetworkStatus::Status::Online);
}