[core] remove MockView and View dependency in Transform

This commit is contained in:
Konstantin Käfer
2016-05-11 13:45:27 +02:00
parent 1d84a8964e
commit 002393bdea
10 changed files with 76 additions and 91 deletions

View File

@@ -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