diff options
Diffstat (limited to 'test/map')
-rw-r--r-- | test/map/map.test.cpp | 6 | ||||
-rw-r--r-- | test/map/prefetch.test.cpp | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/test/map/map.test.cpp b/test/map/map.test.cpp index f45c728944..0197202a9d 100644 --- a/test/map/map.test.cpp +++ b/test/map/map.test.cpp @@ -38,7 +38,7 @@ public: Map map; MapTest(float pixelRatio = 1, MapMode mode = MapMode::Static) - : frontend(pixelRatio, fileSource, threadPool) + : frontend(pixelRatio, threadPool) , map(frontend, observer, frontend.getSize(), pixelRatio, fileSource, threadPool, MapOptions().withMapMode(mode)) { } @@ -48,7 +48,7 @@ public: float pixelRatio = 1, MapMode mode = MapMode::Static, typename std::enable_if<std::is_same<T, DefaultFileSource>::value>::type* = 0) : fileSource { cachePath, assetRoot } - , frontend(pixelRatio, fileSource, threadPool) + , frontend(pixelRatio, threadPool) , map(frontend, observer, frontend.getSize(), pixelRatio, fileSource, threadPool, MapOptions().withMapMode(mode)) { } @@ -685,7 +685,7 @@ TEST(Map, TEST_DISABLED_ON_CI(ContinuousRendering)) { util::Timer timer; - HeadlessFrontend frontend(pixelRatio, fileSource, threadPool); + HeadlessFrontend frontend(pixelRatio, threadPool); StubMapObserver observer; observer.didFinishRenderingFrameCallback = [&] (MapObserver::RenderMode) { diff --git a/test/map/prefetch.test.cpp b/test/map/prefetch.test.cpp index 9b7d620739..dfde3a779b 100644 --- a/test/map/prefetch.test.cpp +++ b/test/map/prefetch.test.cpp @@ -37,7 +37,7 @@ TEST(Map, PrefetchTiles) { runLoop.stop(); }; - HeadlessFrontend frontend { { 512, 512 }, 1, fileSource, threadPool }; + HeadlessFrontend frontend { { 512, 512 }, 1, threadPool }; Map map(frontend, observer, frontend.getSize(), 1, fileSource, threadPool, MapOptions().withMapMode(MapMode::Continuous)); |