Skip to content
Permalink
Browse files

[composer] Fix failing grid tests

  • Loading branch information
nyalldawson committed Sep 3, 2014
1 parent c9e5341 commit b52d4f3a2466bbea2ba76ef94c1ed43fa40e509c
Showing with 2 additions and 0 deletions.
  1. +1 −0 tests/src/core/testqgscomposermapgrid.cpp
  2. +1 −0 tests/src/python/test_qgscomposermapgrid.py
@@ -174,6 +174,7 @@ void TestQgsComposerMapGrid::frameOnly()
mComposerMap->grid()->setAnnotationEnabled( false );
//set a frame for testing
mComposerMap->grid()->setFrameStyle( QgsComposerMapGrid::Zebra );
mComposerMap->grid()->setFramePenSize( 0.5 );
mComposerMap->grid()->setBlendMode( QPainter::CompositionMode_SourceOver );
QgsCompositionChecker checker( "composermap_gridframeonly", mComposition );

@@ -138,6 +138,7 @@ def testFrameOnly(self):
self.mComposerMap.grid().setIntervalY( 2000 )
self.mComposerMap.grid().setAnnotationEnabled( False )
self.mComposerMap.grid().setFrameStyle( QgsComposerMapGrid.Zebra )
self.mComposerMap.grid().setFramePenSize( 0.5 )
self.mComposerMap.grid().setBlendMode( QPainter.CompositionMode_SourceOver )

checker = QgsCompositionChecker('composermap_gridframeonly', self.mComposition)

0 comments on commit b52d4f3

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