summaryrefslogtreecommitdiff
path: root/render-test
diff options
context:
space:
mode:
authorMikhail Pozdnyakov <mikhail.pozdnyakov@mapbox.com>2020-04-09 12:40:15 +0300
committerMikhail Pozdnyakov <mikhail.pozdnyakov@mapbox.com>2020-04-09 17:18:21 +0300
commite6c156420d2d287bd6d3449af3338f550dbf84f4 (patch)
tree862f23a5be66de88d2ef2e19df59aeb452f2c9a4 /render-test
parent718dd295abd099fbfd323dc46543a4eb5c6cf36b (diff)
downloadqtlocation-mapboxgl-e6c156420d2d287bd6d3449af3338f550dbf84f4.tar.gz
[core] PlacedSymbolData contains layer id
Diffstat (limited to 'render-test')
-rw-r--r--render-test/runner.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/render-test/runner.cpp b/render-test/runner.cpp
index 2691edd6a5..3ccb0da0d7 100644
--- a/render-test/runner.cpp
+++ b/render-test/runner.cpp
@@ -814,8 +814,8 @@ void TestRunner::run(TestMetadata& metadata) {
ss << std::endl
<< ++metadata.duplicationsCount << ". \"" << cv.to_bytes(placedSymbol.key) << "\" "
<< (isIcon ? "icon" : "text") << " ((" << box.min.x << ", " << box.min.y << "), ("
- << box.max.x << ", " << box.max.y << ")) "
- << "at " << util::toString(tileId);
+ << box.max.x << ", " << box.max.y << ")) from layer: " << placedSymbol.layer << " at "
+ << util::toString(tileId);
duplicationsReport += ss.str();
return;
}
@@ -824,7 +824,7 @@ void TestRunner::run(TestMetadata& metadata) {
ss << std::endl
<< ++metadata.labelCutOffFound << ". \"" << cv.to_bytes(placedSymbol.key) << "\" "
<< (isIcon ? "icon" : "text") << " ((" << box.min.x << ", " << box.min.y << "), ("
- << box.max.x << ", " << box.max.y << "))"
+ << box.max.x << ", " << box.max.y << ")) from layer: " << placedSymbol.layer
<< (placed ? " is placed at " : " is not placed at ") << util::toString(tileId) << " and"
<< (it->placed ? " placed at " : " not placed at ") << util::toString(it->tileId);
cutOffLabelsReport += ss.str();