Skip to content
Permalink
Browse files

Raster marker test

  • Loading branch information
nyalldawson committed Nov 17, 2020
1 parent c784831 commit 2785147c47a417921c0bf684778a1ac64d30ae27
@@ -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 2785147

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