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 15:20:22 +0200
commitdbd180d89696f09bae84a4c4e67649241f897142 (patch)
tree68128bf097f7e8e0f66346907b4bdf879b67284e
parentb6a6d83777024e1f835ad5bf1695b1c4a1ea7a34 (diff)
downloadqtlocation-mapboxgl-dbd180d89696f09bae84a4c4e67649241f897142.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);
}