Skip to content
Permalink
Browse files

Raster marker test

(cherry picked from commit 652d8bf)
  • Loading branch information
nyalldawson committed Nov 20, 2020
1 parent b04add8 commit 518ec9872e1538477505e057e15f95b74560b273
@@ -54,6 +54,7 @@ class TestQgsRasterMarker : public QObject
void rasterMarkerSymbol();
void anchor();
void alpha();
void symbolOpacity();
void rotation();
void fixedAspectRatio();

@@ -166,6 +167,16 @@ void TestQgsRasterMarker::alpha()
QVERIFY( result );
}

void TestQgsRasterMarker::symbolOpacity()
{
// test combination of layer opacity AND symbol level opacity
mRasterMarker->setOpacity( 0.5 );
mMarkerSymbol->setOpacity( 0.5 );
bool result = imageCheck( QStringLiteral( "rastermarker_opacity" ) );
mMarkerSymbol->setOpacity( 1.0 );
QVERIFY( result );
}

void TestQgsRasterMarker::rotation()
{
mReport += QLatin1String( "<h2>Raster marker rotation</h2>\n" );
Binary file not shown.

0 comments on commit 518ec98

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