Skip to content
Snippets Groups Projects
Commit 3b59e9c6 authored by Luc Hermitte's avatar Luc Hermitte
Browse files

STYLE: OTB-134/OGR

parent 600196ec
No related branches found
No related tags found
No related merge requests found
......@@ -92,8 +92,10 @@ BOOST_AUTO_TEST_CASE(OGRDataSource_mem_add_n_del_layer)
BOOST_AUTO_TEST_CASE(OGRDataSource_new_exceptions)
{
BOOST_CHECK_THROW(ogr::DataSource::New("name-that-shall-not-exist.shp", ogr::DataSource::Modes::read), itk::ExceptionObject);
BOOST_CHECK_THROW(ogr::DataSource::New("unsupported.extension", ogr::DataSource::Modes::write), itk::ExceptionObject)
BOOST_CHECK_THROW(ogr::DataSource::New("name-that-shall-not-exist.shp", ogr::DataSource::Modes::read),
itk::ExceptionObject);
BOOST_CHECK_THROW(ogr::DataSource::New("unsupported.extension", ogr::DataSource::Modes::write),
itk::ExceptionObject)
}
BOOST_AUTO_TEST_CASE(OGRDataSource_new_shp)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment