Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix maprenderertest
By introducing some color tolerance
  • Loading branch information
m-kuhn committed Nov 11, 2014
1 parent 73231d9 commit ef5955a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/src/core/testqgsmaprenderer.cpp
Expand Up @@ -189,6 +189,7 @@ void TestQgsMapRenderer::performanceTest()
myChecker.setControlName( "expected_maprender" );
mMapSettings.setFlag( QgsMapSettings::Antialiasing );
myChecker.setMapSettings( mMapSettings );
myChecker.setColorTolerance( 5 );
bool myResultFlag = myChecker.runTest( "maprender" );
mReport += myChecker.report();
QVERIFY( myResultFlag );
Expand Down

0 comments on commit ef5955a

Please sign in to comment.