File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -127,13 +127,13 @@ void TestStyleV2::testCreateColorRamps()
127
127
128
128
// discrete ramp with no variant
129
129
QgsCptCityColorRampV2* cc1Ramp = new QgsCptCityColorRampV2 ( " cb/seq/PuBuGn_06" , " " );
130
- QVERIFY ( mStyle ->addColorRamp ( " test_cc1" , cc1Ramp ) );
130
+ QVERIFY ( mStyle ->addColorRamp ( " test_cc1" , cc1Ramp, true ) );
131
131
// discrete ramp with variant
132
132
QgsCptCityColorRampV2* cc2Ramp = new QgsCptCityColorRampV2 ( " cb/div/PiYG" , " _10" );
133
- QVERIFY ( mStyle ->addColorRamp ( " test_cc2" , cc2Ramp ) );
133
+ QVERIFY ( mStyle ->addColorRamp ( " test_cc2" , cc2Ramp, true ) );
134
134
// continuous ramp
135
135
QgsCptCityColorRampV2* cc3Ramp = new QgsCptCityColorRampV2 ( " grass/byr" , " " );
136
- QVERIFY ( mStyle ->addColorRamp ( " test_cc3" , cc3Ramp ) );
136
+ QVERIFY ( mStyle ->addColorRamp ( " test_cc3" , cc3Ramp, true ) );
137
137
}
138
138
139
139
void TestStyleV2::testLoadColorRamps ()
You can’t perform that action at this time.
0 commit comments