File tree 2 files changed +3
-3
lines changed
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -336,7 +336,7 @@ bool QgsStyleV2::save( QString filename )
336
336
filename = mFileName ;
337
337
338
338
// TODO evaluate the requirement of this function and change implementation accordingly
339
- // TODO enable save TestStyleV2::testSaveLoad()
339
+ // TODO remove QEXPECT_FAIL from TestStyleV2::testSaveLoad() when done
340
340
#if 0
341
341
QDomDocument doc( "qgis_style" );
342
342
QDomElement root = doc.createElement( "qgis_style" );
Original file line number Diff line number Diff line change @@ -188,7 +188,8 @@ void TestStyleV2::testLoadColorRamps()
188
188
189
189
void TestStyleV2::testSaveLoad ()
190
190
{
191
- #if 0
191
+ QEXPECT_FAIL (" " , " save() currently disabled in core" , Abort);
192
+
192
193
mStyle ->save ();
193
194
mStyle ->clear ();
194
195
mStyle ->load ( QgsApplication::userStyleV2Path () );
@@ -205,7 +206,6 @@ void TestStyleV2::testSaveLoad()
205
206
if ( ramp )
206
207
delete ramp;
207
208
}
208
- #endif
209
209
}
210
210
211
211
You can’t perform that action at this time.
0 commit comments