From 7a3579b003ab35754015f70507f0e768b76e7b7c Mon Sep 17 00:00:00 2001 From: Julien Malik <julien.malik@c-s.fr> Date: Thu, 5 Feb 2015 16:04:53 +0100 Subject: [PATCH] TEST: remove parenthesis in test declarations to ease modularization automation --- .../Applications/Projections/CMakeLists.txt | 27 +++++-------------- 1 file changed, 7 insertions(+), 20 deletions(-) diff --git a/Testing/Applications/Projections/CMakeLists.txt b/Testing/Applications/Projections/CMakeLists.txt index a5732677c6..36a3657a59 100644 --- a/Testing/Applications/Projections/CMakeLists.txt +++ b/Testing/Applications/Projections/CMakeLists.txt @@ -13,7 +13,7 @@ OTB_TEST_APPLICATION(NAME apTvPrOrthorectification_UTM -outputs.spacingx 0.5 -outputs.spacingy -0.5 -map utm - -opt.gridspacing 4 # Spacing of the displacement field (equal to 4 meters) + -opt.gridspacing 4 # Spacing of the displacement field equal to 4 meters -interpolator linear VALID --compare-image ${EPSILON_4} ${BASELINE}/owTvOrthorectifTest_UTM.tif @@ -32,7 +32,7 @@ OTB_TEST_APPLICATION(NAME apTvPrOrthorectification_UTM_OutXML1 -outputs.spacingx 0.5 -outputs.spacingy -0.5 -map utm - -opt.gridspacing 4 # Spacing of the deformation field (equal to 4 meters) + -opt.gridspacing 4 # Spacing of the deformation field equal to 4 meters -outxml ${TEMP}/apTvPrOrthorectifTest_UTM_OutXML1.xml -interpolator linear VALID --compare-image ${EPSILON_4} @@ -64,7 +64,7 @@ OTB_TEST_APPLICATION(NAME apTvPrOrthorectification_DEMTIF_UTM -outputs.spacingx 0.5 -outputs.spacingy -0.5 -map utm - -opt.gridspacing 4 # Spacing of the deformation field (equal to 4 meters) + -opt.gridspacing 4 # Spacing of the deformation field equal to 4 meters -interpolator linear VALID --compare-image ${EPSILON_4} ${BASELINE}/owTvOrthorectifTest_UTM.tif @@ -83,7 +83,7 @@ OTB_TEST_APPLICATION(NAME apTvPrOrthorectification_DEMTIF_UTM_OutXML1 -outputs.spacingx 0.5 -outputs.spacingy -0.5 -map utm - -opt.gridspacing 4 # Spacing of the deformation field (equal to 4 meters) + -opt.gridspacing 4 # Spacing of the deformation field equal to 4 meters -outxml ${TEMP}/apTvPrOrthorectifTest_DEMTIF_UTM_OutXML1.xml -interpolator linear VALID --compare-image ${EPSILON_4} @@ -115,7 +115,7 @@ OTB_TEST_APPLICATION(NAME apTvPrOrthorectification_WGS84 -outputs.spacingx 0.00000621314 -outputs.spacingy -0.00000621314 -map wgs - -opt.gridspacing 0.00001242628 # Spacing of the deformation field (equal to |2*outputs.spacingx| degrees) + -opt.gridspacing 0.00001242628 # Spacing of the deformation field equal to |2*outputs.spacingx| degrees -interpolator linear VALID --compare-image ${EPSILON_4} ${BASELINE}/owTvOrthorectifTest_WGS84.tif @@ -209,6 +209,7 @@ OTB_TEST_APPLICATION(NAME apTvPrVectorDataReprojectionFromMapToImage ${TEMP}/apTvPrVectorDataReprojectionFromMapToImage.shp) # With QGIS the two vectordata are equal +# TODO : add validation OTB_TEST_APPLICATION(NAME apTuPrVectorDataReprojectionFromImageToMap APP VectorDataReprojection OPTIONS -in.vd ${INPUTDATA}/ToulousePointsUTM31N.shp @@ -218,10 +219,6 @@ OTB_TEST_APPLICATION(NAME apTuPrVectorDataReprojectionFromImageToMap -out.proj.user.map utm -out.proj.user.map.utm.northhem true -out.proj.user.map.utm.zone 31) -# VALID --compare-ogr ${NOTOL} -# ${INPUTDATA}/ToulousePoints-examples.shp -# ${TEMP}/apTvPrVectorDataReprojectionFromImageToMap.shp) - OTB_TEST_APPLICATION(NAME apTvPrVectorDataReprojectionFromMapToGeo APP VectorDataReprojection @@ -269,17 +266,13 @@ endif() # With QGIS the two vectordata are equal +# TODO : add validation OTB_TEST_APPLICATION(NAME apTuPrVectorDataReprojectionFromGeoToMap APP VectorDataReprojection OPTIONS -in.vd ${INPUTDATA}/ToulousePointsWGS.sqlite -out.vd ${TEMP}/apTvPrVectorDataReprojectionFromGeoToMap.shp -out.proj image -out.proj.image.in ${INPUTDATA}/QB_Toulouse_Ortho_PAN.tif) -# VALID --compare-ogr ${NOTOL} -# ${INPUTDATA}/ToulousePoints-examples.shp -# ${TEMP}/apTvPrVectorDataReprojectionFromGeoToMap.shp) - - OTB_TEST_APPLICATION(NAME apTvPrRefineSensorModel APP RefineSensorModel @@ -308,9 +301,3 @@ OTB_TEST_APPLICATION(NAME apTvPrGenerateRPCSensorModel ${BASELINE_FILES}/apTvPrGenerateRPCSensorModelGeomOutput.geom ${TEMP}/apTvPrGenerateRPCSensorModelGeomOutput.geom) - - - - - - -- GitLab