]> granicus.if.org Git - postgis/commitdiff
Add test numbers to ST_ChangeEdgeGeom regression cases
authorSandro Santilli <strk@keybit.net>
Fri, 17 Feb 2012 08:39:55 +0000 (08:39 +0000)
committerSandro Santilli <strk@keybit.net>
Fri, 17 Feb 2012 08:39:55 +0000 (08:39 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@9223 b70326c6-7e19-0410-871a-916f4a2858ee

topology/test/regress/st_changeedgegeom.sql
topology/test/regress/st_changeedgegeom_expected

index d2278492f38927c5c1ff4fe87b2f9c078f324913..af05e42887536d5faf45b1ffec8d99f16e1e91bf 100644 (file)
@@ -4,7 +4,7 @@ set client_min_messages to ERROR;
 
 
 -- good one
-SELECT topology.ST_ChangeEdgeGeom('city_data', 25,
+SELECT 'T1', topology.ST_ChangeEdgeGeom('city_data', 25,
  'LINESTRING(9 35, 11 33, 13 35)');
 
 -- start/end points mismatch
@@ -26,15 +26,15 @@ SELECT topology.ST_ChangeEdgeGeom('city_data', 25,
  'LINESTRING(9 35, 11 40, 13 35)');
 
 -- Test change in presence of edges sharing node (#1428)
-SELECT topology.ST_ChangeEdgeGeom('city_data', 5,
+SELECT 'T2', topology.ST_ChangeEdgeGeom('city_data', 5,
  'LINESTRING(41 40, 57 33)');
 
 -- Change to edge crossing old self 
-SELECT topology.ST_ChangeEdgeGeom('city_data', 5,
+SELECT 'T3', topology.ST_ChangeEdgeGeom('city_data', 5,
  'LINESTRING(41 40, 49 40, 49 34, 57 33)');
 
 -- Change a closed edge
-SELECT topology.ST_ChangeEdgeGeom('city_data', 26,
+SELECT 'T4', topology.ST_ChangeEdgeGeom('city_data', 26,
  'LINESTRING(4 31, 7 31, 4 34, 4 31)');
 
 -- TODO: test reverse direction of closed edge
index 3de3f8e57ae2fcaeeb75b4719751a81428aa4bd9..3f5b1fee357189168736e3bc47e8d6b94dc1ef9a 100644 (file)
@@ -4,13 +4,13 @@ t
 22
 26
 COMMIT
-Edge 25 changed
+T1|Edge 25 changed
 ERROR:  SQL/MM Spatial exception - start node not geometry start point.
 ERROR:  SQL/MM Spatial exception - end node not geometry end point.
 ERROR:  SQL/MM Spatial exception - geometry crosses a node
 ERROR:  SQL/MM Spatial exception - non-existent edge 666
 ERROR:  SQL/MM Spatial exception - geometry crosses an edge
-Edge 5 changed
-Edge 5 changed
-Edge 26 changed
+T2|Edge 5 changed
+T3|Edge 5 changed
+T4|Edge 26 changed
 Topology 'city_data' dropped