Skip to content

Commit

Permalink
fix style test
Browse files Browse the repository at this point in the history
  • Loading branch information
etiennesky committed Aug 25, 2012
1 parent 97a6991 commit 7497e53
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/src/core/testqgsstylev2.cpp
Expand Up @@ -127,13 +127,13 @@ void TestStyleV2::testCreateColorRamps()

// discrete ramp with no variant
QgsCptCityColorRampV2* cc1Ramp = new QgsCptCityColorRampV2( "cb/seq/PuBuGn_06", "" );
QVERIFY( mStyle->addColorRamp( "test_cc1", cc1Ramp ) );
QVERIFY( mStyle->addColorRamp( "test_cc1", cc1Ramp, true ) );
// discrete ramp with variant
QgsCptCityColorRampV2* cc2Ramp = new QgsCptCityColorRampV2( "cb/div/PiYG", "_10" );
QVERIFY( mStyle->addColorRamp( "test_cc2", cc2Ramp ) );
QVERIFY( mStyle->addColorRamp( "test_cc2", cc2Ramp, true ) );
// continuous ramp
QgsCptCityColorRampV2* cc3Ramp = new QgsCptCityColorRampV2( "grass/byr", "" );
QVERIFY( mStyle->addColorRamp( "test_cc3", cc3Ramp ) );
QVERIFY( mStyle->addColorRamp( "test_cc3", cc3Ramp, true ) );
}

void TestStyleV2::testLoadColorRamps()
Expand Down

0 comments on commit 7497e53

Please sign in to comment.