Skip to content
Permalink
Browse files

remove GDAL_VERSION_MAJOR >= 2 test

  • Loading branch information
3nids committed Jan 30, 2017
1 parent 61d3147 commit cb2e81e44623d4bde8ac9ff6d1a8ded4aef1dd9b
Showing with 1 addition and 5 deletions.
  1. +1 −5 tests/src/core/testqgsinvertedpolygonrenderer.cpp
@@ -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

0 comments on commit cb2e81e

Please sign in to comment.
You can’t perform that action at this time.