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.
This commit is contained in:
Martin Dobias 2014-06-10 12:06:22 +07:00
parent 3fe12df507
commit ec310a0e94

View File

@ -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;
}