Skip to content

Commit

Permalink
Tests of reading part finished
Browse files Browse the repository at this point in the history
  • Loading branch information
AbelPau committed Mar 21, 2024
1 parent e148867 commit e9f257f
Showing 1 changed file with 56 additions and 0 deletions.
56 changes: 56 additions & 0 deletions autotest/ogr/ogr_miramon_vector.py
Original file line number Diff line number Diff line change
Expand Up @@ -437,3 +437,59 @@ def test_ogr_miramon_test_ogrsf():
)

assert ret.find("INFO") != -1 and ret.find("ERROR") == -1

ret = gdaltest.runexternal(
test_cli_utilities.get_test_ogrsf_path()
+ " data/miramon/Points/SimplePoints/SimplePointsFile.pnt"
)

assert ret.find("INFO") != -1 and ret.find("ERROR") == -1

ret = gdaltest.runexternal(
test_cli_utilities.get_test_ogrsf_path()
+ " data/miramon/Points/EmptyPoints/Empty_PNT.pnt"
)

assert ret.find("INFO") != -1 and ret.find("ERROR") == -1

ret = gdaltest.runexternal(
test_cli_utilities.get_test_ogrsf_path()
+ " data/miramon/Arcs/SimpleArcs/SimpleArcFile.arc"
)

assert ret.find("INFO") != -1 and ret.find("ERROR") == -1

ret = gdaltest.runexternal(
test_cli_utilities.get_test_ogrsf_path()
+ " data/miramon/Arcs/EmptyArcs/Empty_ARC.arc"
)

assert ret.find("INFO") != -1 and ret.find("ERROR") == -1

ret = gdaltest.runexternal(
test_cli_utilities.get_test_ogrsf_path()
+ " data/miramon/Arcs/3dArcs/linies_3d_WGS84.arc"
)

assert ret.find("INFO") != -1 and ret.find("ERROR") == -1

ret = gdaltest.runexternal(
test_cli_utilities.get_test_ogrsf_path()
+ " data/miramon/Polygons/SimplePolygons/SimplePolFile.pol"
)

assert ret.find("INFO") != -1 and ret.find("ERROR") == -1

ret = gdaltest.runexternal(
test_cli_utilities.get_test_ogrsf_path()
+ " data/miramon/Polygons/EmptyPolygons/Empty_POL.pol"
)

assert ret.find("INFO") != -1 and ret.find("ERROR") == -1

ret = gdaltest.runexternal(
test_cli_utilities.get_test_ogrsf_path()
+ " data/miramon/Polygons/3dPolygons/tin_3d.pol"
)

assert ret.find("INFO") != -1 and ret.find("ERROR") == -1

0 comments on commit e9f257f

Please sign in to comment.