diff options
author | zmiao <miao.zhao@mapbox.com> | 2019-08-30 08:24:03 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-08-30 08:24:03 +0300 |
commit | 6ef2710e5cfb5ee4258583a20d55320e90faa8a5 (patch) | |
tree | 1c840291ea93ec38c2745348678879f10217bf7c /test | |
parent | 29b11a503766efb469036b38f010400cea57967e (diff) | |
download | qtlocation-mapboxgl-6ef2710e5cfb5ee4258583a20d55320e90faa8a5.tar.gz |
[core] fix collisionBox alignment when Icon/text translation is enabled (#15467)
* add initial fix
* fix bug for collision circle
* refind code structure
* fix indentation
* update test
* refind code structure
* Add changelog
* Add comment for boolean
Diffstat (limited to 'test')
-rw-r--r-- | test/gl/bucket.test.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/test/gl/bucket.test.cpp b/test/gl/bucket.test.cpp index f30606ee42..a3dbdb8f99 100644 --- a/test/gl/bucket.test.cpp +++ b/test/gl/bucket.test.cpp @@ -125,7 +125,10 @@ TEST(Buckets, SymbolBucket) { ASSERT_FALSE(bucket.hasIconData()); ASSERT_FALSE(bucket.hasSdfIconData()); ASSERT_FALSE(bucket.hasTextData()); - ASSERT_FALSE(bucket.hasCollisionBoxData()); + ASSERT_FALSE(bucket.hasIconCollisionBoxData()); + ASSERT_FALSE(bucket.hasTextCollisionBoxData()); + ASSERT_FALSE(bucket.hasIconCollisionCircleData()); + ASSERT_FALSE(bucket.hasTextCollisionCircleData()); ASSERT_FALSE(bucket.hasData()); ASSERT_FALSE(bucket.needsUpload()); |