File tree Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Original file line number Diff line number Diff line change @@ -50,9 +50,7 @@ class TestQgsInvertedPolygon : public QObject
50
50
void graduatedSubRenderer ();
51
51
void preprocess ();
52
52
void projectionTest ();
53
- #if defined(GDAL_VERSION_NUM) && GDAL_VERSION_MAJOR >= 2
54
53
void curvedPolygons ();
55
- #endif
56
54
57
55
private:
58
56
bool mTestHasError ;
@@ -149,8 +147,7 @@ void TestQgsInvertedPolygon::projectionTest()
149
147
mMapSettings .setCrsTransformEnabled ( false );
150
148
}
151
149
152
- #if defined(GDAL_VERSION_NUM) && GDAL_VERSION_MAJOR >= 2
153
- // This test relies on GDAL support of curved polygons
150
+ // This test relies on GDAL support of curved polygons i.e. GDAL >= 2
154
151
void TestQgsInvertedPolygon::curvedPolygons ()
155
152
{
156
153
QString myCurvedPolysFileName = mTestDataDir + " curved_polys.gpkg" ;
@@ -166,7 +163,6 @@ void TestQgsInvertedPolygon::curvedPolygons()
166
163
QVERIFY ( imageCheck ( " inverted_polys_curved" ) );
167
164
mMapSettings .setLayers ( QStringList () << curvedLayer->id () );
168
165
}
169
- #endif
170
166
171
167
//
172
168
// Private helper functions not called directly by CTest
You can’t perform that action at this time.
0 commit comments