mirror of
https://github.com/qgis/QGIS.git
synced 2025-03-30 00:04:11 -04:00
remove GDAL_VERSION_MAJOR >= 2 test
This commit is contained in:
parent
61d3147261
commit
cb2e81e446
@ -50,9 +50,7 @@ class TestQgsInvertedPolygon : public QObject
|
||||
void graduatedSubRenderer();
|
||||
void preprocess();
|
||||
void projectionTest();
|
||||
#if defined(GDAL_VERSION_NUM) && GDAL_VERSION_MAJOR >= 2
|
||||
void curvedPolygons();
|
||||
#endif
|
||||
|
||||
private:
|
||||
bool mTestHasError;
|
||||
@ -149,8 +147,7 @@ void TestQgsInvertedPolygon::projectionTest()
|
||||
mMapSettings.setCrsTransformEnabled( false );
|
||||
}
|
||||
|
||||
#if defined(GDAL_VERSION_NUM) && GDAL_VERSION_MAJOR >= 2
|
||||
// This test relies on GDAL support of curved polygons
|
||||
// This test relies on GDAL support of curved polygons i.e. GDAL >= 2
|
||||
void TestQgsInvertedPolygon::curvedPolygons()
|
||||
{
|
||||
QString myCurvedPolysFileName = mTestDataDir + "curved_polys.gpkg";
|
||||
@ -166,7 +163,6 @@ void TestQgsInvertedPolygon::curvedPolygons()
|
||||
QVERIFY( imageCheck( "inverted_polys_curved" ) );
|
||||
mMapSettings.setLayers( QStringList() << curvedLayer->id() );
|
||||
}
|
||||
#endif
|
||||
|
||||
//
|
||||
// Private helper functions not called directly by CTest
|
||||
|
Loading…
x
Reference in New Issue
Block a user