Skip to content

Commit 9d49422

Browse files
author
Hugo Mercier
committed
Inverted polygon renderer: add test for projected and merged
1 parent 315b28c commit 9d49422

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tests/src/core/testqgsinvertedpolygonrenderer.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -125,16 +125,16 @@ void TestQgsInvertedPolygon::preprocess()
125125
QVERIFY( imageCheck( "inverted_polys_preprocess" ) );
126126
}
127127

128-
//-8639421,8382691 : -3969110,12570905
129128
void TestQgsInvertedPolygon::projectionTest()
130129
{
131-
// FIXME will have to find some overlapping polygons
132130
mReport += "<h2>Inverted polygon renderer, projection test</h2>\n";
133131
mMapSettings.setDestinationCrs( QgsCoordinateReferenceSystem("EPSG:2154") );
134132
mMapSettings.setCrsTransformEnabled( true );
135133
QgsRectangle extent( QgsPoint(-8639421,8382691), QgsPoint(-3969110,12570905) );
136134
QVERIFY( setQml( "inverted_polys_single.qml" ) );
137135
QVERIFY( imageCheck( "inverted_polys_projection", &extent ) );
136+
QVERIFY( setQml( "inverted_polys_preprocess.qml" ) );
137+
QVERIFY( imageCheck( "inverted_polys_projection2", &extent ) );
138138
mMapSettings.setCrsTransformEnabled( false );
139139
}
140140

0 commit comments

Comments
 (0)