Commit 1f66d222 authored by Julien Michel's avatar Julien Michel

COMP: Fixing CMake files damaged by automatic removal of tests

parent f48b7e18
......@@ -223,6 +223,7 @@ otb_add_test(NAME bfTvBCOInterpolateImageFunctionOverVectorImage COMMAND otbInte
127.255 128.73
-1 -1
)
otb_add_test(NAME bfTvBCOInterpolateImageFunction2 COMMAND otbInterpolationTestDriver
otbBCOInterpolateImageFunction2
3 # radius
-0.5 # optimised bicubic
......
......@@ -57,10 +57,12 @@ otb_add_test(NAME obTvImageToLabelMapWithAttributesFilter COMMAND otbLabelMapTes
otbImageToLabelMapWithAttributesFilter
${INPUTDATA}/maur.tif
${INPUTDATA}/maur_labelled.tif)
otb_add_test(NAME obTvKMeansAttributesLabelMapFilter COMMAND otbLabelMapTestDriver
otbKMeansAttributesLabelMapFilter
${INPUTDATA}/maur.tif
${INPUTDATA}/maur_labelled.tif
${TEMP}/obTvKMeansAttributesLabelMapFilter.txt)
otb_add_test(NAME obTvLabelMapToSampleListFilter COMMAND otbLabelMapTestDriver
otbLabelMapToSampleListFilter
${OTB_DATA_ROOT}/Input/rcc8_mire1.png
SHAPE::Flusser01 SHAPE::Flusser02 SHAPE::Flusser03 SHAPE::Flusser04
......@@ -72,6 +74,7 @@ otb_add_test(NAME obTvLabelMapWithClassLabelToLabeledSampleListFilter COMMAND ot
SHAPE::Flusser01 SHAPE::Flusser02 SHAPE::Flusser03 SHAPE::Flusser04
SHAPE::Flusser05 SHAPE::Flusser06 SHAPE::Flusser07 SHAPE::Flusser08
SHAPE::Flusser09 SHAPE::Flusser10 SHAPE::Flusser11)
otb_add_test(NAME obTvMinMaxAttributesLabelMapFilter COMMAND otbLabelMapTestDriver
--compare-ascii ${NOTOL}
${BASELINE_FILES}/obTvMinMaxAttributesLabelMapFilter.txt
${TEMP}/obTvMinMaxAttributesLabelMapFilter.txt
......@@ -79,6 +82,7 @@ otb_add_test(NAME obTvLabelMapWithClassLabelToLabeledSampleListFilter COMMAND ot
${INPUTDATA}/maur.tif
${INPUTDATA}/maur_labelled.tif
${TEMP}/obTvMinMaxAttributesLabelMapFilter.txt)
otb_add_test(NAME obTvNormalizeAttributesLabelMapFilter COMMAND otbLabelMapTestDriver
--compare-ascii ${NOTOL}
${BASELINE_FILES}/obTvNormalizeAttributesLabelMapFilter.txt
${TEMP}/obTvNormalizeAttributesLabelMapFilter.txt
......@@ -86,7 +90,6 @@ otb_add_test(NAME obTvLabelMapWithClassLabelToLabeledSampleListFilter COMMAND ot
${INPUTDATA}/maur.tif
${INPUTDATA}/maur_labelled.tif
${TEMP}/obTvNormalizeAttributesLabelMapFilter.txt)
otbBandsStatisticsAttributesLabelMapFilterNew)
otb_add_test(NAME obTvBandsStatisticsAttributesLabelMapFilter COMMAND otbLabelMapTestDriver
otbBandsStatisticsAttributesLabelMapFilter
${INPUTDATA}/maur.tif
......
......@@ -38,13 +38,14 @@ otb_add_test(NAME coTvObjectList COMMAND otbObjectListTestDriver
${INPUTDATA}/poupees.png
${INPUTDATA}/couleurs_extrait.png
)
otb_add_test(NAME coTvImageList COMMAND otbObjectListTestDriver
--compare-image ${NOTOL} ${INPUTDATA}/amst.png
${TEMP}/amst.png
otbImageList
${INPUTDATA}/amst.png
${TEMP}/amst.png
)
otbImageListSourceNew)
otb_add_test(NAME bfTvImageListToImageListApplyFilter COMMAND otbObjectListTestDriver
--compare-n-images ${EPSILON_7} 3
${BASELINE}/bfTvImageListToImageListApplyFilterBand1.png
${TEMP}/bfTvImageListToImageListApplyFilterBand1.png
......@@ -60,7 +61,6 @@ otb_add_test(NAME coTvObjectList COMMAND otbObjectListTestDriver
${TEMP}/bfTvImageListToImageListApplyFilterBand2.png
${TEMP}/bfTvImageListToImageListApplyFilterBand3.png
)
otbImageListToImageListFilterNew)
otb_add_test(NAME coTvImageListToVectorImageFilter2 COMMAND otbObjectListTestDriver
otbImageListToVectorImageFilter2
${INPUTDATA}/poupees_c1.hdr
......@@ -77,9 +77,9 @@ otb_add_test(NAME coTvImageListToVectorImageFilter COMMAND otbObjectListTestDriv
${INPUTDATA}/poupees_c3.hdr
${TEMP}/coTvImageListToVectorImageFilter.png
)
otb_add_test(NAME coTvObjectListTestNotValid COMMAND otbObjectListTestDriver
otbObjectList2
)
otbImageToImageListFilterNew)
otb_add_test(NAME bfTvVectorImageToImageListFilter COMMAND otbObjectListTestDriver
--compare-n-images ${EPSILON_7} 3
${BASELINE}/bfTvVectorImageToImageListFilterBand1.png
......
......@@ -109,10 +109,6 @@ otb_add_test(NAME bfTvLogPolarTransform COMMAND otbTransformTestDriver
5 0 0 0 10 45 0 3.14 3.14 18 1
)
otbLogPolarTransformNew)
otb_add_test(NAME prTvGeocentricTransform COMMAND otbTransformTestDriver
--compare-ascii ${EPSILON_4} ${BASELINE_FILES}/prTvGeocentricTransform.txt
${TEMP}/prTvGeocentricTransform.txt
......@@ -130,6 +126,7 @@ otb_add_test(NAME prTvTestCreateProjectionWithOTB_Cevennes COMMAND otbTransformT
LARGEINPUT{QUICKBIRD/CEVENNES/06FEB12104912-P1BS-005533998070_01_P001.TIF}
)
otb_add_test(NAME dmTvStreamingWarpImageFilter COMMAND otbTransformTestDriver
--compare-image ${EPSILON_10}
${BASELINE}/dmStreamingWarpImageFilterOutput.tif
${TEMP}/dmStreamingWarpImageFilterOutput.tif
......@@ -171,6 +168,7 @@ otb_add_test(NAME bfTvInverseLogPolarTransform COMMAND otbTransformTestDriver
${TEMP}/bfInverseLogPolarTransformResults.txt
6 0 0 10 20 45 60 3.14 3.14 1 0 0 1
)
otb_add_test(NAME bfTvInverseLogPolarTransformResample COMMAND otbTransformTestDriver
--compare-image ${NOTOL} ${BASELINE}/bfInverseLogPolarTransformResampleOutput.hdr
${TEMP}/bfInverseLogPolarTransformResampleOutput.hdr
otbInverseLogPolarTransformResample
......
......@@ -33,7 +33,6 @@ otbAngularProjectionSetImageFilter.cxx
otbNAPCAImageFilter.cxx
otbAngularProjectionImageFilter.cxx
otbAngularProjectionBinaryImageFilter.cxx
otbSparseWvltToAngleMapperListFilter.cxx
otbLocalActivityVectorImageFilter.cxx
)
......@@ -368,6 +367,7 @@ otb_add_test(NAME bfTvNAPCAImageFilter4 COMMAND otbDimensionalityReductionTestDr
-norm
-n 4)
otb_add_test(NAME bfTvLocalActivityVectorImageFilter COMMAND otbDimensionalityReductionTestDriver
--compare-image ${EPSILON_7}
${BASELINE}/bfTvLocalActivityVectorImageFilter.tif
${TEMP}/bfTvLocalActivityVectorImageFilter.tif
......
......@@ -59,6 +59,8 @@ otb_add_test(NAME hyTvVCAImageFilterTest1 COMMAND otbEndmembersExtractionTestDri
${TEMP}/hyTvVCAImageFilterTest.tif
5 )
otb_add_test(NAME hyTuVCAImageFilterNew COMMAND otbEndmembersExtractionTestDriver
otbVCAImageFilterNew
${TEMP}/synthetic_vca_5.hdr
5 )
......@@ -35,7 +35,6 @@ otb_module_target_label(otbSamplingTestDriver)
# Tests Declaration
# ---------------- SamplingRateCalculator ------------------------------------
)
otb_add_test(NAME leTvSamplingRateCalculator COMMAND otbSamplingTestDriver
--compare-ascii ${NOTOL}
......@@ -103,7 +102,6 @@ otb_add_test(NAME leTvImageSampleExtractorFilterUpdate COMMAND otbSamplingTestDr
${TEMP}/leTvImageSampleExtractorFilterUpdateTest.shp)
# ---------------- SamplingRateCalculatorList ---------------------------------
)
otb_add_test(NAME leTvSamplingRateCalculatorList COMMAND otbSamplingTestDriver
--compare-ascii ${NOTOL}
......
......@@ -237,7 +237,7 @@ otb_add_test(NAME dmTvNCCRegistrationFilter COMMAND otbDisparityMapTestDriver
${INPUTDATA}/ROI_IKO_PAN_LesHalles_sub_warped_sinus.tif
${TEMP}/dmNCCRegistrationFilterOutput.tif
5 1.0 2)
otbPixelWiseBlockMatchingImageFilterNew)
otb_add_test(NAME dmTvPixelWiseBlockMatchingImageFilterNCC COMMAND otbDisparityMapTestDriver
--compare-n-images ${NOTOL} 2
${BASELINE}/dmTvPixelWiseBlockMatchingImageFilterNCCOutputDisparity.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