Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Test updates
(cherry picked from commit 467f4f1)
  • Loading branch information
nyalldawson committed Nov 20, 2020
1 parent dcb9940 commit 2fe28dd
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/src/core/testqgsfontmarker.cpp
Expand Up @@ -216,6 +216,7 @@ void TestQgsFontMarkerSymbol::opacityWithDataDefinedColor()
mFontMarkerLayer->setStrokeColor( QColor( 0, 0, 0 ) );
QFont font = QgsFontUtils::getStandardTestFont( QStringLiteral( "Bold" ) );
mFontMarkerLayer->setFontFamily( font.family() );
mFontMarkerLayer->setDataDefinedProperties( QgsPropertyCollection() );
mFontMarkerLayer->setCharacter( QChar( 'X' ) );
mFontMarkerLayer->setSize( 12 );
mFontMarkerLayer->setDataDefinedProperty( QgsSymbolLayer::PropertyFillColor, QgsProperty::fromExpression( QStringLiteral( "if(importance > 2, 'red', 'green')" ) ) );
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.

0 comments on commit 2fe28dd

Please sign in to comment.