Skip to content
Permalink
Browse files

Fix linker error in test

  • Loading branch information
elpaso committed Jan 23, 2019
1 parent d748400 commit 83d5cb61ab50287a334a7064872ad1841b32933c
Showing with 2 additions and 2 deletions.
  1. +2 −2 tests/src/core/testqgsgml.cpp
@@ -120,7 +120,7 @@ void TestQgsGML::testFromURL()
QCOMPARE( featureMaps.size(), 1 );
QCOMPARE( gmlParser.idsMap().size(), 1 );
QCOMPARE( gmlParser.crs().authid(), QString( "EPSG:27700" ) );
QCOMPARE( featureMaps[0]->attribute( QStringLiteral( "intfield" ) ), 1 );
QCOMPARE( featureMaps[0]->attribute( QStringLiteral( "intfield" ) ).toInt(), 1 );
QVERIFY( featureMaps[0]->attribute( QStringLiteral( "nillablefield" ) ).isNull( ) );
delete featureMaps[ 0 ];
}
@@ -140,7 +140,7 @@ void TestQgsGML::testFromByteArray()
QMap<QgsFeatureId, QString > idsMap = gmlParser.idsMap();
QVERIFY( idsMap.constFind( 0 ) != idsMap.constEnd() );
QCOMPARE( idsMap[ 0 ], QString( "mytypename.1" ) );
QCOMPARE( featureMaps[0]->attribute( QStringLiteral( "intfield" ) ), 1 );
QCOMPARE( featureMaps[0]->attribute( QStringLiteral( "intfield" ) ).toInt(), 1 );
QVERIFY( featureMaps[0]->attribute( QStringLiteral( "nillablefield" ) ).isNull( ) );
delete featureMaps[ 0 ];
}

0 comments on commit 83d5cb6

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