diff options
author | Konstantin Käfer <mail@kkaefer.com> | 2016-05-11 13:45:27 +0200 |
---|---|---|
committer | Konstantin Käfer <mail@kkaefer.com> | 2016-05-18 12:07:21 +0200 |
commit | 002393bdead2f036982ea3adb8a13a3d58f3428a (patch) | |
tree | 73da2311cb98ec7f0acf6f6bf2b1f9858846000c /test/src | |
parent | 1d84a8964e39bd6a35de1dc64c03496bcdcf2c4f (diff) | |
download | qtlocation-mapboxgl-002393bdead2f036982ea3adb8a13a3d58f3428a.tar.gz |
[core] remove MockView and View dependency in Transform
Diffstat (limited to 'test/src')
-rw-r--r-- | test/src/mbgl/test/mock_view.hpp | 26 |
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 |