Skip to content
Permalink
Browse files

Update atlas unit tests (fix the overview map frame style)

  • Loading branch information
Hugo Mercier
Hugo Mercier committed Oct 4, 2012
1 parent e4364f3 commit ea44e0f362a6802950298fb3c6f9eda4572057db
@@ -102,6 +102,12 @@ void TestQgsComposerMapAtlas::initTestCase()
mComposition->addComposerMap( mOverview );
mOverview->setNewExtent( QgsRectangle( 49670.718, 6415139.086, 699672.519, 7065140.887 ) );

// set the fill symbol of the overview map
QgsStringMap props2;
props2.insert( "color", "127,0,0,127" );
QgsFillSymbolV2* fillSymbol2 = QgsFillSymbolV2::createSimple( props2 );
mOverview->setOverviewFrameMapSymbol( fillSymbol2 );

// header label
mLabel1 = new QgsComposerLabel( mComposition );
mComposition->addComposerLabel( mLabel1 );
@@ -69,6 +69,12 @@ def testCase(self):
nextent = QgsRectangle( 49670.718, 6415139.086, 699672.519, 7065140.887 )
mOverview.setNewExtent( nextent )

# set the fill symbol of the overview map
props2 = { "color": "127,0,0,127" }
fillSymbol2 = QgsFillSymbolV2.createSimple( props2 )
mOverview.setOverviewFrameMapSymbol( fillSymbol2 );


# header label
mLabel1 = QgsComposerLabel( mComposition )
mComposition.addComposerLabel( mLabel1 )
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

0 comments on commit ea44e0f

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