@@ -51,8 +51,8 @@ class TestZipLayer: public QObject
51
51
// test item(s) in zip item (supply name or test all)
52
52
bool testZipItem ( QString myFileName, QString myChildName = " " , QString myDriverName = " " );
53
53
// get layer transparency to test for .qml loading
54
- int getLayerTransparency ( QString myFileName, QString myProviderKey, QString myScanZipSetting = " basic" );
55
- bool testZipItemTransparency ( QString myFileName, QString myProviderKey, int myTarget );
54
+ // int getLayerTransparency( QString myFileName, QString myProviderKey, QString myScanZipSetting = "basic" );
55
+ // bool testZipItemTransparency( QString myFileName, QString myProviderKey, int myTarget );
56
56
57
57
private slots:
58
58
@@ -77,13 +77,15 @@ class TestZipLayer: public QObject
77
77
void testTarItemVector ();
78
78
void testZipItemAll ();
79
79
void testTarItemAll ();
80
+ #if 0
80
81
// test that styles are loaded from .qml files outside zip files
81
82
void testZipItemVectorTransparency();
82
83
void testTarItemVectorTransparency();
83
84
void testGzipItemVectorTransparency();
84
85
void testZipItemRasterTransparency();
85
86
void testTarItemRasterTransparency();
86
87
void testGzipItemRasterTransparency();
88
+ #endif
87
89
// make sure items inside subfolders can be read
88
90
void testZipItemSubfolder ();
89
91
void testTarItemSubfolder ();
@@ -211,6 +213,7 @@ bool TestZipLayer::testZipItem( QString myFileName, QString myChildName, QString
211
213
return ok;
212
214
}
213
215
216
+ #if 0
214
217
int TestZipLayer::getLayerTransparency( QString myFileName, QString myProviderKey, QString myScanZipSetting )
215
218
{
216
219
int myTransparency = -1;
@@ -247,6 +250,7 @@ bool TestZipLayer::testZipItemTransparency( QString myFileName, QString myProvid
247
250
}
248
251
return true;
249
252
}
253
+ #endif
250
254
251
255
252
256
// slots
@@ -438,6 +442,7 @@ void TestZipLayer::testTarItemAll()
438
442
QVERIFY ( testZipItem ( mDataDir + " testtar.tgz" , " " ) );
439
443
}
440
444
445
+ #if 0
441
446
void TestZipLayer::testZipItemVectorTransparency()
442
447
{
443
448
#if GDAL_VERSION_NUM < 1800
@@ -479,6 +484,7 @@ void TestZipLayer::testGzipItemRasterTransparency()
479
484
{
480
485
QVERIFY( testZipItemTransparency( mDataDir + "landsat_b1.tif.gz", "gdal", 250 ) );
481
486
}
487
+ #endif
482
488
483
489
void TestZipLayer::testZipItemSubfolder ()
484
490
{
3 commit comments
etiennesky commentedon Apr 26, 2013
Jurgen - is there a way to test transparency with latest api?
jef-n commentedon Apr 26, 2013
No idea - otherwise I probably would have fixed the test ;)
etiennesky commentedon Apr 26, 2013
ok thanks, I'll wait until api freeze and check it out