Layout map test reference image updates
@ -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()
|
||||
@ -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()
|
||||
|
Before Width: | Height: | Size: 20 KiB After Width: | Height: | Size: 20 KiB |
Before Width: | Height: | Size: 16 KiB After Width: | Height: | Size: 17 KiB |
Before Width: | Height: | Size: 29 KiB After Width: | Height: | Size: 29 KiB |
Before Width: | Height: | Size: 46 KiB After Width: | Height: | Size: 46 KiB |
After Width: | Height: | Size: 29 KiB |
After Width: | Height: | Size: 41 KiB |