remove GDAL_VERSION_MAJOR >= 2 test

This commit is contained in:
Denis Rouzaud 2017-01-30 13:52:24 +01:00
parent 61d3147261
commit cb2e81e446

View File

@ -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