summaryrefslogtreecommitdiff
path: root/test/gl/bucket.test.cpp
diff options
context:
space:
mode:
authorChris Loer <chris.loer@gmail.com>2017-10-31 14:48:08 -0700
committerChris Loer <chris.loer@mapbox.com>2017-11-01 10:49:07 -0700
commit9841621f0b0dc96e777230f7a89faef7ca023783 (patch)
treee38c020281b264c945b702d1c09752801c266a74 /test/gl/bucket.test.cpp
parent9e19cbb58cc0066e595204d86045d9acad2b9033 (diff)
downloadqtlocation-mapboxgl-9841621f0b0dc96e777230f7a89faef7ca023783.tar.gz
Update unit test stubs to match new collision code.
Disable annotation_tile test -- seems like maybe it makes sense to delete?
Diffstat (limited to 'test/gl/bucket.test.cpp')
-rw-r--r--test/gl/bucket.test.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/gl/bucket.test.cpp b/test/gl/bucket.test.cpp
index 0e73dfb28f..f43fedb1c3 100644
--- a/test/gl/bucket.test.cpp
+++ b/test/gl/bucket.test.cpp
@@ -109,9 +109,11 @@ TEST(Buckets, SymbolBucket) {
style::SymbolLayoutProperties::PossiblyEvaluated layout;
bool sdfIcons = false;
bool iconsNeedLinear = false;
+ bool sortFeaturesByY = false;
+ std::vector<SymbolInstance> symbolInstances;
gl::Context context;
- SymbolBucket bucket { layout, {}, 16.0f, 1.0f, 0, sdfIcons, iconsNeedLinear };
+ SymbolBucket bucket { layout, {}, 16.0f, 1.0f, 0, sdfIcons, iconsNeedLinear, sortFeaturesByY, symbolInstances };
ASSERT_FALSE(bucket.hasIconData());
ASSERT_FALSE(bucket.hasTextData());
ASSERT_FALSE(bucket.hasCollisionBoxData());