summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorKonstantin Käfer <mail@kkaefer.com>2016-10-06 16:10:09 +0200
committerJohn Firebaugh <john.firebaugh@gmail.com>2016-10-06 10:16:45 -0700
commit08809b4d446940d31d777c787971ea6ae6b3fa1c (patch)
treea155f96340b8d1b421eb73cea6eeefcb009b629f /test
parent7bcb04a609415132db112b02507118835d519e36 (diff)
downloadqtlocation-mapboxgl-08809b4d446940d31d777c787971ea6ae6b3fa1c.tar.gz
[macos,ios] initialize util::RunLoop in SDK rather than by default
Diffstat (limited to 'test')
-rw-r--r--test/tile/raster_tile.test.cpp2
-rw-r--r--test/tile/vector_tile.test.cpp2
2 files changed, 4 insertions, 0 deletions
diff --git a/test/tile/raster_tile.test.cpp b/test/tile/raster_tile.test.cpp
index a5a7e65b35..4e9e907321 100644
--- a/test/tile/raster_tile.test.cpp
+++ b/test/tile/raster_tile.test.cpp
@@ -4,6 +4,7 @@
#include <mbgl/tile/tile_loader_impl.hpp>
#include <mbgl/actor/thread_pool.hpp>
+#include <mbgl/util/run_loop.hpp>
#include <mbgl/map/transform.hpp>
#include <mbgl/style/style.hpp>
#include <mbgl/style/update_parameters.hpp>
@@ -15,6 +16,7 @@ class RasterTileTest {
public:
FakeFileSource fileSource;
TransformState transformState;
+ util::RunLoop loop;
ThreadPool threadPool { 1 };
AnnotationManager annotationManager { 1.0 };
style::Style style { fileSource, 1.0 };
diff --git a/test/tile/vector_tile.test.cpp b/test/tile/vector_tile.test.cpp
index e22b88a61d..fa75e24480 100644
--- a/test/tile/vector_tile.test.cpp
+++ b/test/tile/vector_tile.test.cpp
@@ -4,6 +4,7 @@
#include <mbgl/tile/tile_loader_impl.hpp>
#include <mbgl/actor/thread_pool.hpp>
+#include <mbgl/util/run_loop.hpp>
#include <mbgl/map/transform.hpp>
#include <mbgl/style/style.hpp>
#include <mbgl/style/update_parameters.hpp>
@@ -15,6 +16,7 @@ class VectorTileTest {
public:
FakeFileSource fileSource;
TransformState transformState;
+ util::RunLoop loop;
ThreadPool threadPool { 1 };
AnnotationManager annotationManager { 1.0 };
style::Style style { fileSource, 1.0 };