Skip to content
Permalink
Browse files

fix style test

  • Loading branch information
etiennesky committed Aug 25, 2012
1 parent 97a6991 commit 7497e532038539865d623232b0dfe7f3a36f68d4
Showing with 3 additions and 3 deletions.
  1. +3 −3 tests/src/core/testqgsstylev2.cpp
@@ -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()

0 comments on commit 7497e53

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