Skip to content

Commit

Permalink
Add test of label size before and after registering feature
Browse files Browse the repository at this point in the history
  • Loading branch information
strk committed Oct 19, 2023
1 parent fe99826 commit b62cfc7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/src/core/testqgslabelingengine.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -950,6 +950,7 @@ void TestQgsLabelingEngine::testRegisterFeatureUnprojectible()
engine.addProvider( provider );
provider->prepare( context, attributes );

QCOMPARE( provider->mLabels.size(), 0 );
provider->registerFeature( f, context );
QCOMPARE( provider->mLabels.size(), 0 );
}
Expand Down

0 comments on commit b62cfc7

Please sign in to comment.