Skip to content

Commit

Permalink
Update test mask image
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed May 19, 2016
1 parent 3ac9364 commit d73210a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/src/gui/testqgsmapcanvas.cpp
Expand Up @@ -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)
Expand All @@ -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)
Expand All @@ -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 );
}

Expand Down
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit d73210a

Please sign in to comment.