From 6ef2710e5cfb5ee4258583a20d55320e90faa8a5 Mon Sep 17 00:00:00 2001 From: zmiao Date: Fri, 30 Aug 2019 08:24:03 +0300 Subject: [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 --- test/gl/bucket.test.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'test') 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()); -- cgit v1.2.1