From 5f472c6c1c7c4fcc5bbcc2abbfe9c5ac93e0b0e2 Mon Sep 17 00:00:00 2001
From: Aurelien Bricier <aurelien.bricier@c-s.fr>
Date: Thu, 29 Nov 2012 10:57:44 +0100
Subject: [PATCH] ENH: added a test on the external geom filename parsing

---
 Testing/Applications/Utils/CMakeLists.txt | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/Testing/Applications/Utils/CMakeLists.txt b/Testing/Applications/Utils/CMakeLists.txt
index 742e7270ed..097a0a4328 100644
--- a/Testing/Applications/Utils/CMakeLists.txt
+++ b/Testing/Applications/Utils/CMakeLists.txt
@@ -394,5 +394,13 @@ OTB_TEST_APPLICATION(NAME apTvUtColorMappingLabelToColorSupportImage
                              ${BASELINE}/apTvUtColorMappingLabelToColorSupportImage.tif
                 	         ${TEMP}/apTvUtColorMappingLabelToColorSupportImage.tif) 
                 	         
-                	         
+#--- Testing Extended Filename -----
+
+OTB_TEST_APPLICATION(NAME apTvUtGeomExtendedFilename
+                     APP  Convert
+                     OPTIONS -in ${INPUTDATA}/ToulouseExtract_WithGeom.tif?&geom=${INPUTDATA}/ToulouseExtract_ModifiedGeom.geom
+                             -out ${TEMP}/apTvUtGeomExtendedFilename.tif
+                     VALID   --compare-ascii ${EPSILON_7}
+                             ${INPUTDATA}/ToulouseExtract_ModifiedGeom.geom
+                             ${TEMP}/apTvUtGeomExtendedFilename.geom)                	         
                          	                     
-- 
GitLab