summaryrefslogtreecommitdiff
path: root/test/style
diff options
context:
space:
mode:
authorKonstantin Käfer <mail@kkaefer.com>2015-05-22 15:56:05 +0200
committerJohn Firebaugh <john.firebaugh@gmail.com>2015-06-26 10:32:06 -0700
commit84e2ea886dc55917a1d6b665337fff6d3862984a (patch)
tree75d7411f09f48aa8b35be9348bc3687cb4efb1f8 /test/style
parent740281cc89e99fbbedf07fcf62253ada84f60776 (diff)
downloadqtlocation-mapboxgl-84e2ea886dc55917a1d6b665337fff6d3862984a.tar.gz
drive map rendering from main thread
Diffstat (limited to 'test/style')
-rw-r--r--test/style/mock_view.hpp21
-rw-r--r--test/style/resource_loading.cpp2
2 files changed, 1 insertions, 22 deletions
diff --git a/test/style/mock_view.hpp b/test/style/mock_view.hpp
deleted file mode 100644
index 865cd2da55..0000000000
--- a/test/style/mock_view.hpp
+++ /dev/null
@@ -1,21 +0,0 @@
-#ifndef TEST_RESOURCES_MOCK_VIEW
-#define TEST_RESOURCES_MOCK_VIEW
-
-#include <mbgl/map/view.hpp>
-
-namespace mbgl {
-
-class MockView : public View {
-public:
- MockView() = default;
-
- // View implementation.
- void activate() override {};
- void deactivate() override {};
- void notify() override {};
- void invalidate(std::function<void()>) override {};
-};
-
-}
-
-#endif
diff --git a/test/style/resource_loading.cpp b/test/style/resource_loading.cpp
index 6c5eb51bd4..82784f673c 100644
--- a/test/style/resource_loading.cpp
+++ b/test/style/resource_loading.cpp
@@ -1,7 +1,7 @@
#include "../fixtures/fixture_log_observer.hpp"
#include "../fixtures/util.hpp"
+#include "../fixtures/mock_view.hpp"
#include "mock_file_source.hpp"
-#include "mock_view.hpp"
#include <mbgl/map/map_data.hpp>
#include <mbgl/map/transform_state.hpp>