Opened 14 years ago

Closed 13 years ago

#915 closed task (fixed)

regress test for legacy.sql

Reported by: robe Owned by: robe
Priority: medium Milestone: PostGIS 2.0.0
Component: build Version: master
Keywords: Cc:

Description

Write up regression tests to install legacy.sql and test out old legacy functions — such as the wmsservers_old.sql we removed from the test suite.

This regression test has to be run LAST on the list since we don't want our other tests muddled by it.

Change History (6)

comment:1 by robe, 13 years ago

Type: defecttask

comment:2 by robe, 13 years ago

Component: postgisbuild/upgrade/install

comment:3 by robe, 13 years ago

Priority: blockermedium

not that critical

comment:4 by strk, 13 years ago

I see two files being installed: legacy_compatibility_layer.sql and legacy.sql, what is what ?

comment:5 by strk, 13 years ago

I get a failure when running the revived wmsserver_old:

 Running Geoserver 2.0 NG tests...
-Geoserver1|POLYGON
-Geoserver2|4326
+Geoserver1|GEOMETRY
+Geoserver2|0

comment:6 by strk, 13 years ago

Resolution: fixed
Status: newclosed

Alright, the wmsserver_old was doing explicit inserts in geometry_columns. I don't think we want to retain that level of backward compatibility so I converted the test to using AddGeometryColumn.

Ready in r9318, includes a test for uninstall_legacy.sql (now generated)

Note: See TracTickets for help on using tickets.