mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-15 00:04:00 -04:00
3 coordinate system test failures left
This commit is contained in:
parent
6adf0f8037
commit
4d928f6619
@ -70,7 +70,7 @@ void TestQgsCoordinateReferenceSystem::initTestCase()
|
||||
QgsApplication::initQgis( );
|
||||
QgsApplication::showSettings();
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
void TestQgsCoordinateReferenceSystem::wktCtor()
|
||||
{
|
||||
@ -126,7 +126,9 @@ void TestQgsCoordinateReferenceSystem::createFromSrid()
|
||||
void TestQgsCoordinateReferenceSystem::createFromWkt()
|
||||
{
|
||||
QgsCoordinateReferenceSystem myCrs;
|
||||
QVERIFY( !myCrs.createFromWkt( GEOWKT ) );
|
||||
myCrs.createFromWkt( GEOWKT );
|
||||
debugPrint( myCrs );
|
||||
QVERIFY( myCrs.isValid() );
|
||||
}
|
||||
void TestQgsCoordinateReferenceSystem::createFromSrsId()
|
||||
{
|
||||
@ -160,7 +162,7 @@ void TestQgsCoordinateReferenceSystem::equality()
|
||||
QgsCoordinateReferenceSystem myCrs;
|
||||
myCrs.createFromSrid( GEOSRID );
|
||||
QgsCoordinateReferenceSystem myCrs2;
|
||||
myCrs2.createFromSrsId( GEOSRID );
|
||||
myCrs2.createFromSrsId( GEOCRS_ID );
|
||||
debugPrint( myCrs );
|
||||
QVERIFY( myCrs == myCrs2 );
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user