Skip to content
Permalink
Browse files

Make symbol line fill tests more robust

(cherry-picked from 711c38d)
  • Loading branch information
nyalldawson committed Nov 26, 2015
1 parent ea863d2 commit 6fcce7a987d9359bf831ad5ff09b9933a52c275a
@@ -139,7 +139,7 @@ void TestQgsLineFillSymbol::lineFillSymbol()

QgsStringMap properties;
properties.insert( "color", "0,0,0,255" );
properties.insert( "width", "0.3" );
properties.insert( "width", "1" );
properties.insert( "capstyle", "flat" );
QgsLineSymbolV2* lineSymbol = QgsLineSymbolV2::createSimple( properties );

@@ -153,7 +153,7 @@ void TestQgsLineFillSymbol::dataDefinedSubSymbol()

QgsStringMap properties;
properties.insert( "color", "0,0,0,255" );
properties.insert( "width", "0.3" );
properties.insert( "width", "1" );
properties.insert( "capstyle", "flat" );
QgsLineSymbolV2* lineSymbol = QgsLineSymbolV2::createSimple( properties );
lineSymbol->symbolLayer( 0 )->setDataDefinedProperty( "color", new QgsDataDefined( QString( "if(\"Name\" ='Lake','#ff0000','#ff00ff')" ) ) );
Binary file not shown.
Binary file not shown.

0 comments on commit 6fcce7a

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