mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-15 00:04:00 -04:00
Fix linker error in test
This commit is contained in:
parent
d7484005e3
commit
83d5cb61ab
@ -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 ];
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user