Commit 7090a5e2 authored by Cédric Traizet's avatar Cédric Traizet

ENH: removed tests for deprecated app Convert

parent 40595c7f
......@@ -27,18 +27,19 @@ otb_test_application(NAME apTuUtDownloadSRTMTiles
-tiledir ${INPUTDATA}/DEM/srtm_directory
)
#----------- Convert TESTS ----------------
otb_test_application(NAME apTvUtConvertBasic
APP Convert
#----------- DynamicConvert TESTS ------------
otb_test_application(NAME apTvUtDynamicConvertBasic
APP DynamicConvert
OPTIONS -in ${INPUTDATA}/QB_Toulouse_Ortho_XS.tif
-out ${TEMP}/apTvUtConvertBasicOutput.tif float
-out ${TEMP}/apTvUtDynamicConvertOutput.tif
-type linear
-channels rgb
-channels.rgb.red 2
-channels.rgb.green 3
-channels.rgb.blue 1
VALID --compare-image ${NOTOL}
${OTBAPP_BASELINE}/apTvUtConvertBasicOutput.tif
${TEMP}/apTvUtConvertBasicOutput.tif
)
${OTBAPP_BASELINE}/apTvUtConvertSelectChannelsRgbOutput.tif
${TEMP}/apTvUtDynamicConvertOutput.tif)
otb_test_application(NAME apTuUtDynamicConvertExtendedFilename_writer
APP DynamicConvert
......@@ -46,16 +47,6 @@ otb_test_application(NAME apTuUtDynamicConvertExtendedFilename_writer
-out ${TEMP}/apTvUtGeomExtendedFilename.tif?&gdal:co:TILED=YES&writegeom=false
)
otb_test_application(NAME apTvUtConvertWithScaling
APP Convert
OPTIONS -in ${INPUTDATA}/QB_Toulouse_Ortho_XS.tif
-out ${TEMP}/apTvUtConvertWithScalingOutput.tif
-type linear
VALID --compare-image ${NOTOL}
${OTBAPP_BASELINE}/apTvUtConvertWithScalingOutput.tif
${TEMP}/apTvUtConvertWithScalingOutput.tif
)
otb_test_application(NAME apTvUtDynamicConvertExtendedFilename_readerGEOM
APP DynamicConvert
OPTIONS -in ${INPUTDATA}/ToulouseExtract_WithGeom.tif?&geom=${INPUTDATA}/ToulouseExtract_ModifiedGeom.geom
......@@ -64,43 +55,6 @@ otb_test_application(NAME apTvUtDynamicConvertExtendedFilename_readerGEOM
${INPUTDATA}/ToulouseExtract_ModifiedGeom.geom
${TEMP}/apTvUtGeomExtendedFilename.geom)
otb_test_application(NAME apTvUtConvertSelectChannels
APP Convert
OPTIONS -in ${INPUTDATA}/QB_Toulouse_Ortho_XS.tif
-out ${TEMP}/apTvUtConvertSelectChannelsRgbOutput.tif
-channels rgb
-channels.rgb.red 2
-channels.rgb.green 3
-channels.rgb.blue 1
-type linear
VALID --compare-image ${NOTOL}
${OTBAPP_BASELINE}/apTvUtConvertSelectChannelsRgbOutput.tif
${TEMP}/apTvUtConvertSelectChannelsRgbOutput.tif)
otb_test_application(NAME apTvUtConvertMonoChannel
APP Convert
OPTIONS -in ${INPUTDATA}/QB_Toulouse_Ortho_PAN.tif
-out ${TEMP}/apTvUtConvertMonoChannelOutput.tif
-channels grayscale
-type linear
VALID --compare-image ${NOTOL}
${OTBAPP_BASELINE}/apTvUtConvertMonoChannelOutput.tif
${TEMP}/apTvUtConvertMonoChannelOutput.tif)
#----------- DynamicConvert TESTS ------------
otb_test_application(NAME apTvUtDynamicConvertBasic
APP DynamicConvert
OPTIONS -in ${INPUTDATA}/QB_Toulouse_Ortho_XS.tif
-out ${TEMP}/apTvUtDynamicConvertOutput.tif
-type linear
-channels rgb
-channels.rgb.red 2
-channels.rgb.green 3
-channels.rgb.blue 1
VALID --compare-image ${NOTOL}
${OTBAPP_BASELINE}/apTvUtConvertSelectChannelsRgbOutput.tif
${TEMP}/apTvUtDynamicConvertOutput.tif)
otb_test_application(NAME apTvUtDynamicConvertLog2
APP DynamicConvert
OPTIONS -in ${INPUTDATA}/QB_Toulouse_Ortho_XS.tif
......
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