summaryrefslogtreecommitdiff
path: root/test/src/mbgl
diff options
context:
space:
mode:
authorzmiao <miao.zhao@mapbox.com>2020-02-07 15:34:01 +0200
committerzmiao <miao.zhao@mapbox.com>2020-02-12 12:24:05 +0200
commit2963afa010e75bb8bc3c20150c06c5779121077d (patch)
tree009843afa585563a0bb0d2dfee41edfe1ec70baf /test/src/mbgl
parent1bd2ccf2398004b02b479e6ad3144f52e7631b2a (diff)
downloadqtlocation-mapboxgl-2963afa010e75bb8bc3c20150c06c5779121077d.tar.gz
Add support for expression test
Fix polygon within algorithm Add Unit tests Fix incorrect metrics folder for ios-render-test-runner job
Diffstat (limited to 'test/src/mbgl')
-rw-r--r--test/src/mbgl/test/stub_geometry_tile_feature.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/src/mbgl/test/stub_geometry_tile_feature.hpp b/test/src/mbgl/test/stub_geometry_tile_feature.hpp
index e74988df2e..024e3c6c40 100644
--- a/test/src/mbgl/test/stub_geometry_tile_feature.hpp
+++ b/test/src/mbgl/test/stub_geometry_tile_feature.hpp
@@ -16,6 +16,9 @@ public:
geometry(std::move(geometry_)) {
}
+ StubGeometryTileFeature(FeatureType type_, GeometryCollection geometry_)
+ : type(type_), geometry(std::move(geometry_)) {}
+
PropertyMap properties;
FeatureIdentifier id;
FeatureType type = FeatureType::Point;