summaryrefslogtreecommitdiff
path: root/test/src/mbgl/test/mock_view.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/src/mbgl/test/mock_view.hpp')
-rw-r--r--test/src/mbgl/test/mock_view.hpp26
1 files changed, 0 insertions, 26 deletions
diff --git a/test/src/mbgl/test/mock_view.hpp b/test/src/mbgl/test/mock_view.hpp
deleted file mode 100644
index 50ae466d19..0000000000
--- a/test/src/mbgl/test/mock_view.hpp
+++ /dev/null
@@ -1,26 +0,0 @@
-#ifndef TEST_FIXTURES_MOCK_VIEW
-#define TEST_FIXTURES_MOCK_VIEW
-
-#include <mbgl/map/view.hpp>
-
-#include <array>
-
-namespace mbgl {
-
-class MockView : public View {
-public:
- MockView() = default;
-
- // View implementation.
- float getPixelRatio() const override { return 1; }
- std::array<uint16_t, 2> getSize() const override { return {{ 0, 0 }}; }
- std::array<uint16_t, 2> getFramebufferSize() const override { return {{ 0, 0 }}; }
-
- void activate() override {};
- void deactivate() override {};
- void invalidate() override {}
-};
-
-}
-
-#endif