Skip to content

Commit

Permalink
Make symbol line fill tests more robust
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Nov 21, 2015
1 parent 11c8204 commit 711c38d
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/src/core/testqgslinefillsymbol.cpp
Expand Up @@ -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 );

Expand All @@ -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')" ) ) );
Expand Down
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.

0 comments on commit 711c38d

Please sign in to comment.