Skip to content
Permalink
Browse files
Inverted polygon renderer: add test for projected and merged
  • Loading branch information
Hugo Mercier committed May 27, 2014
1 parent 315b28c commit 9d49422878e19e58dff55ce5ecb44eddfe7dcf20
@@ -125,16 +125,16 @@ void TestQgsInvertedPolygon::preprocess()
QVERIFY( imageCheck( "inverted_polys_preprocess" ) );
}

//-8639421,8382691 : -3969110,12570905
void TestQgsInvertedPolygon::projectionTest()
{
// FIXME will have to find some overlapping polygons
mReport += "<h2>Inverted polygon renderer, projection test</h2>\n";
mMapSettings.setDestinationCrs( QgsCoordinateReferenceSystem("EPSG:2154") );
mMapSettings.setCrsTransformEnabled( true );
QgsRectangle extent( QgsPoint(-8639421,8382691), QgsPoint(-3969110,12570905) );
QVERIFY( setQml( "inverted_polys_single.qml" ) );
QVERIFY( imageCheck( "inverted_polys_projection", &extent ) );
QVERIFY( setQml( "inverted_polys_preprocess.qml" ) );
QVERIFY( imageCheck( "inverted_polys_projection2", &extent ) );
mMapSettings.setCrsTransformEnabled( false );
}

Binary file not shown.

0 comments on commit 9d49422

Please sign in to comment.