Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Layout map test reference image updates
  • Loading branch information
nyalldawson committed Dec 20, 2018
1 parent b46f499 commit 620baa0
Show file tree
Hide file tree
Showing 7 changed files with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/src/core/testqgslayoutmap.cpp
Expand Up @@ -93,6 +93,9 @@ void TestQgsLayoutMap::initTestCase()

// some layers need to be in project for data-defined layers functionality
QgsProject::instance()->addMapLayers( QList<QgsMapLayer *>() << mRasterLayer << mPointsLayer << mPolysLayer << mLinesLayer );

mReport = QStringLiteral( "<h1>Composer Map Tests</h1>\n" );

}

void TestQgsLayoutMap::cleanupTestCase()
Expand Down Expand Up @@ -120,7 +123,6 @@ void TestQgsLayoutMap::init()
mComposerMap->setLayers( QList<QgsMapLayer *>() << mRasterLayer );
mComposition->addComposerMap( mComposerMap );
#endif
mReport = QStringLiteral( "<h1>Composer Map Tests</h1>\n" );
}

void TestQgsLayoutMap::cleanup()
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.
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 620baa0

Please sign in to comment.