Skip to content

Commit

Permalink
Allow some mismatched pixels in inverted renderer test
Browse files Browse the repository at this point in the history
On my machine, there were ~200-800 mismatched pixels in each test image,
but visually they look the same.
  • Loading branch information
wonder-sk committed Jun 10, 2014
1 parent 3fe12df commit ec310a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/src/core/testqgsinvertedpolygonrenderer.cpp
Expand Up @@ -173,7 +173,7 @@ bool TestQgsInvertedPolygon::imageCheck( QString theTestType, const QgsRectangle
QgsRenderChecker myChecker;
myChecker.setControlName( "expected_" + theTestType );
myChecker.setMapSettings( mMapSettings );
bool myResultFlag = myChecker.runTest( theTestType );
bool myResultFlag = myChecker.runTest( theTestType, 1000 ); // allow some mismatched pixels
mReport += myChecker.report();
return myResultFlag;
}
Expand Down

0 comments on commit ec310a0

Please sign in to comment.