Skip to content
Permalink
Browse files

Build fixes

  • Loading branch information
nyalldawson committed Dec 20, 2019
1 parent 1d505d0 commit e33305e7ccd5a5ea8cb0995a5823b60e645a4747
@@ -214,8 +214,7 @@ void TestQgsMeshCalculator::singleOp()

void TestQgsMeshCalculator::calcWithLayers()
{
QgsCoordinateReferenceSystem crs;
crs.createFromId( 32633, QgsCoordinateReferenceSystem::EpsgCrsId );
QgsCoordinateReferenceSystem crs( QStringLiteral( "EPSG:32633" ) );
QgsRectangle extent( 783235, 3348110, 783350, 3347960 );

QTemporaryFile tmpFile;
@@ -345,7 +345,7 @@ void TestQgsCoordinateReferenceSystem::ogcWmsCrsCache()
QVERIFY( !crs4.isValid() );

QgsCoordinateReferenceSystem::invalidateCache();
QVERIFY( !QgsCoordinateReferenceSystem::sOgcCache.contains( QStringLiteral( "EPSG:4326" ) ) );
QVERIFY( !QgsCoordinateReferenceSystem::sOgcCache.contains( QStringLiteral( "EPSG:4326" ) ) );
}

void TestQgsCoordinateReferenceSystem::createFromSrid()
@@ -1464,7 +1464,7 @@ void TestQgsCoordinateReferenceSystem::recentProjections()
QCOMPARE( recent.size(), 1 );
QCOMPARE( recent.at( 0 ).authid(), QStringLiteral( "EPSG:3111" ) );

QgsCoordinateReferenceSystem::pushRecentCoordinateReferenceSystem( QgsCoordinateReferenceSystem::fromProj( geoProj4() ) );
QgsCoordinateReferenceSystem::pushRecentCoordinateReferenceSystem( QgsCoordinateReferenceSystem::fromProj( GEOPROJ4 ) );
recent = QgsCoordinateReferenceSystem::recentCoordinateReferenceSystems();
QCOMPARE( recent.size(), 2 );
QCOMPARE( recent.at( 0 ).authid(), QStringLiteral( "EPSG:4326" ) );

0 comments on commit e33305e

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