Skip to content

Commit 4d928f6

Browse files
committed
3 coordinate system test failures left
1 parent 6adf0f8 commit 4d928f6

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

tests/src/core/testqgscoordinatereferencesystem.cpp

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ void TestQgsCoordinateReferenceSystem::initTestCase()
7070
QgsApplication::initQgis( );
7171
QgsApplication::showSettings();
7272

73-
};
73+
}
7474

7575
void TestQgsCoordinateReferenceSystem::wktCtor()
7676
{
@@ -126,7 +126,9 @@ void TestQgsCoordinateReferenceSystem::createFromSrid()
126126
void TestQgsCoordinateReferenceSystem::createFromWkt()
127127
{
128128
QgsCoordinateReferenceSystem myCrs;
129-
QVERIFY( !myCrs.createFromWkt( GEOWKT ) );
129+
myCrs.createFromWkt( GEOWKT );
130+
debugPrint( myCrs );
131+
QVERIFY( myCrs.isValid() );
130132
}
131133
void TestQgsCoordinateReferenceSystem::createFromSrsId()
132134
{
@@ -160,7 +162,7 @@ void TestQgsCoordinateReferenceSystem::equality()
160162
QgsCoordinateReferenceSystem myCrs;
161163
myCrs.createFromSrid( GEOSRID );
162164
QgsCoordinateReferenceSystem myCrs2;
163-
myCrs2.createFromSrsId( GEOSRID );
165+
myCrs2.createFromSrsId( GEOCRS_ID );
164166
debugPrint( myCrs );
165167
QVERIFY( myCrs == myCrs2 );
166168
}

0 commit comments

Comments
 (0)