diff options
author | Konstantin Käfer <mail@kkaefer.com> | 2015-05-22 15:56:05 +0200 |
---|---|---|
committer | John Firebaugh <john.firebaugh@gmail.com> | 2015-06-26 10:32:06 -0700 |
commit | 84e2ea886dc55917a1d6b665337fff6d3862984a (patch) | |
tree | 75d7411f09f48aa8b35be9348bc3687cb4efb1f8 /test/style | |
parent | 740281cc89e99fbbedf07fcf62253ada84f60776 (diff) | |
download | qtlocation-mapboxgl-84e2ea886dc55917a1d6b665337fff6d3862984a.tar.gz |
drive map rendering from main thread
Diffstat (limited to 'test/style')
-rw-r--r-- | test/style/mock_view.hpp | 21 | ||||
-rw-r--r-- | test/style/resource_loading.cpp | 2 |
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> |