diff options
author | Juha Alanen <juha.alanen@mapbox.com> | 2020-01-09 15:59:03 +0200 |
---|---|---|
committer | Juha Alanen <juha.alanen@mapbox.com> | 2020-01-10 17:19:30 +0200 |
commit | c7c441167dbea2adf6928790a8c09c57b79b1c2b (patch) | |
tree | d96fa57cc9dabc482f50bb3c4e98d0b32817252f /test/map | |
parent | d3b5f06c8e1366775575685021ec0b17482a14d2 (diff) | |
download | qtlocation-mapboxgl-c7c441167dbea2adf6928790a8c09c57b79b1c2b.tar.gz |
[test] Increase the threshold for Map.Offline test on Android
Diffstat (limited to 'test/map')
-rw-r--r-- | test/map/map.test.cpp | 5 |
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); } |