postgis/regress
Kevin Neufeld f005e965d6 initial load
git-svn-id: http://svn.osgeo.org/postgis/trunk@2567 b70326c6-7e19-0410-871a-916f4a2858ee
2007-01-03 17:28:03 +00:00
..
loader Marked shapefiles as binary, corrected accidentally mangled ones 2006-07-27 15:06:11 +00:00
affine.sql qualified all geometry arguments. 2006-06-26 00:40:45 +00:00
affine_expected Additional bbox tests for transcale, rotateX and rotateY 2006-05-17 07:52:55 +00:00
ctors.sql Added tests for makeline, makebox2d and makebox3d 2006-07-28 13:07:52 +00:00
ctors_expected Added tests for makeline, makebox2d and makebox3d 2006-07-28 13:07:52 +00:00
isvalid_test Added transaction begin and end. 2003-06-12 22:25:04 +00:00
long_xact.sql Added Long Transaction Support routines, dox and regress test. 2006-06-25 23:59:33 +00:00
long_xact_expected Added Long Transaction Support routines, dox and regress test. 2006-06-25 23:59:33 +00:00
lwgeom_regress.sql Fixed bug in ptarray_locate_point() - added regress test for specific case 2006-01-13 09:11:14 +00:00
lwgeom_regress_expected Added typedefs and serialization/deserialization functionality for sql-mm defined curved geometry types. Added a point_in_polygon short-circuit for contains and within functions. 2006-12-01 22:16:44 +00:00
Makefile Added test to fix that permitted gist indexes to have more than 459 null geometries in a table 2006-12-20 18:44:55 +00:00
measures.sql Moved 'measures' query into a specific file, added a test for bug #108 2006-05-22 15:29:19 +00:00
measures_expected Moved 'measures' query into a specific file, added a test for bug #108 2006-05-22 15:29:19 +00:00
README * regress/README: wrote info about adding regression tests 2006-12-20 20:43:05 +00:00
regress.sql Moved 'measures' query into a specific file, added a test for bug #108 2006-05-22 15:29:19 +00:00
regress_bdpoly.sql - Fixed Z presence detection in GEOS funcions (C++ and C wrappers). 2005-12-12 17:40:50 +00:00
regress_bdpoly_expected - Fixed Z presence detection in GEOS funcions (C++ and C wrappers). 2005-12-12 17:40:50 +00:00
regress_biginsert.sql Initial revision 2001-06-22 17:39:29 +00:00
regress_expected Moved 'measures' query into a specific file, added a test for bug #108 2006-05-22 15:29:19 +00:00
regress_index.sql Reworked regress tests to avoid multiple database creations 2005-11-23 14:38:00 +00:00
regress_index_expected Skipped checks of SQL command outputs (INSERT,UPDATE,CREATE,DROP). 2005-12-01 14:07:52 +00:00
regress_index_nulls.sql Added test to fix that permitted gist indexes to have more than 459 null geometries in a table 2006-12-20 18:44:55 +00:00
regress_index_nulls_expected initial load 2007-01-03 17:28:03 +00:00
regress_lots_of_nulls.sql Added test to fix that permitted gist indexes to have more than 459 null geometries in a table 2006-12-20 18:44:55 +00:00
regress_lots_of_points.sql Ported index regress test to lwgeom 2004-11-26 16:26:51 +00:00
regress_lrs.sql Added a couple of line_interpolate_point tests 2006-01-19 19:13:46 +00:00
regress_lrs_expected Added a couple of line_interpolate_point tests 2006-01-19 19:13:46 +00:00
regress_ogc.sql Fixed regress tests to pass with GEOS-3.0.0 2006-09-18 09:16:22 +00:00
regress_ogc_expected Fixed regress tests to pass with GEOS-3.0.0 2006-09-18 09:16:22 +00:00
regress_proj.sql Fixed test to cleanup after run 2005-12-01 13:37:35 +00:00
regress_proj_expected Fixed SnapToGrid output expectance (higher dims no more discarded) 2005-12-02 14:15:38 +00:00
relate_test Added transaction begin and end. 2003-06-12 22:25:04 +00:00
removepoint.sql Added RemovePoint() and ReplacePoint() to complete Geometry editiong function. 2005-12-13 18:39:08 +00:00
removepoint_expected Added RemovePoint() and ReplacePoint() to complete Geometry editiong function. 2005-12-13 18:39:08 +00:00
run_test replaced ROLLBACK with COMMIT in psql output to hide differences with 7.4 and lower pgsql versions. 2006-06-26 01:02:28 +00:00
setpoint.sql Renamed ReplacePoint() to SetPoint() 2005-12-13 19:01:18 +00:00
setpoint_expected Renamed ReplacePoint() to SetPoint() 2005-12-13 19:01:18 +00:00
simplify.sql Added simplify() test unit 2006-01-09 15:09:42 +00:00
simplify_expected Added simplify() test unit 2006-01-09 15:09:42 +00:00
snaptogrid.sql Fixed bug in SnapToGrid() bbox computation. 2006-01-29 13:54:38 +00:00
snaptogrid_expected Fixed bug in SnapToGrid() bbox computation. 2006-01-29 13:54:38 +00:00
sql-mm-serialize.sql Added typedefs and serialization/deserialization functionality for sql-mm defined curved geometry types. Added a point_in_polygon short-circuit for contains and within functions. 2006-12-01 22:16:44 +00:00
sql-mm-serialize_expected Added typedefs and serialization/deserialization functionality for sql-mm defined curved geometry types. Added a point_in_polygon short-circuit for contains and within functions. 2006-12-01 22:16:44 +00:00
test_index_concurrency Separated 'export' from assignment, for Solaris support - reported by Michael Fuhr 2006-01-21 08:40:41 +00:00
wkt.sql Added test for wkt parser 2006-04-18 12:30:46 +00:00
wkt_expected Added test for wkt parser 2006-04-18 12:30:46 +00:00

How to add a regression test
----------------------------

1. Write a /regress/<testname>.sql file with data and sql queries for testing
2. Write a /regress/<testname>_expected file with expected results per query
3. Edit regress/Makefile adding <testname> to the TESTS variable.

Notes about changes in regression tests introduces with PostGIS 1.1.0
---------------------------------------------------------------------

- Mixed-dimensioned geometries are no longer supported
  (previous behaviour was to fill Z with a 0 value)
  [ updated to use new behaviour ]

- geometry_same operator (=~) now requires all dimensions equality
  Previously only x/y were checked

- geometry_same operator (=~) now requires geom type equality
  Previous behaviour:
     GEOMETRYCOLLECTION(POINT(0 1), POINT(2 3)) =~  MULTIPOINT(0 1,2 3)

- numb_sub_geometries does not exist anymore
  [updated to use numgeometries]

- truly_inside does not exist anymore
  [updated to use within]