From 25897505953485338a58442fc37f32676b16b42f Mon Sep 17 00:00:00 2001 From: Martin Dobias Date: Wed, 15 Apr 2020 08:39:16 +0200 Subject: [PATCH] Bring back commented out lines in the test --- tests/src/app/testqgsmaptoolidentifyaction.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/src/app/testqgsmaptoolidentifyaction.cpp b/tests/src/app/testqgsmaptoolidentifyaction.cpp index 7490f096bfd..cf9c6255430 100644 --- a/tests/src/app/testqgsmaptoolidentifyaction.cpp +++ b/tests/src/app/testqgsmaptoolidentifyaction.cpp @@ -696,13 +696,12 @@ void TestQgsMapToolIdentifyAction::identifyVectorTile() QList results; results = testIdentifyVectorTile( tempLayer, 15186127, -2974969 ); QCOMPARE( results.size(), 1 ); -#if 0 QCOMPARE( results[0].mLayer, tempLayer ); QCOMPARE( results[0].mLabel, QStringLiteral( "place" ) ); QCOMPARE( results[0].mFeature.geometry().wkbType(), QgsWkbTypes::Point ); QCOMPARE( results[0].mFeature.attribute( QStringLiteral( "class" ) ).toString(), QStringLiteral( "country" ) ); QCOMPARE( results[0].mFeature.attribute( QStringLiteral( "name" ) ).toString(), QStringLiteral( "Australia" ) ); -#endif + delete tempLayer; }