[Tile-serving] [openstreetmap/osm2pgsql] Cleanup flex tests (#1239)

Jochen Topf notifications at github.com
Wed Jul 1 14:10:18 UTC 2020


These changes contain various cleanups of the flex tests. This is mostly about
* giving tests a consistent structure to make them easier to read
* making them independent of another by using independent configs for each test
* only testing one type of thing per test and removing some duplication
You can view, comment on, or merge this pull request online at:

  https://github.com/openstreetmap/osm2pgsql/pull/1239

-- Commit Summary --

  * Cleanup flex-area test: Use minimal config file for this test
  * Clean flex-attr tests
  * Extend bbox test to mercator projection
  * Cleanup and extend flex invalid geometry test
  * Cleanup tests checking Lua failures are caught
  * Cleanup test checking updates of tables without geometry
  * Cleanup tablespace test
  * Cleanup and simplify uni test
  * Cleanup flex validgeom test
  * Cleanup flex type conversion tests
  * Cleanup flex update tests
  * Cleanup flex extra tests
  * Cleanup basic flex tests
  * Rename flex-extra test to flex-stage2
  * Move all area size checks from base tests into flex-area tests
  * Add tests for linestring geometry (with and without split)
  * Cleanup base tests

-- File Changes --

    M tests/CMakeLists.txt (3)
    M tests/data/test_output_flex.lua (57)
    A tests/data/test_output_flex_area.lua (33)
    M tests/data/test_output_flex_attr.lua (10)
    D tests/data/test_output_flex_fail.lua (36)
    A tests/data/test_output_flex_invalid_geom.lua (45)
    A tests/data/test_output_flex_line.lua (24)
    A tests/data/test_output_flex_lua_fail.lua (18)
    R tests/data/test_output_flex_stage2.lua (0)
    M tests/data/test_output_flex_types.lua (94)
    M tests/data/test_output_flex_uni.lua (84)
    M tests/test-output-flex-area.cpp (49)
    M tests/test-output-flex-attr.cpp (116)
    M tests/test-output-flex-bbox.cpp (35)
    M tests/test-output-flex-invalid-geom.cpp (66)
    A tests/test-output-flex-line.cpp (37)
    M tests/test-output-flex-lua-fail.cpp (11)
    M tests/test-output-flex-nogeom.cpp (14)
    R tests/test-output-flex-stage2.cpp (150)
    M tests/test-output-flex-tablespace.cpp (16)
    M tests/test-output-flex-types.cpp (60)
    M tests/test-output-flex-uni.cpp (6)
    M tests/test-output-flex-update.cpp (4)
    M tests/test-output-flex-validgeom.cpp (16)
    M tests/test-output-flex.cpp (140)

-- Patch Links --

https://github.com/openstreetmap/osm2pgsql/pull/1239.patch
https://github.com/openstreetmap/osm2pgsql/pull/1239.diff

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/osm2pgsql/pull/1239
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20200701/72186103/attachment.htm>


More information about the Tile-serving mailing list