[geos-commits] r3747 - trunk/tests/xmltester

svn_geos at osgeo.org svn_geos at osgeo.org
Mon Jan 14 03:12:35 PST 2013


Author: strk
Date: 2013-01-14 03:12:35 -0800 (Mon, 14 Jan 2013)
New Revision: 3747

Modified:
   trunk/tests/xmltester/XMLTester.cpp
Log:
Have XMLTester use POINT EMPTY for a null return from getInteriorPoint

Modified: trunk/tests/xmltester/XMLTester.cpp
===================================================================
--- trunk/tests/xmltester/XMLTester.cpp	2013-01-14 11:08:51 UTC (rev 3746)
+++ trunk/tests/xmltester/XMLTester.cpp	2013-01-14 11:12:35 UTC (rev 3747)
@@ -1132,7 +1132,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