Skip to content
Permalink
Browse files

Make symbol line fill tests more robust

  • Loading branch information
nyalldawson committed Nov 21, 2015
1 parent 11c8204 commit 711c38dfaf6d04aa30c1247d91723d37d025a5ed
@@ -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.
Binary file not shown.
Binary file not shown.

0 comments on commit 711c38d

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