Skip to content
Permalink
Browse files
Allow some mismatched pixels in inverted renderer test
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 ec310a0e947d49a35d27725476a088be2bedbb12
Showing with 1 addition and 1 deletion.
  1. +1 −1 tests/src/core/testqgsinvertedpolygonrenderer.cpp
@@ -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;
}

0 comments on commit ec310a0

Please sign in to comment.