Skip to content
Permalink
Browse files
3 coordinate system test failures left
  • Loading branch information
timlinux committed Apr 7, 2012
1 parent 6adf0f8 commit 4d928f661989e5583ec9960df2e456e5613f3b63
Showing with 5 additions and 3 deletions.
  1. +5 −3 tests/src/core/testqgscoordinatereferencesystem.cpp
@@ -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 );
}

0 comments on commit 4d928f6

Please sign in to comment.