[geos-commits] r3745 - branches/3.3/tests/xmltester
svn_geos at osgeo.org
svn_geos at osgeo.org
Mon Jan 14 03:05:24 PST 2013
Author: strk
Date: 2013-01-14 03:05:23 -0800 (Mon, 14 Jan 2013)
New Revision: 3745
Modified:
branches/3.3/tests/xmltester/XMLTester.cpp
Log:
Have XMLTester use POINT EMPTY for a null return from getInteriorPoint
Modified: branches/3.3/tests/xmltester/XMLTester.cpp
===================================================================
--- branches/3.3/tests/xmltester/XMLTester.cpp 2013-01-14 09:50:57 UTC (rev 3744)
+++ branches/3.3/tests/xmltester/XMLTester.cpp 2013-01-14 11:05:23 UTC (rev 3745)
@@ -1133,7 +1133,7 @@
GeomAutoPtr gRealRes(gT->getInteriorPoint());
if ( gRealRes.get() ) gRealRes->normalize();
- else gRealRes.reset(factory->createGeometryCollection());
+ else gRealRes.reset(factory->createPoint());
if (gRes->compareTo(gRealRes.get())==0) success=1;
More information about the geos-commits
mailing list