Commit 9825a725 authored by Manuel Grizonnet's avatar Manuel Grizonnet
Browse files

TEST: add ogr test can read postgis

parent 527233d2
......@@ -1731,6 +1731,22 @@ ADD_TEST(ioTvVectorDataFileGeoReaderWriter2 ${IO_TESTS15}
${TEMP}/ioTvVectorDataFileGeoReaderWriterOutput2.shp
)
# CanRead OGR GML()
ADD_TEST(otbOGRVectorDataIOTestCanRead ${IO_TESTS15}
otbOGRVectorDataIOTestCanRead
${INPUTDATA}/adressPoint.gml)
# CanRead OGR MapInfo()
ADD_TEST(otbOGRVectorDataIOTestCanRead ${IO_TESTS15}
otbOGRVectorDataIOTestCanRead
${INPUTDATA}/LOCALITY_POLYGON.tab)
# CanRead OGR PostGIS()
ADD_TEST(otbOGRVectorDataIOTestCanRead ${IO_TESTS15}
otbOGRVectorDataIOTestCanRead
PG:"dbname='orfeotoolbox_test' host='localhost' port='5432' user='orfeotoolbox_test_user' password='Bidfeud0'")
ADD_TEST(ioTuKMLVectorDataIO ${IO_TESTS15}
otbKMLVectorDataIONew )
......@@ -2194,6 +2210,7 @@ otbVectorDataFileWriterPolygons.cxx
otbVectorDataFileReaderWriter.cxx
otbVectorDataFileGeoReaderWriter.cxx
otbOGRVectorDataIONew.cxx
otbOGRVectorDataIOCanRead.cxx
otbKMLVectorDataIONew.cxx
otbKMLVectorDataIOTestCanRead.cxx
otbKMLVectorDataIOTestCanWrite.cxx
......
......@@ -38,6 +38,7 @@ void RegisterTests()
REGISTER_TEST(otbVectorDataFileGeoReaderWriter);
REGISTER_TEST(otbOGRVectorDataIONew);
REGISTER_TEST(otbKMLVectorDataIONew);
REGISTER_TEST(otbOGRVectorDataIOTestCanRead);
REGISTER_TEST(otbKMLVectorDataIOTestCanRead);
REGISTER_TEST(otbKMLVectorDataIOTestCanWrite);
REGISTER_TEST(otbKMLVectorDataIOTestFileReader);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment