Skip to content

Commit

Permalink
3 coordinate system test failures left
Browse files Browse the repository at this point in the history
  • Loading branch information
timlinux committed Apr 7, 2012
1 parent 6adf0f8 commit 4d928f6
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions tests/src/core/testqgscoordinatereferencesystem.cpp
Expand Up @@ -70,7 +70,7 @@ void TestQgsCoordinateReferenceSystem::initTestCase()
QgsApplication::initQgis( );
QgsApplication::showSettings();

};
}

void TestQgsCoordinateReferenceSystem::wktCtor()
{
Expand Down Expand Up @@ -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()
{
Expand Down Expand Up @@ -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 );
}
Expand Down

0 comments on commit 4d928f6

Please sign in to comment.