Skip to content
Snippets Groups Projects
Commit 7a3579b0 authored by Julien Malik's avatar Julien Malik
Browse files

TEST: remove parenthesis in test declarations to ease modularization automation

parent 16c434b6
No related branches found
No related tags found
No related merge requests found
...@@ -13,7 +13,7 @@ OTB_TEST_APPLICATION(NAME apTvPrOrthorectification_UTM ...@@ -13,7 +13,7 @@ OTB_TEST_APPLICATION(NAME apTvPrOrthorectification_UTM
-outputs.spacingx 0.5 -outputs.spacingx 0.5
-outputs.spacingy -0.5 -outputs.spacingy -0.5
-map utm -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 -interpolator linear
VALID --compare-image ${EPSILON_4} VALID --compare-image ${EPSILON_4}
${BASELINE}/owTvOrthorectifTest_UTM.tif ${BASELINE}/owTvOrthorectifTest_UTM.tif
...@@ -32,7 +32,7 @@ OTB_TEST_APPLICATION(NAME apTvPrOrthorectification_UTM_OutXML1 ...@@ -32,7 +32,7 @@ OTB_TEST_APPLICATION(NAME apTvPrOrthorectification_UTM_OutXML1
-outputs.spacingx 0.5 -outputs.spacingx 0.5
-outputs.spacingy -0.5 -outputs.spacingy -0.5
-map utm -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 -outxml ${TEMP}/apTvPrOrthorectifTest_UTM_OutXML1.xml
-interpolator linear -interpolator linear
VALID --compare-image ${EPSILON_4} VALID --compare-image ${EPSILON_4}
...@@ -64,7 +64,7 @@ OTB_TEST_APPLICATION(NAME apTvPrOrthorectification_DEMTIF_UTM ...@@ -64,7 +64,7 @@ OTB_TEST_APPLICATION(NAME apTvPrOrthorectification_DEMTIF_UTM
-outputs.spacingx 0.5 -outputs.spacingx 0.5
-outputs.spacingy -0.5 -outputs.spacingy -0.5
-map utm -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 -interpolator linear
VALID --compare-image ${EPSILON_4} VALID --compare-image ${EPSILON_4}
${BASELINE}/owTvOrthorectifTest_UTM.tif ${BASELINE}/owTvOrthorectifTest_UTM.tif
...@@ -83,7 +83,7 @@ OTB_TEST_APPLICATION(NAME apTvPrOrthorectification_DEMTIF_UTM_OutXML1 ...@@ -83,7 +83,7 @@ OTB_TEST_APPLICATION(NAME apTvPrOrthorectification_DEMTIF_UTM_OutXML1
-outputs.spacingx 0.5 -outputs.spacingx 0.5
-outputs.spacingy -0.5 -outputs.spacingy -0.5
-map utm -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 -outxml ${TEMP}/apTvPrOrthorectifTest_DEMTIF_UTM_OutXML1.xml
-interpolator linear -interpolator linear
VALID --compare-image ${EPSILON_4} VALID --compare-image ${EPSILON_4}
...@@ -115,7 +115,7 @@ OTB_TEST_APPLICATION(NAME apTvPrOrthorectification_WGS84 ...@@ -115,7 +115,7 @@ OTB_TEST_APPLICATION(NAME apTvPrOrthorectification_WGS84
-outputs.spacingx 0.00000621314 -outputs.spacingx 0.00000621314
-outputs.spacingy -0.00000621314 -outputs.spacingy -0.00000621314
-map wgs -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 -interpolator linear
VALID --compare-image ${EPSILON_4} VALID --compare-image ${EPSILON_4}
${BASELINE}/owTvOrthorectifTest_WGS84.tif ${BASELINE}/owTvOrthorectifTest_WGS84.tif
...@@ -209,6 +209,7 @@ OTB_TEST_APPLICATION(NAME apTvPrVectorDataReprojectionFromMapToImage ...@@ -209,6 +209,7 @@ OTB_TEST_APPLICATION(NAME apTvPrVectorDataReprojectionFromMapToImage
${TEMP}/apTvPrVectorDataReprojectionFromMapToImage.shp) ${TEMP}/apTvPrVectorDataReprojectionFromMapToImage.shp)
# With QGIS the two vectordata are equal # With QGIS the two vectordata are equal
# TODO : add validation
OTB_TEST_APPLICATION(NAME apTuPrVectorDataReprojectionFromImageToMap OTB_TEST_APPLICATION(NAME apTuPrVectorDataReprojectionFromImageToMap
APP VectorDataReprojection APP VectorDataReprojection
OPTIONS -in.vd ${INPUTDATA}/ToulousePointsUTM31N.shp OPTIONS -in.vd ${INPUTDATA}/ToulousePointsUTM31N.shp
...@@ -218,10 +219,6 @@ OTB_TEST_APPLICATION(NAME apTuPrVectorDataReprojectionFromImageToMap ...@@ -218,10 +219,6 @@ OTB_TEST_APPLICATION(NAME apTuPrVectorDataReprojectionFromImageToMap
-out.proj.user.map utm -out.proj.user.map utm
-out.proj.user.map.utm.northhem true -out.proj.user.map.utm.northhem true
-out.proj.user.map.utm.zone 31) -out.proj.user.map.utm.zone 31)
# VALID --compare-ogr ${NOTOL}
# ${INPUTDATA}/ToulousePoints-examples.shp
# ${TEMP}/apTvPrVectorDataReprojectionFromImageToMap.shp)
OTB_TEST_APPLICATION(NAME apTvPrVectorDataReprojectionFromMapToGeo OTB_TEST_APPLICATION(NAME apTvPrVectorDataReprojectionFromMapToGeo
APP VectorDataReprojection APP VectorDataReprojection
...@@ -269,17 +266,13 @@ endif() ...@@ -269,17 +266,13 @@ endif()
# With QGIS the two vectordata are equal # With QGIS the two vectordata are equal
# TODO : add validation
OTB_TEST_APPLICATION(NAME apTuPrVectorDataReprojectionFromGeoToMap OTB_TEST_APPLICATION(NAME apTuPrVectorDataReprojectionFromGeoToMap
APP VectorDataReprojection APP VectorDataReprojection
OPTIONS -in.vd ${INPUTDATA}/ToulousePointsWGS.sqlite OPTIONS -in.vd ${INPUTDATA}/ToulousePointsWGS.sqlite
-out.vd ${TEMP}/apTvPrVectorDataReprojectionFromGeoToMap.shp -out.vd ${TEMP}/apTvPrVectorDataReprojectionFromGeoToMap.shp
-out.proj image -out.proj image
-out.proj.image.in ${INPUTDATA}/QB_Toulouse_Ortho_PAN.tif) -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 OTB_TEST_APPLICATION(NAME apTvPrRefineSensorModel
APP RefineSensorModel APP RefineSensorModel
...@@ -308,9 +301,3 @@ OTB_TEST_APPLICATION(NAME apTvPrGenerateRPCSensorModel ...@@ -308,9 +301,3 @@ OTB_TEST_APPLICATION(NAME apTvPrGenerateRPCSensorModel
${BASELINE_FILES}/apTvPrGenerateRPCSensorModelGeomOutput.geom ${BASELINE_FILES}/apTvPrGenerateRPCSensorModelGeomOutput.geom
${TEMP}/apTvPrGenerateRPCSensorModelGeomOutput.geom) ${TEMP}/apTvPrGenerateRPCSensorModelGeomOutput.geom)
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