Skip to content
Permalink
Browse files

Update test mask image

  • Loading branch information
nyalldawson committed May 19, 2016
1 parent 3ac9364 commit d73210a5f81694ecfc0283c9acc2c2082273eeb6
@@ -213,7 +213,7 @@ void TestQgsMapCanvas::testMagnification()

checker.setControlName( "expected_map_magnification" );
checker.setRenderedImage( tmpName );
checker.setSizeTolerance( 2, 2 );
checker.setSizeTolerance( 10, 10 );
QCOMPARE( checker.compareImages( "map_magnification", 100 ), true );

// set magnification factor (auto refresh)
@@ -232,7 +232,7 @@ void TestQgsMapCanvas::testMagnification()
checker.setRenderedImage( tmpName );
checker.setControlName( "expected_map_magnification_6_5" );
controlImageDir = testDataDir + "control_images/";
checker.setSizeTolerance( 2, 2 );
checker.setSizeTolerance( 10, 10 );
QCOMPARE( checker.compareImages( "map_magnification_6_5", 100 ), true );

// set magnification factor (auto refresh)
@@ -250,7 +250,7 @@ void TestQgsMapCanvas::testMagnification()

checker.setControlName( "expected_map_magnification" );
checker.setRenderedImage( tmpName );
checker.setSizeTolerance( 2, 2 );
checker.setSizeTolerance( 10, 10 );
QCOMPARE( checker.compareImages( "map_magnification", 100 ), true );
}

Binary file not shown.
Binary file not shown.

0 comments on commit d73210a

Please sign in to comment.
You can’t perform that action at this time.