Skip to content

Commit

Permalink
Inverted polygon renderer: add test for projected and merged
Browse files Browse the repository at this point in the history
  • Loading branch information
Hugo Mercier committed May 27, 2014
1 parent 315b28c commit 9d49422
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/src/core/testqgsinvertedpolygonrenderer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 );
}

Expand Down
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 9d49422

Please sign in to comment.