File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -70,7 +70,7 @@ void TestQgsCoordinateReferenceSystem::initTestCase()
70
70
QgsApplication::initQgis ( );
71
71
QgsApplication::showSettings ();
72
72
73
- };
73
+ }
74
74
75
75
void TestQgsCoordinateReferenceSystem::wktCtor ()
76
76
{
@@ -126,7 +126,9 @@ void TestQgsCoordinateReferenceSystem::createFromSrid()
126
126
void TestQgsCoordinateReferenceSystem::createFromWkt ()
127
127
{
128
128
QgsCoordinateReferenceSystem myCrs;
129
- QVERIFY ( !myCrs.createFromWkt ( GEOWKT ) );
129
+ myCrs.createFromWkt ( GEOWKT );
130
+ debugPrint ( myCrs );
131
+ QVERIFY ( myCrs.isValid () );
130
132
}
131
133
void TestQgsCoordinateReferenceSystem::createFromSrsId ()
132
134
{
@@ -160,7 +162,7 @@ void TestQgsCoordinateReferenceSystem::equality()
160
162
QgsCoordinateReferenceSystem myCrs;
161
163
myCrs.createFromSrid ( GEOSRID );
162
164
QgsCoordinateReferenceSystem myCrs2;
163
- myCrs2.createFromSrsId ( GEOSRID );
165
+ myCrs2.createFromSrsId ( GEOCRS_ID );
164
166
debugPrint ( myCrs );
165
167
QVERIFY ( myCrs == myCrs2 );
166
168
}
You can’t perform that action at this time.
0 commit comments