mirror of
https://git.osgeo.org/gitea/postgis/postgis
synced 2024-10-25 17:42:38 +00:00
5313b69c4f
git-svn-id: http://svn.osgeo.org/postgis/trunk@2616 b70326c6-7e19-0410-871a-916f4a2858ee |
||
---|---|---|
.. | ||
loader | ||
affine.sql | ||
affine_expected | ||
ctors.sql | ||
ctors_expected | ||
isvalid_test | ||
kml.sql | ||
kml_expected | ||
long_xact.sql | ||
long_xact_expected | ||
lwgeom_regress.sql | ||
lwgeom_regress_expected | ||
Makefile | ||
measures.sql | ||
measures_expected | ||
README | ||
regress.sql | ||
regress_bdpoly.sql | ||
regress_bdpoly_expected | ||
regress_biginsert.sql | ||
regress_expected | ||
regress_index.sql | ||
regress_index_expected | ||
regress_index_nulls.sql | ||
regress_index_nulls_expected | ||
regress_lots_of_nulls.sql | ||
regress_lots_of_points.sql | ||
regress_lrs.sql | ||
regress_lrs_expected | ||
regress_ogc.sql | ||
regress_ogc_expected | ||
regress_proj.sql | ||
regress_proj_expected | ||
relate_test | ||
removepoint.sql | ||
removepoint_expected | ||
run_test | ||
setpoint.sql | ||
setpoint_expected | ||
simplify.sql | ||
simplify_expected | ||
snaptogrid.sql | ||
snaptogrid_expected | ||
sql-mm-circularstring.sql | ||
sql-mm-circularstring_expected | ||
sql-mm-compoundcurve.sql | ||
sql-mm-compoundcurve_expected | ||
sql-mm-curvepoly.sql | ||
sql-mm-curvepoly_expected | ||
sql-mm-general.sql | ||
sql-mm-general_expected | ||
sql-mm-multicurve.sql | ||
sql-mm-multicurve_expected | ||
sql-mm-multisurface.sql | ||
sql-mm-multisurface_expected | ||
sql-mm-serialize.sql | ||
sql-mm-serialize_expected | ||
test_index_concurrency | ||
wkt.sql | ||
wkt_expected |
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]