From b0cac2dbb16b68e4d9f95b83767e9a2161c22e00 Mon Sep 17 00:00:00 2001
From: Julien Michel <julien.michel@cnes.fr>
Date: Wed, 18 Jul 2018 17:33:14 +0200
Subject: [PATCH] TEST: Remove all New() tests since they are of no use most of
 the time

---
 .../Adapters/GdalAdapters/test/CMakeLists.txt |   3 -
 .../test/otbOGRDataSourceWrapperNew.cxx       | 891 ------------------
 .../OSSIMAdapters/test/CMakeLists.txt         |   6 -
 Modules/Core/Common/test/CMakeLists.txt       |  24 +-
 ...nNonUniformMultidimensionalSplitterNew.cxx |  33 -
 .../test/otbImageRegionTileMapSplitterNew.cxx |  33 -
 Modules/Core/Common/test/otbRectangleNew.cxx  |  34 -
 .../test/otbStandardFilterWatcherNew.cxx      |  71 --
 Modules/Core/ComplexImage/test/CMakeLists.txt |   3 -
 .../test/otbAmplitudePhaseToRGBFunctorNew.cxx |  49 -
 Modules/Core/ImageBase/test/CMakeLists.txt    |  41 -
 .../Core/ImageBase/test/otbExtractROINew.cxx  |  37 -
 ...otbFlexibleDistanceWithMissingValueNew.cxx |  43 -
 .../test/otbFunctionToImageFilterNew.cxx      |  41 -
 ...bImageAndVectorImageOperationFilterNew.cxx |  42 -
 ...ageOfVectorsToMonoChannelExtractROINew.cxx |  39 -
 .../test/otbMultiChannelExtractROINew.cxx     |  40 -
 .../otbMultiToMonoChannelExtractROINew.cxx    |  41 -
 .../otbVectorImageToASImageAdaptorNew.cxx     |  38 -
 .../Core/Interpolation/test/CMakeLists.txt    |  50 -
 .../otbBSplineDecompositionImageFilterNew.cxx |  36 -
 .../otbBSplineInterpolateImageFunctionNew.cxx |  37 -
 .../otbGenericInterpolateImageFunctionNew.cxx |  68 --
 .../otbProlateInterpolateImageFunctionNew.cxx |  37 -
 ...incInterpolateImageBlackmanFunctionNew.cxx |  37 -
 ...dSincInterpolateImageCosineFunctionNew.cxx |  37 -
 ...wedSincInterpolateImageFunctionBaseNew.cxx |  62 --
 ...incInterpolateImageGaussianFunctionNew.cxx |  37 -
 ...SincInterpolateImageHammingFunctionNew.cxx |  37 -
 ...SincInterpolateImageLanczosFunctionNew.cxx |  37 -
 ...edSincInterpolateImageWelchFunctionNew.cxx |  37 -
 Modules/Core/LabelMap/test/CMakeLists.txt     |  56 --
 .../test/otbAttributesMapLabelObjectNew.cxx   |  35 -
 ...ributesMapLabelObjectWithClassLabelNew.cxx |  35 -
 ...bAttributesMapOpeningLabelMapFilterNew.cxx |  38 -
 ...ImageToLabelMapWithAttributesFilterNew.cxx |  41 -
 .../LabelMap/test/otbLabelMapSourceNew.cxx    |  42 -
 .../otbLabelMapToAttributeImageFilterNew.cxx  |  41 -
 .../test/otbLabelMapToSampleListFilterNew.cxx |  43 -
 ...ClassLabelToLabeledSampleListFilterNew.cxx |  46 -
 .../otbLabelObjectToPolygonFunctorNew.cxx     |  40 -
 .../otbShapeAttributesLabelMapFilterNew.cxx   |  39 -
 ...bStatisticsAttributesLabelMapFilterNew.cxx |  40 -
 Modules/Core/Metadata/test/CMakeLists.txt     |  60 --
 ...efaultImageMetadataInterfaceFactoryNew.cxx |  37 -
 .../otbFormosatImageMetadataInterfaceNew.cxx  |  38 -
 .../otbIkonosImageMetadataInterfaceNew.cxx    |  37 -
 ...efaultImageMetadataInterfaceFactoryNew.cxx |  37 -
 ...pticalDefaultImageMetadataInterfaceNew.cxx |  37 -
 .../otbPleiadesImageMetadataInterfaceNew.cxx  |  37 -
 .../otbQuickBirdImageMetadataInterfaceNew.cxx |  37 -
 .../otbRadarsat2ImageMetadataInterfaceNew.cxx |  35 -
 ...efaultImageMetadataInterfaceFactoryNew.cxx |  37 -
 ...otbSarDefaultImageMetadataInterfaceNew.cxx |  37 -
 .../otbSentinel1ImageMetadataInterfaceNew.cxx |  35 -
 .../otbSpot6ImageMetadataInterfaceNew.cxx     |  37 -
 .../test/otbSpotImageMetadataInterfaceNew.cxx |  37 -
 .../otbTerraSarImageMetadataInterfaceNew.cxx  |  39 -
 ...otbWorldView2ImageMetadataInterfaceNew.cxx |  37 -
 Modules/Core/ObjectList/test/CMakeLists.txt   |  30 -
 .../Core/ObjectList/test/otbImageListNew.cxx  |  40 -
 .../ObjectList/test/otbImageListSourceNew.cxx |  39 -
 .../test/otbImageListToImageFilterNew.cxx     |  41 -
 .../otbImageListToImageListApplyFilterNew.cxx |  46 -
 .../test/otbImageListToImageListFilterNew.cxx |  41 -
 .../otbImageListToVectorImageFilterNew.cxx    |  45 -
 .../test/otbImageToImageListFilterNew.cxx     |  41 -
 .../Core/ObjectList/test/otbObjectListNew.cxx |  37 -
 .../otbObjectListToObjectListFilterNew.cxx    |  42 -
 .../otbVectorImageToImageListFilterNew.cxx    |  45 -
 Modules/Core/PointSet/test/CMakeLists.txt     |   4 -
 .../otbThresholdImageToPointSetFilterNew.cxx  |  45 -
 .../Core/SpatialObjects/test/CMakeLists.txt   |  25 -
 .../test/otbDrawLineSpatialObjectListNew.cxx  |  46 -
 .../test/otbDrawLineSpatialObjectNew.cxx      |  46 -
 .../otbImageToLineSpatialObjectListNew.cxx    |  44 -
 ...neSpatialObjectListToPointSetFilterNew.cxx |  43 -
 .../test/otbLineSpatialObjectNew.cxx          |  35 -
 .../test/otbSpatialObjectSourceNew.cxx        |  38 -
 ...tbSpatialObjectToImageDrawingFilterNew.cxx |  40 -
 Modules/Core/Streaming/test/CMakeLists.txt    |   6 -
 Modules/Core/Transform/test/CMakeLists.txt    |  25 -
 .../test/otbGenericMapProjectionNew.cxx       |  34 -
 .../test/otbGenericRSTransformNew.cxx         |  36 -
 .../test/otbGeocentricTransformNew.cxx        |  36 -
 .../test/otbInverseLogPolarTransformNew.cxx   |  35 -
 .../test/otbLogPolarTransformNew.cxx          |  35 -
 .../Transform/test/otbSensorModelsNew.cxx     |  46 -
 .../test/otbStreamingWarpImageFilterNew.cxx   |  43 -
 .../Core/VectorDataBase/test/CMakeLists.txt   |  17 -
 .../otbPolyLineParametricPathWithValueNew.cxx |  39 -
 .../VectorDataBase/test/otbPolygonNew.cxx     |  36 -
 .../test/otbRemoteSensingRegionNew.cxx        |  35 -
 .../VectorDataBase/test/otbVectorDataNew.cxx  |  37 -
 .../test/otbVectorDataSourceNew.cxx           |  39 -
 .../CloudDetection/test/CMakeLists.txt        |   8 -
 .../test/otbCloudDetectionFilterNew.cxx       |  39 -
 .../test/otbCloudEstimatorFilterNew.cxx       |  39 -
 .../ObjectDetection/test/CMakeLists.txt       |  12 -
 .../RoadExtraction/test/CMakeLists.txt        |  51 -
 .../test/otbBreakAngularPathListFilterNew.cxx |  38 -
 .../test/otbLikelihoodPathListFilterNew.cxx   |  41 -
 .../test/otbLinkPathListFilterNew.cxx         |  38 -
 .../otbModulusAndDirectionImageFiltersNew.cxx |  56 --
 .../otbNeighborhoodScalarProductFilterNew.cxx |  41 -
 .../otbNonMaxRemovalByDirectionFilterNew.cxx  |  39 -
 .../test/otbParallelLinePathListFilterNew.cxx |  40 -
 .../otbRemoveIsolatedByDirectionFilterNew.cxx |  39 -
 .../otbRemoveTortuousPathListFilterNew.cxx    |  39 -
 .../test/otbRemoveWrongDirectionFilterNew.cxx |  39 -
 .../test/otbRoadExtractionFilterNew.cxx       |  40 -
 .../test/otbSimplifyPathListFilterNew.cxx     |  39 -
 .../Detection/UrbanArea/test/CMakeLists.txt   |   4 -
 .../otbUrbanAreaDetectionImageFilterNew.cxx   |  43 -
 Modules/Feature/Corner/test/CMakeLists.txt    |   7 -
 ...bjectListToRightAnglePointSetFilterNew.cxx |  45 -
 Modules/Feature/Density/test/CMakeLists.txt   |  20 -
 .../test/otbKeyPointDensityImageFilterNew.cxx |  49 -
 ...PointSetDensityEpanechnikovFunctionNew.cxx |  44 -
 .../test/otbPointSetDensityFunctionNew.cxx    |  44 -
 .../otbPointSetDensityGaussianFunctionNew.cxx |  44 -
 .../otbPointSetToDensityImageFilterNew.cxx    |  45 -
 .../Feature/Descriptors/test/CMakeLists.txt   |  31 -
 .../test/otbFourierMellinImageFilterNew.cxx   |  43 -
 ...otbImageToFastSIFTKeyPointSetFilterNew.cxx |  41 -
 ...mageToHessianDeterminantImageFilterNew.cxx |  38 -
 .../otbImageToSIFTKeyPointSetFilterNew.cxx    |  42 -
 .../otbImageToSURFKeyPointSetFilterNew.cxx    |  41 -
 .../test/otbKeyPointSetsMatchingFilterNew.cxx |  40 -
 .../Descriptors/test/otbLandmarkNew.cxx       |  40 -
 Modules/Feature/Edge/test/CMakeLists.txt      |  66 --
 .../test/otbAssociativeSymmetricalSumNew.cxx  |  47 -
 .../otbAsymmetricFusionOfLineDetectorNew.cxx  |  54 --
 .../test/otbEdgeDensityImageFilterNew.cxx     |  44 -
 .../test/otbEdgeDetectorImageFilterNew.cxx    |  39 -
 .../Edge/test/otbExtractSegmentsNew.cxx       |  48 -
 .../Edge/test/otbFillGapsFilterNew.cxx        |  35 -
 .../test/otbLineCorrelationDetectorNew.cxx    |  45 -
 .../Edge/test/otbLineDetectorBaseNew.cxx      |  44 -
 .../Edge/test/otbLineRatioDetectorNew.cxx     |  46 -
 .../Feature/Edge/test/otbLocalHoughNew.cxx    |  45 -
 .../otbPersistentVectorizationFilterNew.cxx   |  41 -
 .../otbPixelSuppressionByDirectionNew.cxx     |  48 -
 .../Edge/test/otbTouziEdgeDetectorNew.cxx     |  45 -
 Modules/Feature/Moments/test/CMakeLists.txt   |  30 -
 .../Moments/test/otbComplexMomentPathNew.cxx  |  40 -
 .../Moments/test/otbFlusserPathNew.cxx        |  39 -
 Modules/Feature/Moments/test/otbHuPathNew.cxx |  39 -
 .../Feature/SeamCarving/test/CMakeLists.txt   |  11 -
 .../test/otbAddCarvingPathFilterNew.cxx       |  45 -
 .../test/otbImageToCarvingPathFilterNew.cxx   |  44 -
 .../test/otbRemoveCarvingPathFilterNew.cxx    |  45 -
 Modules/Feature/Textures/test/CMakeLists.txt  |  26 -
 ...otbGreyLevelCooccurrenceIndexedListNew.cxx |  36 -
 .../test/otbSFSTexturesImageFilterNew.cxx     |  38 -
 ...ScalarImageToAdvancedTexturesFilterNew.cxx |  38 -
 ...otbScalarImageToPanTexTextureFilterNew.cxx |  38 -
 .../otbScalarImageToTexturesFilterNew.cxx     |  38 -
 .../ChangeDetection/test/CMakeLists.txt       |  15 -
 ...bKullbackLeiblerDistanceImageFilterNew.cxx |  38 -
 ...tbKullbackLeiblerProfileImageFilterNew.cxx |  40 -
 ...eiblerSupervizedDistanceImageFilterNew.cxx |  43 -
 .../Filtering/ColorMap/test/CMakeLists.txt    |   4 -
 .../otbScalarToRainbowRGBPixelFunctorNew.cxx  |  48 -
 .../Filtering/Contrast/test/CMakeLists.txt    |  16 -
 .../Contrast/test/otbApplyGainFilterNew.cxx   |  46 -
 .../otbCLHistogramEqualizationFilterNew.cxx   |  41 -
 .../test/otbComputeGainLutFilterNew.cxx       |  40 -
 .../test/otbComputeHistoFilterNew.cxx         |  43 -
 .../Filtering/Convolution/test/CMakeLists.txt |  12 -
 .../test/otbConvolutionImageFilterNew.cxx     |  41 -
 .../test/otbGaborFilterGeneratorNew.cxx       |  35 -
 ...tbOverlapSaveConvolutionImageFilterNew.cxx |  41 -
 Modules/Filtering/DEM/test/CMakeLists.txt     |   6 -
 .../test/otbDEMCaracteristicsExtractorNew.cxx |  37 -
 .../DEM/test/otbDEMToImageGeneratorNew.cxx    |  37 -
 .../test/CMakeLists.txt                       |  42 -
 .../otbAngularProjectionImageFilterNew.cxx    |  46 -
 .../otbAngularProjectionSetImageFilterNew.cxx |  48 -
 ...bEstimateInnerProductPCAImageFilterNew.cxx |  39 -
 .../test/otbInnerProductPCAImageFilterNew.cxx |  39 -
 ...NormalizeInnerProductPCAImageFilterNew.cxx |  39 -
 ...tbSparseWvltToAngleMapperListFilterNew.cxx |  53 --
 .../ImageManipulation/test/CMakeLists.txt     | 122 ---
 .../test/otbBinaryImageDensityFunctionNew.cxx |  46 -
 ...mageMinimalBoundingRegionCalculatorNew.cxx |  40 -
 .../otbBinaryImageToDensityImageFilterNew.cxx |  47 -
 .../test/otbBoxAndWhiskerImageFilterNew.cxx   |  41 -
 .../test/otbChangeLabelImageFilterNew.cxx     |  42 -
 .../otbConcatenateVectorImageFilterNew.cxx    |  38 -
 ...ideanDistanceMetricWithMissingValueNew.cxx |  39 -
 ...nctionWithNeighborhoodToImageFilterNew.cxx |  75 --
 .../otbImageToVectorImageCastFilterNew.cxx    |  42 -
 ...otbMatrixTransposeMatrixImageFilterNew.cxx |  43 -
 .../test/otbPerBandVectorImageFilterNew.cxx   |  45 -
 .../test/otbPrintableImageFilterNew.cxx       |  42 -
 .../test/otbShiftScaleImageAdaptorNew.cxx     |  37 -
 .../otbShiftScaleVectorImageFilterNew.cxx     |  41 -
 ...otbSpectralAngleDistanceImageFilterNew.cxx |  40 -
 ...eamingInnerProductVectorImageFilterNew.cxx |  39 -
 .../otbStreamingResampleImageFilterNew.cxx    |  43 -
 .../test/otbStreamingShrinkImageFilterNew.cxx |  37 -
 .../test/otbUnaryFunctorImageFilterNew.cxx    |  42 -
 ...UnaryFunctorNeighborhoodImageFilterNew.cxx |  60 --
 ...orNeighborhoodWithOffsetImageFilterNew.cxx |  86 --
 ...otbUnaryFunctorWithIndexImageFilterNew.cxx |  58 --
 ...ryImageFunctorWithVectorImageFilterNew.cxx |  44 -
 ...otbVectorImageTo3DScalarImageFilterNew.cxx |  44 -
 ...tbVectorImageToAmplitudeImageFilterNew.cxx |  40 -
 ...tbVectorRescaleIntensityImageFilterNew.cxx |  41 -
 .../Filtering/ImageNoise/test/CMakeLists.txt  |   4 -
 .../ImageNoise/test/otbFrostFilterNew.cxx     |  43 -
 .../Filtering/MathParser/test/CMakeLists.txt  |   7 -
 .../test/otbMaskMuParserFilterNew.cxx         |  40 -
 .../Filtering/MathParserX/test/CMakeLists.txt |   3 -
 .../MorphologicalPyramid/test/CMakeLists.txt  |  24 -
 ...bMorphologicalPyramidAnalysisFilterNew.cxx |  45 -
 ...MorphologicalPyramidMRToMSConverterNew.cxx |  42 -
 .../otbMorphologicalPyramidResamplerNew.cxx   |  43 -
 ...phologicalPyramidSegmentationFilterNew.cxx |  43 -
 .../otbMorphologicalPyramidSegmenterNew.cxx   |  43 -
 ...MorphologicalPyramidSynthesisFilterNew.cxx |  44 -
 Modules/Filtering/Path/test/CMakeLists.txt    |  44 -
 .../Path/test/otbCompacityPathNew.cxx         |  41 -
 .../Path/test/otbDrawPathFilterNew.cxx        |  41 -
 .../Path/test/otbDrawPathListFilterNew.cxx    |  41 -
 .../otbImageFittingPolygonListFilterNew.cxx   |  42 -
 .../Path/test/otbImageToEdgePathFilterNew.cxx |  40 -
 .../Path/test/otbImageToPathFilterNew.cxx     |  40 -
 .../Path/test/otbOrientationPathNew.cxx       |  40 -
 .../otbPathListToHistogramGeneratorNew.cxx    |  42 -
 .../test/otbPathListToPathListFilterNew.cxx   |  39 -
 ...ionImageToRectangularPathListFilterNew.cxx |  41 -
 .../otbVectorizationPathListFilterNew.cxx     |  39 -
 .../Filtering/Polarimetry/test/CMakeLists.txt |  50 -
 ...larisationDegreeAndPowerImageFilterNew.cxx |  41 -
 ...erToReciprocalCovarianceImageFilterNew.cxx |  43 -
 ...ChannelsPolarimetricSynthesisFilterNew.cxx |  44 -
 ...rencyToReciprocalMuellerImageFilterNew.cxx |  41 -
 ...arianceToCoherencyDegreeImageFilterNew.cxx |  42 -
 ...nceToReciprocalCoherencyImageFilterNew.cxx |  42 -
 .../otbReciprocalHAlphaImageFilterNew.cxx     |  41 -
 ...procalCircularCovarianceImageFilterNew.cxx |  42 -
 .../Filtering/Projection/test/CMakeLists.txt  |  56 --
 .../test/otbCompositeTransformNew.cxx         |  40 -
 .../otbGCPsToRPCSensorModelImageFilterNew.cxx |  37 -
 .../otbImportGeoInformationImageFilterNew.cxx |  39 -
 ...LeastSquareAffineTransformEstimatorNew.cxx |  37 -
 .../Projection/test/otbMapProjectionsNew.cxx  | 138 ---
 .../test/otbOrthoRectificationFilterNew.cxx   |  37 -
 .../test/otbROIdataConversionNew.cxx          |  40 -
 .../test/otbVectorDataProjectionFilterNew.cxx |  38 -
 .../Filtering/Smoothing/test/CMakeLists.txt   |   1 -
 .../otbMeanShiftSmoothingImageFilterNew.cxx   |  39 -
 .../Filtering/Statistics/test/CMakeLists.txt  |  67 --
 ...inuousMinimumMaximumImageCalculatorNew.cxx |  39 -
 ...bListSampleToHistogramListGeneratorNew.cxx |  41 -
 ...VariableDimensionHistogramGeneratorNew.cxx |  41 -
 .../otbLocalHistogramImageFunctionNew.cxx     |  38 -
 .../test/otbStreamingMinMaxImageFilterNew.cxx |  40 -
 ...otbStreamingMinMaxVectorImageFilterNew.cxx |  40 -
 .../otbStreamingStatisticsImageFilterNew.cxx  |  40 -
 ...treamingStatisticsVectorImageFilterNew.cxx |  40 -
 .../test/otbVarianceImageFilterNew.cxx        |  38 -
 ...tbVectorImageToIntensityImageFilterNew.cxx |  40 -
 .../Filtering/TimeSeries/test/CMakeLists.txt  |   2 -
 ...tbSavitzkyGolayInterpolationFunctorNew.cxx |  39 -
 ...TimeSeriesLeastSquareFittingFunctorNew.cxx |  42 -
 .../test/CMakeLists.txt                       |  23 -
 .../test/otbVectorDataExtractROINew.cxx       |  34 -
 .../otbVectorDataToVectorDataFilterNew.cxx    |  38 -
 .../VectorDataRendering/test/CMakeLists.txt   |   4 -
 .../test/otbVectorDataToMapFilterNew.cxx      |  40 -
 Modules/Filtering/Wavelet/test/CMakeLists.txt |  32 -
 .../test/otbSubsampleImageFilterNew.cxx       |  43 -
 .../Wavelet/test/otbWaveletFilterBankNew.cxx  |  44 -
 .../test/otbWaveletInverseFilterBankNew.cxx   |  45 -
 .../test/otbWaveletInverseTransformNew.cxx    |  50 -
 .../Wavelet/test/otbWaveletOperatorNew.cxx    |  43 -
 .../otbWaveletPacketInverseTransformNew.cxx   |  51 -
 .../test/otbWaveletPacketTransformNew.cxx     |  54 --
 .../Wavelet/test/otbWaveletTransformNew.cxx   |  48 -
 Modules/Fusion/Fuzzy/test/CMakeLists.txt      |   7 -
 .../Fusion/Fuzzy/test/otbFuzzyVariableNew.cxx |  34 -
 .../Fusion/MajorityVoting/test/CMakeLists.txt |   4 -
 ...ighborhoodMajorityVotingImageFilterNew.cxx |  56 --
 .../Fusion/PanSharpening/test/CMakeLists.txt  |  16 -
 .../test/otbBayesianFusionFilterNew.cxx       |  47 -
 .../test/otbFusionImageBaseNew.cxx            |  71 --
 ...bLmvmPanSharpeningFusionImageFilterNew.cxx |  44 -
 ...leRcsPanSharpeningFusionImageFilterNew.cxx |  44 -
 .../EndmembersExtraction/test/CMakeLists.txt  |   9 -
 .../Unmixing/test/CMakeLists.txt              |  16 -
 .../test/otbSparseUnmixingImageFilterNew.cxx  |  42 -
 Modules/IO/Carto/test/CMakeLists.txt          |   7 -
 .../Carto/test/otbMapFileProductWriterNew.cxx |  36 -
 Modules/IO/IOGDAL/test/CMakeLists.txt         |   1 -
 .../IO/IOGDAL/test/otbOGRVectorDataIONew.cxx  |  32 -
 Modules/IO/IOKML/test/CMakeLists.txt          |   1 -
 .../IO/IOKML/test/otbKMLVectorDataIONew.cxx   |  32 -
 Modules/IO/IOTileMap/test/CMakeLists.txt      |   3 -
 Modules/IO/ImageIO/test/CMakeLists.txt        |   8 -
 .../IO/ImageIO/test/otbImageIOFactoryNew.cxx  |  33 -
 .../otbScalarBufferToImageFileWriterNew.cxx   |  33 -
 Modules/IO/KMZWriter/test/CMakeLists.txt      |   3 -
 Modules/IO/VectorDataIO/test/CMakeLists.txt   |   8 -
 .../test/otbVectorDataFileReaderNew.cxx       |  34 -
 .../test/otbVectorDataFileWriterNew.cxx       |  36 -
 .../DempsterShafer/test/CMakeLists.txt        |  12 -
 .../test/CMakeLists.txt                       |   9 -
 .../Learning/LearningBase/test/CMakeLists.txt |  15 -
 .../LearningBase/test/otbDecisionTreeNew.cxx  |  36 -
 .../otbKMeansImageClassificationFilterNew.cxx |  42 -
 .../LearningBase/test/otbSEMClassifierNew.cxx |  48 -
 Modules/Learning/Markov/test/CMakeLists.txt   |  43 -
 .../test/otbMRFEnergyEdgeFidelityNew.cxx      |  37 -
 .../otbMRFEnergyGaussianClassificationNew.cxx |  37 -
 .../Markov/test/otbMRFEnergyGaussianNew.cxx   |  37 -
 .../Markov/test/otbMRFEnergyPottsNew.cxx      |  37 -
 .../Markov/test/otbMRFOptimizerICMNew.cxx     |  35 -
 .../test/otbMRFOptimizerMetropolisNew.cxx     |  35 -
 .../Markov/test/otbMRFSamplerMAPNew.cxx       |  39 -
 .../Markov/test/otbMRFSamplerRandomMAPNew.cxx |  37 -
 .../Markov/test/otbMRFSamplerRandomNew.cxx    |  37 -
 .../test/otbMarkovRandomFieldFilterNew.cxx    |  37 -
 Modules/Learning/SOM/test/CMakeLists.txt      |  32 -
 .../Learning/SOM/test/otbPeriodicSOMNew.cxx   |  44 -
 .../SOM/test/otbSOMActivationBuilderNew.cxx   |  48 -
 .../Learning/SOM/test/otbSOMClassifierNew.cxx |  46 -
 .../otbSOMImageClassificationFilterNew.cxx    |  42 -
 Modules/Learning/SOM/test/otbSOMMapNew.cxx    |  39 -
 Modules/Learning/SOM/test/otbSOMNew.cxx       |  44 -
 .../SOM/test/otbSOMWithMissingValueNew.cxx    |  52 -
 .../SOM/test/otbSOMbasedImageFilterNew.cxx    |  45 -
 Modules/Learning/Sampling/test/CMakeLists.txt |  15 -
 .../Learning/Supervised/test/CMakeLists.txt   |  11 -
 .../otbExhaustiveExponentialOptimizerNew.cxx  |  35 -
 .../otbSVMCrossValidationCostFunctionNew.cxx  |  44 -
 .../Learning/Unsupervised/test/CMakeLists.txt |   3 -
 Modules/OBIA/RCC8/test/CMakeLists.txt         |  48 -
 .../test/otbImageListToRCC8GraphFilterNew.cxx |  44 -
 ...eMultiSegmentationToRCC8GraphFilterNew.cxx |  44 -
 .../test/otbImageToImageRCC8CalculatorNew.cxx |  35 -
 .../otbPolygonListToRCC8GraphFilterNew.cxx    |  44 -
 .../otbPolygonToPolygonRCC8CalculatorNew.cxx  |  36 -
 Modules/OBIA/RCC8/test/otbRCC8EdgeNew.cxx     |  34 -
 .../RCC8/test/otbRCC8GraphFileReaderNew.cxx   |  39 -
 .../RCC8/test/otbRCC8GraphFileWriterNew.cxx   |  38 -
 Modules/OBIA/RCC8/test/otbRCC8GraphNew.cxx    |  38 -
 .../OBIA/RCC8/test/otbRCC8GraphSourceNew.cxx  |  40 -
 .../OBIA/RCC8/test/otbRCC8VertexBaseNew.cxx   |  36 -
 .../test/otbRCC8VertexWithCompacityNew.cxx    |  37 -
 .../Radiometry/Indices/test/CMakeLists.txt    |  32 -
 .../test/otbGAndRIndexImageFilterNew.cxx      |  45 -
 ...tbMultiChannelGAndRIndexImageFilterNew.cxx |  40 -
 ...ndBAndNIRVegetationIndexImageFilterNew.cxx |  41 -
 ...iChannelRAndGAndNIRIndexImageFilterNew.cxx |  41 -
 ...elRAndNIRVegetationIndexImageFilterNew.cxx |  41 -
 ...ndBAndNIRVegetationIndexImageFilterNew.cxx |  46 -
 ...ndGAndNIRVegetationIndexImageFilterNew.cxx |  46 -
 ...tbRAndNIRVegetationIndexImageFilterNew.cxx |  45 -
 .../OpticalCalibration/test/CMakeLists.txt    |  62 --
 .../OpticalCalibration/test/otbAeronetNew.cxx |  33 -
 .../otbAtmosphericCorrectionParametersNew.cxx |  39 -
 ...tbImageMetadataCorrectionParametersNew.cxx |  34 -
 .../test/otbImageToRadianceImageFilterNew.cxx |  39 -
 .../otbImageToReflectanceImageFilterNew.cxx   |  39 -
 .../test/otbRadianceToImageImageFilterNew.cxx |  40 -
 ...otbRadianceToReflectanceImageFilterNew.cxx |  40 -
 ...rametersToAtmosphericRadiativeTermsNew.cxx |  38 -
 .../otbReflectanceToImageImageFilterNew.cxx   |  39 -
 ...otbReflectanceToRadianceImageFilterNew.cxx |  39 -
 .../test/otbSpectralSensitivityReaderNew.cxx  |  34 -
 ...jacencyEffectCorrectionSchemeFilterNew.cxx |  43 -
 .../SARCalibration/test/CMakeLists.txt        |   4 -
 .../otbTerraSarBrightnessImageFilterNew.cxx   |  41 -
 .../Radiometry/Simulation/test/CMakeLists.txt |  20 -
 .../test/otbReduceSpectralResponseNew.cxx     |  41 -
 .../Simulation/test/otbSatelliteRSRNew.cxx    |  36 -
 .../test/otbSpatialisationTestNew.cxx         |  39 -
 .../test/otbSpectralResponseNew.cxx           |  36 -
 ...rfaceReflectanceToReflectanceFilterNew.cxx | 151 ---
 .../DisparityMap/test/CMakeLists.txt          |  30 -
 .../otbDisparityMapEstimationMethodNew.cxx    |  41 -
 .../otbFineRegistrationImageFilterNew.cxx     |  43 -
 .../test/otbNCCRegistrationFilterNew.cxx      |  49 -
 .../DisplacementField/test/CMakeLists.txt     |  32 -
 ...terpolateDisplacementFieldGeneratorNew.cxx |  42 -
 ...TransformDisplacementFieldGeneratorNew.cxx |  41 -
 ...terpolateDisplacementFieldGeneratorNew.cxx |  41 -
 ...terpolateDisplacementFieldGeneratorNew.cxx |  41 -
 ...restPointDisplacementFieldGeneratorNew.cxx |  42 -
 ...TransformDisplacementFieldGeneratorNew.cxx |  41 -
 ...ointSetToDisplacementFieldGeneratorNew.cxx |  41 -
 ...ansformToDisplacementFieldGeneratorNew.cxx |  41 -
 .../Registration/Stereo/test/CMakeLists.txt   |  14 -
 .../Segmentation/CCOBIA/test/CMakeLists.txt   |   7 -
 ...otbLabelObjectOpeningMuParserFilterNew.cxx |  39 -
 .../Conversion/test/CMakeLists.txt            |  24 -
 .../otbLabelImageToVectorDataFilterNew.cxx    |  38 -
 .../test/otbLabelMapToVectorDataFilterNew.cxx |  42 -
 .../test/otbVectorDataToLabelMapFilterNew.cxx |  43 -
 .../Labelling/test/CMakeLists.txt             |  16 -
 .../test/otbLabelToBoundaryImageFilterNew.cxx |  43 -
 ...elizeConfidenceConnectedImageFilterNew.cxx |  44 -
 ...belizeConnectedThresholdImageFilterNew.cxx |  44 -
 ...izeNeighborhoodConnectedImageFilterNew.cxx |  44 -
 .../Segmentation/Metrics/test/CMakeLists.txt  |   8 -
 .../test/otbHooverInstanceFilterNew.cxx       |  39 -
 .../Metrics/test/otbHooverMatrixFilterNew.cxx |  39 -
 .../MorphologicalProfiles/test/CMakeLists.txt |  44 -
 ...tbClosingOpeningMorphologicalFilterNew.cxx |  44 -
 ...ConvexOrConcaveClassificationFilterNew.cxx |  37 -
 ...cMorphologyDecompositionImageFilterNew.cxx |  40 -
 ...gyIterativeDecompositionImageFilterNew.cxx |  45 -
 ...otbGeodesicMorphologyLevelingFilterNew.cxx |  34 -
 ...tbMorphologicalClosingProfileFilterNew.cxx |  43 -
 ...tbMorphologicalOpeningProfileFilterNew.cxx |  44 -
 ...ConvexOrConcaveClassificationFilterNew.cxx |  45 -
 ...tbOpeningClosingMorphologicalFilterNew.cxx |  44 -
 ...veToMultiScaleCharacteristicsFilterNew.cxx |  44 -
 ...otbProfileToProfileDerivativeFilterNew.cxx |  41 -
 .../ApplicationEngine/test/CMakeLists.txt     |   6 -
 .../Wrappers/CommandLine/test/CMakeLists.txt  |   6 -
 Modules/Wrappers/QtWidget/test/CMakeLists.txt |   3 -
 425 files changed, 1 insertion(+), 16989 deletions(-)
 delete mode 100644 Modules/Adapters/GdalAdapters/test/otbOGRDataSourceWrapperNew.cxx
 delete mode 100644 Modules/Core/Common/test/otbImageRegionNonUniformMultidimensionalSplitterNew.cxx
 delete mode 100644 Modules/Core/Common/test/otbImageRegionTileMapSplitterNew.cxx
 delete mode 100644 Modules/Core/Common/test/otbRectangleNew.cxx
 delete mode 100644 Modules/Core/Common/test/otbStandardFilterWatcherNew.cxx
 delete mode 100644 Modules/Core/ComplexImage/test/otbAmplitudePhaseToRGBFunctorNew.cxx
 delete mode 100644 Modules/Core/ImageBase/test/otbExtractROINew.cxx
 delete mode 100644 Modules/Core/ImageBase/test/otbFlexibleDistanceWithMissingValueNew.cxx
 delete mode 100644 Modules/Core/ImageBase/test/otbFunctionToImageFilterNew.cxx
 delete mode 100644 Modules/Core/ImageBase/test/otbImageAndVectorImageOperationFilterNew.cxx
 delete mode 100644 Modules/Core/ImageBase/test/otbImageOfVectorsToMonoChannelExtractROINew.cxx
 delete mode 100644 Modules/Core/ImageBase/test/otbMultiChannelExtractROINew.cxx
 delete mode 100644 Modules/Core/ImageBase/test/otbMultiToMonoChannelExtractROINew.cxx
 delete mode 100644 Modules/Core/ImageBase/test/otbVectorImageToASImageAdaptorNew.cxx
 delete mode 100644 Modules/Core/Interpolation/test/otbBSplineDecompositionImageFilterNew.cxx
 delete mode 100644 Modules/Core/Interpolation/test/otbBSplineInterpolateImageFunctionNew.cxx
 delete mode 100644 Modules/Core/Interpolation/test/otbGenericInterpolateImageFunctionNew.cxx
 delete mode 100644 Modules/Core/Interpolation/test/otbProlateInterpolateImageFunctionNew.cxx
 delete mode 100644 Modules/Core/Interpolation/test/otbWindowedSincInterpolateImageBlackmanFunctionNew.cxx
 delete mode 100644 Modules/Core/Interpolation/test/otbWindowedSincInterpolateImageCosineFunctionNew.cxx
 delete mode 100644 Modules/Core/Interpolation/test/otbWindowedSincInterpolateImageFunctionBaseNew.cxx
 delete mode 100644 Modules/Core/Interpolation/test/otbWindowedSincInterpolateImageGaussianFunctionNew.cxx
 delete mode 100644 Modules/Core/Interpolation/test/otbWindowedSincInterpolateImageHammingFunctionNew.cxx
 delete mode 100644 Modules/Core/Interpolation/test/otbWindowedSincInterpolateImageLanczosFunctionNew.cxx
 delete mode 100644 Modules/Core/Interpolation/test/otbWindowedSincInterpolateImageWelchFunctionNew.cxx
 delete mode 100644 Modules/Core/LabelMap/test/otbAttributesMapLabelObjectNew.cxx
 delete mode 100644 Modules/Core/LabelMap/test/otbAttributesMapLabelObjectWithClassLabelNew.cxx
 delete mode 100644 Modules/Core/LabelMap/test/otbAttributesMapOpeningLabelMapFilterNew.cxx
 delete mode 100644 Modules/Core/LabelMap/test/otbImageToLabelMapWithAttributesFilterNew.cxx
 delete mode 100644 Modules/Core/LabelMap/test/otbLabelMapSourceNew.cxx
 delete mode 100644 Modules/Core/LabelMap/test/otbLabelMapToAttributeImageFilterNew.cxx
 delete mode 100644 Modules/Core/LabelMap/test/otbLabelMapToSampleListFilterNew.cxx
 delete mode 100644 Modules/Core/LabelMap/test/otbLabelMapWithClassLabelToLabeledSampleListFilterNew.cxx
 delete mode 100644 Modules/Core/LabelMap/test/otbLabelObjectToPolygonFunctorNew.cxx
 delete mode 100644 Modules/Core/LabelMap/test/otbShapeAttributesLabelMapFilterNew.cxx
 delete mode 100644 Modules/Core/LabelMap/test/otbStatisticsAttributesLabelMapFilterNew.cxx
 delete mode 100644 Modules/Core/Metadata/test/otbDefaultImageMetadataInterfaceFactoryNew.cxx
 delete mode 100644 Modules/Core/Metadata/test/otbFormosatImageMetadataInterfaceNew.cxx
 delete mode 100644 Modules/Core/Metadata/test/otbIkonosImageMetadataInterfaceNew.cxx
 delete mode 100644 Modules/Core/Metadata/test/otbOpticalDefaultImageMetadataInterfaceFactoryNew.cxx
 delete mode 100644 Modules/Core/Metadata/test/otbOpticalDefaultImageMetadataInterfaceNew.cxx
 delete mode 100644 Modules/Core/Metadata/test/otbPleiadesImageMetadataInterfaceNew.cxx
 delete mode 100644 Modules/Core/Metadata/test/otbQuickBirdImageMetadataInterfaceNew.cxx
 delete mode 100644 Modules/Core/Metadata/test/otbRadarsat2ImageMetadataInterfaceNew.cxx
 delete mode 100644 Modules/Core/Metadata/test/otbSarDefaultImageMetadataInterfaceFactoryNew.cxx
 delete mode 100644 Modules/Core/Metadata/test/otbSarDefaultImageMetadataInterfaceNew.cxx
 delete mode 100644 Modules/Core/Metadata/test/otbSentinel1ImageMetadataInterfaceNew.cxx
 delete mode 100644 Modules/Core/Metadata/test/otbSpot6ImageMetadataInterfaceNew.cxx
 delete mode 100644 Modules/Core/Metadata/test/otbSpotImageMetadataInterfaceNew.cxx
 delete mode 100644 Modules/Core/Metadata/test/otbTerraSarImageMetadataInterfaceNew.cxx
 delete mode 100644 Modules/Core/Metadata/test/otbWorldView2ImageMetadataInterfaceNew.cxx
 delete mode 100644 Modules/Core/ObjectList/test/otbImageListNew.cxx
 delete mode 100644 Modules/Core/ObjectList/test/otbImageListSourceNew.cxx
 delete mode 100644 Modules/Core/ObjectList/test/otbImageListToImageFilterNew.cxx
 delete mode 100644 Modules/Core/ObjectList/test/otbImageListToImageListApplyFilterNew.cxx
 delete mode 100644 Modules/Core/ObjectList/test/otbImageListToImageListFilterNew.cxx
 delete mode 100644 Modules/Core/ObjectList/test/otbImageListToVectorImageFilterNew.cxx
 delete mode 100644 Modules/Core/ObjectList/test/otbImageToImageListFilterNew.cxx
 delete mode 100644 Modules/Core/ObjectList/test/otbObjectListNew.cxx
 delete mode 100644 Modules/Core/ObjectList/test/otbObjectListToObjectListFilterNew.cxx
 delete mode 100644 Modules/Core/ObjectList/test/otbVectorImageToImageListFilterNew.cxx
 delete mode 100644 Modules/Core/PointSet/test/otbThresholdImageToPointSetFilterNew.cxx
 delete mode 100644 Modules/Core/SpatialObjects/test/otbDrawLineSpatialObjectListNew.cxx
 delete mode 100644 Modules/Core/SpatialObjects/test/otbDrawLineSpatialObjectNew.cxx
 delete mode 100644 Modules/Core/SpatialObjects/test/otbImageToLineSpatialObjectListNew.cxx
 delete mode 100644 Modules/Core/SpatialObjects/test/otbLineSpatialObjectListToPointSetFilterNew.cxx
 delete mode 100644 Modules/Core/SpatialObjects/test/otbLineSpatialObjectNew.cxx
 delete mode 100644 Modules/Core/SpatialObjects/test/otbSpatialObjectSourceNew.cxx
 delete mode 100644 Modules/Core/SpatialObjects/test/otbSpatialObjectToImageDrawingFilterNew.cxx
 delete mode 100644 Modules/Core/Transform/test/otbGenericMapProjectionNew.cxx
 delete mode 100644 Modules/Core/Transform/test/otbGenericRSTransformNew.cxx
 delete mode 100644 Modules/Core/Transform/test/otbGeocentricTransformNew.cxx
 delete mode 100644 Modules/Core/Transform/test/otbInverseLogPolarTransformNew.cxx
 delete mode 100644 Modules/Core/Transform/test/otbLogPolarTransformNew.cxx
 delete mode 100644 Modules/Core/Transform/test/otbSensorModelsNew.cxx
 delete mode 100644 Modules/Core/Transform/test/otbStreamingWarpImageFilterNew.cxx
 delete mode 100644 Modules/Core/VectorDataBase/test/otbPolyLineParametricPathWithValueNew.cxx
 delete mode 100644 Modules/Core/VectorDataBase/test/otbPolygonNew.cxx
 delete mode 100644 Modules/Core/VectorDataBase/test/otbRemoteSensingRegionNew.cxx
 delete mode 100644 Modules/Core/VectorDataBase/test/otbVectorDataNew.cxx
 delete mode 100644 Modules/Core/VectorDataBase/test/otbVectorDataSourceNew.cxx
 delete mode 100644 Modules/Detection/CloudDetection/test/otbCloudDetectionFilterNew.cxx
 delete mode 100644 Modules/Detection/CloudDetection/test/otbCloudEstimatorFilterNew.cxx
 delete mode 100644 Modules/Detection/RoadExtraction/test/otbBreakAngularPathListFilterNew.cxx
 delete mode 100644 Modules/Detection/RoadExtraction/test/otbLikelihoodPathListFilterNew.cxx
 delete mode 100644 Modules/Detection/RoadExtraction/test/otbLinkPathListFilterNew.cxx
 delete mode 100644 Modules/Detection/RoadExtraction/test/otbModulusAndDirectionImageFiltersNew.cxx
 delete mode 100644 Modules/Detection/RoadExtraction/test/otbNeighborhoodScalarProductFilterNew.cxx
 delete mode 100644 Modules/Detection/RoadExtraction/test/otbNonMaxRemovalByDirectionFilterNew.cxx
 delete mode 100644 Modules/Detection/RoadExtraction/test/otbParallelLinePathListFilterNew.cxx
 delete mode 100644 Modules/Detection/RoadExtraction/test/otbRemoveIsolatedByDirectionFilterNew.cxx
 delete mode 100644 Modules/Detection/RoadExtraction/test/otbRemoveTortuousPathListFilterNew.cxx
 delete mode 100644 Modules/Detection/RoadExtraction/test/otbRemoveWrongDirectionFilterNew.cxx
 delete mode 100644 Modules/Detection/RoadExtraction/test/otbRoadExtractionFilterNew.cxx
 delete mode 100644 Modules/Detection/RoadExtraction/test/otbSimplifyPathListFilterNew.cxx
 delete mode 100644 Modules/Detection/UrbanArea/test/otbUrbanAreaDetectionImageFilterNew.cxx
 delete mode 100644 Modules/Feature/Corner/test/otbLineSpatialObjectListToRightAnglePointSetFilterNew.cxx
 delete mode 100644 Modules/Feature/Density/test/otbKeyPointDensityImageFilterNew.cxx
 delete mode 100644 Modules/Feature/Density/test/otbPointSetDensityEpanechnikovFunctionNew.cxx
 delete mode 100644 Modules/Feature/Density/test/otbPointSetDensityFunctionNew.cxx
 delete mode 100644 Modules/Feature/Density/test/otbPointSetDensityGaussianFunctionNew.cxx
 delete mode 100644 Modules/Feature/Density/test/otbPointSetToDensityImageFilterNew.cxx
 delete mode 100644 Modules/Feature/Descriptors/test/otbFourierMellinImageFilterNew.cxx
 delete mode 100644 Modules/Feature/Descriptors/test/otbImageToFastSIFTKeyPointSetFilterNew.cxx
 delete mode 100644 Modules/Feature/Descriptors/test/otbImageToHessianDeterminantImageFilterNew.cxx
 delete mode 100644 Modules/Feature/Descriptors/test/otbImageToSIFTKeyPointSetFilterNew.cxx
 delete mode 100644 Modules/Feature/Descriptors/test/otbImageToSURFKeyPointSetFilterNew.cxx
 delete mode 100644 Modules/Feature/Descriptors/test/otbKeyPointSetsMatchingFilterNew.cxx
 delete mode 100644 Modules/Feature/Descriptors/test/otbLandmarkNew.cxx
 delete mode 100644 Modules/Feature/Edge/test/otbAssociativeSymmetricalSumNew.cxx
 delete mode 100644 Modules/Feature/Edge/test/otbAsymmetricFusionOfLineDetectorNew.cxx
 delete mode 100644 Modules/Feature/Edge/test/otbEdgeDensityImageFilterNew.cxx
 delete mode 100644 Modules/Feature/Edge/test/otbEdgeDetectorImageFilterNew.cxx
 delete mode 100644 Modules/Feature/Edge/test/otbExtractSegmentsNew.cxx
 delete mode 100644 Modules/Feature/Edge/test/otbFillGapsFilterNew.cxx
 delete mode 100644 Modules/Feature/Edge/test/otbLineCorrelationDetectorNew.cxx
 delete mode 100644 Modules/Feature/Edge/test/otbLineDetectorBaseNew.cxx
 delete mode 100644 Modules/Feature/Edge/test/otbLineRatioDetectorNew.cxx
 delete mode 100644 Modules/Feature/Edge/test/otbLocalHoughNew.cxx
 delete mode 100644 Modules/Feature/Edge/test/otbPersistentVectorizationFilterNew.cxx
 delete mode 100644 Modules/Feature/Edge/test/otbPixelSuppressionByDirectionNew.cxx
 delete mode 100644 Modules/Feature/Edge/test/otbTouziEdgeDetectorNew.cxx
 delete mode 100644 Modules/Feature/Moments/test/otbComplexMomentPathNew.cxx
 delete mode 100644 Modules/Feature/Moments/test/otbFlusserPathNew.cxx
 delete mode 100644 Modules/Feature/Moments/test/otbHuPathNew.cxx
 delete mode 100644 Modules/Feature/SeamCarving/test/otbAddCarvingPathFilterNew.cxx
 delete mode 100644 Modules/Feature/SeamCarving/test/otbImageToCarvingPathFilterNew.cxx
 delete mode 100644 Modules/Feature/SeamCarving/test/otbRemoveCarvingPathFilterNew.cxx
 delete mode 100644 Modules/Feature/Textures/test/otbGreyLevelCooccurrenceIndexedListNew.cxx
 delete mode 100644 Modules/Feature/Textures/test/otbSFSTexturesImageFilterNew.cxx
 delete mode 100644 Modules/Feature/Textures/test/otbScalarImageToAdvancedTexturesFilterNew.cxx
 delete mode 100644 Modules/Feature/Textures/test/otbScalarImageToPanTexTextureFilterNew.cxx
 delete mode 100644 Modules/Feature/Textures/test/otbScalarImageToTexturesFilterNew.cxx
 delete mode 100644 Modules/Filtering/ChangeDetection/test/otbKullbackLeiblerDistanceImageFilterNew.cxx
 delete mode 100644 Modules/Filtering/ChangeDetection/test/otbKullbackLeiblerProfileImageFilterNew.cxx
 delete mode 100644 Modules/Filtering/ChangeDetection/test/otbKullbackLeiblerSupervizedDistanceImageFilterNew.cxx
 delete mode 100644 Modules/Filtering/ColorMap/test/otbScalarToRainbowRGBPixelFunctorNew.cxx
 delete mode 100644 Modules/Filtering/Contrast/test/otbApplyGainFilterNew.cxx
 delete mode 100644 Modules/Filtering/Contrast/test/otbCLHistogramEqualizationFilterNew.cxx
 delete mode 100644 Modules/Filtering/Contrast/test/otbComputeGainLutFilterNew.cxx
 delete mode 100644 Modules/Filtering/Contrast/test/otbComputeHistoFilterNew.cxx
 delete mode 100644 Modules/Filtering/Convolution/test/otbConvolutionImageFilterNew.cxx
 delete mode 100644 Modules/Filtering/Convolution/test/otbGaborFilterGeneratorNew.cxx
 delete mode 100644 Modules/Filtering/Convolution/test/otbOverlapSaveConvolutionImageFilterNew.cxx
 delete mode 100644 Modules/Filtering/DEM/test/otbDEMCaracteristicsExtractorNew.cxx
 delete mode 100644 Modules/Filtering/DEM/test/otbDEMToImageGeneratorNew.cxx
 delete mode 100644 Modules/Filtering/DimensionalityReduction/test/otbAngularProjectionImageFilterNew.cxx
 delete mode 100644 Modules/Filtering/DimensionalityReduction/test/otbAngularProjectionSetImageFilterNew.cxx
 delete mode 100644 Modules/Filtering/DimensionalityReduction/test/otbEstimateInnerProductPCAImageFilterNew.cxx
 delete mode 100644 Modules/Filtering/DimensionalityReduction/test/otbInnerProductPCAImageFilterNew.cxx
 delete mode 100644 Modules/Filtering/DimensionalityReduction/test/otbNormalizeInnerProductPCAImageFilterNew.cxx
 delete mode 100644 Modules/Filtering/DimensionalityReduction/test/otbSparseWvltToAngleMapperListFilterNew.cxx
 delete mode 100644 Modules/Filtering/ImageManipulation/test/otbBinaryImageDensityFunctionNew.cxx
 delete mode 100644 Modules/Filtering/ImageManipulation/test/otbBinaryImageMinimalBoundingRegionCalculatorNew.cxx
 delete mode 100644 Modules/Filtering/ImageManipulation/test/otbBinaryImageToDensityImageFilterNew.cxx
 delete mode 100644 Modules/Filtering/ImageManipulation/test/otbBoxAndWhiskerImageFilterNew.cxx
 delete mode 100644 Modules/Filtering/ImageManipulation/test/otbChangeLabelImageFilterNew.cxx
 delete mode 100644 Modules/Filtering/ImageManipulation/test/otbConcatenateVectorImageFilterNew.cxx
 delete mode 100644 Modules/Filtering/ImageManipulation/test/otbEuclideanDistanceMetricWithMissingValueNew.cxx
 delete mode 100644 Modules/Filtering/ImageManipulation/test/otbFunctionWithNeighborhoodToImageFilterNew.cxx
 delete mode 100644 Modules/Filtering/ImageManipulation/test/otbImageToVectorImageCastFilterNew.cxx
 delete mode 100644 Modules/Filtering/ImageManipulation/test/otbMatrixTransposeMatrixImageFilterNew.cxx
 delete mode 100644 Modules/Filtering/ImageManipulation/test/otbPerBandVectorImageFilterNew.cxx
 delete mode 100644 Modules/Filtering/ImageManipulation/test/otbPrintableImageFilterNew.cxx
 delete mode 100644 Modules/Filtering/ImageManipulation/test/otbShiftScaleImageAdaptorNew.cxx
 delete mode 100644 Modules/Filtering/ImageManipulation/test/otbShiftScaleVectorImageFilterNew.cxx
 delete mode 100644 Modules/Filtering/ImageManipulation/test/otbSpectralAngleDistanceImageFilterNew.cxx
 delete mode 100644 Modules/Filtering/ImageManipulation/test/otbStreamingInnerProductVectorImageFilterNew.cxx
 delete mode 100644 Modules/Filtering/ImageManipulation/test/otbStreamingResampleImageFilterNew.cxx
 delete mode 100644 Modules/Filtering/ImageManipulation/test/otbStreamingShrinkImageFilterNew.cxx
 delete mode 100644 Modules/Filtering/ImageManipulation/test/otbUnaryFunctorImageFilterNew.cxx
 delete mode 100644 Modules/Filtering/ImageManipulation/test/otbUnaryFunctorNeighborhoodImageFilterNew.cxx
 delete mode 100644 Modules/Filtering/ImageManipulation/test/otbUnaryFunctorNeighborhoodWithOffsetImageFilterNew.cxx
 delete mode 100644 Modules/Filtering/ImageManipulation/test/otbUnaryFunctorWithIndexImageFilterNew.cxx
 delete mode 100644 Modules/Filtering/ImageManipulation/test/otbUnaryImageFunctorWithVectorImageFilterNew.cxx
 delete mode 100644 Modules/Filtering/ImageManipulation/test/otbVectorImageTo3DScalarImageFilterNew.cxx
 delete mode 100644 Modules/Filtering/ImageManipulation/test/otbVectorImageToAmplitudeImageFilterNew.cxx
 delete mode 100644 Modules/Filtering/ImageManipulation/test/otbVectorRescaleIntensityImageFilterNew.cxx
 delete mode 100644 Modules/Filtering/ImageNoise/test/otbFrostFilterNew.cxx
 delete mode 100644 Modules/Filtering/MathParser/test/otbMaskMuParserFilterNew.cxx
 delete mode 100644 Modules/Filtering/MorphologicalPyramid/test/otbMorphologicalPyramidAnalysisFilterNew.cxx
 delete mode 100644 Modules/Filtering/MorphologicalPyramid/test/otbMorphologicalPyramidMRToMSConverterNew.cxx
 delete mode 100644 Modules/Filtering/MorphologicalPyramid/test/otbMorphologicalPyramidResamplerNew.cxx
 delete mode 100644 Modules/Filtering/MorphologicalPyramid/test/otbMorphologicalPyramidSegmentationFilterNew.cxx
 delete mode 100644 Modules/Filtering/MorphologicalPyramid/test/otbMorphologicalPyramidSegmenterNew.cxx
 delete mode 100644 Modules/Filtering/MorphologicalPyramid/test/otbMorphologicalPyramidSynthesisFilterNew.cxx
 delete mode 100644 Modules/Filtering/Path/test/otbCompacityPathNew.cxx
 delete mode 100644 Modules/Filtering/Path/test/otbDrawPathFilterNew.cxx
 delete mode 100644 Modules/Filtering/Path/test/otbDrawPathListFilterNew.cxx
 delete mode 100644 Modules/Filtering/Path/test/otbImageFittingPolygonListFilterNew.cxx
 delete mode 100644 Modules/Filtering/Path/test/otbImageToEdgePathFilterNew.cxx
 delete mode 100644 Modules/Filtering/Path/test/otbImageToPathFilterNew.cxx
 delete mode 100644 Modules/Filtering/Path/test/otbOrientationPathNew.cxx
 delete mode 100644 Modules/Filtering/Path/test/otbPathListToHistogramGeneratorNew.cxx
 delete mode 100644 Modules/Filtering/Path/test/otbPathListToPathListFilterNew.cxx
 delete mode 100644 Modules/Filtering/Path/test/otbRegionImageToRectangularPathListFilterNew.cxx
 delete mode 100644 Modules/Filtering/Path/test/otbVectorizationPathListFilterNew.cxx
 delete mode 100644 Modules/Filtering/Polarimetry/test/otbMuellerToPolarisationDegreeAndPowerImageFilterNew.cxx
 delete mode 100644 Modules/Filtering/Polarimetry/test/otbMuellerToReciprocalCovarianceImageFilterNew.cxx
 delete mode 100644 Modules/Filtering/Polarimetry/test/otbMultiChannelsPolarimetricSynthesisFilterNew.cxx
 delete mode 100644 Modules/Filtering/Polarimetry/test/otbReciprocalCoherencyToReciprocalMuellerImageFilterNew.cxx
 delete mode 100644 Modules/Filtering/Polarimetry/test/otbReciprocalCovarianceToCoherencyDegreeImageFilterNew.cxx
 delete mode 100644 Modules/Filtering/Polarimetry/test/otbReciprocalCovarianceToReciprocalCoherencyImageFilterNew.cxx
 delete mode 100644 Modules/Filtering/Polarimetry/test/otbReciprocalHAlphaImageFilterNew.cxx
 delete mode 100644 Modules/Filtering/Polarimetry/test/otbReciprocalLinearCovarianceToReciprocalCircularCovarianceImageFilterNew.cxx
 delete mode 100644 Modules/Filtering/Projection/test/otbCompositeTransformNew.cxx
 delete mode 100644 Modules/Filtering/Projection/test/otbGCPsToRPCSensorModelImageFilterNew.cxx
 delete mode 100644 Modules/Filtering/Projection/test/otbImportGeoInformationImageFilterNew.cxx
 delete mode 100644 Modules/Filtering/Projection/test/otbLeastSquareAffineTransformEstimatorNew.cxx
 delete mode 100644 Modules/Filtering/Projection/test/otbMapProjectionsNew.cxx
 delete mode 100644 Modules/Filtering/Projection/test/otbOrthoRectificationFilterNew.cxx
 delete mode 100644 Modules/Filtering/Projection/test/otbROIdataConversionNew.cxx
 delete mode 100644 Modules/Filtering/Projection/test/otbVectorDataProjectionFilterNew.cxx
 delete mode 100644 Modules/Filtering/Smoothing/test/otbMeanShiftSmoothingImageFilterNew.cxx
 delete mode 100644 Modules/Filtering/Statistics/test/otbContinuousMinimumMaximumImageCalculatorNew.cxx
 delete mode 100644 Modules/Filtering/Statistics/test/otbListSampleToHistogramListGeneratorNew.cxx
 delete mode 100644 Modules/Filtering/Statistics/test/otbListSampleToVariableDimensionHistogramGeneratorNew.cxx
 delete mode 100644 Modules/Filtering/Statistics/test/otbLocalHistogramImageFunctionNew.cxx
 delete mode 100644 Modules/Filtering/Statistics/test/otbStreamingMinMaxImageFilterNew.cxx
 delete mode 100644 Modules/Filtering/Statistics/test/otbStreamingMinMaxVectorImageFilterNew.cxx
 delete mode 100644 Modules/Filtering/Statistics/test/otbStreamingStatisticsImageFilterNew.cxx
 delete mode 100644 Modules/Filtering/Statistics/test/otbStreamingStatisticsVectorImageFilterNew.cxx
 delete mode 100644 Modules/Filtering/Statistics/test/otbVarianceImageFilterNew.cxx
 delete mode 100644 Modules/Filtering/Statistics/test/otbVectorImageToIntensityImageFilterNew.cxx
 delete mode 100644 Modules/Filtering/TimeSeries/test/otbSavitzkyGolayInterpolationFunctorNew.cxx
 delete mode 100644 Modules/Filtering/TimeSeries/test/otbTimeSeriesLeastSquareFittingFunctorNew.cxx
 delete mode 100644 Modules/Filtering/VectorDataManipulation/test/otbVectorDataExtractROINew.cxx
 delete mode 100644 Modules/Filtering/VectorDataManipulation/test/otbVectorDataToVectorDataFilterNew.cxx
 delete mode 100644 Modules/Filtering/VectorDataRendering/test/otbVectorDataToMapFilterNew.cxx
 delete mode 100644 Modules/Filtering/Wavelet/test/otbSubsampleImageFilterNew.cxx
 delete mode 100644 Modules/Filtering/Wavelet/test/otbWaveletFilterBankNew.cxx
 delete mode 100644 Modules/Filtering/Wavelet/test/otbWaveletInverseFilterBankNew.cxx
 delete mode 100644 Modules/Filtering/Wavelet/test/otbWaveletInverseTransformNew.cxx
 delete mode 100644 Modules/Filtering/Wavelet/test/otbWaveletOperatorNew.cxx
 delete mode 100644 Modules/Filtering/Wavelet/test/otbWaveletPacketInverseTransformNew.cxx
 delete mode 100644 Modules/Filtering/Wavelet/test/otbWaveletPacketTransformNew.cxx
 delete mode 100644 Modules/Filtering/Wavelet/test/otbWaveletTransformNew.cxx
 delete mode 100644 Modules/Fusion/Fuzzy/test/otbFuzzyVariableNew.cxx
 delete mode 100644 Modules/Fusion/MajorityVoting/test/otbNeighborhoodMajorityVotingImageFilterNew.cxx
 delete mode 100644 Modules/Fusion/PanSharpening/test/otbBayesianFusionFilterNew.cxx
 delete mode 100644 Modules/Fusion/PanSharpening/test/otbFusionImageBaseNew.cxx
 delete mode 100644 Modules/Fusion/PanSharpening/test/otbLmvmPanSharpeningFusionImageFilterNew.cxx
 delete mode 100644 Modules/Fusion/PanSharpening/test/otbSimpleRcsPanSharpeningFusionImageFilterNew.cxx
 delete mode 100644 Modules/Hyperspectral/Unmixing/test/otbSparseUnmixingImageFilterNew.cxx
 delete mode 100644 Modules/IO/Carto/test/otbMapFileProductWriterNew.cxx
 delete mode 100644 Modules/IO/IOGDAL/test/otbOGRVectorDataIONew.cxx
 delete mode 100644 Modules/IO/IOKML/test/otbKMLVectorDataIONew.cxx
 delete mode 100644 Modules/IO/ImageIO/test/otbImageIOFactoryNew.cxx
 delete mode 100644 Modules/IO/ImageIO/test/otbScalarBufferToImageFileWriterNew.cxx
 delete mode 100644 Modules/IO/VectorDataIO/test/otbVectorDataFileReaderNew.cxx
 delete mode 100644 Modules/IO/VectorDataIO/test/otbVectorDataFileWriterNew.cxx
 delete mode 100644 Modules/Learning/LearningBase/test/otbDecisionTreeNew.cxx
 delete mode 100644 Modules/Learning/LearningBase/test/otbKMeansImageClassificationFilterNew.cxx
 delete mode 100644 Modules/Learning/LearningBase/test/otbSEMClassifierNew.cxx
 delete mode 100644 Modules/Learning/Markov/test/otbMRFEnergyEdgeFidelityNew.cxx
 delete mode 100644 Modules/Learning/Markov/test/otbMRFEnergyGaussianClassificationNew.cxx
 delete mode 100644 Modules/Learning/Markov/test/otbMRFEnergyGaussianNew.cxx
 delete mode 100644 Modules/Learning/Markov/test/otbMRFEnergyPottsNew.cxx
 delete mode 100644 Modules/Learning/Markov/test/otbMRFOptimizerICMNew.cxx
 delete mode 100644 Modules/Learning/Markov/test/otbMRFOptimizerMetropolisNew.cxx
 delete mode 100644 Modules/Learning/Markov/test/otbMRFSamplerMAPNew.cxx
 delete mode 100644 Modules/Learning/Markov/test/otbMRFSamplerRandomMAPNew.cxx
 delete mode 100644 Modules/Learning/Markov/test/otbMRFSamplerRandomNew.cxx
 delete mode 100644 Modules/Learning/Markov/test/otbMarkovRandomFieldFilterNew.cxx
 delete mode 100644 Modules/Learning/SOM/test/otbPeriodicSOMNew.cxx
 delete mode 100644 Modules/Learning/SOM/test/otbSOMActivationBuilderNew.cxx
 delete mode 100644 Modules/Learning/SOM/test/otbSOMClassifierNew.cxx
 delete mode 100644 Modules/Learning/SOM/test/otbSOMImageClassificationFilterNew.cxx
 delete mode 100644 Modules/Learning/SOM/test/otbSOMMapNew.cxx
 delete mode 100644 Modules/Learning/SOM/test/otbSOMNew.cxx
 delete mode 100644 Modules/Learning/SOM/test/otbSOMWithMissingValueNew.cxx
 delete mode 100644 Modules/Learning/SOM/test/otbSOMbasedImageFilterNew.cxx
 delete mode 100644 Modules/Learning/Supervised/test/otbExhaustiveExponentialOptimizerNew.cxx
 delete mode 100644 Modules/Learning/Supervised/test/otbSVMCrossValidationCostFunctionNew.cxx
 delete mode 100644 Modules/OBIA/RCC8/test/otbImageListToRCC8GraphFilterNew.cxx
 delete mode 100644 Modules/OBIA/RCC8/test/otbImageMultiSegmentationToRCC8GraphFilterNew.cxx
 delete mode 100644 Modules/OBIA/RCC8/test/otbImageToImageRCC8CalculatorNew.cxx
 delete mode 100644 Modules/OBIA/RCC8/test/otbPolygonListToRCC8GraphFilterNew.cxx
 delete mode 100644 Modules/OBIA/RCC8/test/otbPolygonToPolygonRCC8CalculatorNew.cxx
 delete mode 100644 Modules/OBIA/RCC8/test/otbRCC8EdgeNew.cxx
 delete mode 100644 Modules/OBIA/RCC8/test/otbRCC8GraphFileReaderNew.cxx
 delete mode 100644 Modules/OBIA/RCC8/test/otbRCC8GraphFileWriterNew.cxx
 delete mode 100644 Modules/OBIA/RCC8/test/otbRCC8GraphNew.cxx
 delete mode 100644 Modules/OBIA/RCC8/test/otbRCC8GraphSourceNew.cxx
 delete mode 100644 Modules/OBIA/RCC8/test/otbRCC8VertexBaseNew.cxx
 delete mode 100644 Modules/OBIA/RCC8/test/otbRCC8VertexWithCompacityNew.cxx
 delete mode 100644 Modules/Radiometry/Indices/test/otbGAndRIndexImageFilterNew.cxx
 delete mode 100644 Modules/Radiometry/Indices/test/otbMultiChannelGAndRIndexImageFilterNew.cxx
 delete mode 100644 Modules/Radiometry/Indices/test/otbMultiChannelRAndBAndNIRVegetationIndexImageFilterNew.cxx
 delete mode 100644 Modules/Radiometry/Indices/test/otbMultiChannelRAndGAndNIRIndexImageFilterNew.cxx
 delete mode 100644 Modules/Radiometry/Indices/test/otbMultiChannelRAndNIRVegetationIndexImageFilterNew.cxx
 delete mode 100644 Modules/Radiometry/Indices/test/otbRAndBAndNIRVegetationIndexImageFilterNew.cxx
 delete mode 100644 Modules/Radiometry/Indices/test/otbRAndGAndNIRVegetationIndexImageFilterNew.cxx
 delete mode 100644 Modules/Radiometry/Indices/test/otbRAndNIRVegetationIndexImageFilterNew.cxx
 delete mode 100644 Modules/Radiometry/OpticalCalibration/test/otbAeronetNew.cxx
 delete mode 100644 Modules/Radiometry/OpticalCalibration/test/otbAtmosphericCorrectionParametersNew.cxx
 delete mode 100644 Modules/Radiometry/OpticalCalibration/test/otbImageMetadataCorrectionParametersNew.cxx
 delete mode 100644 Modules/Radiometry/OpticalCalibration/test/otbImageToRadianceImageFilterNew.cxx
 delete mode 100644 Modules/Radiometry/OpticalCalibration/test/otbImageToReflectanceImageFilterNew.cxx
 delete mode 100644 Modules/Radiometry/OpticalCalibration/test/otbRadianceToImageImageFilterNew.cxx
 delete mode 100644 Modules/Radiometry/OpticalCalibration/test/otbRadianceToReflectanceImageFilterNew.cxx
 delete mode 100644 Modules/Radiometry/OpticalCalibration/test/otbRadiometryCorrectionParametersToAtmosphericRadiativeTermsNew.cxx
 delete mode 100644 Modules/Radiometry/OpticalCalibration/test/otbReflectanceToImageImageFilterNew.cxx
 delete mode 100644 Modules/Radiometry/OpticalCalibration/test/otbReflectanceToRadianceImageFilterNew.cxx
 delete mode 100644 Modules/Radiometry/OpticalCalibration/test/otbSpectralSensitivityReaderNew.cxx
 delete mode 100644 Modules/Radiometry/OpticalCalibration/test/otbSurfaceAdjacencyEffectCorrectionSchemeFilterNew.cxx
 delete mode 100644 Modules/Radiometry/SARCalibration/test/otbTerraSarBrightnessImageFilterNew.cxx
 delete mode 100644 Modules/Radiometry/Simulation/test/otbReduceSpectralResponseNew.cxx
 delete mode 100644 Modules/Radiometry/Simulation/test/otbSatelliteRSRNew.cxx
 delete mode 100644 Modules/Radiometry/Simulation/test/otbSpatialisationTestNew.cxx
 delete mode 100644 Modules/Radiometry/Simulation/test/otbSpectralResponseNew.cxx
 delete mode 100644 Modules/Radiometry/Simulation/test/otbSurfaceReflectanceToReflectanceFilterNew.cxx
 delete mode 100644 Modules/Registration/DisparityMap/test/otbDisparityMapEstimationMethodNew.cxx
 delete mode 100644 Modules/Registration/DisparityMap/test/otbFineRegistrationImageFilterNew.cxx
 delete mode 100644 Modules/Registration/DisparityMap/test/otbNCCRegistrationFilterNew.cxx
 delete mode 100644 Modules/Registration/DisplacementField/test/otbBSplinesInterpolateDisplacementFieldGeneratorNew.cxx
 delete mode 100644 Modules/Registration/DisplacementField/test/otbBSplinesInterpolateTransformDisplacementFieldGeneratorNew.cxx
 delete mode 100644 Modules/Registration/DisplacementField/test/otbNNearestPointsLinearInterpolateDisplacementFieldGeneratorNew.cxx
 delete mode 100644 Modules/Registration/DisplacementField/test/otbNNearestTransformsLinearInterpolateDisplacementFieldGeneratorNew.cxx
 delete mode 100644 Modules/Registration/DisplacementField/test/otbNearestPointDisplacementFieldGeneratorNew.cxx
 delete mode 100644 Modules/Registration/DisplacementField/test/otbNearestTransformDisplacementFieldGeneratorNew.cxx
 delete mode 100644 Modules/Registration/DisplacementField/test/otbPointSetToDisplacementFieldGeneratorNew.cxx
 delete mode 100644 Modules/Registration/DisplacementField/test/otbPointSetWithTransformToDisplacementFieldGeneratorNew.cxx
 delete mode 100644 Modules/Segmentation/CCOBIA/test/otbLabelObjectOpeningMuParserFilterNew.cxx
 delete mode 100644 Modules/Segmentation/Conversion/test/otbLabelImageToVectorDataFilterNew.cxx
 delete mode 100644 Modules/Segmentation/Conversion/test/otbLabelMapToVectorDataFilterNew.cxx
 delete mode 100644 Modules/Segmentation/Conversion/test/otbVectorDataToLabelMapFilterNew.cxx
 delete mode 100644 Modules/Segmentation/Labelling/test/otbLabelToBoundaryImageFilterNew.cxx
 delete mode 100644 Modules/Segmentation/Labelling/test/otbLabelizeConfidenceConnectedImageFilterNew.cxx
 delete mode 100644 Modules/Segmentation/Labelling/test/otbLabelizeConnectedThresholdImageFilterNew.cxx
 delete mode 100644 Modules/Segmentation/Labelling/test/otbLabelizeNeighborhoodConnectedImageFilterNew.cxx
 delete mode 100644 Modules/Segmentation/Metrics/test/otbHooverInstanceFilterNew.cxx
 delete mode 100644 Modules/Segmentation/Metrics/test/otbHooverMatrixFilterNew.cxx
 delete mode 100644 Modules/Segmentation/MorphologicalProfiles/test/otbClosingOpeningMorphologicalFilterNew.cxx
 delete mode 100644 Modules/Segmentation/MorphologicalProfiles/test/otbConvexOrConcaveClassificationFilterNew.cxx
 delete mode 100644 Modules/Segmentation/MorphologicalProfiles/test/otbGeodesicMorphologyDecompositionImageFilterNew.cxx
 delete mode 100644 Modules/Segmentation/MorphologicalProfiles/test/otbGeodesicMorphologyIterativeDecompositionImageFilterNew.cxx
 delete mode 100644 Modules/Segmentation/MorphologicalProfiles/test/otbGeodesicMorphologyLevelingFilterNew.cxx
 delete mode 100644 Modules/Segmentation/MorphologicalProfiles/test/otbMorphologicalClosingProfileFilterNew.cxx
 delete mode 100644 Modules/Segmentation/MorphologicalProfiles/test/otbMorphologicalOpeningProfileFilterNew.cxx
 delete mode 100644 Modules/Segmentation/MorphologicalProfiles/test/otbMultiScaleConvexOrConcaveClassificationFilterNew.cxx
 delete mode 100644 Modules/Segmentation/MorphologicalProfiles/test/otbOpeningClosingMorphologicalFilterNew.cxx
 delete mode 100644 Modules/Segmentation/MorphologicalProfiles/test/otbProfileDerivativeToMultiScaleCharacteristicsFilterNew.cxx
 delete mode 100644 Modules/Segmentation/MorphologicalProfiles/test/otbProfileToProfileDerivativeFilterNew.cxx

diff --git a/Modules/Adapters/GdalAdapters/test/CMakeLists.txt b/Modules/Adapters/GdalAdapters/test/CMakeLists.txt
index 0eeaab37cc..506edf43bf 100644
--- a/Modules/Adapters/GdalAdapters/test/CMakeLists.txt
+++ b/Modules/Adapters/GdalAdapters/test/CMakeLists.txt
@@ -27,9 +27,6 @@ if (Boost_UNIT_TEST_FRAMEWORK_FOUND)
     ${OTBGdalAdapters-Test_LIBRARIES}
     ${Boost_UNIT_TEST_FRAMEWORK_LIBRARY} )
   
-  add_test(NAME coTuOGRDataSourceWrapperNew
-           COMMAND otbOGRTests coTuOGRDataSourceWrapperNew
-           WORKING_DIRECTORY ${TEMP})
 endif()
 
 add_executable(otbOGRTestsIO otbOGRDataSourceWrapperIO.cxx)
diff --git a/Modules/Adapters/GdalAdapters/test/otbOGRDataSourceWrapperNew.cxx b/Modules/Adapters/GdalAdapters/test/otbOGRDataSourceWrapperNew.cxx
deleted file mode 100644
index 82e0719143..0000000000
--- a/Modules/Adapters/GdalAdapters/test/otbOGRDataSourceWrapperNew.cxx
+++ /dev/null
@@ -1,891 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-
-/*===========================================================================*/
-/*===============================[ Includes ]================================*/
-/*===========================================================================*/
-#define BOOST_TEST_MODULE "otb::org::DataSource creation unit testing"
-#define BOOST_TEST_DYN_LINK
-#include <boost/test/unit_test.hpp>
-#include <boost/foreach.hpp>
-#include "otb_boost_string_header.h"
-#include "itksys/SystemTools.hxx"
-#include "otbOGRDataSourceWrapper.h"
-
-
-using namespace otb;
-
-/**\ingroup gGeometry
- * \file    otbOGRDataSourceWrapperNew.cxx
- *
- *\todo Test: CopyLayer from one datasource to another
- *\todo Test: read datasource
- *\todo Test: write datasource
- */
-
-/*===========================================================================*/
-/*===============================[ Constants ]===============================*/
-/*===========================================================================*/
-const std::string k_one = "one";
-const std::string k_two = "two";
-
-/*const*/ OGRFieldDefn k_f0_("OFTInteger", OFTInteger);
-/*const*/ OGRFieldDefn k_f1_("OFTReal", OFTReal);
-/*const*/ OGRFieldDefn k_f2_("OFTString", OFTString);
-/*const*/ OGRFieldDefn k_f3_("OFTIntegerList", OFTIntegerList);
-/*const*/ OGRFieldDefn k_f4_("OFTRealList", OFTRealList);
-/*const*/ OGRFieldDefn k_f5_("OFTStringList", OFTStringList);
-
-ogr::FieldDefn k_f0(k_f0_);
-ogr::FieldDefn k_f1(k_f1_);
-ogr::FieldDefn k_f2(k_f2_);
-ogr::FieldDefn k_f3(k_f3_);
-ogr::FieldDefn k_f4(k_f4_);
-ogr::FieldDefn k_f5(k_f5_);
-
-/*===========================================================================*/
-/*==================================[ UTs ]==================================*/
-/*===========================================================================*/
-
-BOOST_AUTO_TEST_CASE(OGRDataSource_new_empty)
-{
-  ogr::DataSource::Pointer ds = ogr::DataSource::New();
-  BOOST_ASSERT(ds);
-  BOOST_CHECK_EQUAL(ds->GetLayersCount(), 0);
-  BOOST_CHECK_EQUAL(ds->Size(false), 0);
-  BOOST_CHECK_EQUAL(ds->Size(true), 0);
-  BOOST_CHECK_THROW(ds->GetLayerChecked(0), itk::ExceptionObject);
-}
-
-BOOST_AUTO_TEST_CASE(OGRDataSource_mem_add_n_del_layer)
-{
-  ogr::DataSource::Pointer ds = ogr::DataSource::New();
-  BOOST_ASSERT(ds);
-  ogr::Layer l = ds -> CreateLayer(k_one);
-  BOOST_CHECK_EQUAL(ds->GetLayersCount(), 1);
-  BOOST_CHECK_EQUAL(l.GetFeatureCount(false), 0);
-  BOOST_CHECK_EQUAL(l.GetFeatureCount(true), 0);
-  ogr::Layer l0 = ds->GetLayerChecked(0);
-  BOOST_CHECK_THROW(ds->GetLayerChecked(1), itk::ExceptionObject);
-  BOOST_CHECK_EQUAL(l.GetName(), k_one);
-  BOOST_CHECK_EQUAL(l0.GetName(), k_one);
-  BOOST_CHECK_EQUAL(l0.GetName(), k_one);
-
-  BOOST_CHECK_EQUAL(ds->GetLayer(k_one).GetName(), k_one);
-  BOOST_CHECK_EQUAL(ds->GetLayerChecked(k_one).GetName(), k_one);
-  BOOST_ASSERT(! ds->GetLayer(k_two));
-  BOOST_CHECK_THROW(ds->GetLayerChecked(k_two), itk::ExceptionObject);
-
-  ogr::Layer l2 = ds -> CreateLayer(k_two);
-  BOOST_CHECK_EQUAL(ds->GetLayersCount(), 2);
-  BOOST_CHECK_EQUAL(ds->Size(false), 0);
-  BOOST_CHECK_EQUAL(ds->Size(true), 0);
-  BOOST_CHECK_EQUAL(ds->GetLayer(0).GetName(), k_one);
-  BOOST_CHECK_EQUAL(ds->GetLayer(1).GetName(), k_two);
-  BOOST_CHECK_EQUAL(ds->GetLayer(k_two).GetName(), k_two);
-  BOOST_CHECK_THROW(ds->GetLayerChecked(2), itk::ExceptionObject);
-
-  ds->DeleteLayer(0);
-  BOOST_CHECK_EQUAL(ds->GetLayersCount(), 1);
-  BOOST_CHECK_EQUAL(ds->GetLayer(0).GetName(), k_two);
-  BOOST_CHECK_THROW(ds->GetLayerChecked(1), itk::ExceptionObject);
-  BOOST_CHECK_EQUAL(ds->Size(false), 0);
-  BOOST_CHECK_EQUAL(ds->Size(true), 0);
-}
-
-BOOST_AUTO_TEST_CASE(OGRDataSource_new_exceptions)
-{
-  BOOST_CHECK_THROW(ogr::DataSource::New("name-that-shall-not-exist.shp", ogr::DataSource::Modes::Read),
-                    itk::ExceptionObject);
-  BOOST_CHECK_THROW(ogr::DataSource::New("unsupported.extension", ogr::DataSource::Modes::Overwrite),
-                    itk::ExceptionObject);
-}
-
-BOOST_AUTO_TEST_CASE(OGRDataSource_new_shp)
-{
-  if (boost::unit_test::framework::master_test_suite().argc < 2)
-    {
-    BOOST_THROW_EXCEPTION( std::runtime_error("not enough arguments") );
-    }
-
-  const std::string k_shp = boost::unit_test::framework::master_test_suite().argv[1];
-  const std::string k_one_ = k_shp;
-  ogr::DataSource::Pointer ds = ogr::DataSource::New(k_shp+".shp", ogr::DataSource::Modes::Overwrite);
-
-  BOOST_CHECK_EQUAL(ds->GetLayersCount(), 0);
-  ogr::Layer l = ds -> CreateLayer(k_one_);
-  BOOST_CHECK_EQUAL(ds->GetLayersCount(), 1);
-  BOOST_CHECK_EQUAL(l.GetFeatureCount(false), 0);
-  BOOST_CHECK_EQUAL(l.GetFeatureCount(true), 0);
-  ogr::Layer l0 = ds->GetLayerChecked(0);
-  BOOST_CHECK_THROW(ds->GetLayerChecked(1), itk::ExceptionObject);
-  BOOST_CHECK_EQUAL(l.GetName(), k_one_);
-  BOOST_CHECK_EQUAL(l0.GetName(), k_one_);
-  BOOST_CHECK_EQUAL(l0.GetName(), k_one_);
-
-  BOOST_CHECK_EQUAL(ds->GetLayer(k_one_).GetName(), k_one_);
-  BOOST_CHECK_EQUAL(ds->GetLayerChecked(k_one_).GetName(), k_one_);
-  BOOST_ASSERT(! ds->GetLayer(k_two));
-  BOOST_CHECK_THROW(ds->GetLayerChecked(k_two), itk::ExceptionObject);
-
-  // no multi layer as it will create other shape files, with the name of the
-  // layer as the name of the shape file, whilst the name of the first layer is
-  // forced to be the name of the datasource...
-  // BOOST_CHECK_THROW(ds -> CreateLayer(k_two), itk::ExceptionObject);
-  // BOOST_CHECK_EQUAL(ds->GetLayersCount(), 1);
-}
-
-
-BOOST_AUTO_TEST_CASE(OGRDataSource_shp_overwrite)
-{
-  if (boost::unit_test::framework::master_test_suite().argc < 2)
-    {
-    BOOST_THROW_EXCEPTION( std::runtime_error("not enough arguments") );
-    }
-
-  const std::string k_name = boost::unit_test::framework::master_test_suite().argv[1];
-  const std::string workingdir = k_name + "/shp";
-
-  // Create an empty temporary directory for the test
-  if ( itksys::SystemTools::FileExists(workingdir.c_str()) )
-    {
-    itksys::SystemTools::RemoveADirectory(workingdir.c_str());
-    }
-  itksys::SystemTools::MakeDirectory(workingdir.c_str());
-
-  std::string filename = workingdir + "/" + k_name + ".shp";
-  filename = itksys::SystemTools::ConvertToOutputPath(filename.c_str());
-
-  const std::string layer1 = k_name;
-
-  // Cannot create read data source if file does not exists
-  BOOST_CHECK_THROW(ogr::DataSource::New(filename, ogr::DataSource::Modes::Read),
-                    itk::ExceptionObject);
-
-  // Check invalid modes
-  BOOST_CHECK_THROW(ogr::DataSource::New(filename, ogr::DataSource::Modes::Invalid),
-                    itk::ExceptionObject);
-  BOOST_CHECK_THROW(ogr::DataSource::New(filename, ogr::DataSource::Modes::MAX__),
-                    itk::ExceptionObject);
-
-  // Overwrite mode supports the creation of file if it does not exists
-  {
-  ogr::DataSource::Pointer ds
-    = ogr::DataSource::New(filename, ogr::DataSource::Modes::Overwrite);
-  BOOST_ASSERT(ds);
-  ogr::Layer l = ds -> CreateLayer(layer1, nullptr, wkbPoint);
-  OGRFeatureDefn & defn = l.GetLayerDefn();
-  l.CreateField(k_f0);
-  l.CreateField(k_f1);
-  ogr::Feature f(defn);
-  f[0].SetValue(42);
-  f[1].SetValue(42.0);
-  const OGRPoint p(42, 42);
-  f.SetGeometry(&p);
-  l.CreateFeature(f);
-  BOOST_CHECK_EQUAL(l.GetFeatureCount(false), 1);
-  }
-
-  // Read file we have written
-  {
-  ogr::DataSource::Pointer ds
-    = ogr::DataSource::New(filename, ogr::DataSource::Modes::Read);
-  BOOST_ASSERT(ds);
-  ogr::Layer l = ds -> GetLayerChecked(layer1);
-  BOOST_CHECK_EQUAL(l.GetFeatureCount(true), 1);
-  ogr::Feature f = l.GetFeature(0);
-  BOOST_CHECK_EQUAL(f[0].GetValue<int>(), 42);
-  BOOST_CHECK_EQUAL(f[1].GetValue<double>(), 42.0);
-
-  ogr::UniqueGeometryPtr p = f.StealGeometry();
-  const OGRPoint ref(42, 42);
-  BOOST_CHECK(ogr::Equals(*p, ref));
-  }
-
-  // Now really test overwriting the file already exists)
-  {
-  ogr::DataSource::Pointer ds
-    = ogr::DataSource::New(filename, ogr::DataSource::Modes::Overwrite);
-  BOOST_ASSERT(ds);
-  ogr::Layer l = ds -> CreateLayer(layer1, nullptr, wkbPoint);
-  OGRFeatureDefn & defn = l.GetLayerDefn();
-  l.CreateField(k_f0);
-  l.CreateField(k_f1);
-  ogr::Feature f(defn);
-  f[0].SetValue(43);
-  f[1].SetValue(43.0);
-  const OGRPoint p(43, 43);
-  f.SetGeometry(&p);
-  l.CreateFeature(f);
-  BOOST_CHECK_EQUAL(l.GetFeatureCount(false), 1);
-  }
-
-  // Read file we have written
-  {
-  ogr::DataSource::Pointer ds
-    = ogr::DataSource::New(filename, ogr::DataSource::Modes::Read);
-  BOOST_ASSERT(ds);
-  ogr::Layer l = ds -> GetLayerChecked(layer1);
-  BOOST_CHECK_EQUAL(l.GetFeatureCount(true), 1);
-  ogr::Feature f = l.GetFeature(0);
-  BOOST_CHECK_EQUAL(f[0].GetValue<int>(), 43);
-  BOOST_CHECK_EQUAL(f[1].GetValue<double>(), 43.0);
-
-  ogr::UniqueGeometryPtr p = f.StealGeometry();
-  const OGRPoint ref(43, 43);
-  BOOST_CHECK(ogr::Equals(*p, ref));
-  }
-
-
-  // Open in Update_LayerUpdate
-  {
-  ogr::DataSource::Pointer ds
-    = ogr::DataSource::New(filename, ogr::DataSource::Modes::Update_LayerUpdate);
-
-  // Check that we can read the file
-  BOOST_ASSERT(ds);
-  ogr::Layer l = ds -> GetLayerChecked(layer1);
-  BOOST_CHECK_EQUAL(l.GetFeatureCount(true), 1);
-  ogr::Feature f = l.GetFeature(0);
-  BOOST_CHECK_EQUAL(f[0].GetValue<int>(), 43);
-  BOOST_CHECK_EQUAL(f[1].GetValue<double>(), 43.0);
-
-  ogr::UniqueGeometryPtr p = f.StealGeometry();
-  const OGRPoint ref(43, 43);
-  BOOST_CHECK(ogr::Equals(*p, ref));
-
-  // Add a second feature
-  ogr::Feature f2(l.GetLayerDefn());
-  f2[0].SetValue(44);
-  f2[1].SetValue(44.0);
-  const OGRPoint p2(44, 44);
-  f2.SetGeometry(&p2);
-  l.CreateFeature(f2);
-  BOOST_CHECK_EQUAL(l.GetFeatureCount(false), 2);
-  }
-
-
-  // Read the file we have written
-  {
-  ogr::DataSource::Pointer ds
-    = ogr::DataSource::New(filename, ogr::DataSource::Modes::Read);
-  BOOST_ASSERT(ds);
-  ogr::Layer l = ds -> GetLayerChecked(0);
-  BOOST_CHECK_EQUAL(l.GetFeatureCount(true), 2);
-
-  ogr::Feature f = l.GetFeature(0);
-  BOOST_CHECK_EQUAL(f[0].GetValue<int>(), 43);
-  BOOST_CHECK_EQUAL(f[1].GetValue<double>(), 43.0);
-  ogr::UniqueGeometryPtr p1 = f.StealGeometry();
-  const OGRPoint ref1(43, 43);
-  BOOST_CHECK(ogr::Equals(*p1, ref1));
-
-  f = l.GetFeature(1);
-  BOOST_CHECK_EQUAL(f[0].GetValue<int>(), 44);
-  BOOST_CHECK_EQUAL(f[1].GetValue<double>(), 44.0);
-  ogr::UniqueGeometryPtr p2 = f.StealGeometry();
-  const OGRPoint ref2(44, 44);
-  BOOST_CHECK(ogr::Equals(*p2, ref2));
-
-  }
-
-
-  // Open in Update_LayerCreateOnly
-  {
-  ogr::DataSource::Pointer ds
-    = ogr::DataSource::New(filename, ogr::DataSource::Modes::Update_LayerCreateOnly);
-
-  // Check that we can read the file
-  BOOST_ASSERT(ds);
-  ogr::Layer l = ds -> GetLayerChecked(0);
-  BOOST_CHECK_EQUAL(l.GetFeatureCount(true), 2);
-
-  ogr::Feature f = l.GetFeature(0);
-  BOOST_CHECK_EQUAL(f[0].GetValue<int>(), 43);
-  BOOST_CHECK_EQUAL(f[1].GetValue<double>(), 43.0);
-  ogr::UniqueGeometryPtr p1 = f.StealGeometry();
-  const OGRPoint ref1(43, 43);
-  BOOST_CHECK(ogr::Equals(*p1, ref1));
-
-  f = l.GetFeature(1);
-  BOOST_CHECK_EQUAL(f[0].GetValue<int>(), 44);
-  BOOST_CHECK_EQUAL(f[1].GetValue<double>(), 44.0);
-  ogr::UniqueGeometryPtr p2 = f.StealGeometry();
-  const OGRPoint ref2(44, 44);
-  BOOST_CHECK(ogr::Equals(*p2, ref2));
-
-
-  // Cannot modify a layer which already exists
-  std::string name = l.GetName();
-  ogr::Layer createdlayer = ds->CreateLayer(name);
-
-  OGRFeatureDefn & defn = l.GetLayerDefn();
-  ogr::Feature f2(defn);
-  f2[0].SetValue(45);
-  f2[1].SetValue(45.0);
-  const OGRPoint p(45, 45);
-  f2.SetGeometry(&p);
-  BOOST_CHECK_THROW(l.CreateFeature(f2), itk::ExceptionObject);
-  BOOST_CHECK_EQUAL(l.GetFeatureCount(true), 2);
-
-  }
-
-
-  // Read the file we have written
-  {
-  ogr::DataSource::Pointer ds
-    = ogr::DataSource::New(filename, ogr::DataSource::Modes::Read);
-  BOOST_ASSERT(ds);
-  ogr::Layer l = ds -> GetLayerChecked(0);
-  BOOST_CHECK_EQUAL(l.GetFeatureCount(true), 2);
-
-  ogr::Feature f = l.GetFeature(0);
-  BOOST_CHECK_EQUAL(f[0].GetValue<int>(), 43);
-  BOOST_CHECK_EQUAL(f[1].GetValue<double>(), 43.0);
-  ogr::UniqueGeometryPtr p1 = f.StealGeometry();
-  const OGRPoint ref1(43, 43);
-  BOOST_CHECK(ogr::Equals(*p1, ref1));
-
-  f = l.GetFeature(1);
-  BOOST_CHECK_EQUAL(f[0].GetValue<int>(), 44);
-  BOOST_CHECK_EQUAL(f[1].GetValue<double>(), 44.0);
-  ogr::UniqueGeometryPtr p2 = f.StealGeometry();
-  const OGRPoint ref2(44, 44);
-  BOOST_CHECK(ogr::Equals(*p2, ref2));
-
-  }
-
-#if 0 // shp files do not support Update_LayerOverwrite
-  // Open in Update_LayerOverwrite
-  {
-  ogr::DataSource::Pointer ds
-    = ogr::DataSource::New(filename, ogr::DataSource::Modes::Update_LayerOverwrite);
-
-  // Check that we can read the file
-  BOOST_ASSERT(ds);
-  ogr::Layer l = ds -> CreateLayer(layer1);
-  BOOST_ASSERT(l.GetFeatureCount(true) == 2);
-
-
-  ogr::Feature f = l.GetFeature(0);
-  BOOST_CHECK_EQUAL(f[0].GetValue<int>(), 43);
-  BOOST_CHECK_EQUAL(f[1].GetValue<double>(), 43.0);
-  ogr::UniqueGeometryPtr p1 = f.StealGeometry();
-  const OGRPoint ref1(43, 43);
-  BOOST_CHECK(ogr::Equals(*p1, ref1));
-
-  f = l.GetFeature(1);
-  BOOST_CHECK_EQUAL(f[0].GetValue<int>(), 44);
-  BOOST_CHECK_EQUAL(f[1].GetValue<double>(), 44.0);
-  ogr::UniqueGeometryPtr p2 = f.StealGeometry();
-  const OGRPoint ref2(44, 44);
-  BOOST_CHECK(ogr::Equals(*p2, ref2));
-
-  // Add a new feature
-  ogr::Feature f3(l.GetLayerDefn());
-  f3[0].SetValue(45);
-  f3[1].SetValue(45.0);
-  const OGRPoint p3(45, 45);
-  f3.SetGeometry(&p3);
-  l.CreateFeature(f3);
-  BOOST_CHECK_EQUAL(l.GetFeatureCount(false), 1);
-  }
-
-
-  // Read file we have written
-  {
-  ogr::DataSource::Pointer ds
-    = ogr::DataSource::New(filename, ogr::DataSource::Modes::Read);
-  BOOST_ASSERT(ds);
-  ogr::Layer l = ds -> GetLayerChecked(0);
-  BOOST_CHECK_EQUAL(l.GetFeatureCount(true), 1);
-
-  ogr::Feature f = l.GetFeature(0);
-  BOOST_CHECK_EQUAL(f[0].GetValue<int>(), 43);
-  BOOST_CHECK_EQUAL(f[1].GetValue<double>(), 43.0);
-  ogr::UniqueGeometryPtr p1 = f.StealGeometry();
-  const OGRPoint ref1(43, 43);
-  BOOST_CHECK(ogr::Equals(*p1, ref1));
-
-  f = l.GetFeature(1);
-  BOOST_CHECK_EQUAL(f[0].GetValue<int>(), 44);
-  BOOST_CHECK_EQUAL(f[1].GetValue<double>(), 44.0);
-  ogr::UniqueGeometryPtr p2 = f.StealGeometry();
-  const OGRPoint ref2(44, 44);
-  BOOST_CHECK(ogr::Equals(*p2, ref2));
-
-  }
-#endif
-
-}
-
-
-
-BOOST_AUTO_TEST_CASE(OGRDataSource_sqlite_overwrite)
-{
-  if (boost::unit_test::framework::master_test_suite().argc < 2)
-    {
-    BOOST_THROW_EXCEPTION( std::runtime_error("not enough arguments") );
-    }
-
-  const std::string k_name = boost::unit_test::framework::master_test_suite().argv[1];
-  const std::string workingdir = k_name + "/sqlite";
-
-  // Create an empty temporary directory for the test
-  if ( itksys::SystemTools::FileExists(workingdir.c_str()) )
-    {
-    itksys::SystemTools::RemoveADirectory(workingdir.c_str());
-    }
-  itksys::SystemTools::MakeDirectory(workingdir.c_str());
-
-  std::string filename = workingdir + "/" + k_name + ".sqlite";
-  filename = itksys::SystemTools::ConvertToOutputPath(filename.c_str());
-
-  const std::string layer1 = boost::algorithm::to_lower_copy(k_name);
-
-  // Cannot create read data source if file does not exists
-  BOOST_CHECK_THROW(ogr::DataSource::New(filename, ogr::DataSource::Modes::Read),
-                    itk::ExceptionObject);
-
-  // Check invalid modes
-  BOOST_CHECK_THROW(ogr::DataSource::New(filename, ogr::DataSource::Modes::Invalid),
-                    itk::ExceptionObject);
-  BOOST_CHECK_THROW(ogr::DataSource::New(filename, ogr::DataSource::Modes::MAX__),
-                    itk::ExceptionObject);
-
-  // Overwrite mode supports the creation of file if it does not exists
-  {
-  ogr::DataSource::Pointer ds
-    = ogr::DataSource::New(filename, ogr::DataSource::Modes::Overwrite);
-  BOOST_ASSERT(ds);
-  ogr::Layer l = ds -> CreateLayer(layer1, nullptr, wkbPoint);
-  OGRFeatureDefn & defn = l.GetLayerDefn();
-  l.CreateField(k_f0);
-  l.CreateField(k_f1);
-  ogr::Feature f(defn);
-  f[0].SetValue(42);
-  f[1].SetValue(42.0);
-  const OGRPoint p(42, 42);
-  f.SetGeometry(&p);
-  l.CreateFeature(f);
-  BOOST_CHECK_EQUAL(l.GetFeatureCount(false), 1);
-  }
-
-  // Read file we have written
-  {
-  ogr::DataSource::Pointer ds
-    = ogr::DataSource::New(filename, ogr::DataSource::Modes::Read);
-  BOOST_ASSERT(ds);
-  ogr::Layer l = ds->GetLayerChecked(layer1);
-  BOOST_CHECK_EQUAL(l.GetFeatureCount(true), 1);
-  ogr::Feature f = *l.begin();
-  BOOST_CHECK_EQUAL(f[0].GetValue<int>(), 42);
-  BOOST_CHECK_EQUAL(f[1].GetValue<double>(), 42.0);
-
-  ogr::UniqueGeometryPtr p = f.StealGeometry();
-  const OGRPoint ref(42, 42);
-  BOOST_CHECK(ogr::Equals(*p, ref));
-  }
-
-  // Now really test overwriting the file already exists)
-  {
-  ogr::DataSource::Pointer ds
-    = ogr::DataSource::New(filename, ogr::DataSource::Modes::Overwrite);
-  BOOST_ASSERT(ds);
-  ogr::Layer l = ds -> CreateLayer(layer1, nullptr, wkbPoint);
-  OGRFeatureDefn & defn = l.GetLayerDefn();
-  l.CreateField(k_f0);
-  l.CreateField(k_f1);
-  ogr::Feature f(defn);
-  f[0].SetValue(43);
-  f[1].SetValue(43.0);
-  const OGRPoint p(43, 43);
-  f.SetGeometry(&p);
-  l.CreateFeature(f);
-  BOOST_CHECK_EQUAL(l.GetFeatureCount(false), 1);
-  }
-
-  // Read file we have written
-  {
-  ogr::DataSource::Pointer ds
-    = ogr::DataSource::New(filename, ogr::DataSource::Modes::Read);
-  BOOST_ASSERT(ds);
-  ogr::Layer l = ds -> CreateLayer(layer1);
-  BOOST_CHECK_EQUAL(l.GetFeatureCount(true), 1);
-  ogr::Feature f = *l.begin();
-  BOOST_CHECK_EQUAL(f[0].GetValue<int>(), 43);
-  BOOST_CHECK_EQUAL(f[1].GetValue<double>(), 43.0);
-
-  ogr::UniqueGeometryPtr p = f.StealGeometry();
-  const OGRPoint ref(43, 43);
-  BOOST_CHECK(ogr::Equals(*p, ref));
-  }
-
-
-  // Open in Update_LayerUpdate
-  {
-  ogr::DataSource::Pointer ds
-    = ogr::DataSource::New(filename, ogr::DataSource::Modes::Update_LayerUpdate);
-
-  // Check that we can read the file
-  BOOST_ASSERT(ds);
-  ogr::Layer l = ds -> CreateLayer(layer1);
-  BOOST_CHECK_EQUAL(l.GetFeatureCount(true), 1);
-
-  ogr::Layer::iterator fIt = l.begin();
-
-  ogr::Feature f = *fIt;
-  BOOST_CHECK_EQUAL(f[0].GetValue<int>(), 43);
-  BOOST_CHECK_EQUAL(f[1].GetValue<double>(), 43.0);
-
-  ogr::UniqueGeometryPtr p = f.StealGeometry();
-  const OGRPoint ref(43, 43);
-  BOOST_CHECK(ogr::Equals(*p, ref));
-
-  // Add a second feature
-  ogr::Feature f2(l.GetLayerDefn());
-  f2[0].SetValue(44);
-  f2[1].SetValue(44.0);
-  const OGRPoint p2(44, 44);
-  f2.SetGeometry(&p2);
-  l.CreateFeature(f2);
-  BOOST_CHECK_EQUAL(l.GetFeatureCount(false), 2);
-  }
-
-
-  // Read the file we have written
-  {
-  ogr::DataSource::Pointer ds
-    = ogr::DataSource::New(filename, ogr::DataSource::Modes::Read);
-  BOOST_ASSERT(ds);
-  ogr::Layer l = ds -> CreateLayer(layer1);
-  BOOST_CHECK_EQUAL(l.GetFeatureCount(true), 2);
-
-  ogr::Layer::iterator fIt = l.begin();
-  ogr::Feature f = *fIt;
-  BOOST_CHECK_EQUAL(f[0].GetValue<int>(), 43);
-  BOOST_CHECK_EQUAL(f[1].GetValue<double>(), 43.0);
-  ogr::UniqueGeometryPtr p1 = f.StealGeometry();
-  const OGRPoint ref1(43, 43);
-  BOOST_CHECK(ogr::Equals(*p1, ref1));
-
-  f = *++fIt;
-  BOOST_CHECK_EQUAL(f[0].GetValue<int>(), 44);
-  BOOST_CHECK_EQUAL(f[1].GetValue<double>(), 44.0);
-  ogr::UniqueGeometryPtr p2 = f.StealGeometry();
-  const OGRPoint ref2(44, 44);
-  BOOST_CHECK(ogr::Equals(*p2, ref2));
-
-  }
-
-  // Open in Update_LayerOverwrite
-  {
-  ogr::DataSource::Pointer ds
-    = ogr::DataSource::New(filename, ogr::DataSource::Modes::Update_LayerOverwrite);
-
-  // Check that we can read the file
-  BOOST_ASSERT(ds);
-  ogr::Layer l = ds -> CreateLayer(layer1, nullptr, wkbPoint);
-  BOOST_CHECK_EQUAL(l.GetFeatureCount(true), 0);
-
-//  OGRFeatureDefn & defn = l.GetLayerDefn();
-  l.CreateField(k_f0);
-  l.CreateField(k_f1);
-
-
-  // Add a new feature
-  ogr::Feature f3(l.GetLayerDefn());
-  f3[0].SetValue(45);
-  f3[1].SetValue(45.0);
-  const OGRPoint p3(45, 45);
-  f3.SetGeometry(&p3);
-  l.CreateFeature(f3);
-  BOOST_CHECK_EQUAL(l.GetFeatureCount(false), 1);
-  }
-
-
-  // Read file we have written
-  {
-  ogr::DataSource::Pointer ds
-    = ogr::DataSource::New(filename, ogr::DataSource::Modes::Read);
-  BOOST_ASSERT(ds);
-  ogr::Layer l = ds -> CreateLayer(layer1);
-  BOOST_CHECK_EQUAL(l.GetFeatureCount(true), 1);
-
-  ogr::Layer::iterator fIt = l.begin();
-
-  ogr::Feature f = *fIt;
-  BOOST_CHECK_EQUAL(f[0].GetValue<int>(), 45);
-  BOOST_CHECK_EQUAL(f[1].GetValue<double>(), 45.0);
-  ogr::UniqueGeometryPtr p1 = f.StealGeometry();
-  const OGRPoint ref1(45, 45);
-  BOOST_CHECK(ogr::Equals(*p1, ref1));
-
-  }
-
-}
-
-BOOST_AUTO_TEST_CASE(Add_n_Del_Fields)
-{
-  ogr::DataSource::Pointer ds = ogr::DataSource::New();
-  ogr::Layer l = ds -> CreateLayer(k_one);
-  ogr::Layer l0 = ds->GetLayerChecked(0);
-
-  OGRFeatureDefn & defn = l.GetLayerDefn();
-  BOOST_CHECK_EQUAL(defn.GetFieldCount(), 0);
-  l.CreateField(k_f0);
-  BOOST_CHECK_EQUAL(defn.GetFieldCount(), 1);
-  l.CreateField(k_f1);
-  BOOST_CHECK_EQUAL(defn.GetFieldCount(), 2);
-  l.CreateField(k_f2);
-  BOOST_CHECK_EQUAL(defn.GetFieldCount(), 3);
-  l.CreateField(k_f3);
-  BOOST_CHECK_EQUAL(defn.GetFieldCount(), 4);
-  l.CreateField(k_f4);
-  BOOST_CHECK_EQUAL(defn.GetFieldCount(), 5);
-  l.CreateField(k_f5);
-  BOOST_CHECK_EQUAL(defn.GetFieldCount(), 6);
-
-    {
-    ogr::FieldDefn f0(*defn.GetFieldDefn(0));
-    BOOST_CHECK_EQUAL(f0, k_f0);
-    ogr::FieldDefn f1(*defn.GetFieldDefn(1));
-    BOOST_CHECK_EQUAL(f1, k_f1);
-    ogr::FieldDefn f2(*defn.GetFieldDefn(2));
-    BOOST_CHECK_EQUAL(f2, k_f2);
-    ogr::FieldDefn f3(*defn.GetFieldDefn(3));
-    BOOST_CHECK_EQUAL(f3, k_f3);
-    ogr::FieldDefn f4(*defn.GetFieldDefn(4));
-    BOOST_CHECK_EQUAL(f4, k_f4);
-    ogr::FieldDefn f5(*defn.GetFieldDefn(5));
-    BOOST_CHECK_EQUAL(f5, k_f5);
-
-    BOOST_CHECK_EQUAL(defn.GetFieldDefn(6), (void*)nullptr);
-    }
-
-#if GDAL_VERSION_NUM >= 1900
-  l.DeleteField(1);
-  BOOST_CHECK_EQUAL(defn.GetFieldCount(), 5);
-
-    {
-    ogr::FieldDefn f0(*defn.GetFieldDefn(0));
-    BOOST_CHECK_EQUAL(f0, k_f0);
-    ogr::FieldDefn f1(*defn.GetFieldDefn(1));
-    BOOST_CHECK_EQUAL(f1, k_f2);
-    ogr::FieldDefn f2(*defn.GetFieldDefn(2));
-    BOOST_CHECK_EQUAL(f2, k_f3);
-    ogr::FieldDefn f3(*defn.GetFieldDefn(3));
-    BOOST_CHECK_EQUAL(f3, k_f4);
-    ogr::FieldDefn f4(*defn.GetFieldDefn(4));
-    BOOST_CHECK_EQUAL(f4, k_f5);
-    }
-#endif
-  // todo: add reoder tests
-}
-
-BOOST_AUTO_TEST_CASE(Add_n_Read_Fields)
-{
-  ogr::DataSource::Pointer ds = ogr::DataSource::New();
-  ogr::Layer l = ds -> CreateLayer(k_one);
-  ogr::Layer l0 = ds->GetLayerChecked(0);
-
-  OGRFeatureDefn & defn = l.GetLayerDefn();
-  l.CreateField(k_f0);
-  l.CreateField(k_f1);
-  l.CreateField(k_f2);
-  l.CreateField(k_f3);
-  l.CreateField(k_f4);
-  l.CreateField(k_f5);
-
-  ogr::Feature g0(defn);
-  const int NbFields = defn.GetFieldCount();
-  BOOST_CHECK_EQUAL(NbFields, g0.GetSize());
-  for (int i=0; i!=NbFields; ++i)
-    {
-    BOOST_ASSERT(!g0[i].HasBeenSet());
-    }
-
-  // ----[ int
-  ogr::Field f0 = g0[0];
-#if GDAL_VERSION_NUM >= 1800
-  BOOST_CHECK_EQUAL(f0.GetName(), k_f0.GetName());
-#endif
-  f0.SetValue(42);
-  BOOST_ASSERT(f0.HasBeenSet());
-  BOOST_CHECK_EQUAL(f0.GetValue<int>(), 42);
-  BOOST_CHECK_EQUAL(g0[0].GetValue<int>(), 42);
-  // BOOST_CHECK_EQUAL((*l.begin())[0].GetValue<int>(), 42);
-  // BOOST_CHECK_assert_FAILS(f0.GetValue<double>(), itk::ExceptionObject);
-
-  // ----[ double
-  ogr::Field f1 = g0["OFTReal"];
-#if GDAL_VERSION_NUM >= 1800
-  BOOST_CHECK_EQUAL(f1.GetName(), k_f1.GetName());
-#endif
-  // f1.SetValue(42); // need to support types promotion
-  f1.SetValue(42.0); // need to support types promotion
-  BOOST_ASSERT(f1.HasBeenSet());
-  BOOST_CHECK_EQUAL(f1.GetValue<double>(), 42.0);
-
-  // ----[ string
-  ogr::Field f2 = g0["OFTString"];
-#if GDAL_VERSION_NUM >= 1800
-  BOOST_CHECK_EQUAL(f2.GetName(), k_f2.GetName());
-#endif
-  f2.SetValue(("foobar")); // need to support types promotion
-  BOOST_ASSERT(f2.HasBeenSet());
-  BOOST_CHECK_EQUAL(f2.GetValue<std::string>(), "foobar");
-  f2.Unset();
-  BOOST_ASSERT(!f2.HasBeenSet());
-
-  f2.SetValue(std::string("foo"));
-  BOOST_ASSERT(f2.HasBeenSet());
-  BOOST_CHECK_EQUAL(f2.GetValue<std::string>(), "foo");
-
-  // ----[ list of ints
-    {
-    ogr::Field f3 = g0["OFTIntegerList"];
-    std::vector<int> v0;
-    v0.push_back(42);
-    v0.push_back(12);
-    f3.SetValue(v0);
-
-    std::vector<int> w0 = f3.GetValue<std::vector<int> >();
-    BOOST_CHECK_EQUAL_COLLECTIONS(v0.begin(),v0.end(),w0.begin(),w0.end());
-    }
-
-  // ----[ list of doubles
-    {
-    ogr::Field f4 = g0["OFTRealList"];
-    std::vector<double> v1;
-    v1.push_back(42);
-    v1.push_back(12);
-    f4.SetValue(v1);
-
-    std::vector<double> w1 = f4.GetValue<std::vector<double> >();
-    BOOST_CHECK_EQUAL_COLLECTIONS(v1.begin(),v1.end(),w1.begin(),w1.end());
-    }
-
-  // ----[ list of string
-    {
-    ogr::Field f5 = g0["OFTStringList"];
-    std::vector<std::string> v2;
-    v2.push_back("42");
-    v2.push_back("12");
-    f5.SetValue(v2);
-
-    std::vector<std::string> w2 = f5.GetValue<std::vector<std::string> >();
-    BOOST_CHECK_EQUAL_COLLECTIONS(v2.begin(),v2.end(),w2.begin(),w2.end());
-    }
-}
-
-BOOST_AUTO_TEST_CASE(OGRDataSource_new_shp_with_features)
-{
-  const std::string k_shp = "SomeShapeFileWithFeatures";
-  ogr::DataSource::Pointer ds = ogr::DataSource::New(k_shp+".shp", ogr::DataSource::Modes::Overwrite);
-
-  ogr::Layer l = ds -> CreateLayer(k_one, nullptr, wkbPoint);
-
-  OGRFeatureDefn & defn = l.GetLayerDefn();
-  l.CreateField(k_f0);
-  ogr::Feature g0(defn);
-  g0[0].SetValue(42);
-  l.CreateFeature(g0);
-}
-
-BOOST_AUTO_TEST_CASE(Local_Geometries)
-{
-  ogr::UniqueGeometryPtr gp (OGRGeometryFactory::createGeometry(wkbPoint));
-  BOOST_REQUIRE(gp);
-  OGRPoint * p = dynamic_cast<OGRPoint*>(gp.get());
-  BOOST_REQUIRE(p);
-  p->setX(0);
-  p->setY(0);
-
-  OGRPoint x0(-10, 0);
-  OGRPoint x1(+10, 0);
-  OGRLineString X;
-  X.addPoint(&x0);
-  X.addPoint(&x1);
-
-  OGRPoint y0(0, -10);
-  OGRPoint y1(0, +10);
-  OGRLineString Y;
-  Y.addPoint(&y0);
-  Y.addPoint(&y1);
-
-  ogr::UniqueGeometryPtr i = ogr::Intersection(X, Y);
-  BOOST_CHECK(ogr::Equals(*i, *p));
-  BOOST_CHECK(ogr::Equals(*i, *gp));
-}
-
-BOOST_AUTO_TEST_CASE(Add_n_Read_Geometries)
-{
-  ogr::DataSource::Pointer ds = ogr::DataSource::New();
-  ogr::Layer l = ds -> CreateLayer(k_one, nullptr, wkbPoint);
-
-  OGRFeatureDefn & defn = l.GetLayerDefn();
-  for (int u=-10; u!=10; ++u) {
-    ogr::Feature f(defn);
-    const OGRPoint p(u, u);
-    f.SetGeometry(&p);
-    l.CreateFeature(f);
-  }
-  BOOST_CHECK_EQUAL(l.GetFeatureCount(false), 20);
-
-  int u=-10;
-  BOOST_FOREACH(ogr::Feature f, l)
-    {
-    const OGRPoint ref(u, u);
-    ogr::UniqueGeometryPtr p = f.StealGeometry();
-    BOOST_REQUIRE(p);
-    BOOST_CHECK(! f.GetGeometry());
-    BOOST_CHECK(ogr::Equals(*p, ref));
-    f.SetGeometryDirectly(otb::move(p));
-    BOOST_CHECK(!p);
-    ++u;
-    }
-
-}
-
-#if 0
-BOOST_AUTO_TEST_CASE(OGRDataSource_new_shp_with_features_raw)
-{
-  const std::string k_shp = "SomeShapeFileWithFeaturesRaw";
-  const std::string k_one = k_shp;
-  OGRSFDriver * dr = OGRSFDriverRegistrar::GetRegistrar()->GetDriverByName("ESRI Shapefile");
-  BOOST_ASSERT(dr);
-  OGRDataSource * ds =  dr->CreateDataSource((k_shp+".shp").c_str());
-  BOOST_ASSERT(ds);
-  OGRLayer * l = ds -> CreateLayer(k_one.c_str(), 0, wkbPoint);
-  BOOST_ASSERT(l);
-  l->CreateField(&k_f0_);
-
-  OGRFeatureDefn * defn = l->GetLayerDefn();
-  BOOST_ASSERT(defn);
-  OGRFeature * g0 =  OGRFeature::CreateFeature(defn);
-  BOOST_ASSERT(g0);
-  g0 -> SetField(0, 42);
-  l->CreateFeature(g0);
-  OGRFeature::DestroyFeature(g0);
-  OGRDataSource::DestroyDataSource(ds);
-}
-#endif
diff --git a/Modules/Adapters/OSSIMAdapters/test/CMakeLists.txt b/Modules/Adapters/OSSIMAdapters/test/CMakeLists.txt
index 8dadc14ff0..807fb5c7aa 100644
--- a/Modules/Adapters/OSSIMAdapters/test/CMakeLists.txt
+++ b/Modules/Adapters/OSSIMAdapters/test/CMakeLists.txt
@@ -193,12 +193,6 @@ otb_add_test(NAME prTvossimElevManagerTest4 COMMAND otbOSSIMAdaptersTestDriver
 #   LARGEINPUT{TERRASARX/2008-03-10_GrandCanyon_SSC//TSX1_SAR__SSC______SM_S_SRA_20080310T133220_20080310T133228/TSX1_SAR__SSC______SM_S_SRA_20080310T133220_20080310T133228.xml}
 #   ${TEMP}/uaTvPlatformPositionComputeBaselineTest.txt)
 
-otb_add_test(NAME uaTvGeometricSarSensorModelAdapterNew COMMAND otbOSSIMAdaptersTestDriver
-  otbGeometricSarSensorModelAdapterNewTest)
-
-otb_add_test(NAME uaTvPlatformPositionComputeBaselineNew COMMAND otbOSSIMAdaptersTestDriver
-  otbPlatformPositionComputeBaselineNewTest)
-
 otb_add_test(NAME uaTvDEMHandler_AboveEllipsoid_NoSRTM_NoGeoid_NoData COMMAND otbOSSIMAdaptersTestDriver
   otbDEMHandlerTest
   no
diff --git a/Modules/Core/Common/test/CMakeLists.txt b/Modules/Core/Common/test/CMakeLists.txt
index fe6010af79..abd118da3d 100644
--- a/Modules/Core/Common/test/CMakeLists.txt
+++ b/Modules/Core/Common/test/CMakeLists.txt
@@ -27,14 +27,10 @@ otbImageRegionTileMapSplitter.cxx
 otbImageRegionAdaptativeSplitter.cxx
 otbRGBAPixelConverter.cxx
 otbRectangle.cxx
-otbImageRegionNonUniformMultidimensionalSplitterNew.cxx
 otbSystemTest.cxx
 otbImageRegionSquareTileSplitter.cxx
-otbImageRegionTileMapSplitterNew.cxx
 otbImageRegionNonUniformMultidimensionalSplitter.cxx
-otbRectangleNew.cxx
 otbConfigurationManagerTest.cxx
-otbStandardFilterWatcherNew.cxx
 otbStandardOneLineFilterWatcherTest.cxx
 otbStandardWriterWatcher.cxx
 otbStopwatchTest.cxx
@@ -60,9 +56,6 @@ otb_add_test(NAME coTvImageRegionTileMapSplitter COMMAND otbCommonTestDriver
   )
 
 
-otb_add_test(NAME coTuImageRegionAdaptativeSplitterNew COMMAND otbCommonTestDriver
-  otbImageRegionAdaptativeSplitterNew)
-
 otb_add_test(NAME coTvImageRegionAdaptativeSplitterStripSmallStream COMMAND otbCommonTestDriver
   --compare-ascii ${NOTOL}
   ${BASELINE_FILES}/coTvImageRegionAdaptativeSplitterStripSmallStreamOutput.txt
@@ -151,9 +144,6 @@ otb_add_test(NAME coTvRectangle COMMAND otbCommonTestDriver
 
 
 
-otb_add_test(NAME coTuImageRegionNonUniformMultidimensionalSplitterNew COMMAND otbCommonTestDriver
-  otbImageRegionNonUniformMultidimensionalSplitterNew
-  )
 
 
 
@@ -177,9 +167,6 @@ otb_add_test(NAME coTvParseHdfSubsetName COMMAND otbCommonTestDriver
 otb_add_test(NAME coTvParseHdfFileName COMMAND otbCommonTestDriver
   otbParseHdfFileName)
 
-otb_add_test(NAME coTuImageRegionSquareTileSplitterNew COMMAND otbCommonTestDriver
-  otbImageRegionSquareTileSplitterNew
-  )
 
 otb_add_test(NAME coTvImageRegionSquareTileSplitter COMMAND otbCommonTestDriver
   --compare-ascii ${NOTOL}
@@ -194,9 +181,6 @@ otb_add_test(NAME coTvImageRegionSquareTileSplitter COMMAND otbCommonTestDriver
 
 
 
-otb_add_test(NAME coTuImageRegionTileMapSplitterNew COMMAND otbCommonTestDriver
-  otbImageRegionTileMapSplitterNew
-  )
 
 
 
@@ -214,9 +198,6 @@ otb_add_test(NAME coTvImageRegionNonUniformMultidimensionalSplitter COMMAND otbC
   )
 
 
-otb_add_test(NAME coTuRectangleNew COMMAND otbCommonTestDriver
-  otbRectangleNew)
-
 otb_add_test(NAME coTvConfigurationManagerDefault COMMAND otbCommonTestDriver
   otbConfigurationManagerTest
   128)
@@ -229,10 +210,7 @@ otb_add_test(NAME coTvConfigurationManagerEnvVar COMMAND otbTestDriver
   otbConfigurationManagerTest
   256 /path/to/dem/ /path/to/geoid.file)
 
-otb_add_test(NAME coTuStandardFilterWatcherNew COMMAND otbCommonTestDriver
-  otbStandardFilterWatcherNew
-  ${INPUTDATA}/qb_RoadExtract.img
-  )
+
 otb_add_test(NAME coTuStandardOneLineFilterWatcher COMMAND otbCommonTestDriver
   otbStandardOneLineFilterWatcherTest
   ${INPUTDATA}/qb_RoadExtract.img
diff --git a/Modules/Core/Common/test/otbImageRegionNonUniformMultidimensionalSplitterNew.cxx b/Modules/Core/Common/test/otbImageRegionNonUniformMultidimensionalSplitterNew.cxx
deleted file mode 100644
index 46341daa2c..0000000000
--- a/Modules/Core/Common/test/otbImageRegionNonUniformMultidimensionalSplitterNew.cxx
+++ /dev/null
@@ -1,33 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#include "otbImageRegionNonUniformMultidimensionalSplitter.h"
-
-int otbImageRegionNonUniformMultidimensionalSplitterNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  const int Dimension = 2;
-  typedef otb::ImageRegionNonUniformMultidimensionalSplitter<Dimension> FilterType;
-
-  FilterType::Pointer filter = FilterType::New();
-
-  std::cout << filter << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Core/Common/test/otbImageRegionTileMapSplitterNew.cxx b/Modules/Core/Common/test/otbImageRegionTileMapSplitterNew.cxx
deleted file mode 100644
index 2dcd9a4f24..0000000000
--- a/Modules/Core/Common/test/otbImageRegionTileMapSplitterNew.cxx
+++ /dev/null
@@ -1,33 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#include "otbImageRegionTileMapSplitter.h"
-
-int otbImageRegionTileMapSplitterNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  const int Dimension = 2;
-  typedef otb::ImageRegionTileMapSplitter<Dimension> FilterType;
-
-  FilterType::Pointer filter = FilterType::New();
-
-  std::cout << filter << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Core/Common/test/otbRectangleNew.cxx b/Modules/Core/Common/test/otbRectangleNew.cxx
deleted file mode 100644
index 6481ec48a5..0000000000
--- a/Modules/Core/Common/test/otbRectangleNew.cxx
+++ /dev/null
@@ -1,34 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-
-#include "otbRectangle.h"
-
-int otbRectangleNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  typedef otb::Rectangle<> RectangleType;
-
-  //Instantiating object
-  RectangleType::Pointer polygon = RectangleType::New();
-
-  std::cout << polygon << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Core/Common/test/otbStandardFilterWatcherNew.cxx b/Modules/Core/Common/test/otbStandardFilterWatcherNew.cxx
deleted file mode 100644
index 855e28466b..0000000000
--- a/Modules/Core/Common/test/otbStandardFilterWatcherNew.cxx
+++ /dev/null
@@ -1,71 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#include "itkMacro.h"
-
-#include "otbImageFileReader.h"
-#include "otbImage.h"
-#include "otbStandardFilterWatcher.h"
-#include "itkGradientMagnitudeImageFilter.h"
-
-int otbStandardFilterWatcherNew(int itkNotUsed(argc), char * argv[])
-{
-  const unsigned int Dimension = 2;
-  typedef unsigned char                    PixelType;
-  typedef otb::Image<PixelType, Dimension> ImageType;
-
-  typedef otb::ImageFileReader<ImageType> ReaderType;
-  ReaderType::Pointer reader = ReaderType::New();
-  reader->SetFileName(argv[1]);
-
-  typedef itk::GradientMagnitudeImageFilter<ImageType, ImageType> FilterType;
-  FilterType::Pointer gradient = FilterType::New();
-
-  typedef otb::StandardFilterWatcher WatcherType;
-  WatcherType watcher1(gradient, "Gradient");
-
-  gradient->SetInput(reader->GetOutput());
-  gradient->Update();
-
-  // Test copy constructor.
-  WatcherType watcher2( watcher1 );
-  if ( watcher1.GetNameOfClass() != watcher2.GetNameOfClass()
-       || watcher1.GetProcess() != watcher2.GetProcess()
-       || watcher1.GetComment() != watcher2.GetComment() )
-    {
-    std::cout << "Copy constructor failed." << std::endl;
-    return EXIT_FAILURE;
-    }
-
-  // Test default constructor.
-  WatcherType watcher3;
-
-  // Test assignment operator.
-  watcher3 = watcher2;
-  if ( watcher3.GetNameOfClass() != watcher2.GetNameOfClass()
-       || watcher3.GetProcess() != watcher2.GetProcess()
-       || watcher3.GetComment() != watcher2.GetComment() )
-    {
-    std::cout << "Operator= failed." << std::endl;
-    return EXIT_FAILURE;
-    }
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Core/ComplexImage/test/CMakeLists.txt b/Modules/Core/ComplexImage/test/CMakeLists.txt
index ee2b44519d..82d8404e59 100644
--- a/Modules/Core/ComplexImage/test/CMakeLists.txt
+++ b/Modules/Core/ComplexImage/test/CMakeLists.txt
@@ -21,7 +21,6 @@
 otb_module_test()
 set(OTBComplexImageTests
   otbAmplitudePhaseToRGBFunctor.cxx
-  otbAmplitudePhaseToRGBFunctorNew.cxx
   otbComplexImageTestDriver.cxx  )
 
 add_executable(otbComplexImageTestDriver ${OTBComplexImageTests})
@@ -35,5 +34,3 @@ otb_add_test(NAME bfTvAmplitudePhaseToRGBFunctor COMMAND otbComplexImageTestDriv
   ${INPUTDATA}/RSAT_imagery_HH.tif
   ${TEMP}/bfTvAmplitudePhaseToRGBFunctor.png
   )
-otb_add_test(NAME bfTuAmplitudePhaseToRGBFunctorNew COMMAND otbComplexImageTestDriver
-  otbAmplitudePhaseToRGBFunctorNew)
diff --git a/Modules/Core/ComplexImage/test/otbAmplitudePhaseToRGBFunctorNew.cxx b/Modules/Core/ComplexImage/test/otbAmplitudePhaseToRGBFunctorNew.cxx
deleted file mode 100644
index 0b2596c1fc..0000000000
--- a/Modules/Core/ComplexImage/test/otbAmplitudePhaseToRGBFunctorNew.cxx
+++ /dev/null
@@ -1,49 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-
-
-
-#include "otbImage.h"
-
-#include "itkTernaryFunctorImageFilter.h"
-#include "otbAmplitudePhaseToRGBFunctor.h"
-
-int otbAmplitudePhaseToRGBFunctorNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-
-  typedef double                   PixelType;
-  typedef otb::Image<PixelType, 2> ImageType;
-
-  typedef itk::RGBPixel<unsigned char> RGBPixelType;
-  typedef otb::Image<RGBPixelType, 2>  RGBImageType;
-
-  typedef otb::Functor::AmplitudePhaseToRGBFunctor
-  <PixelType, PixelType, PixelType, RGBPixelType> ColorMapFunctorType;
-  typedef itk::TernaryFunctorImageFilter
-  <ImageType, ImageType, ImageType, RGBImageType, ColorMapFunctorType> ColorMapFilterType;
-  ColorMapFilterType::Pointer colormapper = ColorMapFilterType::New();
-  colormapper->GetFunctor().SetMaximum(150);
-  colormapper->GetFunctor().SetMinimum(70);
-
-  std::cout << colormapper << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Core/ImageBase/test/CMakeLists.txt b/Modules/Core/ImageBase/test/CMakeLists.txt
index e56967b74c..b2ac501075 100644
--- a/Modules/Core/ImageBase/test/CMakeLists.txt
+++ b/Modules/Core/ImageBase/test/CMakeLists.txt
@@ -23,7 +23,6 @@ otb_module_test()
 set(OTBImageBaseTests
   otbImageBaseTestDriver.cxx
   otbFlexibleDistanceWithMissingValue.cxx
-  otbImageAndVectorImageOperationFilterNew.cxx
   otbImagePCAShapeModelEstimatorTest.cxx
   otbFunctionToImageFilter.cxx
   otbExtractROI2.cxx
@@ -33,20 +32,13 @@ set(OTBImageBaseTests
   otbExtractROITestMetaData.cxx
   otbTestMultiExtractMultiUpdate.cxx
   otbExtractROI.cxx
-  otbFunctionToImageFilterNew.cxx
-  otbVectorImageToASImageAdaptorNew.cxx
   otbImageAndVectorImageOperationFilterTest.cxx
   otbImageOfVectorsToMonoChannelExtractROI.cxx
-  otbImageOfVectorsToMonoChannelExtractROINew.cxx
-  otbExtractROINew.cxx
   otbExtractROI_RGB.cxx
   otbComplexToIntensityFilterTest.cxx
-  otbMultiToMonoChannelExtractROINew.cxx
   otbMultiToMonoChannelExtractROI.cxx
   otbImageTest.cxx
-  otbFlexibleDistanceWithMissingValueNew.cxx
   otbImageFunctionAdaptor.cxx
-  otbMultiChannelExtractROINew.cxx
   otbMetaImageFunction.cxx
 
   )
@@ -63,9 +55,6 @@ otb_add_test(NAME bfTvFlexibleDistanceWithMissingValue COMMAND otbImageBaseTestD
   0.000001
   )
 
-otb_add_test(NAME bfTuImageAndVectorImageOperationFilterNew COMMAND otbImageBaseTestDriver
-  otbImageAndVectorImageOperationFilterNew)
-
 otb_add_test(NAME bfTvItkImagePCAShapeModelEstimatorTest COMMAND otbImageBaseTestDriver
   --compare-n-images ${EPSILON_7} 4
   ${TEMP}/bfITKimagePCAShapeModelEstimatorTest_eigen_vectors1.tif
@@ -118,9 +107,6 @@ otb_add_test(NAME bfTvComplexToVectorImageCastFilterTest COMMAND otbImageBaseTes
   ${TEMP}/bfTvVectorComplexToVectorImageCastFilterTest.tif
   )
 
-otb_add_test(NAME bfTuComplexToVectorImageCastFilterNew COMMAND otbImageBaseTestDriver
-  otbComplexToVectorImageCastFilterNew
-  )
 
 otb_add_test(NAME coTvMultiChannelROI_RGB2RGB_PNG3 COMMAND otbImageBaseTestDriver
   --compare-image ${NOTOL}  ${BASELINE}/coMultiChannelExtractROI_RGB2RGB_PNG_300_10_250_50_channels_321.png
@@ -272,13 +258,7 @@ otb_add_test(NAME coTvExtractROIQB COMMAND otbImageBaseTestDriver
   0 0 70 70
   )
 
-otb_add_test(NAME bfTuFunctionToImageFilterNew COMMAND otbImageBaseTestDriver
-  otbFunctionToImageFilterNew
-  )
 
-otb_add_test(NAME coTuVectorImageToASImageAdaptorNew COMMAND otbImageBaseTestDriver
-  otbVectorImageToASImageAdaptorNew
-  )
 
 otb_add_test(NAME bfTvImageAndVectorImageOperationFilterTest COMMAND otbImageBaseTestDriver
   --compare-n-images ${NOTOL} 4
@@ -310,12 +290,6 @@ otb_add_test(NAME coTvImageOfVectorsToMonoChannelExtractROI COMMAND otbImageBase
   ${TEMP}/coImageOfVectorsToMonoChannelExtractROI.png
   )
 
-otb_add_test(NAME coTuImageOfVectorsToMonoChannelExtractROINew COMMAND otbImageBaseTestDriver
-  otbImageOfVectorsToMonoChannelExtractROINew
-  )
-otb_add_test(NAME coTuExtractROINew COMMAND otbImageBaseTestDriver
-  otbExtractROINew)
-
 otb_add_test(NAME coTvExtractROI_RGB COMMAND otbImageBaseTestDriver
   --compare-image ${NOTOL}   ${BASELINE}/coExtractROI_RGB_300_10_200_50.png
   ${TEMP}/coExtractROI_RGB_300_10_200_50.png
@@ -337,9 +311,6 @@ otb_add_test(NAME coTvExtractROI_QB COMMAND otbImageBaseTestDriver
 otb_add_test(NAME bfTvComplexToIntensityFilterTest COMMAND otbImageBaseTestDriver
   otbComplexToIntensityFilterTest)
 
-otb_add_test(NAME coTuMultiToMonoROINew COMMAND otbImageBaseTestDriver
-  otbMultiToMonoChannelExtractROINew)
-
 otb_add_test(NAME coTvMultiToMonoROI_RGB2NG_PNG COMMAND otbImageBaseTestDriver
   --compare-image ${NOTOL}   ${BASELINE}/coMultiToMonoChannelExtractROI_RGB2NG_PNG_300_10_250_50_channel_1.png
   ${TEMP}/coMultiToMonoChannelExtractROI_RGB2NG_PNG_300_10_250_50_channel_1.png
@@ -363,20 +334,11 @@ otb_add_test(NAME ioTvOtbImageTestRadarsat COMMAND otbImageBaseTestDriver
   LARGEINPUT{RADARSAT1/GOMA/SCENE01/}
   ${TEMP}/ioOtbImageTestRadarsat.txt)
 
-otb_add_test(NAME bfTuFlexibleDistanceWithMissingValueNew COMMAND otbImageBaseTestDriver
-  otbFlexibleDistanceWithMissingValueNew)
-
 otb_add_test(NAME feTvImageFunctionAdaptor COMMAND otbImageBaseTestDriver
   otbImageFunctionAdaptor
   ${INPUTDATA}/poupees.png
   )
 
-otb_add_test(NAME feTuImageFunctionAdaptorNew COMMAND otbImageBaseTestDriver
-  otbImageFunctionAdaptorNew
-  )
-
-otb_add_test(NAME coTuMultiChannelROINew COMMAND otbImageBaseTestDriver
-  otbMultiChannelExtractROINew)
 
 otb_add_test(NAME feTvMetaImageFunction COMMAND otbImageBaseTestDriver
   --compare-ascii ${EPSILON_8}
@@ -387,9 +349,6 @@ otb_add_test(NAME feTvMetaImageFunction COMMAND otbImageBaseTestDriver
   ${TEMP}/feTvMetaImageFunction.txt
   451846.014047961 5412466.57452216
   )
-otb_add_test(NAME feTuMetaImageFunctionNew COMMAND otbImageBaseTestDriver
-  otbMetaImageFunctionNew
-  )
 
 if(OTB_DATA_USE_LARGEINPUT)
   set( GenericTestPHR_TESTNB 0)
diff --git a/Modules/Core/ImageBase/test/otbExtractROINew.cxx b/Modules/Core/ImageBase/test/otbExtractROINew.cxx
deleted file mode 100644
index bdaecd393e..0000000000
--- a/Modules/Core/ImageBase/test/otbExtractROINew.cxx
+++ /dev/null
@@ -1,37 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-
-
-#include "otbExtractROI.h"
-
-int otbExtractROINew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  typedef std::complex<float>  InputPixelType;
-  typedef std::complex<double> OutputPixelType;
-
-  typedef otb::ExtractROI<InputPixelType, OutputPixelType> FilterType;
-
-  FilterType::Pointer filter = FilterType::New();
-
-  std::cout << filter << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Core/ImageBase/test/otbFlexibleDistanceWithMissingValueNew.cxx b/Modules/Core/ImageBase/test/otbFlexibleDistanceWithMissingValueNew.cxx
deleted file mode 100644
index 4a10d64132..0000000000
--- a/Modules/Core/ImageBase/test/otbFlexibleDistanceWithMissingValueNew.cxx
+++ /dev/null
@@ -1,43 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- * Copyright (C) 2007-2012 Institut Mines Telecom / Telecom Bretagne
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-
-#include <iostream>
-#include <cstdlib>
-#include "itkVariableLengthVector.h"
-#include "otbFlexibleDistanceWithMissingValue.h"
-
-int otbFlexibleDistanceWithMissingValueNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-
-  typedef itk::VariableLengthVector<double>                             VectorType;
-  typedef otb::Statistics::FlexibleDistanceWithMissingValue<VectorType> DistanceType;
-
-  float a = 1.0;
-  float b = 0.1;
-  DistanceType::SetAlphaBeta(a, b);
-
-  DistanceType::Pointer dist = DistanceType::New();
-
-  std::cout << dist << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Core/ImageBase/test/otbFunctionToImageFilterNew.cxx b/Modules/Core/ImageBase/test/otbFunctionToImageFilterNew.cxx
deleted file mode 100644
index ce5acb4aa5..0000000000
--- a/Modules/Core/ImageBase/test/otbFunctionToImageFilterNew.cxx
+++ /dev/null
@@ -1,41 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#include "itkMacro.h"
-#include "otbImage.h"
-#include "otbFunctionToImageFilter.h"
-#include "itkVarianceImageFunction.h"
-
-int otbFunctionToImageFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  const unsigned int Dimension = 2;
-  typedef double                                PixelType;
-  typedef otb::Image<PixelType, Dimension>      ImageType;
-  typedef itk::VarianceImageFunction<ImageType> FunctionType;
-
-  typedef otb::FunctionToImageFilter<ImageType, ImageType, FunctionType> FilterType;
-
-  // Instantiating object
-  FilterType::Pointer filter = FilterType::New();
-
-  std::cout << filter << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Core/ImageBase/test/otbImageAndVectorImageOperationFilterNew.cxx b/Modules/Core/ImageBase/test/otbImageAndVectorImageOperationFilterNew.cxx
deleted file mode 100644
index 35eea416a1..0000000000
--- a/Modules/Core/ImageBase/test/otbImageAndVectorImageOperationFilterNew.cxx
+++ /dev/null
@@ -1,42 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-
-
-#include "itkMacro.h"
-#include <iostream>
-
-#include "otbImage.h"
-#include "otbVectorImage.h"
-#include "otbImageAndVectorImageOperationFilter.h"
-
-int otbImageAndVectorImageOperationFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  typedef double                                                                                     PixelType;
-  typedef otb::Image<PixelType, 2>                                                                   ScalarImageType;
-  typedef otb::VectorImage<PixelType, 2>                                                             VectorImageType;
-  typedef otb::ImageAndVectorImageOperationFilter<ScalarImageType, VectorImageType, VectorImageType> FilterType;
-
-  FilterType::Pointer filter = FilterType::New();
-
-  std::cout << filter << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Core/ImageBase/test/otbImageOfVectorsToMonoChannelExtractROINew.cxx b/Modules/Core/ImageBase/test/otbImageOfVectorsToMonoChannelExtractROINew.cxx
deleted file mode 100644
index 52d35f4f22..0000000000
--- a/Modules/Core/ImageBase/test/otbImageOfVectorsToMonoChannelExtractROINew.cxx
+++ /dev/null
@@ -1,39 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#include "otbImageOfVectorsToMonoChannelExtractROI.h"
-
-int otbImageOfVectorsToMonoChannelExtractROINew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  const int Dimension = 2;
-  typedef unsigned char                  ScalarPixelType;
-  typedef itk::Vector<double, Dimension> VectorPixelType;
-
-  typedef otb::Image<ScalarPixelType, Dimension>                                       ScalarImageType;
-  typedef otb::Image<VectorPixelType, Dimension>                                       VectorImageType;
-  typedef otb::ImageOfVectorsToMonoChannelExtractROI<VectorImageType, ScalarImageType> FilterType;
-
-  // Instantiating object
-  FilterType::Pointer object = FilterType::New();
-
-  std::cout << object << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Core/ImageBase/test/otbMultiChannelExtractROINew.cxx b/Modules/Core/ImageBase/test/otbMultiChannelExtractROINew.cxx
deleted file mode 100644
index 045acf45d4..0000000000
--- a/Modules/Core/ImageBase/test/otbMultiChannelExtractROINew.cxx
+++ /dev/null
@@ -1,40 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-
-#include "otbMultiChannelExtractROI.h"
-
-int otbMultiChannelExtractROINew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  //        typedef unsigned char                                    InputPixelType;
-  //        typedef unsigned char                                    OutputPixelType;
-
-  typedef std::complex<float>  InputPixelType;
-  typedef std::complex<double> OutputPixelType;
-
-  typedef otb::MultiChannelExtractROI<InputPixelType,
-      OutputPixelType>  ExtractROIFilterType;
-
-  ExtractROIFilterType::Pointer extractROIFilter = ExtractROIFilterType::New();
-
-  std::cout << extractROIFilter << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Core/ImageBase/test/otbMultiToMonoChannelExtractROINew.cxx b/Modules/Core/ImageBase/test/otbMultiToMonoChannelExtractROINew.cxx
deleted file mode 100644
index dec6e93bf1..0000000000
--- a/Modules/Core/ImageBase/test/otbMultiToMonoChannelExtractROINew.cxx
+++ /dev/null
@@ -1,41 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-
-#include "otbMultiToMonoChannelExtractROI.h"
-
-int otbMultiToMonoChannelExtractROINew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-
-  //        typedef unsigned char                                    InputPixelType;
-  //        typedef unsigned char                                    OutputPixelType;
-
-  typedef std::complex<float>  InputPixelType;
-  typedef std::complex<double> OutputPixelType;
-
-  typedef otb::MultiToMonoChannelExtractROI<InputPixelType,
-      OutputPixelType>  ExtractROIFilterType;
-
-  ExtractROIFilterType::Pointer extractROIFilter = ExtractROIFilterType::New();
-
-  std::cout << extractROIFilter << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Core/ImageBase/test/otbVectorImageToASImageAdaptorNew.cxx b/Modules/Core/ImageBase/test/otbVectorImageToASImageAdaptorNew.cxx
deleted file mode 100644
index 63ba49babc..0000000000
--- a/Modules/Core/ImageBase/test/otbVectorImageToASImageAdaptorNew.cxx
+++ /dev/null
@@ -1,38 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#include "itkMacro.h"
-#include <cstdlib>
-
-#include "otbVectorImageToASImageAdaptor.h"
-#include "otbVectorImage.h"
-
-int otbVectorImageToASImageAdaptorNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  typedef otb::VectorImage<double, 2>                 ImageType;
-  typedef otb::VectorImageToASImageAdaptor<ImageType> FilterType;
-
-  // Instantiating object
-  FilterType::Pointer filter = FilterType::New();
-
-  std::cout << filter << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Core/Interpolation/test/CMakeLists.txt b/Modules/Core/Interpolation/test/CMakeLists.txt
index bc38dcc017..98e0331d54 100644
--- a/Modules/Core/Interpolation/test/CMakeLists.txt
+++ b/Modules/Core/Interpolation/test/CMakeLists.txt
@@ -22,25 +22,14 @@ otb_module_test()
 
 set(OTBInterpolationTests
 otbInterpolationTestDriver.cxx
-otbWindowedSincInterpolateImageCosineFunctionNew.cxx
 otbWindowedSincInterpolateImageLanczosFunction.cxx
-otbWindowedSincInterpolateImageLanczosFunctionNew.cxx
-otbWindowedSincInterpolateImageFunctionBaseNew.cxx
-otbProlateInterpolateImageFunctionNew.cxx
-otbBSplineDecompositionImageFilterNew.cxx
-otbBSplineInterpolateImageFunctionNew.cxx
 otbWindowedSincInterpolateImageBlackmanFunction.cxx
 otbBSplineDecompositionImageFilter.cxx
-otbWindowedSincInterpolateImageWelchFunctionNew.cxx
 otbWindowedSincInterpolateImageGaussianFunction.cxx
-otbGenericInterpolateImageFunctionNew.cxx
-otbWindowedSincInterpolateImageBlackmanFunctionNew.cxx
 otbWindowedSincInterpolateImageCosineFunction.cxx
 otbWindowedSincInterpolateImageHammingFunction.cxx
 otbWindowedSincInterpolateImageWelchFunction.cxx
 otbBSplineInterpolateImageFunction.cxx
-otbWindowedSincInterpolateImageGaussianFunctionNew.cxx
-otbWindowedSincInterpolateImageHammingFunctionNew.cxx
 otbStreamingTraits.cxx
 otbBCOInterpolateImageFunction.cxx
 otbProlateInterpolateImageFunction.cxx
@@ -53,9 +42,6 @@ otb_module_target_label(otbInterpolationTestDriver)
 
 # Tests Declaration
 
-otb_add_test(NAME bfTuWindowedSincInterpolateImageCosineFunctionNew COMMAND otbInterpolationTestDriver
-  otbWindowedSincInterpolateImageCosineFunctionNew)
-
 otb_add_test(NAME bfTvWindowedSincInterpolateImageLanczosFunction COMMAND otbInterpolationTestDriver
   --compare-ascii ${NOTOL}
   ${BASELINE_FILES}/bfWindowedSincInterpolateImageLanczosFunctionOutput.txt
@@ -74,21 +60,6 @@ otb_add_test(NAME bfTvWindowedSincInterpolateImageLanczosFunction COMMAND otbInt
   -1 -1
   )
 
-otb_add_test(NAME bfTuWindowedSincInterpolateImageLanczosFunctionNew COMMAND otbInterpolationTestDriver
-  otbWindowedSincInterpolateImageLanczosFunctionNew)
-
-otb_add_test(NAME bfTuWindowedSincInterpolateImageFunctionBaseNew COMMAND otbInterpolationTestDriver
-  otbWindowedSincInterpolateImageFunctionBaseNew)
-
-otb_add_test(NAME bfTuProlateInterpolateImageFunctionNew COMMAND otbInterpolationTestDriver
-  otbProlateInterpolateImageFunctionNew)
-
-otb_add_test(NAME bfTuBSplineDecompositionImageFilterNew COMMAND otbInterpolationTestDriver
-  otbBSplineDecompositionImageFilterNew)
-
-otb_add_test(NAME bfTuBSplineInterpolateImageFunctionNew COMMAND otbInterpolationTestDriver
-  otbBSplineInterpolateImageFunctionNew)
-
 otb_add_test(NAME bfTvWindowedSincInterpolateImageBlackmanFunction COMMAND otbInterpolationTestDriver
   --compare-ascii ${NOTOL}
   ${BASELINE_FILES}/bfWindowedSincInterpolateImageBlackmanFunctionOutput.txt
@@ -116,9 +87,6 @@ otb_add_test(NAME bfTvBSplineDecompositionImageFilter COMMAND otbInterpolationTe
   ${TEMP}/bfBSplineDecompositionImageFilterOutput.tif
   )
 
-otb_add_test(NAME bfTuWindowedSincInterpolateImageWelchFunctionNew COMMAND otbInterpolationTestDriver
-  otbWindowedSincInterpolateImageWelchFunctionNew)
-
 otb_add_test(NAME bfTvWindowedSincInterpolateImageGaussianFunction COMMAND otbInterpolationTestDriver
   --compare-ascii ${NOTOL}
   ${BASELINE_FILES}/bfWindowedSincInterpolateImageGaussianFunctionOutput.txt
@@ -137,12 +105,6 @@ otb_add_test(NAME bfTvWindowedSincInterpolateImageGaussianFunction COMMAND otbIn
   -1 -1
   )
 
-otb_add_test(NAME coTuGenericInterpolateImageFunctionNew COMMAND otbInterpolationTestDriver
-  otbGenericInterpolateImageFunctionNew
-  )
-
-otb_add_test(NAME bfTuWindowedSincInterpolateImageBlackmanFunctionNew COMMAND otbInterpolationTestDriver
-  otbWindowedSincInterpolateImageBlackmanFunctionNew)
 
 otb_add_test(NAME bfTvWindowedSincInterpolateImageCosineFunction COMMAND otbInterpolationTestDriver
   --compare-ascii ${NOTOL}
@@ -215,12 +177,6 @@ otb_add_test(NAME bfTvBSplineInterpolateImageFunction COMMAND otbInterpolationTe
   -1 -1
   )
 
-otb_add_test(NAME bfTuWindowedSincInterpolateImageGaussianFunctionNew COMMAND otbInterpolationTestDriver
-  otbWindowedSincInterpolateImageGaussianFunctionNew)
-
-otb_add_test(NAME bfTuWindowedSincInterpolateImageHammingFunctionNew COMMAND otbInterpolationTestDriver
-  otbWindowedSincInterpolateImageHammingFunctionNew)
-
 otb_add_test(NAME bfTuStreamingTraitsVectorImage COMMAND otbInterpolationTestDriver
   otbStreamingTraitsVectorImage
   )
@@ -249,9 +205,6 @@ otb_add_test(NAME bfTvBCOInterpolateImageFunctionTest COMMAND otbInterpolationTe
   3 # radius
   -0.5 # optimised bicubic
   )
-otb_add_test(NAME bfTuBCOInterpolateImageFunctionNew COMMAND otbInterpolationTestDriver
-  otbBCOInterpolateImageFunctionNew
-  )
 otb_add_test(NAME bfTvBCOInterpolateImageFunctionOverVectorImage COMMAND otbInterpolationTestDriver
   --compare-ascii ${NOTOL}
   ${BASELINE_FILES}/bfTvBCOInterpolateImageFunctionOverVectorImageOutput.txt
@@ -270,9 +223,6 @@ otb_add_test(NAME bfTvBCOInterpolateImageFunctionOverVectorImage COMMAND otbInte
   127.255 128.73
   -1 -1
   )
-otb_add_test(NAME bfTuBCOInterpolateImageFunctionOverVectorImageNew COMMAND otbInterpolationTestDriver
-  otbBCOInterpolateImageFunctionOverVectorImageNew)
-otb_add_test(NAME bfTvBCOInterpolateImageFunction2 COMMAND otbInterpolationTestDriver
   otbBCOInterpolateImageFunction2
   3 # radius
   -0.5 # optimised bicubic
diff --git a/Modules/Core/Interpolation/test/otbBSplineDecompositionImageFilterNew.cxx b/Modules/Core/Interpolation/test/otbBSplineDecompositionImageFilterNew.cxx
deleted file mode 100644
index 277965a5f3..0000000000
--- a/Modules/Core/Interpolation/test/otbBSplineDecompositionImageFilterNew.cxx
+++ /dev/null
@@ -1,36 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#include "itkMacro.h"
-
-#include "otbBSplineDecompositionImageFilter.h"
-#include "otbImage.h"
-
-int otbBSplineDecompositionImageFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  typedef otb::Image<double, 2>                                      ImageType;
-  typedef otb::BSplineDecompositionImageFilter<ImageType, ImageType> BSplineDecompositionImageFilterType;
-
-  // Instantiating object
-  BSplineDecompositionImageFilterType::Pointer filter = BSplineDecompositionImageFilterType::New();
-
-  std::cout << filter << std::endl;
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Core/Interpolation/test/otbBSplineInterpolateImageFunctionNew.cxx b/Modules/Core/Interpolation/test/otbBSplineInterpolateImageFunctionNew.cxx
deleted file mode 100644
index 0a1e39f5d9..0000000000
--- a/Modules/Core/Interpolation/test/otbBSplineInterpolateImageFunctionNew.cxx
+++ /dev/null
@@ -1,37 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#include "itkMacro.h"
-
-#include "otbBSplineInterpolateImageFunction.h"
-#include "otbImage.h"
-
-int otbBSplineInterpolateImageFunctionNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  typedef otb::Image<double, 2>                                           ImageType;
-  typedef otb::BSplineInterpolateImageFunction<ImageType, double, double> InterpolatorType;
-
-  // Instantiating object
-  InterpolatorType::Pointer filter = InterpolatorType::New();
-
-  std::cout << filter << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Core/Interpolation/test/otbGenericInterpolateImageFunctionNew.cxx b/Modules/Core/Interpolation/test/otbGenericInterpolateImageFunctionNew.cxx
deleted file mode 100644
index 0c3e28264c..0000000000
--- a/Modules/Core/Interpolation/test/otbGenericInterpolateImageFunctionNew.cxx
+++ /dev/null
@@ -1,68 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#include "itkMacro.h"
-
-#include "otbGenericInterpolateImageFunction.h"
-#include "otbImage.h"
-
-namespace Function
-{
-template<class TInput = double, class TOutput = double>
-class SameFunction
-{
-public:
-  void SetRadius(unsigned int rad)
-  {
-    m_Radius = rad;
-  }
-  unsigned int GetRadius() const
-  {
-    return m_Radius;
-  }
-  inline TOutput operator ()(const TInput& A) const
-  {
-    return static_cast<TOutput>(A);
-  }
-  unsigned int m_Radius;
-};
-
-}
-
-int otbGenericInterpolateImageFunctionNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-
-  typedef double InputPixelType;
-  const int Dimension = 2;
-  typedef otb::Image<InputPixelType, Dimension>                  ImageType;
-  typedef Function::SameFunction<InputPixelType, InputPixelType> FunctionType;
-  typedef itk::ConstantBoundaryCondition<ImageType>              BoundaryConditionType;
-  typedef double                                                 CoordRepType;
-
-  typedef otb::GenericInterpolateImageFunction<ImageType, FunctionType, BoundaryConditionType,
-      CoordRepType> GenericFunctionType;
-
-  // Instantiating object
-  GenericFunctionType::Pointer generic = GenericFunctionType::New();
-
-  std::cout << generic << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Core/Interpolation/test/otbProlateInterpolateImageFunctionNew.cxx b/Modules/Core/Interpolation/test/otbProlateInterpolateImageFunctionNew.cxx
deleted file mode 100644
index e23d4cfb8a..0000000000
--- a/Modules/Core/Interpolation/test/otbProlateInterpolateImageFunctionNew.cxx
+++ /dev/null
@@ -1,37 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#include "itkMacro.h"
-
-#include "otbProlateInterpolateImageFunction.h"
-#include "otbImage.h"
-
-int otbProlateInterpolateImageFunctionNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  typedef otb::Image<double, 2>                           ImageType;
-  typedef otb::ProlateInterpolateImageFunction<ImageType> ProlateInterpolatorType;
-
-  // Instantiating object
-  ProlateInterpolatorType::Pointer prolate = ProlateInterpolatorType::New();
-
-  std::cout << prolate << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Core/Interpolation/test/otbWindowedSincInterpolateImageBlackmanFunctionNew.cxx b/Modules/Core/Interpolation/test/otbWindowedSincInterpolateImageBlackmanFunctionNew.cxx
deleted file mode 100644
index 80ca34ef9a..0000000000
--- a/Modules/Core/Interpolation/test/otbWindowedSincInterpolateImageBlackmanFunctionNew.cxx
+++ /dev/null
@@ -1,37 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#include "itkMacro.h"
-
-#include "otbWindowedSincInterpolateImageBlackmanFunction.h"
-#include "otbImage.h"
-
-int otbWindowedSincInterpolateImageBlackmanFunctionNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  typedef otb::Image<double, 2>                                        ImageType;
-  typedef otb::WindowedSincInterpolateImageBlackmanFunction<ImageType> InterpolatorType;
-
-  // Instantiating objects
-  InterpolatorType::Pointer interp    = InterpolatorType::New();
-
-  std::cout << interp << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Core/Interpolation/test/otbWindowedSincInterpolateImageCosineFunctionNew.cxx b/Modules/Core/Interpolation/test/otbWindowedSincInterpolateImageCosineFunctionNew.cxx
deleted file mode 100644
index fcc7abfb36..0000000000
--- a/Modules/Core/Interpolation/test/otbWindowedSincInterpolateImageCosineFunctionNew.cxx
+++ /dev/null
@@ -1,37 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#include "itkMacro.h"
-
-#include "otbWindowedSincInterpolateImageCosineFunction.h"
-#include "otbImage.h"
-
-int otbWindowedSincInterpolateImageCosineFunctionNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  typedef otb::Image<double, 2>                                      ImageType;
-  typedef otb::WindowedSincInterpolateImageCosineFunction<ImageType> InterpolatorType;
-
-  // Instantiating objects
-  InterpolatorType::Pointer interp    = InterpolatorType::New();
-
-  std::cout << interp << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Core/Interpolation/test/otbWindowedSincInterpolateImageFunctionBaseNew.cxx b/Modules/Core/Interpolation/test/otbWindowedSincInterpolateImageFunctionBaseNew.cxx
deleted file mode 100644
index 1391a886f1..0000000000
--- a/Modules/Core/Interpolation/test/otbWindowedSincInterpolateImageFunctionBaseNew.cxx
+++ /dev/null
@@ -1,62 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#include "itkMacro.h"
-
-#include "otbWindowedSincInterpolateImageFunctionBase.h"
-#include "itkConstantBoundaryCondition.h"
-#include "otbImage.h"
-
-namespace Function
-{
-template<class TInput = double, class TOutput = double>
-class SameFunction
-{
-public:
-  void SetRadius(unsigned int rad)
-  {
-    m_Radius = rad;
-  }
-  unsigned int GetRadius() const
-  {
-    return m_Radius;
-  }
-  inline TOutput operator ()(const TInput& A) const
-  {
-    return static_cast<TOutput>(A);
-  }
-  unsigned int m_Radius;
-};
-
-}
-
-int otbWindowedSincInterpolateImageFunctionBaseNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  typedef otb::Image<double, 2>                                                  ImageType;
-  typedef Function::SameFunction<double, double>                                 FunctionType;
-  typedef otb::WindowedSincInterpolateImageFunctionBase<ImageType, FunctionType> WindowedSincInterpolatorType;
-
-  // Instantiating object
-  WindowedSincInterpolatorType::Pointer winInterp = WindowedSincInterpolatorType::New();
-
-  std::cout << winInterp << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Core/Interpolation/test/otbWindowedSincInterpolateImageGaussianFunctionNew.cxx b/Modules/Core/Interpolation/test/otbWindowedSincInterpolateImageGaussianFunctionNew.cxx
deleted file mode 100644
index a172618bd2..0000000000
--- a/Modules/Core/Interpolation/test/otbWindowedSincInterpolateImageGaussianFunctionNew.cxx
+++ /dev/null
@@ -1,37 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#include "itkMacro.h"
-
-#include "otbWindowedSincInterpolateImageGaussianFunction.h"
-#include "otbImage.h"
-
-int otbWindowedSincInterpolateImageGaussianFunctionNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  typedef otb::Image<double, 2>                                        ImageType;
-  typedef otb::WindowedSincInterpolateImageGaussianFunction<ImageType> InterpolatorType;
-
-  // Instantiating objects
-  InterpolatorType::Pointer interp    = InterpolatorType::New();
-
-  std::cout << interp << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Core/Interpolation/test/otbWindowedSincInterpolateImageHammingFunctionNew.cxx b/Modules/Core/Interpolation/test/otbWindowedSincInterpolateImageHammingFunctionNew.cxx
deleted file mode 100644
index 4118666309..0000000000
--- a/Modules/Core/Interpolation/test/otbWindowedSincInterpolateImageHammingFunctionNew.cxx
+++ /dev/null
@@ -1,37 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#include "itkMacro.h"
-
-#include "otbWindowedSincInterpolateImageHammingFunction.h"
-#include "otbImage.h"
-
-int otbWindowedSincInterpolateImageHammingFunctionNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  typedef otb::Image<double, 2>                                       ImageType;
-  typedef otb::WindowedSincInterpolateImageHammingFunction<ImageType> InterpolatorType;
-
-  // Instantiating objects
-  InterpolatorType::Pointer interp    = InterpolatorType::New();
-
-  std::cout << interp << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Core/Interpolation/test/otbWindowedSincInterpolateImageLanczosFunctionNew.cxx b/Modules/Core/Interpolation/test/otbWindowedSincInterpolateImageLanczosFunctionNew.cxx
deleted file mode 100644
index f824e1293a..0000000000
--- a/Modules/Core/Interpolation/test/otbWindowedSincInterpolateImageLanczosFunctionNew.cxx
+++ /dev/null
@@ -1,37 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#include "itkMacro.h"
-
-#include "otbWindowedSincInterpolateImageLanczosFunction.h"
-#include "otbImage.h"
-
-int otbWindowedSincInterpolateImageLanczosFunctionNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  typedef otb::Image<double, 2>                                       ImageType;
-  typedef otb::WindowedSincInterpolateImageLanczosFunction<ImageType> InterpolatorType;
-
-  // Instantiating objects
-  InterpolatorType::Pointer interp    = InterpolatorType::New();
-
-  std::cout << interp << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Core/Interpolation/test/otbWindowedSincInterpolateImageWelchFunctionNew.cxx b/Modules/Core/Interpolation/test/otbWindowedSincInterpolateImageWelchFunctionNew.cxx
deleted file mode 100644
index 88e3d37b6b..0000000000
--- a/Modules/Core/Interpolation/test/otbWindowedSincInterpolateImageWelchFunctionNew.cxx
+++ /dev/null
@@ -1,37 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#include "itkMacro.h"
-
-#include "otbWindowedSincInterpolateImageWelchFunction.h"
-#include "otbImage.h"
-
-int otbWindowedSincInterpolateImageWelchFunctionNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  typedef otb::Image<double, 2>                                     ImageType;
-  typedef otb::WindowedSincInterpolateImageWelchFunction<ImageType> InterpolatorType;
-
-  // Instantiating objects
-  InterpolatorType::Pointer interp    = InterpolatorType::New();
-
-  std::cout << interp << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Core/LabelMap/test/CMakeLists.txt b/Modules/Core/LabelMap/test/CMakeLists.txt
index 5b73f8066c..33e65590ca 100644
--- a/Modules/Core/LabelMap/test/CMakeLists.txt
+++ b/Modules/Core/LabelMap/test/CMakeLists.txt
@@ -22,25 +22,14 @@ otb_module_test()
 
 set(OTBLabelMapTests
 otbLabelMapTestDriver.cxx
-otbAttributesMapLabelObjectWithClassLabelNew.cxx
 otbLabelObjectMapVectorizer.cxx
-otbAttributesMapOpeningLabelMapFilterNew.cxx
 otbLabelImageToLabelMapWithAdjacencyFilter.cxx
-otbStatisticsAttributesLabelMapFilterNew.cxx
-otbLabelObjectToPolygonFunctorNew.cxx
-otbLabelMapWithClassLabelToLabeledSampleListFilterNew.cxx
-otbAttributesMapLabelObjectNew.cxx
-otbLabelMapToSampleListFilterNew.cxx
-otbLabelMapSourceNew.cxx
-otbLabelMapToAttributeImageFilterNew.cxx
 otbImageToLabelMapWithAttributesFilter.cxx
-otbImageToLabelMapWithAttributesFilterNew.cxx
 otbKMeansAttributesLabelMapFilter.cxx
 otbLabelMapToSampleListFilter.cxx
 otbLabelMapWithClassLabelToLabeledSampleListFilter.cxx
 otbMinMaxAttributesLabelMapFilter.cxx
 otbNormalizeAttributesLabelMapFilter.cxx
-otbShapeAttributesLabelMapFilterNew.cxx
 otbBandsStatisticsAttributesLabelMapFilter.cxx
 )
 
@@ -50,20 +39,11 @@ otb_module_target_label(otbLabelMapTestDriver)
 
 # Tests Declaration
 
-otb_add_test(NAME obTuAttributesMapLabelObjectWithClassLabelNew COMMAND otbLabelMapTestDriver
-  otbAttributesMapLabelObjectWithClassLabelNew)
-
 otb_add_test(NAME obTvLabelObjectMapVectorizer COMMAND otbLabelMapTestDriver
   otbLabelObjectMapVectorizer
   ${INPUTDATA}/rcc8_mire1.png
   rcc8_mire1_label_vectorizer.gml)
 
-otb_add_test(NAME obTuAttributesMapOpeningLabelMapFilterNew COMMAND otbLabelMapTestDriver
-  otbAttributesMapOpeningLabelMapFilterNew)
-
-otb_add_test(NAME obTuLabelImageToLabelMapWithAdjacencyFilterNew COMMAND otbLabelMapTestDriver
-  otbLabelImageToLabelMapWithAdjacencyFilterNew)
-
 otb_add_test(NAME obTvLabelImageToLabelMapWithAdjacencyFilter COMMAND otbLabelMapTestDriver
   --compare-ascii ${NOTOL}
   ${BASELINE_FILES}/obTvLabelImageToLabelMapWithAdjacencyFilterOutput.txt
@@ -73,41 +53,14 @@ otb_add_test(NAME obTvLabelImageToLabelMapWithAdjacencyFilter COMMAND otbLabelMa
   ${TEMP}/obTvLabelImageToLabelMapWithAdjacencyFilterOutput.txt
   )
 
-otb_add_test(NAME obTuStatisticsAttributesLabelMapFilterNew COMMAND otbLabelMapTestDriver
-  otbStatisticsAttributesLabelMapFilterNew)
-
-otb_add_test(NAME obTuLabelObjectToPolygonFunctorNew COMMAND otbLabelMapTestDriver
-  otbLabelObjectToPolygonFunctorNew)
-
-otb_add_test(NAME obTuLabelMapWithClassLabelToLabeledSampleListFilterNew COMMAND otbLabelMapTestDriver
-  otbLabelMapWithClassLabelToLabeledSampleListFilterNew)
-
-otb_add_test(NAME obTuAttributesMapLabelObjectNew COMMAND otbLabelMapTestDriver
-  otbAttributesMapLabelObjectNew)
-
-otb_add_test(NAME obTuLabelMapToSampleListFilterNew COMMAND otbLabelMapTestDriver
-  otbLabelMapToSampleListFilterNew)
-
-otb_add_test(NAME obTuLabelMapSourceNew COMMAND otbLabelMapTestDriver
-  otbLabelMapSourceNew)
-
-otb_add_test(NAME obTuLabelMapToAttributeImageFilterNew COMMAND otbLabelMapTestDriver
-  otbLabelMapToAttributeImageFilterNew)
-
 otb_add_test(NAME obTvImageToLabelMapWithAttributesFilter COMMAND otbLabelMapTestDriver
   otbImageToLabelMapWithAttributesFilter
   ${INPUTDATA}/maur.tif
   ${INPUTDATA}/maur_labelled.tif)
-otb_add_test(NAME obTuImageToLabelMapWithAttributesFilterNew COMMAND otbLabelMapTestDriver
-  otbImageToLabelMapWithAttributesFilterNew)
-otb_add_test(NAME obTvKMeansAttributesLabelMapFilter COMMAND otbLabelMapTestDriver
   otbKMeansAttributesLabelMapFilter
   ${INPUTDATA}/maur.tif
   ${INPUTDATA}/maur_labelled.tif
   ${TEMP}/obTvKMeansAttributesLabelMapFilter.txt)
-otb_add_test(NAME obTuKMeansAttributesLabelMapFilterNew COMMAND otbLabelMapTestDriver
-  otbKMeansAttributesLabelMapFilterNew)
-otb_add_test(NAME obTvLabelMapToSampleListFilter COMMAND otbLabelMapTestDriver
   otbLabelMapToSampleListFilter
   ${OTB_DATA_ROOT}/Input/rcc8_mire1.png
   SHAPE::Flusser01 SHAPE::Flusser02 SHAPE::Flusser03 SHAPE::Flusser04
@@ -119,9 +72,6 @@ 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 obTuMinMaxAttributesLabelMapFilterNew COMMAND otbLabelMapTestDriver
-  otbMinMaxAttributesLabelMapFilterNew)
-otb_add_test(NAME obTvMinMaxAttributesLabelMapFilter COMMAND otbLabelMapTestDriver
   --compare-ascii ${NOTOL}
   ${BASELINE_FILES}/obTvMinMaxAttributesLabelMapFilter.txt
   ${TEMP}/obTvMinMaxAttributesLabelMapFilter.txt
@@ -129,9 +79,6 @@ otb_add_test(NAME obTvMinMaxAttributesLabelMapFilter COMMAND otbLabelMapTestDriv
   ${INPUTDATA}/maur.tif
   ${INPUTDATA}/maur_labelled.tif
   ${TEMP}/obTvMinMaxAttributesLabelMapFilter.txt)
-otb_add_test(NAME obTuNormalizeAttributesLabelMapFilterNew COMMAND otbLabelMapTestDriver
-  otbNormalizeAttributesLabelMapFilterNew)
-otb_add_test(NAME obTvNormalizeAttributesLabelMapFilter COMMAND otbLabelMapTestDriver
   --compare-ascii ${NOTOL}
   ${BASELINE_FILES}/obTvNormalizeAttributesLabelMapFilter.txt
   ${TEMP}/obTvNormalizeAttributesLabelMapFilter.txt
@@ -139,9 +86,6 @@ otb_add_test(NAME obTvNormalizeAttributesLabelMapFilter COMMAND otbLabelMapTestD
   ${INPUTDATA}/maur.tif
   ${INPUTDATA}/maur_labelled.tif
   ${TEMP}/obTvNormalizeAttributesLabelMapFilter.txt)
-otb_add_test(NAME obTuShapeAttributesLabelMapFilterNew COMMAND otbLabelMapTestDriver
-  otbShapeAttributesLabelMapFilterNew)
-otb_add_test(NAME obTuBandsStatisticsAttributesLabelMapFilterNew COMMAND otbLabelMapTestDriver
   otbBandsStatisticsAttributesLabelMapFilterNew)
 otb_add_test(NAME obTvBandsStatisticsAttributesLabelMapFilter COMMAND otbLabelMapTestDriver
   otbBandsStatisticsAttributesLabelMapFilter
diff --git a/Modules/Core/LabelMap/test/otbAttributesMapLabelObjectNew.cxx b/Modules/Core/LabelMap/test/otbAttributesMapLabelObjectNew.cxx
deleted file mode 100644
index 8620975107..0000000000
--- a/Modules/Core/LabelMap/test/otbAttributesMapLabelObjectNew.cxx
+++ /dev/null
@@ -1,35 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-
-
-#include "otbAttributesMapLabelObject.h"
-
-int otbAttributesMapLabelObjectNew(int itkNotUsed(argc), char * itkNotUsed(argv)[])
-{
-  typedef otb::AttributesMapLabelObject<unsigned short, 2, double> LabelObjectType;
-
-  // instantiation
-  LabelObjectType::Pointer object = LabelObjectType::New();
-
-  std::cout << object << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Core/LabelMap/test/otbAttributesMapLabelObjectWithClassLabelNew.cxx b/Modules/Core/LabelMap/test/otbAttributesMapLabelObjectWithClassLabelNew.cxx
deleted file mode 100644
index d259dd69ff..0000000000
--- a/Modules/Core/LabelMap/test/otbAttributesMapLabelObjectWithClassLabelNew.cxx
+++ /dev/null
@@ -1,35 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-
-
-#include "otbAttributesMapLabelObjectWithClassLabel.h"
-
-int otbAttributesMapLabelObjectWithClassLabelNew(int itkNotUsed(argc), char * itkNotUsed(argv)[])
-{
-  typedef otb::AttributesMapLabelObjectWithClassLabel<unsigned short, 2, double, unsigned short> LabelObjectType;
-
-  // instantiation
-  LabelObjectType::Pointer object = LabelObjectType::New();
-
-  std::cout << object << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Core/LabelMap/test/otbAttributesMapOpeningLabelMapFilterNew.cxx b/Modules/Core/LabelMap/test/otbAttributesMapOpeningLabelMapFilterNew.cxx
deleted file mode 100644
index c8f563d16a..0000000000
--- a/Modules/Core/LabelMap/test/otbAttributesMapOpeningLabelMapFilterNew.cxx
+++ /dev/null
@@ -1,38 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-
-
-#include "itkLabelMap.h"
-#include "otbAttributesMapOpeningLabelMapFilter.h"
-
-int otbAttributesMapOpeningLabelMapFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv)[])
-{
-  typedef otb::AttributesMapLabelObject<unsigned short, 2, double> LabelObjectType;
-  typedef itk::LabelMap<LabelObjectType>                         LabelMapType;
-  typedef otb::AttributesMapOpeningLabelMapFilter<LabelMapType>  LabelMapFilterType;
-
-  // instantiation
-  LabelMapFilterType::Pointer filter = LabelMapFilterType::New();
-
-  std::cout << filter << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Core/LabelMap/test/otbImageToLabelMapWithAttributesFilterNew.cxx b/Modules/Core/LabelMap/test/otbImageToLabelMapWithAttributesFilterNew.cxx
deleted file mode 100644
index 17b8e7446a..0000000000
--- a/Modules/Core/LabelMap/test/otbImageToLabelMapWithAttributesFilterNew.cxx
+++ /dev/null
@@ -1,41 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-
-
-
-#include "otbImage.h"
-#include "otbVectorImage.h"
-#include "otbImageToLabelMapWithAttributesFilter.h"
-
-int otbImageToLabelMapWithAttributesFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv)[])
-{
-
-  typedef otb::VectorImage<double, 2>                 ImageType;
-  typedef otb::Image<unsigned int, 2>                 LabeledImageType;
-  typedef otb::AttributesMapLabelObjectWithClassLabel<double, 2, double, double> LabelObjectType;
-  typedef otb::ImageToLabelMapWithAttributesFilter<ImageType, LabeledImageType, unsigned int , LabelObjectType>   FilterType;
-
-  FilterType::Pointer   filter = FilterType::New();
-
-  std::cout << filter << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Core/LabelMap/test/otbLabelMapSourceNew.cxx b/Modules/Core/LabelMap/test/otbLabelMapSourceNew.cxx
deleted file mode 100644
index bcf277a2e0..0000000000
--- a/Modules/Core/LabelMap/test/otbLabelMapSourceNew.cxx
+++ /dev/null
@@ -1,42 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-
-#include "otbLabelMapSource.h"
-#include "itkLabelMap.h"
-#include "otbAttributesMapLabelObject.h"
-
-int otbLabelMapSourceNew(int itkNotUsed(argc), char * itkNotUsed(argv)[])
-{
-  const unsigned int Dimension = 2;
-  typedef unsigned short LabelType;
-
-  typedef otb::AttributesMapLabelObject<LabelType, Dimension, double> LabelObjectType;
-
-  typedef itk::LabelMap<LabelObjectType>         InputLabelMapType;
-  typedef otb::LabelMapSource<InputLabelMapType> LabelMapSourceType;
-
-  // Instantiating LabelMapSource object
-  LabelMapSourceType::Pointer labelMap = LabelMapSourceType::New();
-
-  std::cout << labelMap << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Core/LabelMap/test/otbLabelMapToAttributeImageFilterNew.cxx b/Modules/Core/LabelMap/test/otbLabelMapToAttributeImageFilterNew.cxx
deleted file mode 100644
index 07fe2fd988..0000000000
--- a/Modules/Core/LabelMap/test/otbLabelMapToAttributeImageFilterNew.cxx
+++ /dev/null
@@ -1,41 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-
-#include "otbLabelMapToAttributeImageFilter.h"
-
-#include "itkLabelMap.h"
-#include "otbVectorImage.h"
-
-int otbLabelMapToAttributeImageFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv)[])
-{
-  typedef otb::AttributesMapLabelObject<unsigned int, 2, float> LabelObjectType;
-  typedef itk::LabelMap<LabelObjectType>                        LabelMapType;
-  typedef otb::VectorImage<float, 2>                            VectorImageType;
-  typedef otb::LabelMapToAttributeImageFilter
-      <LabelMapType, VectorImageType>          LabelMapToAttributeImageFilterType;
-
-  // instantiation
-  LabelMapToAttributeImageFilterType::Pointer object = LabelMapToAttributeImageFilterType::New();
-
-  std::cout << object << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Core/LabelMap/test/otbLabelMapToSampleListFilterNew.cxx b/Modules/Core/LabelMap/test/otbLabelMapToSampleListFilterNew.cxx
deleted file mode 100644
index 4ec601fcbc..0000000000
--- a/Modules/Core/LabelMap/test/otbLabelMapToSampleListFilterNew.cxx
+++ /dev/null
@@ -1,43 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-
-
-#include "itkLabelMap.h"
-#include "otbLabelMapToSampleListFilter.h"
-#include "itkVariableLengthVector.h"
-#include "itkListSample.h"
-
-int otbLabelMapToSampleListFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv)[])
-{
-  typedef otb::AttributesMapLabelObject<unsigned short, 2, double> LabelObjectType;
-  typedef itk::LabelMap<LabelObjectType>                         LabelMapType;
-  typedef itk::VariableLengthVector<double>                      VectorType;
-  typedef itk::Statistics::ListSample<VectorType>                ListSampleType;
-  typedef otb::LabelMapToSampleListFilter<LabelMapType,
-                                          ListSampleType>        LabelMapFilterType;
-
-  // instantiation
-  LabelMapFilterType::Pointer filter = LabelMapFilterType::New();
-
-  std::cout << filter << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Core/LabelMap/test/otbLabelMapWithClassLabelToLabeledSampleListFilterNew.cxx b/Modules/Core/LabelMap/test/otbLabelMapWithClassLabelToLabeledSampleListFilterNew.cxx
deleted file mode 100644
index ec6870e981..0000000000
--- a/Modules/Core/LabelMap/test/otbLabelMapWithClassLabelToLabeledSampleListFilterNew.cxx
+++ /dev/null
@@ -1,46 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-
-
-#include "otbAttributesMapLabelObjectWithClassLabel.h"
-#include "itkLabelMap.h"
-#include "otbLabelMapWithClassLabelToLabeledSampleListFilter.h"
-#include "itkVariableLengthVector.h"
-#include "itkListSample.h"
-
-int otbLabelMapWithClassLabelToLabeledSampleListFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv)[])
-{
-  typedef otb::AttributesMapLabelObjectWithClassLabel
-    <unsigned short, 2, double, unsigned short>                     LabelObjectType;
-  typedef itk::LabelMap<LabelObjectType>                         LabelMapType;
-  typedef itk::FixedArray<unsigned short, 1>                      LabelVectorType;
-  typedef itk::VariableLengthVector<double>                      VectorType;
-  typedef itk::Statistics::ListSample<VectorType>                ListSampleType;
-  typedef itk::Statistics::ListSample<LabelVectorType>           TrainingListSampleType;
-  typedef otb::LabelMapWithClassLabelToLabeledSampleListFilter<LabelMapType, ListSampleType, TrainingListSampleType> LabelMapFilterType;
-
-  // instantiation
-  LabelMapFilterType::Pointer filter = LabelMapFilterType::New();
-
-  std::cout << filter << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Core/LabelMap/test/otbLabelObjectToPolygonFunctorNew.cxx b/Modules/Core/LabelMap/test/otbLabelObjectToPolygonFunctorNew.cxx
deleted file mode 100644
index 684ac7cc3a..0000000000
--- a/Modules/Core/LabelMap/test/otbLabelObjectToPolygonFunctorNew.cxx
+++ /dev/null
@@ -1,40 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#include "otbLabelObjectToPolygonFunctor.h"
-#include "otbAttributesMapLabelObject.h"
-#include <cstdlib>
-
-int otbLabelObjectToPolygonFunctorNew(int itkNotUsed(argc), char * itkNotUsed(argv)[])
-{
-  const unsigned int Dimension = 2;
-  typedef unsigned short LabelType;
-
-  typedef otb::AttributesMapLabelObject<LabelType, Dimension, double>             LabelObjectType;
-  typedef otb::Polygon<double>                                                    PolygonType;
-  typedef otb::Functor::LabelObjectToPolygonFunctor<LabelObjectType, PolygonType> FunctorType;
-  //typedef FunctorType::Pointer FunctorPointerType;
-  // Instantiation
-  //FunctorPointerType myFunctor = FunctorType::New();
-
-  FunctorType myFunctor;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Core/LabelMap/test/otbShapeAttributesLabelMapFilterNew.cxx b/Modules/Core/LabelMap/test/otbShapeAttributesLabelMapFilterNew.cxx
deleted file mode 100644
index 4d7655c36f..0000000000
--- a/Modules/Core/LabelMap/test/otbShapeAttributesLabelMapFilterNew.cxx
+++ /dev/null
@@ -1,39 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-
-
-#include "otbAttributesMapLabelObject.h"
-#include "itkLabelMap.h"
-#include "otbShapeAttributesLabelMapFilter.h"
-
-int otbShapeAttributesLabelMapFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv)[])
-{
-  typedef otb::AttributesMapLabelObject<unsigned short, 2, double> LabelObjectType;
-  typedef itk::LabelMap<LabelObjectType>                         LabelMapType;
-  typedef otb::ShapeAttributesLabelMapFilter<LabelMapType>       LabelMapFilterType;
-
-  // instantiation
-  LabelMapFilterType::Pointer filter = LabelMapFilterType::New();
-
-  std::cout << filter << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Core/LabelMap/test/otbStatisticsAttributesLabelMapFilterNew.cxx b/Modules/Core/LabelMap/test/otbStatisticsAttributesLabelMapFilterNew.cxx
deleted file mode 100644
index 914721ef53..0000000000
--- a/Modules/Core/LabelMap/test/otbStatisticsAttributesLabelMapFilterNew.cxx
+++ /dev/null
@@ -1,40 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-
-
-#include "otbAttributesMapLabelObject.h"
-#include "otbStatisticsAttributesLabelMapFilter.h"
-#include "otbImage.h"
-
-int otbStatisticsAttributesLabelMapFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv)[])
-{
-  typedef otb::Image<double, 2>                                   ImageType;
-  typedef otb::AttributesMapLabelObject<unsigned short, 2, double> LabelObjectType;
-  typedef itk::LabelMap<LabelObjectType>                         LabelMapType;
-  typedef otb::StatisticsAttributesLabelMapFilter<LabelMapType, ImageType> LabelMapFilterType;
-
-  // instantiation
-  LabelMapFilterType::Pointer filter = LabelMapFilterType::New();
-
-  std::cout << filter << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Core/Metadata/test/CMakeLists.txt b/Modules/Core/Metadata/test/CMakeLists.txt
index 8a1569b460..6ca4d55bf8 100644
--- a/Modules/Core/Metadata/test/CMakeLists.txt
+++ b/Modules/Core/Metadata/test/CMakeLists.txt
@@ -22,30 +22,15 @@ otb_module_test()
 
 set(OTBMetadataTests
 otbMetadataTestDriver.cxx
-otbOpticalDefaultImageMetadataInterfaceNew.cxx
 otbSarImageMetadataInterfaceTest.cxx
-otbDefaultImageMetadataInterfaceFactoryNew.cxx
-otbOpticalDefaultImageMetadataInterfaceFactoryNew.cxx
-otbPleiadesImageMetadataInterfaceNew.cxx
 otbImageMetadataInterfaceBaseTest.cxx
 otbSarDefaultImageMetadataInterface.cxx
-otbSarDefaultImageMetadataInterfaceNew.cxx
 otbOpticalImageMetadataInterfaceTest.cxx
-otbSarDefaultImageMetadataInterfaceFactoryNew.cxx
-otbFormosatImageMetadataInterfaceNew.cxx
 otbOpticalDefaultImageMetadataInterface.cxx
-otbSpot6ImageMetadataInterfaceNew.cxx
-otbSpotImageMetadataInterfaceNew.cxx
-otbQuickBirdImageMetadataInterfaceNew.cxx
-otbIkonosImageMetadataInterfaceNew.cxx
-otbTerraSarImageMetadataInterfaceNew.cxx
-otbSentinel1ImageMetadataInterfaceNew.cxx
-otbWorldView2ImageMetadataInterfaceNew.cxx
 otbDefaultImageMetadataInterface.cxx
 otbImageMetadataInterfaceTest2.cxx
 otbNoDataHelperTest.cxx
 otbSarCalibrationLookupDataTest.cxx
-otbRadarsat2ImageMetadataInterfaceNew.cxx
 )
 
 add_executable(otbMetadataTestDriver ${OTBMetadataTests})
@@ -54,9 +39,6 @@ otb_module_target_label(otbMetadataTestDriver)
 
 # Tests Declaration
 
-otb_add_test(NAME ioTuOpticalDefaultImageMetadataInterfaceNew COMMAND otbMetadataTestDriver
-  otbOpticalDefaultImageMetadataInterfaceNew )
-
 #otb_add_test(NAME ioTvSarImageMetadataInterfaceTest_TSX1dims COMMAND otbMetadataTestDriver
   #--compare-ascii ${EPSILON_9} ${BASELINE_FILES}/ioTvSarImageMetadataInterface_TSX1dims.txt
   #${TEMP}/ioTvSarImageMetadataInterface_TSX1dims.txt
@@ -113,21 +95,6 @@ otb_add_test(NAME ioTuOpticalDefaultImageMetadataInterfaceNew COMMAND otbMetadat
   #${TEMP}/ioTvImageMetadataInterfaceBase_RADARSAT2.txt
   #)
 
-otb_add_test(NAME ioTuSentinel1ImageMetadataInterfaceNew COMMAND otbMetadataTestDriver
-  otbSentinel1ImageMetadataInterfaceNew )
-
-otb_add_test(NAME ioTuRadarsat2ImageMetadataInterfaceNew COMMAND otbMetadataTestDriver
-  otbRadarsat2ImageMetadataInterfaceNew )
-
-otb_add_test(NAME ioTuDefaultImageMetadataInterfaceFactoryNew COMMAND otbMetadataTestDriver
-  otbDefaultImageMetadataInterfaceFactoryNew )
-
-otb_add_test(NAME ioTuOpticalDefaultImageMetadataInterfaceFactoryNew COMMAND otbMetadataTestDriver
-  otbOpticalDefaultImageMetadataInterfaceFactoryNew )
-
-otb_add_test(NAME ioTuPleiadesImageMetadataInterfaceNew COMMAND otbMetadataTestDriver
-  otbPleiadesImageMetadataInterfaceNew
-  )
 
 #otb_add_test(NAME ioTvImageMetadataInterfaceBaseTest_SPOT COMMAND otbMetadataTestDriver
   #--compare-ascii ${NOTOL} ${BASELINE_FILES}/ioTvImageMetadataInterfaceBase_SPOT.txt
@@ -236,9 +203,6 @@ otb_add_test(NAME ioTuPleiadesImageMetadataInterfaceNew COMMAND otbMetadataTestD
 otb_add_test(NAME ioTuSarDefaultImageMetadataInterface COMMAND otbMetadataTestDriver
   otbSarDefaultImageMetadataInterface )
 
-otb_add_test(NAME ioTuSarDefaultImageMetadataInterfaceNew COMMAND otbMetadataTestDriver
-  otbSarDefaultImageMetadataInterfaceNew )
-
 otb_add_test(NAME ioTvOpticalImageMetadataInterfaceTest_QBCevennes COMMAND otbMetadataTestDriver
   --compare-ascii ${NOTOL} ${BASELINE_FILES}/ioTvOpticalImageMetadataInterface_QBCevennes.txt
   ${TEMP}/ioTvOpticalImageMetadataInterface_QBCevennes.txt
@@ -303,39 +267,15 @@ otb_add_test(NAME ioTvOpticalImageMetadataInterfaceTest_FORMOSAT2 COMMAND otbMet
   ${TEMP}/ioTvOpticalImageMetadataInterface_FORMOSAT2.txt
   )
 
-otb_add_test(NAME ioTuSarDefaultImageMetadataInterfaceFactoryNew COMMAND otbMetadataTestDriver
-  otbSarDefaultImageMetadataInterfaceFactoryNew )
-
-otb_add_test(NAME ioTuFormosatImageMetadataInterfaceNew COMMAND otbMetadataTestDriver
-  otbFormosatImageMetadataInterfaceNew
-  )
 
 otb_add_test(NAME ioTuOpticalDefaultImageMetadataInterface COMMAND otbMetadataTestDriver
   otbOpticalDefaultImageMetadataInterface )
 
-otb_add_test(NAME ioTuSpot6ImageMetadataInterfaceNew COMMAND otbMetadataTestDriver
-  otbSpot6ImageMetadataInterfaceNew
-  )
 
-otb_add_test(NAME ioTuSpotImageMetadataInterfaceNew COMMAND otbMetadataTestDriver
-  otbSpotImageMetadataInterfaceNew
-  )
 
-otb_add_test(NAME ioTuQuickBirdImageMetadataInterfaceNew COMMAND otbMetadataTestDriver
-  otbQuickBirdImageMetadataInterfaceNew
-  )
 
-otb_add_test(NAME ioTuIkonosImageMetadataInterfaceNew COMMAND otbMetadataTestDriver
-  otbIkonosImageMetadataInterfaceNew
-  )
 
-otb_add_test(NAME ioTuTerraSarImageMetadataInterfaceNew COMMAND otbMetadataTestDriver
-  otbTerraSarImageMetadataInterfaceNew
-  )
 
-otb_add_test(NAME ioTuWorldView2ImageMetadataInterfaceNew COMMAND otbMetadataTestDriver
-  otbWorldView2ImageMetadataInterfaceNew
-  )
 
 otb_add_test(NAME ioTuDefaultImageMetadataInterface COMMAND otbMetadataTestDriver
   otbDefaultImageMetadataInterface )
diff --git a/Modules/Core/Metadata/test/otbDefaultImageMetadataInterfaceFactoryNew.cxx b/Modules/Core/Metadata/test/otbDefaultImageMetadataInterfaceFactoryNew.cxx
deleted file mode 100644
index 6976109e44..0000000000
--- a/Modules/Core/Metadata/test/otbDefaultImageMetadataInterfaceFactoryNew.cxx
+++ /dev/null
@@ -1,37 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-
-
-
-#include "itkMacro.h"
-
-#include "otbDefaultImageMetadataInterfaceFactory.h"
-
-int otbDefaultImageMetadataInterfaceFactoryNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  typedef otb::DefaultImageMetadataInterfaceFactory ObjectType;
-
-  ObjectType::Pointer object = ObjectType::New();
-
-  std::cout << object << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Core/Metadata/test/otbFormosatImageMetadataInterfaceNew.cxx b/Modules/Core/Metadata/test/otbFormosatImageMetadataInterfaceNew.cxx
deleted file mode 100644
index 9e063d3b7a..0000000000
--- a/Modules/Core/Metadata/test/otbFormosatImageMetadataInterfaceNew.cxx
+++ /dev/null
@@ -1,38 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-
-
-
-#include "itkMacro.h"
-
-#include <iostream>
-
-#include "otbFormosatImageMetadataInterface.h"
-
-int otbFormosatImageMetadataInterfaceNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-
-  otb::FormosatImageMetadataInterface::Pointer object = otb::FormosatImageMetadataInterface::New();
-
-  std::cout << object << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Core/Metadata/test/otbIkonosImageMetadataInterfaceNew.cxx b/Modules/Core/Metadata/test/otbIkonosImageMetadataInterfaceNew.cxx
deleted file mode 100644
index e90271a386..0000000000
--- a/Modules/Core/Metadata/test/otbIkonosImageMetadataInterfaceNew.cxx
+++ /dev/null
@@ -1,37 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-
-
-
-#include "itkMacro.h"
-
-#include <iostream>
-
-#include "otbIkonosImageMetadataInterface.h"
-
-int otbIkonosImageMetadataInterfaceNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  otb::IkonosImageMetadataInterface::Pointer object = otb::IkonosImageMetadataInterface::New();
-
-  std::cout << object << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Core/Metadata/test/otbOpticalDefaultImageMetadataInterfaceFactoryNew.cxx b/Modules/Core/Metadata/test/otbOpticalDefaultImageMetadataInterfaceFactoryNew.cxx
deleted file mode 100644
index 76a3591e5e..0000000000
--- a/Modules/Core/Metadata/test/otbOpticalDefaultImageMetadataInterfaceFactoryNew.cxx
+++ /dev/null
@@ -1,37 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-
-
-
-#include "itkMacro.h"
-
-#include "otbOpticalDefaultImageMetadataInterfaceFactory.h"
-
-int otbOpticalDefaultImageMetadataInterfaceFactoryNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  typedef otb::OpticalDefaultImageMetadataInterfaceFactory ObjectType;
-
-  ObjectType::Pointer object = ObjectType::New();
-
-  std::cout << object << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Core/Metadata/test/otbOpticalDefaultImageMetadataInterfaceNew.cxx b/Modules/Core/Metadata/test/otbOpticalDefaultImageMetadataInterfaceNew.cxx
deleted file mode 100644
index f84ff21c7b..0000000000
--- a/Modules/Core/Metadata/test/otbOpticalDefaultImageMetadataInterfaceNew.cxx
+++ /dev/null
@@ -1,37 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-
-
-
-#include "itkMacro.h"
-
-#include "otbOpticalDefaultImageMetadataInterface.h"
-
-int otbOpticalDefaultImageMetadataInterfaceNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  typedef otb::OpticalDefaultImageMetadataInterface ObjectType;
-
-  ObjectType::Pointer object = ObjectType::New();
-
-  std::cout << object << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Core/Metadata/test/otbPleiadesImageMetadataInterfaceNew.cxx b/Modules/Core/Metadata/test/otbPleiadesImageMetadataInterfaceNew.cxx
deleted file mode 100644
index dbac0b24b4..0000000000
--- a/Modules/Core/Metadata/test/otbPleiadesImageMetadataInterfaceNew.cxx
+++ /dev/null
@@ -1,37 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-
-
-
-#include "itkMacro.h"
-
-#include <iostream>
-
-#include "otbPleiadesImageMetadataInterface.h"
-
-int otbPleiadesImageMetadataInterfaceNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  otb::PleiadesImageMetadataInterface::Pointer object = otb::PleiadesImageMetadataInterface::New();
-
-  std::cout << object << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Core/Metadata/test/otbQuickBirdImageMetadataInterfaceNew.cxx b/Modules/Core/Metadata/test/otbQuickBirdImageMetadataInterfaceNew.cxx
deleted file mode 100644
index 9d0c4525f2..0000000000
--- a/Modules/Core/Metadata/test/otbQuickBirdImageMetadataInterfaceNew.cxx
+++ /dev/null
@@ -1,37 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-
-
-
-#include "itkMacro.h"
-
-#include <iostream>
-
-#include "otbQuickBirdImageMetadataInterface.h"
-
-int otbQuickBirdImageMetadataInterfaceNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  otb::QuickBirdImageMetadataInterface::Pointer object = otb::QuickBirdImageMetadataInterface::New();
-
-  std::cout << object << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Core/Metadata/test/otbRadarsat2ImageMetadataInterfaceNew.cxx b/Modules/Core/Metadata/test/otbRadarsat2ImageMetadataInterfaceNew.cxx
deleted file mode 100644
index 361a9c1167..0000000000
--- a/Modules/Core/Metadata/test/otbRadarsat2ImageMetadataInterfaceNew.cxx
+++ /dev/null
@@ -1,35 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-
-
-
-#include "itkMacro.h"
-#include <iostream>
-#include "otbRadarsat2ImageMetadataInterface.h"
-
-int otbRadarsat2ImageMetadataInterfaceNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  otb::Radarsat2ImageMetadataInterface::Pointer object = otb::Radarsat2ImageMetadataInterface::New();
-
-  std::cout << object << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Core/Metadata/test/otbSarDefaultImageMetadataInterfaceFactoryNew.cxx b/Modules/Core/Metadata/test/otbSarDefaultImageMetadataInterfaceFactoryNew.cxx
deleted file mode 100644
index de159b57e0..0000000000
--- a/Modules/Core/Metadata/test/otbSarDefaultImageMetadataInterfaceFactoryNew.cxx
+++ /dev/null
@@ -1,37 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-
-
-
-#include "itkMacro.h"
-
-#include "otbSarDefaultImageMetadataInterfaceFactory.h"
-
-int otbSarDefaultImageMetadataInterfaceFactoryNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  typedef otb::SarDefaultImageMetadataInterfaceFactory ObjectType;
-
-  ObjectType::Pointer object = ObjectType::New();
-
-  std::cout << object << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Core/Metadata/test/otbSarDefaultImageMetadataInterfaceNew.cxx b/Modules/Core/Metadata/test/otbSarDefaultImageMetadataInterfaceNew.cxx
deleted file mode 100644
index 73cdd72d6b..0000000000
--- a/Modules/Core/Metadata/test/otbSarDefaultImageMetadataInterfaceNew.cxx
+++ /dev/null
@@ -1,37 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-
-
-
-#include "itkMacro.h"
-
-#include "otbSarDefaultImageMetadataInterface.h"
-
-int otbSarDefaultImageMetadataInterfaceNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  typedef otb::SarDefaultImageMetadataInterface ObjectType;
-
-  ObjectType::Pointer object = ObjectType::New();
-
-  std::cout << object << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Core/Metadata/test/otbSentinel1ImageMetadataInterfaceNew.cxx b/Modules/Core/Metadata/test/otbSentinel1ImageMetadataInterfaceNew.cxx
deleted file mode 100644
index 16d6613c8e..0000000000
--- a/Modules/Core/Metadata/test/otbSentinel1ImageMetadataInterfaceNew.cxx
+++ /dev/null
@@ -1,35 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-
-
-
-#include "itkMacro.h"
-#include <iostream>
-#include "otbSentinel1ImageMetadataInterface.h"
-
-int otbSentinel1ImageMetadataInterfaceNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  otb::Sentinel1ImageMetadataInterface::Pointer object = otb::Sentinel1ImageMetadataInterface::New();
-
-  std::cout << object << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Core/Metadata/test/otbSpot6ImageMetadataInterfaceNew.cxx b/Modules/Core/Metadata/test/otbSpot6ImageMetadataInterfaceNew.cxx
deleted file mode 100644
index f320012c8d..0000000000
--- a/Modules/Core/Metadata/test/otbSpot6ImageMetadataInterfaceNew.cxx
+++ /dev/null
@@ -1,37 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-
-
-
-#include "itkMacro.h"
-
-#include <iostream>
-
-#include "otbSpot6ImageMetadataInterface.h"
-
-int otbSpot6ImageMetadataInterfaceNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  otb::Spot6ImageMetadataInterface::Pointer object = otb::Spot6ImageMetadataInterface::New();
-
-  std::cout << object << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Core/Metadata/test/otbSpotImageMetadataInterfaceNew.cxx b/Modules/Core/Metadata/test/otbSpotImageMetadataInterfaceNew.cxx
deleted file mode 100644
index cd950d60d5..0000000000
--- a/Modules/Core/Metadata/test/otbSpotImageMetadataInterfaceNew.cxx
+++ /dev/null
@@ -1,37 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-
-
-
-#include "itkMacro.h"
-
-#include <iostream>
-
-#include "otbSpotImageMetadataInterface.h"
-
-int otbSpotImageMetadataInterfaceNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  otb::SpotImageMetadataInterface::Pointer object = otb::SpotImageMetadataInterface::New();
-
-  std::cout << object << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Core/Metadata/test/otbTerraSarImageMetadataInterfaceNew.cxx b/Modules/Core/Metadata/test/otbTerraSarImageMetadataInterfaceNew.cxx
deleted file mode 100644
index 35fbd70d35..0000000000
--- a/Modules/Core/Metadata/test/otbTerraSarImageMetadataInterfaceNew.cxx
+++ /dev/null
@@ -1,39 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-
-
-
-#include "itkMacro.h"
-
-#include <fstream>
-#include <iostream>
-#include "otbVectorImage.h"
-#include "otbImageFileReader.h"
-#include "otbTerraSarImageMetadataInterface.h"
-
-int otbTerraSarImageMetadataInterfaceNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  otb::TerraSarImageMetadataInterface::Pointer object = otb::TerraSarImageMetadataInterface::New();
-
-  std::cout << object << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Core/Metadata/test/otbWorldView2ImageMetadataInterfaceNew.cxx b/Modules/Core/Metadata/test/otbWorldView2ImageMetadataInterfaceNew.cxx
deleted file mode 100644
index 95a394ce0b..0000000000
--- a/Modules/Core/Metadata/test/otbWorldView2ImageMetadataInterfaceNew.cxx
+++ /dev/null
@@ -1,37 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-
-
-
-#include "itkMacro.h"
-
-#include <iostream>
-
-#include "otbWorldView2ImageMetadataInterface.h"
-
-int otbWorldView2ImageMetadataInterfaceNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  otb::WorldView2ImageMetadataInterface::Pointer object = otb::WorldView2ImageMetadataInterface::New();
-
-  std::cout << object << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Core/ObjectList/test/CMakeLists.txt b/Modules/Core/ObjectList/test/CMakeLists.txt
index 32f3ffbf57..f8ce0e2aed 100644
--- a/Modules/Core/ObjectList/test/CMakeLists.txt
+++ b/Modules/Core/ObjectList/test/CMakeLists.txt
@@ -21,22 +21,12 @@
 otb_module_test()
 set(OTBObjectListTests
   otbObjectList.cxx
-  otbObjectListNew.cxx
   otbImageList.cxx
-  otbImageListNew.cxx
-  otbImageListSourceNew.cxx
-  otbImageListToImageFilterNew.cxx
   otbImageListToImageListApplyFilter.cxx
-  otbImageListToImageListApplyFilterNew.cxx
-  otbImageListToImageListFilterNew.cxx
   otbImageListToVectorImageFilter2.cxx
   otbImageListToVectorImageFilter.cxx
-  otbImageListToVectorImageFilterNew.cxx
   otbObjectList2.cxx
-  otbObjectListToObjectListFilterNew.cxx
-  otbImageToImageListFilterNew.cxx
   otbVectorImageToImageListFilter.cxx
-  otbVectorImageToImageListFilterNew.cxx
   otbObjectListTestDriver.cxx  )
 
 add_executable(otbObjectListTestDriver ${OTBObjectListTests})
@@ -48,22 +38,13 @@ otb_add_test(NAME coTvObjectList COMMAND otbObjectListTestDriver
   ${INPUTDATA}/poupees.png
   ${INPUTDATA}/couleurs_extrait.png
   )
-otb_add_test(NAME coTuObjectListNew COMMAND otbObjectListTestDriver
-  otbObjectListNew)
-otb_add_test(NAME coTvImageList COMMAND otbObjectListTestDriver
   --compare-image ${NOTOL}   ${INPUTDATA}/amst.png
   ${TEMP}/amst.png
   otbImageList
   ${INPUTDATA}/amst.png
   ${TEMP}/amst.png
   )
-otb_add_test(NAME coTuImageListNew COMMAND otbObjectListTestDriver
-  otbImageListNew)
-otb_add_test(NAME coTuImageListSourceNew COMMAND otbObjectListTestDriver
   otbImageListSourceNew)
-otb_add_test(NAME coTuImageListToImageFilterNew COMMAND otbObjectListTestDriver
-  otbImageListToImageFilterNew)
-otb_add_test(NAME bfTvImageListToImageListApplyFilter COMMAND otbObjectListTestDriver
   --compare-n-images ${EPSILON_7} 3
   ${BASELINE}/bfTvImageListToImageListApplyFilterBand1.png
   ${TEMP}/bfTvImageListToImageListApplyFilterBand1.png
@@ -79,9 +60,6 @@ otb_add_test(NAME bfTvImageListToImageListApplyFilter COMMAND otbObjectListTestD
   ${TEMP}/bfTvImageListToImageListApplyFilterBand2.png
   ${TEMP}/bfTvImageListToImageListApplyFilterBand3.png
   )
-otb_add_test(NAME bfTuImageListToImageListApplyFilterNew COMMAND otbObjectListTestDriver
-  otbImageListToImageListApplyFilterNew)
-otb_add_test(NAME coTvImageListToImageListFilterNew COMMAND otbObjectListTestDriver
   otbImageListToImageListFilterNew)
 otb_add_test(NAME coTvImageListToVectorImageFilter2 COMMAND otbObjectListTestDriver
   otbImageListToVectorImageFilter2
@@ -99,14 +77,8 @@ otb_add_test(NAME coTvImageListToVectorImageFilter COMMAND otbObjectListTestDriv
   ${INPUTDATA}/poupees_c3.hdr
   ${TEMP}/coTvImageListToVectorImageFilter.png
   )
-otb_add_test(NAME coTuImageListToVectorImageFilterNew COMMAND otbObjectListTestDriver
-  otbImageListToVectorImageFilterNew)
-otb_add_test(NAME coTvObjectListTestNotValid COMMAND otbObjectListTestDriver
   otbObjectList2
   )
-otb_add_test(NAME coTuObjectListToObjectListFilterNew COMMAND otbObjectListTestDriver
-  otbObjectListToObjectListFilterNew)
-otb_add_test(NAME coTuImageToImageListFilterNew COMMAND otbObjectListTestDriver
   otbImageToImageListFilterNew)
 otb_add_test(NAME bfTvVectorImageToImageListFilter COMMAND otbObjectListTestDriver
   --compare-n-images ${EPSILON_7} 3
@@ -148,5 +120,3 @@ otb_add_test(NAME bfTvVectorImageToImageListFilterIt2 COMMAND otbObjectListTestD
   ${TEMP}/bfTvVectorImageToImageListFilterIt2
   tif
   )
-otb_add_test(NAME bfTuVectorImageToImageListFilterNew COMMAND otbObjectListTestDriver
-  otbVectorImageToImageListFilterNew)
diff --git a/Modules/Core/ObjectList/test/otbImageListNew.cxx b/Modules/Core/ObjectList/test/otbImageListNew.cxx
deleted file mode 100644
index 1f6f7de610..0000000000
--- a/Modules/Core/ObjectList/test/otbImageListNew.cxx
+++ /dev/null
@@ -1,40 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#include "itkMacro.h"
-
-#include "otbImageList.h"
-#include "otbImage.h"
-
-int otbImageListNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-
-  const unsigned int Dimension = 2;
-  typedef unsigned char                         InputPixelType;
-  typedef otb::Image<InputPixelType, Dimension> InputImageType;
-  typedef otb::ImageList<InputImageType>        ImageListType;
-
-  // Instantiating ImageList object
-  ImageListType::Pointer imageList = ImageListType::New();
-
-  std::cout << imageList << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Core/ObjectList/test/otbImageListSourceNew.cxx b/Modules/Core/ObjectList/test/otbImageListSourceNew.cxx
deleted file mode 100644
index dba73e02b1..0000000000
--- a/Modules/Core/ObjectList/test/otbImageListSourceNew.cxx
+++ /dev/null
@@ -1,39 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#include "itkMacro.h"
-
-#include "otbImageListSource.h"
-#include "otbImage.h"
-
-int otbImageListSourceNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  const unsigned int Dimension = 2;
-  typedef unsigned char                         InputPixelType;
-  typedef otb::Image<InputPixelType, Dimension> InputImageType;
-  typedef otb::ImageListSource<InputImageType>  ImageListSourceType;
-
-  // Instantiating ImageListSource object
-  ImageListSourceType::Pointer imageList = ImageListSourceType::New();
-
-  std::cout << imageList << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Core/ObjectList/test/otbImageListToImageFilterNew.cxx b/Modules/Core/ObjectList/test/otbImageListToImageFilterNew.cxx
deleted file mode 100644
index 8d05a88b51..0000000000
--- a/Modules/Core/ObjectList/test/otbImageListToImageFilterNew.cxx
+++ /dev/null
@@ -1,41 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#include "itkMacro.h"
-
-#include "otbImageListToImageFilter.h"
-#include "otbImage.h"
-
-int otbImageListToImageFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  const unsigned int Dimension = 2;
-  typedef unsigned char                                                InputPixelType;
-  typedef unsigned char                                                OutputPixelType;
-  typedef otb::Image<InputPixelType, Dimension>                        InputImageType;
-  typedef otb::Image<OutputPixelType, Dimension>                       OutputImageType;
-  typedef otb::ImageListToImageFilter<InputImageType, OutputImageType> ImageListToImageFilterType;
-
-  // Instantiating ImageListSource object
-  ImageListToImageFilterType::Pointer imageList = ImageListToImageFilterType::New();
-
-  std::cout << imageList << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Core/ObjectList/test/otbImageListToImageListApplyFilterNew.cxx b/Modules/Core/ObjectList/test/otbImageListToImageListApplyFilterNew.cxx
deleted file mode 100644
index dc766d7ba3..0000000000
--- a/Modules/Core/ObjectList/test/otbImageListToImageListApplyFilterNew.cxx
+++ /dev/null
@@ -1,46 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#include "itkMacro.h"
-
-#include "otbImageListToImageListApplyFilter.h"
-#include "otbImageList.h"
-#include "otbImage.h"
-#include "itkUnaryFunctorImageFilter.h"
-#include "itkMeanImageFilter.h"
-
-int otbImageListToImageListApplyFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  const unsigned int Dimension = 2;
-  typedef unsigned char                              PixelType;
-  typedef otb::Image<PixelType, Dimension>           ImageType;
-  typedef otb::ImageList<ImageType>                  ImageListType;
-  typedef itk::MeanImageFilter<ImageType, ImageType> MeanFilterType;
-
-  typedef otb::ImageListToImageListApplyFilter<ImageListType, ImageListType, MeanFilterType>
-  ImageListToImageListApplyFilterType;
-
-  // Instantiating object
-  ImageListToImageListApplyFilterType::Pointer filter = ImageListToImageListApplyFilterType::New();
-
-  std::cout << filter << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Core/ObjectList/test/otbImageListToImageListFilterNew.cxx b/Modules/Core/ObjectList/test/otbImageListToImageListFilterNew.cxx
deleted file mode 100644
index 40afe85ada..0000000000
--- a/Modules/Core/ObjectList/test/otbImageListToImageListFilterNew.cxx
+++ /dev/null
@@ -1,41 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#include "itkMacro.h"
-
-#include "otbImageListToImageListFilter.h"
-#include "otbImage.h"
-
-int otbImageListToImageListFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  const unsigned int Dimension = 2;
-  typedef unsigned char                                                    InputPixelType;
-  typedef unsigned char                                                    OutputPixelType;
-  typedef otb::Image<InputPixelType, Dimension>                            InputImageType;
-  typedef otb::Image<OutputPixelType, Dimension>                           OutputImageType;
-  typedef otb::ImageListToImageListFilter<InputImageType, OutputImageType> ImageToImageListFilterType;
-
-  // Instantiating ImageListSource object
-  ImageToImageListFilterType::Pointer imageList = ImageToImageListFilterType::New();
-
-  std::cout << imageList << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Core/ObjectList/test/otbImageListToVectorImageFilterNew.cxx b/Modules/Core/ObjectList/test/otbImageListToVectorImageFilterNew.cxx
deleted file mode 100644
index fca0f74c75..0000000000
--- a/Modules/Core/ObjectList/test/otbImageListToVectorImageFilterNew.cxx
+++ /dev/null
@@ -1,45 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#include "itkMacro.h"
-
-#include "otbImageListToVectorImageFilter.h"
-#include "otbVectorImage.h"
-#include "otbImage.h"
-#include "otbImageList.h"
-
-int otbImageListToVectorImageFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  const unsigned int Dimension = 2;
-  typedef unsigned char PixelType;
-
-  typedef otb::Image<PixelType, Dimension>       ImageType;
-  typedef otb::VectorImage<PixelType, Dimension> VectorImageType;
-  typedef otb::ImageList<ImageType>              ImageListType;
-
-  typedef otb::ImageListToVectorImageFilter<ImageListType, VectorImageType> ImageListToVectorImageFilterType;
-
-  // Instantiating object
-  ImageListToVectorImageFilterType::Pointer filter = ImageListToVectorImageFilterType::New();
-
-  std::cout << filter << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Core/ObjectList/test/otbImageToImageListFilterNew.cxx b/Modules/Core/ObjectList/test/otbImageToImageListFilterNew.cxx
deleted file mode 100644
index 96b0386653..0000000000
--- a/Modules/Core/ObjectList/test/otbImageToImageListFilterNew.cxx
+++ /dev/null
@@ -1,41 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#include "itkMacro.h"
-
-#include "otbImageToImageListFilter.h"
-#include "otbImage.h"
-
-int otbImageToImageListFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  const unsigned int Dimension = 2;
-  typedef unsigned char                                                InputPixelType;
-  typedef unsigned char                                                OutputPixelType;
-  typedef otb::Image<InputPixelType, Dimension>                        InputImageType;
-  typedef otb::Image<OutputPixelType, Dimension>                       OutputImageType;
-  typedef otb::ImageToImageListFilter<InputImageType, OutputImageType> ImageToImageListFilterType;
-
-  // Instantiating ImageListSource object
-  ImageToImageListFilterType::Pointer imageList = ImageToImageListFilterType::New();
-
-  std::cout << imageList << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Core/ObjectList/test/otbObjectListNew.cxx b/Modules/Core/ObjectList/test/otbObjectListNew.cxx
deleted file mode 100644
index d67866f082..0000000000
--- a/Modules/Core/ObjectList/test/otbObjectListNew.cxx
+++ /dev/null
@@ -1,37 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#include "itkMacro.h"
-#include "otbObjectList.h"
-#include "otbImage.h"
-
-int otbObjectListNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  const unsigned int Dimension = 2;
-  typedef unsigned char                    PixelType;
-  typedef otb::Image<PixelType, Dimension> ImageType;
-  typedef otb::ObjectList<ImageType>       ImageListType;
-
-  ImageListType::Pointer imageList = ImageListType::New();
-
-  std::cout << imageList << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Core/ObjectList/test/otbObjectListToObjectListFilterNew.cxx b/Modules/Core/ObjectList/test/otbObjectListToObjectListFilterNew.cxx
deleted file mode 100644
index aa04426d51..0000000000
--- a/Modules/Core/ObjectList/test/otbObjectListToObjectListFilterNew.cxx
+++ /dev/null
@@ -1,42 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#include "itkMacro.h"
-#include "otbObjectListToObjectListFilter.h"
-#include "otbObjectList.h"
-#include <complex>
-#include "otbPolygon.h"
-
-int otbObjectListToObjectListFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  typedef otb::PolyLineParametricPathWithValue<std::complex<int>, 2> InputObjectType;
-  typedef otb::Polygon<unsigned char>                                OutputObjectType;
-
-  typedef otb::ObjectList<InputObjectType>  InputListType;
-  typedef otb::ObjectList<OutputObjectType> OutputListType;
-
-  typedef otb::ObjectListToObjectListFilter<InputListType, OutputListType> ObjectListFilterType;
-
-  ObjectListFilterType::Pointer objectList = ObjectListFilterType::New();
-
-  std::cout << objectList << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Core/ObjectList/test/otbVectorImageToImageListFilterNew.cxx b/Modules/Core/ObjectList/test/otbVectorImageToImageListFilterNew.cxx
deleted file mode 100644
index 62dff77329..0000000000
--- a/Modules/Core/ObjectList/test/otbVectorImageToImageListFilterNew.cxx
+++ /dev/null
@@ -1,45 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#include "itkMacro.h"
-
-#include "otbVectorImageToImageListFilter.h"
-#include "otbVectorImage.h"
-#include "otbImageList.h"
-#include "otbImage.h"
-
-int otbVectorImageToImageListFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  const unsigned int Dimension = 2;
-
-  typedef unsigned char                          PixelType;
-  typedef otb::Image<PixelType, Dimension>       ImageType;
-  typedef otb::VectorImage<PixelType, Dimension> VectorImageType;
-  typedef otb::ImageList<ImageType>              ImageListType;
-
-  typedef otb::VectorImageToImageListFilter<VectorImageType, ImageListType> VectorImageToImageListFilterType;
-
-  // Instantiating object
-  VectorImageToImageListFilterType::Pointer filter = VectorImageToImageListFilterType::New();
-
-  std::cout << filter << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Core/PointSet/test/CMakeLists.txt b/Modules/Core/PointSet/test/CMakeLists.txt
index 237a55f1cf..bd39df8b8c 100644
--- a/Modules/Core/PointSet/test/CMakeLists.txt
+++ b/Modules/Core/PointSet/test/CMakeLists.txt
@@ -25,7 +25,6 @@ otbPointSetTestDriver.cxx
 otbPointSetSourceTest.cxx
 otbPointSetExtractROITest.cxx
 otbSimplePointCountStrategyTest.cxx
-otbThresholdImageToPointSetFilterNew.cxx
 otbRandomPointSetSourceTest.cxx
 otbImageToPointSetFilterTest.cxx
 otbTransformPointSetFilterTest.cxx
@@ -47,9 +46,6 @@ otb_add_test(NAME bfTvPointSetExtractROI COMMAND otbPointSetTestDriver
 otb_add_test(NAME feTvSimplePointCountStrategyTest COMMAND otbPointSetTestDriver
   otbSimplePointCountStrategyTest)
 
-otb_add_test(NAME feTuThresholdImageToPointSetFilterNew COMMAND otbPointSetTestDriver
-  otbThresholdImageToPointSetFilterNew
-  )
 
 otb_add_test(NAME bfTvRandomPointSetSource COMMAND otbPointSetTestDriver
   otbRandomPointSetSourceTest)
diff --git a/Modules/Core/PointSet/test/otbThresholdImageToPointSetFilterNew.cxx b/Modules/Core/PointSet/test/otbThresholdImageToPointSetFilterNew.cxx
deleted file mode 100644
index c4f0342891..0000000000
--- a/Modules/Core/PointSet/test/otbThresholdImageToPointSetFilterNew.cxx
+++ /dev/null
@@ -1,45 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-
-
-
-#include "itkMacro.h"
-
-#include "otbThresholdImageToPointSetFilter.h"
-#include "otbImage.h"
-
-#include <iostream>
-
-int otbThresholdImageToPointSetFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  const unsigned int Dimension = 2;
-  typedef unsigned char                       PixelType;
-  typedef otb::Image<PixelType, Dimension>    ImageType;
-  typedef itk::PointSet<PixelType, Dimension> PointSetType;
-
-  typedef otb::ThresholdImageToPointSetFilter<ImageType, PointSetType> FilterThresholdType;
-
-  FilterThresholdType::Pointer filter = FilterThresholdType::New();
-
-  std::cout << filter << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Core/SpatialObjects/test/CMakeLists.txt b/Modules/Core/SpatialObjects/test/CMakeLists.txt
index 19c52b307d..364f53dc90 100644
--- a/Modules/Core/SpatialObjects/test/CMakeLists.txt
+++ b/Modules/Core/SpatialObjects/test/CMakeLists.txt
@@ -22,17 +22,10 @@ otb_module_test()
 
 set(OTBSpatialObjectsTests
 otbSpatialObjectsTestDriver.cxx
-otbLineSpatialObjectListToPointSetFilterNew.cxx
 otbSpatialObjectToImageDrawingFilter.cxx
 otbDrawLineSpatialObject.cxx
-otbSpatialObjectToImageDrawingFilterNew.cxx
 otbLineSpatialObjectList.cxx
-otbLineSpatialObjectNew.cxx
-otbDrawLineSpatialObjectListNew.cxx
 otbDrawLineSpatialObjectList.cxx
-otbSpatialObjectSourceNew.cxx
-otbImageToLineSpatialObjectListNew.cxx
-otbDrawLineSpatialObjectNew.cxx
 )
 
 add_executable(otbSpatialObjectsTestDriver ${OTBSpatialObjectsTests})
@@ -61,30 +54,12 @@ otb_add_test(NAME coTuDrawLineSpatialObject COMMAND otbSpatialObjectsTestDriver
   ${INPUTDATA}/ImageLineDir.bsq
   ${TEMP}/coFiltreDrawLine_ImageLineDir.png 10. 22. 38. 42.)
 
-otb_add_test(NAME bfTuSpatialObjectToImageDrawingFilterNew COMMAND otbSpatialObjectsTestDriver
-  otbSpatialObjectToImageDrawingFilterNew)
-
 otb_add_test(NAME coTuLineSpatialObjectList COMMAND otbSpatialObjectsTestDriver
   otbLineSpatialObjectList
   )
 
-otb_add_test(NAME coTuLineSpatialObjectNew COMMAND otbSpatialObjectsTestDriver
-  otbLineSpatialObjectNew)
-
-otb_add_test(NAME coTuDrawLineSpatialObjectListNew COMMAND otbSpatialObjectsTestDriver
-  otbDrawLineSpatialObjectListNew)
-
 otb_add_test(NAME coTuDrawLineSpatialObjectList COMMAND otbSpatialObjectsTestDriver
   otbDrawLineSpatialObjectList
   ${INPUTDATA}/ImageLineDir.bsq
   ${TEMP}/coFiltreDrawLineList_ImageLineDir.png )
 
-otb_add_test(NAME coTuSpatialObjectSourceNew COMMAND otbSpatialObjectsTestDriver
-  otbSpatialObjectSourceNew)
-
-otb_add_test(NAME coTuImageToLineSpatialObjectListNew COMMAND otbSpatialObjectsTestDriver
-  otbImageToLineSpatialObjectListNew)
-
-otb_add_test(NAME coTuDrawLineSpatialObjectNew COMMAND otbSpatialObjectsTestDriver
-  otbDrawLineSpatialObjectNew)
-
diff --git a/Modules/Core/SpatialObjects/test/otbDrawLineSpatialObjectListNew.cxx b/Modules/Core/SpatialObjects/test/otbDrawLineSpatialObjectListNew.cxx
deleted file mode 100644
index 4690c9ed80..0000000000
--- a/Modules/Core/SpatialObjects/test/otbDrawLineSpatialObjectListNew.cxx
+++ /dev/null
@@ -1,46 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-
-
-
-#include "itkMacro.h"
-#include <iostream>
-
-#include "otbImage.h"
-#include "otbDrawLineSpatialObjectListFilter.h"
-
-int otbDrawLineSpatialObjectListNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  typedef double        InputPixelType;
-  typedef unsigned char OutputPixelType;
-  const unsigned int Dimension = 2;
-
-  typedef otb::Image<InputPixelType,  Dimension> InputImageType;
-  typedef otb::Image<OutputPixelType, Dimension> OutputImageType;
-
-  typedef otb::DrawLineSpatialObjectListFilter<InputImageType, OutputImageType> FilterType;
-
-  FilterType::Pointer filter = FilterType::New();
-
-  std::cout << filter << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Core/SpatialObjects/test/otbDrawLineSpatialObjectNew.cxx b/Modules/Core/SpatialObjects/test/otbDrawLineSpatialObjectNew.cxx
deleted file mode 100644
index e9344757db..0000000000
--- a/Modules/Core/SpatialObjects/test/otbDrawLineSpatialObjectNew.cxx
+++ /dev/null
@@ -1,46 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-
-
-
-#include "itkMacro.h"
-#include <iostream>
-
-#include "otbImage.h"
-#include "otbDrawLineSpatialObjectFilter.h"
-
-int otbDrawLineSpatialObjectNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  typedef double InputPixelType;
-  typedef double OutputPixelType;
-  const unsigned int Dimension = 2;
-
-  typedef otb::Image<InputPixelType,  Dimension> InputImageType;
-  typedef otb::Image<OutputPixelType, Dimension> OutputImageType;
-
-  typedef otb::DrawLineSpatialObjectFilter<InputImageType, OutputImageType> FilterType;
-
-  FilterType::Pointer filter = FilterType::New();
-
-  std::cout << filter << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Core/SpatialObjects/test/otbImageToLineSpatialObjectListNew.cxx b/Modules/Core/SpatialObjects/test/otbImageToLineSpatialObjectListNew.cxx
deleted file mode 100644
index 38758f708e..0000000000
--- a/Modules/Core/SpatialObjects/test/otbImageToLineSpatialObjectListNew.cxx
+++ /dev/null
@@ -1,44 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-
-
-
-#include "itkMacro.h"
-#include <iostream>
-
-#include "otbImage.h"
-#include "otbImageToLineSpatialObjectListFilter.h"
-
-int otbImageToLineSpatialObjectListNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  typedef unsigned char InputPixelType;
-  const unsigned int Dimension = 2;
-
-  typedef otb::Image<InputPixelType,  Dimension> InputImageType;
-
-  typedef otb::ImageToLineSpatialObjectListFilter<InputImageType> FilterType;
-
-  FilterType::Pointer filter = FilterType::New();
-
-  std::cout << filter << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Core/SpatialObjects/test/otbLineSpatialObjectListToPointSetFilterNew.cxx b/Modules/Core/SpatialObjects/test/otbLineSpatialObjectListToPointSetFilterNew.cxx
deleted file mode 100644
index 7e8d5e74bf..0000000000
--- a/Modules/Core/SpatialObjects/test/otbLineSpatialObjectListToPointSetFilterNew.cxx
+++ /dev/null
@@ -1,43 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-
-
-
-#include "itkPointSet.h"
-#include <iostream>
-
-#include "otbLineSpatialObjectListToPointSetFilter.h"
-
-int otbLineSpatialObjectListToPointSetFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  typedef float                         InputPixelType;
-  typedef otb::LineSpatialObjectList    LinesListType;
-  typedef itk::PointSet<InputPixelType> PointSetType;
-
-  typedef otb::LineSpatialObjectListToPointSetFilter<LinesListType,
-      PointSetType>   FilterType;
-
-  FilterType::Pointer filter = FilterType::New();
-
-  std::cout << filter << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Core/SpatialObjects/test/otbLineSpatialObjectNew.cxx b/Modules/Core/SpatialObjects/test/otbLineSpatialObjectNew.cxx
deleted file mode 100644
index 31d6fc2987..0000000000
--- a/Modules/Core/SpatialObjects/test/otbLineSpatialObjectNew.cxx
+++ /dev/null
@@ -1,35 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#include "itkMacro.h"
-
-#include "otbLineSpatialObject.h"
-
-int otbLineSpatialObjectNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  typedef otb::LineSpatialObject<2> LineSpatialObjectType;
-
-  // Instantiating object
-  LineSpatialObjectType::Pointer object = LineSpatialObjectType::New();
-
-  std::cout << object << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Core/SpatialObjects/test/otbSpatialObjectSourceNew.cxx b/Modules/Core/SpatialObjects/test/otbSpatialObjectSourceNew.cxx
deleted file mode 100644
index 4543442956..0000000000
--- a/Modules/Core/SpatialObjects/test/otbSpatialObjectSourceNew.cxx
+++ /dev/null
@@ -1,38 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#include "itkMacro.h"
-
-#include "otbSpatialObjectSource.h"
-#include "itkGroupSpatialObject.h"
-
-int otbSpatialObjectSourceNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  const unsigned int Dimension = 2;
-  typedef itk::GroupSpatialObject<Dimension>          SpatialObjectType;
-  typedef otb::SpatialObjectSource<SpatialObjectType> SpatialObjectSourceType;
-
-  // Instantiation
-  SpatialObjectSourceType::Pointer source = SpatialObjectSourceType::New();
-
-  std::cout << source << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Core/SpatialObjects/test/otbSpatialObjectToImageDrawingFilterNew.cxx b/Modules/Core/SpatialObjects/test/otbSpatialObjectToImageDrawingFilterNew.cxx
deleted file mode 100644
index 9b5da7628b..0000000000
--- a/Modules/Core/SpatialObjects/test/otbSpatialObjectToImageDrawingFilterNew.cxx
+++ /dev/null
@@ -1,40 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#include "itkMacro.h"
-
-#include "otbSpatialObjectToImageDrawingFilter.h"
-#include "itkGroupSpatialObject.h"
-#include "otbImage.h"
-
-int otbSpatialObjectToImageDrawingFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  const unsigned int Dimension = 2;
-  typedef unsigned char                                                        PixelType;
-  typedef otb::Image<PixelType, Dimension>                                     ImageType;
-  typedef itk::GroupSpatialObject<Dimension>                                   SpatialObjectType;
-  typedef otb::SpatialObjectToImageDrawingFilter<SpatialObjectType, ImageType> SpatialObjectToImageDrawingFilterType;
-  // Instantiating object
-  SpatialObjectToImageDrawingFilterType::Pointer filter = SpatialObjectToImageDrawingFilterType::New();
-
-  std::cout << filter << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Core/Streaming/test/CMakeLists.txt b/Modules/Core/Streaming/test/CMakeLists.txt
index 09b52ccaf2..41f518b847 100644
--- a/Modules/Core/Streaming/test/CMakeLists.txt
+++ b/Modules/Core/Streaming/test/CMakeLists.txt
@@ -64,9 +64,6 @@ otb_add_test(NAME coTvRAMDrivenTiledStreamingManager COMMAND otbStreamingTestDri
   ${TEMP}/coTvRAMDrivenTiledStreamingManager.txt
   )
 
-otb_add_test(NAME coTuStreamingManagerNew COMMAND otbStreamingTestDriver
-  otbStreamingManagerNew
-  )
 
 otb_add_test(NAME coTvTileDimensionTiledStreamingManager COMMAND otbStreamingTestDriver
   --compare-ascii ${NOTOL}
@@ -84,6 +81,3 @@ otb_add_test(NAME coTvPipelineMemoryPrintCalculator COMMAND otbStreamingTestDriv
   ${INPUTDATA}/qb_RoadExtract.img
   ${TEMP}/coTvPipelineMemoryPrintCalculatorOutput.txt
   )
-otb_add_test(NAME coTuPipelineMemoryPrintCalculatorNew COMMAND otbStreamingTestDriver
-  otbPipelineMemoryPrintCalculatorNew
-  )
diff --git a/Modules/Core/Transform/test/CMakeLists.txt b/Modules/Core/Transform/test/CMakeLists.txt
index 8bfb511aa3..9d4e53fd50 100644
--- a/Modules/Core/Transform/test/CMakeLists.txt
+++ b/Modules/Core/Transform/test/CMakeLists.txt
@@ -27,19 +27,12 @@ otbCreateInverseForwardSensorModel.cxx
 otbGenericRSTransform.cxx
 otbCreateProjectionWithOSSIM.cxx
 otbLogPolarTransformResample.cxx
-otbStreamingWarpImageFilterNew.cxx
 otbLogPolarTransform.cxx
-otbGenericRSTransformNew.cxx
-otbLogPolarTransformNew.cxx
 otbGeocentricTransform.cxx
 otbCreateProjectionWithOTB.cxx
-otbGeocentricTransformNew.cxx
 otbGenericMapProjection.cxx
 otbStreamingWarpImageFilter.cxx
-otbSensorModelsNew.cxx
-otbGenericMapProjectionNew.cxx
 otbInverseLogPolarTransform.cxx
-otbInverseLogPolarTransformNew.cxx
 otbInverseLogPolarTransformResample.cxx
 otbStreamingResampleImageFilterWithAffineTransform.cxx
 )
@@ -106,9 +99,6 @@ otb_add_test(NAME bfTvLogPolarTransformResample COMMAND otbTransformTestDriver
   ${TEMP}/bfLogPolarTransformResampleOutput.hdr
   )
 
-otb_add_test(NAME dmTuStreamingWarpImageFilterNew COMMAND otbTransformTestDriver
-  otbStreamingWarpImageFilterNew)
-
 otb_add_test(NAME bfTvLogPolarTransform COMMAND otbTransformTestDriver
   --compare-ascii ${NOTOL}
   ${BASELINE_FILES}/bfLogPolarTransformResults.txt
@@ -119,9 +109,6 @@ otb_add_test(NAME bfTvLogPolarTransform COMMAND otbTransformTestDriver
   5 0 0 0 10 45 0 3.14 3.14 18 1
   )
 
-otb_add_test(NAME prTuGenericRSTransformNew COMMAND otbTransformTestDriver  otbGenericRSTransformNew )
-
-otb_add_test(NAME bfTuLogPolarTransformNew COMMAND otbTransformTestDriver
   otbLogPolarTransformNew)
 
 
@@ -143,9 +130,6 @@ otb_add_test(NAME prTvTestCreateProjectionWithOTB_Cevennes COMMAND otbTransformT
   LARGEINPUT{QUICKBIRD/CEVENNES/06FEB12104912-P1BS-005533998070_01_P001.TIF}
   )
 
-otb_add_test(NAME prTuGeocentricTransformNew COMMAND otbTransformTestDriver  otbGeocentricTransformNew )
-
-otb_add_test(NAME dmTvStreamingWarpImageFilter COMMAND otbTransformTestDriver
   --compare-image ${EPSILON_10}
   ${BASELINE}/dmStreamingWarpImageFilterOutput.tif
   ${TEMP}/dmStreamingWarpImageFilterOutput.tif
@@ -156,9 +140,6 @@ otb_add_test(NAME dmTvStreamingWarpImageFilter COMMAND otbTransformTestDriver
   5
   )
 
-otb_add_test(NAME prTuSensorModelsNew COMMAND otbTransformTestDriver  otbSensorModelsNew )
-
-otb_add_test(NAME prTuGenericMapProjectionNew COMMAND otbTransformTestDriver  otbGenericMapProjectionNew )
 
 # Forward / Backward projection consistency checking
 set(FWDBWDChecking_INPUTS
@@ -190,9 +171,6 @@ 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 bfTuInverseLogPolarTransformNew COMMAND otbTransformTestDriver
-  otbInverseLogPolarTransformNew)
-otb_add_test(NAME bfTvInverseLogPolarTransformResample COMMAND otbTransformTestDriver
   --compare-image ${NOTOL}  ${BASELINE}/bfInverseLogPolarTransformResampleOutput.hdr
   ${TEMP}/bfInverseLogPolarTransformResampleOutput.hdr
   otbInverseLogPolarTransformResample
@@ -205,6 +183,3 @@ otb_add_test(NAME bfTvStreamingResampleImageFilterWithAffineTransform COMMAND ot
   500
   ${TEMP}/bfTvotbStreamingResampledImageWithAffineTransform.tif
   )
-otb_add_test(NAME bfTuStreamingResampleImageFilterWithAffineTransformNew COMMAND otbTransformTestDriver
-  otbStreamingResampleImageFilterWithAffineTransform
-  )
diff --git a/Modules/Core/Transform/test/otbGenericMapProjectionNew.cxx b/Modules/Core/Transform/test/otbGenericMapProjectionNew.cxx
deleted file mode 100644
index ce25d4b499..0000000000
--- a/Modules/Core/Transform/test/otbGenericMapProjectionNew.cxx
+++ /dev/null
@@ -1,34 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-
-
-#include <iostream>
-
-#include "otbGenericMapProjection.h"
-
-int otbGenericMapProjectionNew(int itkNotUsed(argc), char * itkNotUsed(argv)[])
-{
-
-  typedef otb::GenericMapProjection<otb::TransformDirection::FORWARD> MapProjectionType;
-  MapProjectionType::Pointer mapProjection = MapProjectionType::New();
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Core/Transform/test/otbGenericRSTransformNew.cxx b/Modules/Core/Transform/test/otbGenericRSTransformNew.cxx
deleted file mode 100644
index 1eb4ba9d16..0000000000
--- a/Modules/Core/Transform/test/otbGenericRSTransformNew.cxx
+++ /dev/null
@@ -1,36 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-
-
-#include <iostream>
-
-#include "otbGenericRSTransform.h"
-
-int otbGenericRSTransformNew(int itkNotUsed(argc), char * itkNotUsed(argv)[])
-{
-
-  typedef otb::GenericRSTransform<> TransformType;
-  TransformType::Pointer transform = TransformType::New();
-
-  std::cout << transform << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Core/Transform/test/otbGeocentricTransformNew.cxx b/Modules/Core/Transform/test/otbGeocentricTransformNew.cxx
deleted file mode 100644
index 938255eb90..0000000000
--- a/Modules/Core/Transform/test/otbGeocentricTransformNew.cxx
+++ /dev/null
@@ -1,36 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-
-
-#include "otbMacro.h"
-#include "otbImage.h"
-#include "otbGeocentricTransform.h"
-
-int otbGeocentricTransformNew(int itkNotUsed(argc), char * itkNotUsed(argv)[])
-{
-
-  typedef otb::GeocentricTransform<otb::TransformDirection::FORWARD> ProjectionType;
-  ProjectionType::Pointer projection = ProjectionType::New();
-
-  std::cout << projection << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Core/Transform/test/otbInverseLogPolarTransformNew.cxx b/Modules/Core/Transform/test/otbInverseLogPolarTransformNew.cxx
deleted file mode 100644
index 6e304cdedd..0000000000
--- a/Modules/Core/Transform/test/otbInverseLogPolarTransformNew.cxx
+++ /dev/null
@@ -1,35 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#include "otbInverseLogPolarTransform.h"
-#include <cstdlib>
-
-int otbInverseLogPolarTransformNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  typedef double                                       PrecisionType;
-  typedef otb::InverseLogPolarTransform<PrecisionType> InverseLogPolarTransformType;
-
-  // Instantiation
-  InverseLogPolarTransformType::Pointer transform = InverseLogPolarTransformType::New();
-
-  std::cout << transform << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Core/Transform/test/otbLogPolarTransformNew.cxx b/Modules/Core/Transform/test/otbLogPolarTransformNew.cxx
deleted file mode 100644
index 417071f311..0000000000
--- a/Modules/Core/Transform/test/otbLogPolarTransformNew.cxx
+++ /dev/null
@@ -1,35 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#include "otbLogPolarTransform.h"
-#include <cstdlib>
-
-int otbLogPolarTransformNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  typedef double                                PrecisionType;
-  typedef otb::LogPolarTransform<PrecisionType> LogPolarTransformType;
-
-  // Instantiation
-  LogPolarTransformType::Pointer transform = LogPolarTransformType::New();
-
-  std::cout << transform << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Core/Transform/test/otbSensorModelsNew.cxx b/Modules/Core/Transform/test/otbSensorModelsNew.cxx
deleted file mode 100644
index 0c5b4369a0..0000000000
--- a/Modules/Core/Transform/test/otbSensorModelsNew.cxx
+++ /dev/null
@@ -1,46 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-
-
-#include <iostream>
-
-#include "otbForwardSensorModel.h"
-#include "otbInverseSensorModel.h"
-
-int otbSensorModelsNew(int itkNotUsed(argc), char * itkNotUsed(argv)[])
-{
-  typedef otb::SensorModelBase<double> SensorModelBaseType;
-  SensorModelBaseType::Pointer lSensorModelBase = SensorModelBaseType::New();
-
-  std::cout << lSensorModelBase << std::endl;
-
-  typedef otb::InverseSensorModel<double> InverseSensorModelType;
-  InverseSensorModelType::Pointer lInverseSensorModel = InverseSensorModelType::New();
-
-  std::cout << lInverseSensorModel << std::endl;
-
-  typedef otb::ForwardSensorModel<double> ForwardSensorModelType;
-  ForwardSensorModelType::Pointer lForwardSensorModel = ForwardSensorModelType::New();
-
-  std::cout << lForwardSensorModel << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Core/Transform/test/otbStreamingWarpImageFilterNew.cxx b/Modules/Core/Transform/test/otbStreamingWarpImageFilterNew.cxx
deleted file mode 100644
index fe00c8bb25..0000000000
--- a/Modules/Core/Transform/test/otbStreamingWarpImageFilterNew.cxx
+++ /dev/null
@@ -1,43 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#include "otbImage.h"
-#include "itkVector.h"
-#include "otbStreamingWarpImageFilter.h"
-
-int otbStreamingWarpImageFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  // Images definition
-  const unsigned int Dimension = 2;
-  typedef double                              PixelType;
-  typedef itk::Vector<PixelType, 2>           DisplacementValueType;
-  typedef otb::Image<PixelType, Dimension>    ImageType;
-  typedef otb::Image<DisplacementValueType, 2> DisplacementFieldType;
-
-  // Warper
-  typedef otb::StreamingWarpImageFilter<ImageType, ImageType, DisplacementFieldType> ImageWarperType;
-
-  // Objects creation
-  ImageWarperType::Pointer warper = ImageWarperType::New();
-
-  std::cout << warper << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Core/VectorDataBase/test/CMakeLists.txt b/Modules/Core/VectorDataBase/test/CMakeLists.txt
index ca80730e38..8d9c1985b9 100644
--- a/Modules/Core/VectorDataBase/test/CMakeLists.txt
+++ b/Modules/Core/VectorDataBase/test/CMakeLists.txt
@@ -25,13 +25,8 @@ otbVectorDataBaseTestDriver.cxx
 otbVectorData.cxx
 otbVectorDataKeywordlistTest.cxx
 otbPolygon.cxx
-otbVectorDataSourceNew.cxx
 otbDataNodeTest.cxx
 otbRemoteSensingRegion.cxx
-otbPolygonNew.cxx
-otbPolyLineParametricPathWithValueNew.cxx
-otbRemoteSensingRegionNew.cxx
-otbVectorDataNew.cxx
 )
 
 add_executable(otbVectorDataBaseTestDriver ${OTBVectorDataBaseTests})
@@ -49,9 +44,6 @@ otb_add_test(NAME coTvVectorData COMMAND otbVectorDataBaseTestDriver
   ${TEMP}/coTvVectorData.txt
   )
 
-otb_add_test(NAME ioTuVectorDataKeywordlistNew COMMAND otbVectorDataBaseTestDriver
-  otbVectorDataKeywordlistNew
-  )
 
 otb_add_test(NAME ioTvVectorDataKeywordlist COMMAND otbVectorDataBaseTestDriver
   --compare-ascii ${EPSILON_9}
@@ -87,15 +79,6 @@ otb_add_test(NAME coTvRemoteSensingRegion COMMAND otbVectorDataBaseTestDriver
   0. 0.                  # Point to check
   )
 
-otb_add_test(NAME coTuPolygonNew COMMAND otbVectorDataBaseTestDriver
-  otbPolygonNew)
-
-otb_add_test(NAME coTuPolyLineParametricPathWithValueNew COMMAND otbVectorDataBaseTestDriver
-  otbPolyLineParametricPathWithValueNew)
-
-otb_add_test(NAME coTuRemoteSensingRegionNew COMMAND otbVectorDataBaseTestDriver
-  otbRemoteSensingRegionNew )
-
 
 otb_add_test(NAME coTuVectorData COMMAND otbVectorDataBaseTestDriver
   otbVectorDataNew
diff --git a/Modules/Core/VectorDataBase/test/otbPolyLineParametricPathWithValueNew.cxx b/Modules/Core/VectorDataBase/test/otbPolyLineParametricPathWithValueNew.cxx
deleted file mode 100644
index 2d174ec7c8..0000000000
--- a/Modules/Core/VectorDataBase/test/otbPolyLineParametricPathWithValueNew.cxx
+++ /dev/null
@@ -1,39 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#include "itkMacro.h"
-#include <cstdlib>
-
-#include "otbPolyLineParametricPathWithValue.h"
-
-int otbPolyLineParametricPathWithValueNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  const unsigned int Dimension = 2;
-  typedef double                                                     ValueType;
-  typedef otb::PolyLineParametricPathWithValue<ValueType, Dimension> PolyLineParametricPathWithValueType;
-
-  // Instantiating object
-  PolyLineParametricPathWithValueType::Pointer object = PolyLineParametricPathWithValueType::New();
-  object->SetValue(0);
-
-  std::cout << object << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Core/VectorDataBase/test/otbPolygonNew.cxx b/Modules/Core/VectorDataBase/test/otbPolygonNew.cxx
deleted file mode 100644
index 42da05cf0a..0000000000
--- a/Modules/Core/VectorDataBase/test/otbPolygonNew.cxx
+++ /dev/null
@@ -1,36 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#include "itkMacro.h"
-#include <cstdlib>
-
-#include "otbPolygon.h"
-
-int otbPolygonNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  typedef otb::Polygon<> PolygonType;
-
-  // Instantiating object
-  PolygonType::Pointer polygon = PolygonType::New();
-
-  std::cout << polygon << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Core/VectorDataBase/test/otbRemoteSensingRegionNew.cxx b/Modules/Core/VectorDataBase/test/otbRemoteSensingRegionNew.cxx
deleted file mode 100644
index b57888299a..0000000000
--- a/Modules/Core/VectorDataBase/test/otbRemoteSensingRegionNew.cxx
+++ /dev/null
@@ -1,35 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-
-#include "otbRemoteSensingRegion.h"
-
-int otbRemoteSensingRegionNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-
-  typedef   double                         Type;
-  typedef   otb::RemoteSensingRegion<Type> TypedRegion;
-
-  TypedRegion Cartoregion;
-
-  std::cout << Cartoregion << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Core/VectorDataBase/test/otbVectorDataNew.cxx b/Modules/Core/VectorDataBase/test/otbVectorDataNew.cxx
deleted file mode 100644
index 68f3a4033a..0000000000
--- a/Modules/Core/VectorDataBase/test/otbVectorDataNew.cxx
+++ /dev/null
@@ -1,37 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-
-#include "otbMacro.h"
-
-#include "otbVectorData.h"
-
-int otbVectorDataNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-
-  typedef otb::VectorData<double, 2> VectorDataType;
-
-  //Instantiation
-  VectorDataType::Pointer data = VectorDataType::New();
-
-  std::cout << data << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Core/VectorDataBase/test/otbVectorDataSourceNew.cxx b/Modules/Core/VectorDataBase/test/otbVectorDataSourceNew.cxx
deleted file mode 100644
index 26468a05d5..0000000000
--- a/Modules/Core/VectorDataBase/test/otbVectorDataSourceNew.cxx
+++ /dev/null
@@ -1,39 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#include "itkMacro.h"
-
-#include "otbVectorDataSource.h"
-#include "otbVectorData.h"
-
-int otbVectorDataSourceNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  const unsigned int Dimension = 2;
-  typedef double                                     InputPixelType;
-  typedef otb::VectorData<InputPixelType, Dimension> InputVectorDataType;
-  typedef otb::VectorDataSource<InputVectorDataType> VectorDataSourceType;
-
-  // Instantiating VectorDataSource object
-  VectorDataSourceType::Pointer vectorData = VectorDataSourceType::New();
-
-  std::cout << vectorData << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Detection/CloudDetection/test/CMakeLists.txt b/Modules/Detection/CloudDetection/test/CMakeLists.txt
index 4263622d1b..50472f0e90 100644
--- a/Modules/Detection/CloudDetection/test/CMakeLists.txt
+++ b/Modules/Detection/CloudDetection/test/CMakeLists.txt
@@ -25,8 +25,6 @@ otbCloudDetectionTestDriver.cxx
 otbCloudEstimatorDefaultFilter.cxx
 otbCloudDetectionFilter.cxx
 otbCloudEstimatorFilter.cxx
-otbCloudEstimatorFilterNew.cxx
-otbCloudDetectionFilterNew.cxx
 )
 
 add_executable(otbCloudDetectionTestDriver ${OTBCloudDetectionTests})
@@ -78,9 +76,3 @@ otb_add_test(NAME feTvCloudEstimatorFilter COMMAND otbCloudDetectionTestDriver
   0.25    # variance
   )
 
-otb_add_test(NAME feTuCloudEstimatorFilterNew COMMAND otbCloudDetectionTestDriver
-  otbCloudEstimatorFilterNew)
-
-otb_add_test(NAME feTuCloudDetectionFilterNew COMMAND otbCloudDetectionTestDriver
-  otbCloudDetectionFilterNew)
-
diff --git a/Modules/Detection/CloudDetection/test/otbCloudDetectionFilterNew.cxx b/Modules/Detection/CloudDetection/test/otbCloudDetectionFilterNew.cxx
deleted file mode 100644
index 1b631649cd..0000000000
--- a/Modules/Detection/CloudDetection/test/otbCloudDetectionFilterNew.cxx
+++ /dev/null
@@ -1,39 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#include "otbImage.h"
-#include "otbVectorImage.h"
-#include "otbCloudDetectionFilter.h"
-
-int otbCloudDetectionFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  const unsigned int Dimension                                  = 2;
-  typedef double                                                PixelType;
-  typedef otb::Image<PixelType, Dimension>                      ImageType;
-  typedef otb::VectorImage<PixelType, Dimension>                VectorImageType;
-  typedef otb::CloudDetectionFilter<VectorImageType, ImageType> CloudDetectionFilterType;
-
-  // Instantiating object
-  CloudDetectionFilterType::Pointer filter = CloudDetectionFilterType::New();
-
-  std::cout << filter << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Detection/CloudDetection/test/otbCloudEstimatorFilterNew.cxx b/Modules/Detection/CloudDetection/test/otbCloudEstimatorFilterNew.cxx
deleted file mode 100644
index adf583233b..0000000000
--- a/Modules/Detection/CloudDetection/test/otbCloudEstimatorFilterNew.cxx
+++ /dev/null
@@ -1,39 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#include "otbImage.h"
-#include "otbVectorImage.h"
-#include "otbCloudEstimatorFilter.h"
-
-int otbCloudEstimatorFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  const unsigned int Dimension                                  = 2;
-  typedef double                                                PixelType;
-  typedef otb::Image<PixelType, Dimension>                      ImageType;
-  typedef otb::VectorImage<PixelType, Dimension>                VectorImageType;
-  typedef otb::CloudEstimatorFilter<VectorImageType, ImageType> CloudEstimatorFilterType;
-
-  // Instantiating object
-  CloudEstimatorFilterType::Pointer filter = CloudEstimatorFilterType::New();
-
-  std::cout << filter << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Detection/ObjectDetection/test/CMakeLists.txt b/Modules/Detection/ObjectDetection/test/CMakeLists.txt
index 3408fe2a0e..6f22f1276c 100644
--- a/Modules/Detection/ObjectDetection/test/CMakeLists.txt
+++ b/Modules/Detection/ObjectDetection/test/CMakeLists.txt
@@ -34,9 +34,6 @@ otb_module_target_label(otbObjectDetectionTestDriver)
 
 # Tests Declaration
 
-otb_add_test(NAME odTuLabeledSampleLocalizationGeneratorNew COMMAND otbObjectDetectionTestDriver
-  otbLabeledSampleLocalizationGeneratorNew
-  )
 
 otb_add_test(NAME odTvLabeledSampleLocalizationGenerator COMMAND otbObjectDetectionTestDriver
   --compare-ogr ${NOTOL}
@@ -48,9 +45,6 @@ otb_add_test(NAME odTvLabeledSampleLocalizationGenerator COMMAND otbObjectDetect
   ${TEMP}/TvLabeledSampleLocalizationGeneratorOutput.shp
   )
 
-otb_add_test(NAME odTuStandardMetaImageFunctionBuilderNew COMMAND otbObjectDetectionTestDriver
-  otbStandardMetaImageFunctionBuilderNew
-  )
 
 otb_add_test(NAME odTvStandardMetaImageFunctionBuilder COMMAND otbObjectDetectionTestDriver
   otbStandardMetaImageFunctionBuilder
@@ -94,13 +88,7 @@ otb_add_test(NAME odTvDescriptorsListSampleGeneratorNoStreaming COMMAND otbObjec
   5 # neighborhood radius
   )
 
-otb_add_test(NAME odTuDescriptorsListSampleGeneratorNew COMMAND otbObjectDetectionTestDriver
-  otbDescriptorsListSampleGeneratorNew
-  )
 
-otb_add_test(NAME odTuObjectDetectionClassifierNew COMMAND otbObjectDetectionTestDriver
-  otbObjectDetectionClassifierNew
-  )
 
 otb_add_test(NAME odTvObjectDetectionClassifierStreaming COMMAND otbObjectDetectionTestDriver
   --compare-ascii ${NOTOL}
diff --git a/Modules/Detection/RoadExtraction/test/CMakeLists.txt b/Modules/Detection/RoadExtraction/test/CMakeLists.txt
index 3f857fa329..c33f442a42 100644
--- a/Modules/Detection/RoadExtraction/test/CMakeLists.txt
+++ b/Modules/Detection/RoadExtraction/test/CMakeLists.txt
@@ -23,24 +23,13 @@ otb_module_test()
 set(OTBRoadExtractionTests
 otbRoadExtractionTestDriver.cxx
 otbLikelihoodPathListFilter.cxx
-otbParallelLinePathListFilterNew.cxx
 otbRemoveWrongDirectionFilter.cxx
 otbSimplifyPathListFilter.cxx
-otbRoadExtractionFilterNew.cxx
-otbRemoveIsolatedByDirectionFilterNew.cxx
 otbAlignImageToPath.cxx
-otbNonMaxRemovalByDirectionFilterNew.cxx
-otbNeighborhoodScalarProductFilterNew.cxx
-otbRemoveTortuousPathListFilterNew.cxx
 otbNonMaxRemovalByDirectionFilter.cxx
-otbRemoveWrongDirectionFilterNew.cxx
 otbRoadExtractionFilter.cxx
 otbLinkPathListFilter.cxx
-otbModulusAndDirectionImageFiltersNew.cxx
-otbSimplifyPathListFilterNew.cxx
 otbRemoveTortuousPathListFilter.cxx
-otbLinkPathListFilterNew.cxx
-otbLikelihoodPathListFilterNew.cxx
 otbParallelLinePathListFilter.cxx
 otbRemoveIsolatedByDirectionFilter.cxx
 otbVectorDataToRoadDescriptionFilter.cxx
@@ -48,7 +37,6 @@ otbSimplifyManyPathListFilter.cxx
 otbNeighborhoodScalarProductFilter.cxx
 otbDrawPathAlign.cxx
 otbBreakAngularPathListFilter.cxx
-otbBreakAngularPathListFilterNew.cxx
 )
 
 add_executable(otbRoadExtractionTestDriver ${OTBRoadExtractionTests})
@@ -69,9 +57,6 @@ otb_add_test(NAME feTvLikelihoodPathListFilter COMMAND otbRoadExtractionTestDriv
   73 160 126 173
   )
 
-otb_add_test(NAME feTuParallelLinePathListFilterNew COMMAND otbRoadExtractionTestDriver
-  otbParallelLinePathListFilterNew)
-
 otb_add_test(NAME feTvRemoveWrongDirectionFilter COMMAND otbRoadExtractionTestDriver
   --compare-image ${EPSILON_8}
   ${BASELINE}/feTvRemoveWrongDirectionOutput.hdr
@@ -95,12 +80,6 @@ otb_add_test(NAME feTvSimplifyPathListFilter COMMAND otbRoadExtractionTestDriver
   1 1   5  1  7  1  11  1  21 11  31 11 41 11 58 11 70 11
   )
 
-otb_add_test(NAME feTuRoadExtractionFilterNew COMMAND otbRoadExtractionTestDriver
-  otbRoadExtractionFilterNew)
-
-otb_add_test(NAME feTuRemoveIsolatedByDirectionFilterNew COMMAND otbRoadExtractionTestDriver
-  otbRemoveIsolatedByDirectionFilterNew)
-
 otb_add_test(NAME feTvAlignMV2ITK COMMAND otbRoadExtractionTestDriver
   --compare-ascii ${EPSILON_3}     ${BASELINE_FILES}/feAlign.txt
   ${TEMP}/feAlign.txt
@@ -108,15 +87,6 @@ otb_add_test(NAME feTvAlignMV2ITK COMMAND otbRoadExtractionTestDriver
   ${INPUTDATA}/poupees.hdr
   ${TEMP}/feAlign.txt)
 
-otb_add_test(NAME feTuNonMaxRemovalByDirectionFilterNew COMMAND otbRoadExtractionTestDriver
-  otbNonMaxRemovalByDirectionFilterNew)
-
-otb_add_test(NAME feTuNeighborhoodScalarProductFilterNew COMMAND otbRoadExtractionTestDriver
-  otbNeighborhoodScalarProductFilterNew)
-
-otb_add_test(NAME feTuRemoveTortuousPathListFilterNew COMMAND otbRoadExtractionTestDriver
-  otbRemoveTortuousPathListFilterNew)
-
 otb_add_test(NAME feTvNonMaxRemovalByDirectionFilter COMMAND otbRoadExtractionTestDriver
   --compare-image ${EPSILON_8}
   ${BASELINE}/feTvNonMaxRemovalByDirectionOutput.hdr
@@ -127,9 +97,6 @@ otb_add_test(NAME feTvNonMaxRemovalByDirectionFilter COMMAND otbRoadExtractionTe
   ${TEMP}/feTvNonMaxRemovalByDirectionOutput.hdr
   )
 
-otb_add_test(NAME feTuRemoveWrongDirectionFilterNew COMMAND otbRoadExtractionTestDriver
-  otbRemoveWrongDirectionFilterNew)
-
 otb_add_test(NAME feTvRoadExtractionFilter COMMAND otbRoadExtractionTestDriver
   --compare-image ${EPSILON_8}
   ${BASELINE}/feTvOutputRoadDetection.hdr
@@ -169,12 +136,6 @@ otb_add_test(NAME feTvLinkPathListFilter COMMAND otbRoadExtractionTestDriver
   11 171  11 141
   )
 
-otb_add_test(NAME feTuModulusAndDirectionImageFiltersNew COMMAND otbRoadExtractionTestDriver
-  otbModulusAndDirectionImageFiltersNew)
-
-otb_add_test(NAME feTuSimplifyPathListFilterNew COMMAND otbRoadExtractionTestDriver
-  otbSimplifyPathListFilterNew)
-
 otb_add_test(NAME feTvRemoveTortuousPathListFilter COMMAND otbRoadExtractionTestDriver
   --compare-ascii ${EPSILON_3}
   ${BASELINE_FILES}/feTvRemoveTortuousPathOutput.txt
@@ -188,12 +149,6 @@ otb_add_test(NAME feTvRemoveTortuousPathListFilter COMMAND otbRoadExtractionTest
   1 1   5  1  7  1  11  1  21 11  31 11 41 11 58 11 70 11
   )
 
-otb_add_test(NAME feTuLinkPathListFilterNew COMMAND otbRoadExtractionTestDriver
-  otbLinkPathListFilterNew)
-
-otb_add_test(NAME feTuLikelihoodPathListFilterNew COMMAND otbRoadExtractionTestDriver
-  otbLikelihoodPathListFilterNew)
-
 otb_add_test(NAME feTvParallelLinePathListFilter COMMAND otbRoadExtractionTestDriver
   otbParallelLinePathListFilter)
 
@@ -207,9 +162,6 @@ otb_add_test(NAME feTvRemoveIsolatedByDirectionFilter COMMAND otbRoadExtractionT
   ${TEMP}/feTvRemoveIsolatedByDirectionOutput.hdr
   )
 
-otb_add_test(NAME fzTuVectorDataToRoadDescriptionFilterNew COMMAND otbRoadExtractionTestDriver
-  otbVectorDataToRoadDescriptionFilterNew)
-
 otb_add_test(NAME fzTvVectorDataToRoadDescriptionFilter COMMAND otbRoadExtractionTestDriver
   --compare-ogr ${NOTOL}
   ${BASELINE_FILES}/fzTvVectorDataToRoadDescriptionFilterOutput.shp
@@ -249,9 +201,6 @@ otb_add_test(NAME feTvDrawPathTestAlign COMMAND otbRoadExtractionTestDriver
   ${INPUTDATA}/DeuxTraits.png
   ${TEMP}/feDrawPathAlignDeuxTraits.png)
 
-otb_add_test(NAME feTuBreakAngularPathListFilterNew COMMAND otbRoadExtractionTestDriver
-  otbBreakAngularPathListFilterNew)
-
 otb_add_test(NAME feTvBreakAngularPathListFilter COMMAND otbRoadExtractionTestDriver
   --compare-ascii ${NOTOL}  ${BASELINE_FILES}/feBreakAngularPathListOutput.txt
   ${TEMP}/feBreakAngularPathListOutput.txt
diff --git a/Modules/Detection/RoadExtraction/test/otbBreakAngularPathListFilterNew.cxx b/Modules/Detection/RoadExtraction/test/otbBreakAngularPathListFilterNew.cxx
deleted file mode 100644
index ab1fc3297b..0000000000
--- a/Modules/Detection/RoadExtraction/test/otbBreakAngularPathListFilterNew.cxx
+++ /dev/null
@@ -1,38 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#include "itkMacro.h"
-#include "otbBreakAngularPathListFilter.h"
-#include "itkPolyLineParametricPath.h"
-#include <cstdlib>
-
-int otbBreakAngularPathListFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  const unsigned int Dimension = 2;
-  typedef itk::PolyLineParametricPath<Dimension>    PathType;
-  typedef otb::BreakAngularPathListFilter<PathType> BreakAngularPathListFilterType;
-
-  // Instantiating object
-  BreakAngularPathListFilterType::Pointer filter = BreakAngularPathListFilterType::New();
-
-  std::cout << filter << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Detection/RoadExtraction/test/otbLikelihoodPathListFilterNew.cxx b/Modules/Detection/RoadExtraction/test/otbLikelihoodPathListFilterNew.cxx
deleted file mode 100644
index b4c3c34702..0000000000
--- a/Modules/Detection/RoadExtraction/test/otbLikelihoodPathListFilterNew.cxx
+++ /dev/null
@@ -1,41 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#include "itkMacro.h"
-
-#include "otbLikelihoodPathListFilter.h"
-#include "otbPolyLineParametricPathWithValue.h"
-#include "otbImage.h"
-
-int otbLikelihoodPathListFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  const unsigned int Dimension = 2;
-  typedef double                                                  PixelType;
-  typedef otb::Image<PixelType, Dimension>                        ImageType;
-  typedef otb::PolyLineParametricPathWithValue<double, Dimension> PathType;
-  typedef otb::LikelihoodPathListFilter<PathType, ImageType>      LinkPathListFilterType;
-
-  // Instantiating object
-  LinkPathListFilterType::Pointer filter = LinkPathListFilterType::New();
-
-  std::cout << filter << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Detection/RoadExtraction/test/otbLinkPathListFilterNew.cxx b/Modules/Detection/RoadExtraction/test/otbLinkPathListFilterNew.cxx
deleted file mode 100644
index 0306a1713c..0000000000
--- a/Modules/Detection/RoadExtraction/test/otbLinkPathListFilterNew.cxx
+++ /dev/null
@@ -1,38 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#include "itkMacro.h"
-#include "otbLinkPathListFilter.h"
-#include "itkPolyLineParametricPath.h"
-#include <cstdlib>
-
-int otbLinkPathListFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  const unsigned int Dimension = 2;
-  typedef itk::PolyLineParametricPath<Dimension> PathType;
-  typedef otb::LinkPathListFilter<PathType>      LinkPathListFilterType;
-
-  // Instantiating object
-  LinkPathListFilterType::Pointer filter = LinkPathListFilterType::New();
-
-  std::cout << filter << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Detection/RoadExtraction/test/otbModulusAndDirectionImageFiltersNew.cxx b/Modules/Detection/RoadExtraction/test/otbModulusAndDirectionImageFiltersNew.cxx
deleted file mode 100644
index 248ddc799e..0000000000
--- a/Modules/Detection/RoadExtraction/test/otbModulusAndDirectionImageFiltersNew.cxx
+++ /dev/null
@@ -1,56 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-
-
-#include "itkMacro.h"
-#include "otbImage.h"
-#include <iostream>
-
-#include "otbImageToModulusAndDirectionImageFilter.h"
-#include "otbModulusAndDirectionImageToImageFilter.h"
-
-int otbModulusAndDirectionImageFiltersNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  typedef unsigned char InputPixelType;
-  typedef double        OutputPixelType;
-  const unsigned int Dimension = 2;
-
-  typedef otb::Image<InputPixelType,  Dimension> InputImageType;
-  typedef otb::Image<OutputPixelType, Dimension> InputImageDirectionType;
-  typedef otb::Image<OutputPixelType, Dimension> OutputImageType;
-  typedef otb::Image<OutputPixelType, Dimension> OutputImageDirectionType;
-
-  typedef otb::ImageToModulusAndDirectionImageFilter<InputImageType,
-      OutputImageType>          FilterType;
-  typedef otb::ImageToModulusAndDirectionImageFilter<InputImageType, OutputImageType,
-      OutputImageDirectionType> Filter2Type;
-
-  FilterType::Pointer  filter = FilterType::New();
-  Filter2Type::Pointer filter2 = Filter2Type::New();
-
-  typedef otb::ModulusAndDirectionImageToImageFilter<InputImageType, InputImageDirectionType,
-      OutputImageType> Filter3Type;
-  Filter3Type::Pointer filter3 = Filter3Type::New();
-
-  std::cout << filter << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Detection/RoadExtraction/test/otbNeighborhoodScalarProductFilterNew.cxx b/Modules/Detection/RoadExtraction/test/otbNeighborhoodScalarProductFilterNew.cxx
deleted file mode 100644
index 8fdab4967d..0000000000
--- a/Modules/Detection/RoadExtraction/test/otbNeighborhoodScalarProductFilterNew.cxx
+++ /dev/null
@@ -1,41 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#include "itkMacro.h"
-
-#include "otbNeighborhoodScalarProductFilter.h"
-#include "otbImage.h"
-
-int otbNeighborhoodScalarProductFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  const unsigned int Dimension = 2;
-  typedef double                                                                                 PixelType;
-  typedef itk::CovariantVector<PixelType, Dimension>                                             VectorPixelType;
-  typedef otb::Image<VectorPixelType, Dimension>                                                 InputImageType;
-  typedef otb::Image<PixelType, Dimension>                                                       OutputImageType;
-  typedef otb::NeighborhoodScalarProductFilter<InputImageType, OutputImageType, OutputImageType> FilterType;
-
-  // Instantiating object
-  FilterType::Pointer filter = FilterType::New();
-
-  std::cout << filter << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Detection/RoadExtraction/test/otbNonMaxRemovalByDirectionFilterNew.cxx b/Modules/Detection/RoadExtraction/test/otbNonMaxRemovalByDirectionFilterNew.cxx
deleted file mode 100644
index ec555e7454..0000000000
--- a/Modules/Detection/RoadExtraction/test/otbNonMaxRemovalByDirectionFilterNew.cxx
+++ /dev/null
@@ -1,39 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#include "itkMacro.h"
-
-#include "otbNonMaxRemovalByDirectionFilter.h"
-#include "otbImage.h"
-
-int otbNonMaxRemovalByDirectionFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  const unsigned int Dimension = 2;
-  typedef double                                                               PixelType;
-  typedef otb::Image<PixelType, Dimension>                                     ImageType;
-  typedef otb::NonMaxRemovalByDirectionFilter<ImageType, ImageType, ImageType> NonMaxRemovalByDirectionFilterType;
-
-  // Instantiating object
-  NonMaxRemovalByDirectionFilterType::Pointer filter = NonMaxRemovalByDirectionFilterType::New();
-
-  std::cout << filter << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Detection/RoadExtraction/test/otbParallelLinePathListFilterNew.cxx b/Modules/Detection/RoadExtraction/test/otbParallelLinePathListFilterNew.cxx
deleted file mode 100644
index c3be707a25..0000000000
--- a/Modules/Detection/RoadExtraction/test/otbParallelLinePathListFilterNew.cxx
+++ /dev/null
@@ -1,40 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#include "itkMacro.h"
-
-#include "otbParallelLinePathListFilter.h"
-#include "itkPolyLineParametricPath.h"
-#include <cstdlib>
-
-int otbParallelLinePathListFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  const unsigned int Dimension = 2;
-  typedef itk::PolyLineParametricPath<Dimension> PathType;
-
-  typedef otb::ParallelLinePathListFilter<PathType> ParallelLinePathType;
-
-  // Instantiating object
-  ParallelLinePathType::Pointer filter = ParallelLinePathType::New();
-
-  std::cout << filter << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Detection/RoadExtraction/test/otbRemoveIsolatedByDirectionFilterNew.cxx b/Modules/Detection/RoadExtraction/test/otbRemoveIsolatedByDirectionFilterNew.cxx
deleted file mode 100644
index 5683278275..0000000000
--- a/Modules/Detection/RoadExtraction/test/otbRemoveIsolatedByDirectionFilterNew.cxx
+++ /dev/null
@@ -1,39 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#include "itkMacro.h"
-
-#include "otbRemoveIsolatedByDirectionFilter.h"
-#include "otbImage.h"
-
-int otbRemoveIsolatedByDirectionFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  const unsigned int Dimension = 2;
-  typedef double                                                                PixelType;
-  typedef otb::Image<PixelType, Dimension>                                      ImageType;
-  typedef otb::RemoveIsolatedByDirectionFilter<ImageType, ImageType, ImageType> RemoveIsolatedByDirectionFilterType;
-
-  // Instantiating object
-  RemoveIsolatedByDirectionFilterType::Pointer filter = RemoveIsolatedByDirectionFilterType::New();
-
-  std::cout << filter << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Detection/RoadExtraction/test/otbRemoveTortuousPathListFilterNew.cxx b/Modules/Detection/RoadExtraction/test/otbRemoveTortuousPathListFilterNew.cxx
deleted file mode 100644
index 36a74710c7..0000000000
--- a/Modules/Detection/RoadExtraction/test/otbRemoveTortuousPathListFilterNew.cxx
+++ /dev/null
@@ -1,39 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#include "itkMacro.h"
-
-#include "otbRemoveTortuousPathListFilter.h"
-#include "itkPolyLineParametricPath.h"
-#include <cstdlib>
-
-int otbRemoveTortuousPathListFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  const unsigned int Dimension = 2;
-  typedef itk::PolyLineParametricPath<Dimension>      PathType;
-  typedef otb::RemoveTortuousPathListFilter<PathType> RemoveTortuousPathListFilterType;
-
-  // Instantiating object
-  RemoveTortuousPathListFilterType::Pointer filter = RemoveTortuousPathListFilterType::New();
-
-  std::cout << filter << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Detection/RoadExtraction/test/otbRemoveWrongDirectionFilterNew.cxx b/Modules/Detection/RoadExtraction/test/otbRemoveWrongDirectionFilterNew.cxx
deleted file mode 100644
index 336b139160..0000000000
--- a/Modules/Detection/RoadExtraction/test/otbRemoveWrongDirectionFilterNew.cxx
+++ /dev/null
@@ -1,39 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#include "itkMacro.h"
-
-#include "otbRemoveWrongDirectionFilter.h"
-#include "otbImage.h"
-
-int otbRemoveWrongDirectionFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  const unsigned int Dimension = 2;
-  typedef double                                                           PixelType;
-  typedef otb::Image<PixelType, Dimension>                                 ImageType;
-  typedef otb::RemoveWrongDirectionFilter<ImageType, ImageType, ImageType> RemoveWrongDirectionFilterType;
-
-  // Instantiating object
-  RemoveWrongDirectionFilterType::Pointer filter = RemoveWrongDirectionFilterType::New();
-
-  std::cout << filter << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Detection/RoadExtraction/test/otbRoadExtractionFilterNew.cxx b/Modules/Detection/RoadExtraction/test/otbRoadExtractionFilterNew.cxx
deleted file mode 100644
index 28e3a7b883..0000000000
--- a/Modules/Detection/RoadExtraction/test/otbRoadExtractionFilterNew.cxx
+++ /dev/null
@@ -1,40 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#include "itkMacro.h"
-
-#include "itkPolyLineParametricPath.h"
-#include "otbRoadExtractionFilter.h"
-
-int otbRoadExtractionFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  const unsigned int Dimension = 2;
-  typedef otb::VectorImage<double, Dimension>    InputImageType;
-  typedef itk::PolyLineParametricPath<Dimension> PathType;
-
-  typedef otb::RoadExtractionFilter<InputImageType, PathType> RoadExtractionFilterType;
-
-  // Instantiating object
-  RoadExtractionFilterType::Pointer filter = RoadExtractionFilterType::New();
-
-  std::cout << filter << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Detection/RoadExtraction/test/otbSimplifyPathListFilterNew.cxx b/Modules/Detection/RoadExtraction/test/otbSimplifyPathListFilterNew.cxx
deleted file mode 100644
index 1099633dff..0000000000
--- a/Modules/Detection/RoadExtraction/test/otbSimplifyPathListFilterNew.cxx
+++ /dev/null
@@ -1,39 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#include "itkMacro.h"
-
-#include "otbSimplifyPathListFilter.h"
-#include "itkPolyLineParametricPath.h"
-#include <cstdlib>
-
-int otbSimplifyPathListFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  const unsigned int Dimension = 2;
-  typedef itk::PolyLineParametricPath<Dimension> PathType;
-  typedef otb::SimplifyPathListFilter<PathType>  SimplifyPathListFilterType;
-
-  // Instantiating object
-  SimplifyPathListFilterType::Pointer filter = SimplifyPathListFilterType::New();
-
-  std::cout << filter << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Detection/UrbanArea/test/CMakeLists.txt b/Modules/Detection/UrbanArea/test/CMakeLists.txt
index 8fb50f554b..5c8099dc02 100644
--- a/Modules/Detection/UrbanArea/test/CMakeLists.txt
+++ b/Modules/Detection/UrbanArea/test/CMakeLists.txt
@@ -22,7 +22,6 @@ otb_module_test()
 
 set(OTBUrbanAreaTests
 otbUrbanAreaTestDriver.cxx
-otbUrbanAreaDetectionImageFilterNew.cxx
 otbUrbanAreaDetectionImageFilter.cxx
 )
 
@@ -32,9 +31,6 @@ otb_module_target_label(otbUrbanAreaTestDriver)
 
 # Tests Declaration
 
-otb_add_test(NAME raTuUrbanAreaDetectionImageFilterNew COMMAND otbUrbanAreaTestDriver
-  otbUrbanAreaDetectionImageFilterNew
-  )
 
 otb_add_test(NAME raTvUrbanAreaDetectionImageFilter COMMAND otbUrbanAreaTestDriver
   --compare-image ${EPSILON_8}   ${BASELINE}/raTvUrbanAreaDetection.png
diff --git a/Modules/Detection/UrbanArea/test/otbUrbanAreaDetectionImageFilterNew.cxx b/Modules/Detection/UrbanArea/test/otbUrbanAreaDetectionImageFilterNew.cxx
deleted file mode 100644
index 8020d82f36..0000000000
--- a/Modules/Detection/UrbanArea/test/otbUrbanAreaDetectionImageFilterNew.cxx
+++ /dev/null
@@ -1,43 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#include "itkMacro.h"
-
-#include "otbVectorImage.h"
-#include "otbUrbanAreaDetectionImageFilter.h"
-
-int otbUrbanAreaDetectionImageFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-
-  const unsigned int Dimension = 2;
-  typedef double                                 PixelType;
-  typedef otb::VectorImage<PixelType, Dimension> InputVectorImageType;
-  typedef otb::Image<unsigned char, Dimension>   OutputImageType;
-
-  typedef otb::UrbanAreaDetectionImageFilter<InputVectorImageType,
-      OutputImageType> UrbanAreaDetectionFilterType;
-
-  // Instantiating objects
-  UrbanAreaDetectionFilterType::Pointer filter = UrbanAreaDetectionFilterType::New();
-
-  std::cout << filter << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Feature/Corner/test/CMakeLists.txt b/Modules/Feature/Corner/test/CMakeLists.txt
index 65ebd925d7..b2e4394d99 100644
--- a/Modules/Feature/Corner/test/CMakeLists.txt
+++ b/Modules/Feature/Corner/test/CMakeLists.txt
@@ -25,7 +25,6 @@ otbCornerTestDriver.cxx
 otbLineSpatialObjectListToRightAnglePointSetFilter.cxx
 otbVectorDataToRightAngleVectorDataFilter.cxx
 otbLineSpatialObjectListToRightAnglePointSetFilterByStepsOutputAscii.cxx
-otbLineSpatialObjectListToRightAnglePointSetFilterNew.cxx
 otbHarrisImage.cxx
 otbHarrisToPointSet.cxx
 )
@@ -54,9 +53,6 @@ otb_add_test(NAME feTvVectorDataToRightAngleVectorDataFilter COMMAND otbCornerTe
   ${TEMP}/feTvVectorDataToRightAngleVectorDataFilterOutput.shp  #output text file
   )
 
-otb_add_test(NAME feTuVectorDataToRightAngleVectorDataFilterNew COMMAND otbCornerTestDriver
-  otbVectorDataToRightAngleVectorDataFilterNew)
-
 otb_add_test(NAME feTvLineSpatialObjectListToRightAnglePointSetFilterBySteps COMMAND otbCornerTestDriver
   --compare-ascii ${EPSILON_3}
   ${BASELINE_FILES}/feTvLineSpatialObjectListToRightAnglePointSetFilterOutputAscii.txt
@@ -66,9 +62,6 @@ otb_add_test(NAME feTvLineSpatialObjectListToRightAnglePointSetFilterBySteps COM
   ${TEMP}/feTvLineSpatialObjectListToRightAnglePointSetFilterByStepsOutputAscii.txt
   )
 
-otb_add_test(NAME feTuLineSpatialObjectListToRightAnglePointSetFilterNew COMMAND otbCornerTestDriver
-  otbLineSpatialObjectListToRightAnglePointSetFilterNew)
-
 otb_add_test(NAME feTvHarrisImage COMMAND otbCornerTestDriver
   --compare-image ${NOTOL}  ${BASELINE}/feHarrisImage.png
   ${TEMP}/feHarrisImage.png
diff --git a/Modules/Feature/Corner/test/otbLineSpatialObjectListToRightAnglePointSetFilterNew.cxx b/Modules/Feature/Corner/test/otbLineSpatialObjectListToRightAnglePointSetFilterNew.cxx
deleted file mode 100644
index 7ae2f913d1..0000000000
--- a/Modules/Feature/Corner/test/otbLineSpatialObjectListToRightAnglePointSetFilterNew.cxx
+++ /dev/null
@@ -1,45 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-
-#include "otbLineSpatialObjectListToRightAnglePointSetFilter.h"
-#include "otbImage.h"
-#include "otbLineSpatialObjectList.h"
-
-int otbLineSpatialObjectListToRightAnglePointSetFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  const unsigned int Dimension = 2;
-  typedef float PixelType;
-
-  /** Typedefs */
-  typedef otb::Image<PixelType, Dimension>      ImageType;
-  typedef otb::LineSpatialObjectList            LinesListType;
-  typedef LinesListType::LineType               LineType;
-  typedef std::vector<LineType *>               VectorLines;
-  typedef itk::PointSet<VectorLines, Dimension> PointSetType;
-  typedef otb::LineSpatialObjectListToRightAnglePointSetFilter<ImageType, LinesListType,
-      PointSetType>    RightAngleFilterType;
-
-  RightAngleFilterType::Pointer filter  = RightAngleFilterType::New();
-
-  std::cout << filter << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Feature/Density/test/CMakeLists.txt b/Modules/Feature/Density/test/CMakeLists.txt
index 0cec55a612..64825b2452 100644
--- a/Modules/Feature/Density/test/CMakeLists.txt
+++ b/Modules/Feature/Density/test/CMakeLists.txt
@@ -22,14 +22,9 @@ otb_module_test()
 
 set(OTBDensityTests
 otbDensityTestDriver.cxx
-otbPointSetDensityFunctionNew.cxx
-otbPointSetDensityGaussianFunctionNew.cxx
-otbPointSetToDensityImageFilterNew.cxx
 otbPointSetDensityGaussianFunctionTest.cxx
-otbPointSetDensityEpanechnikovFunctionNew.cxx
 otbPointSetDensityEpanechnikovFunctionTest.cxx
 otbKeyPointDensityImageFilterTest.cxx
-otbKeyPointDensityImageFilterNew.cxx
 otbPointSetToDensityImageFilterTest.cxx
 otbPointSetDensityFunctionTest.cxx
 )
@@ -40,16 +35,7 @@ otb_module_target_label(otbDensityTestDriver)
 
 # Tests Declaration
 
-otb_add_test(NAME bfTuPointSetDensityFunctionNew COMMAND otbDensityTestDriver
-  otbPointSetDensityFunctionNew
-  )
-
-otb_add_test(NAME bfTuPointSetDensityGaussianFunctionNew COMMAND otbDensityTestDriver
-  otbPointSetDensityGaussianFunctionNew
-  )
 
-otb_add_test(NAME bfTuPointSetToDensityImageFilterNew COMMAND otbDensityTestDriver
-  otbPointSetToDensityImageFilterNew)
 
 otb_add_test(NAME bfTvPointSetDensityGaussianFunctionTest COMMAND otbDensityTestDriver
   --compare-ascii ${NOTOL}
@@ -59,9 +45,6 @@ otb_add_test(NAME bfTvPointSetDensityGaussianFunctionTest COMMAND otbDensityTest
   ${TEMP}/bfTvPointSetDensityGaussianFunctionOutputAscii.txt
   )
 
-otb_add_test(NAME bfTuPointSetDensityEpanechnikovFunctionNew COMMAND otbDensityTestDriver
-  otbPointSetDensityEpanechnikovFunctionNew
-  )
 
 otb_add_test(NAME bfTvPointSetDensityEpanechnikovFunctionTest COMMAND otbDensityTestDriver
   --compare-ascii ${NOTOL}
@@ -81,9 +64,6 @@ otb_add_test(NAME bfTvKeyPointDensityImageFilterOutputImage COMMAND otbDensityTe
   3 5 10
   )
 
-otb_add_test(NAME bfTuKeyPointDensityImageFilterNew COMMAND otbDensityTestDriver
-  otbKeyPointDensityImageFilterNew
-  )
 
 otb_add_test(NAME bfTvPointSetToDensityImageFilterTest COMMAND otbDensityTestDriver
   --compare-image ${NOTOL}
diff --git a/Modules/Feature/Density/test/otbKeyPointDensityImageFilterNew.cxx b/Modules/Feature/Density/test/otbKeyPointDensityImageFilterNew.cxx
deleted file mode 100644
index 00b6c7b102..0000000000
--- a/Modules/Feature/Density/test/otbKeyPointDensityImageFilterNew.cxx
+++ /dev/null
@@ -1,49 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-
-#include <stdio.h>
-
-#include "otbKeyPointDensityImageFilter.h"
-#include "otbImageToSIFTKeyPointSetFilter.h"
-#include "itkPointSet.h"
-#include "itkVariableLengthVector.h"
-#include "otbImage.h"
-
-int otbKeyPointDensityImageFilterNew(int, char*[])
-{
-
-  const unsigned int Dimension = 2;
-  typedef float PixelType;
-
-  typedef otb::Image<PixelType, Dimension>                           ImageType;
-  typedef itk::VariableLengthVector<PixelType>                       RealVectorType;
-  typedef itk::PointSet<RealVectorType, Dimension>                   PointSetType;
-  typedef otb::ImageToSIFTKeyPointSetFilter<ImageType, PointSetType> DetectorType;
-
-  typedef otb::KeyPointDensityImageFilter<ImageType, ImageType, DetectorType> FilterType;
-
-  /**Instantiation of an object*/
-  FilterType::Pointer filter =     FilterType::New();
-
-  std::cout << filter << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Feature/Density/test/otbPointSetDensityEpanechnikovFunctionNew.cxx b/Modules/Feature/Density/test/otbPointSetDensityEpanechnikovFunctionNew.cxx
deleted file mode 100644
index 0ba0f43bf8..0000000000
--- a/Modules/Feature/Density/test/otbPointSetDensityEpanechnikovFunctionNew.cxx
+++ /dev/null
@@ -1,44 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-
-#include <stdio.h>
-
-#include "otbPointSetDensityEpanechnikovFunction.h"
-#include "itkPointSet.h"
-#include "itkVariableLengthVector.h"
-
-int otbPointSetDensityEpanechnikovFunctionNew(int, char*[])
-{
-
-  const unsigned int Dimension = 2;
-  typedef float PixelType;
-
-  typedef itk::VariableLengthVector<PixelType>                               RealVectorType;
-  typedef itk::PointSet<RealVectorType, Dimension>                           PointSetType;
-  typedef otb::PointSetDensityEpanechnikovFunction <PointSetType, PixelType> FunctionType;
-
-  /**Instantiation of a Smart Pointer*/
-  FunctionType::Pointer filter = FunctionType::New();
-
-  std::cout << filter << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Feature/Density/test/otbPointSetDensityFunctionNew.cxx b/Modules/Feature/Density/test/otbPointSetDensityFunctionNew.cxx
deleted file mode 100644
index 1ea9d1f090..0000000000
--- a/Modules/Feature/Density/test/otbPointSetDensityFunctionNew.cxx
+++ /dev/null
@@ -1,44 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-
-#include <stdio.h>
-
-#include "otbPointSetDensityFunction.h"
-#include "itkPointSet.h"
-#include "itkVariableLengthVector.h"
-
-int otbPointSetDensityFunctionNew(int, char*[])
-{
-
-  const unsigned int Dimension = 2;
-  typedef float PixelType;
-
-  typedef itk::VariableLengthVector<PixelType>                   RealVectorType;
-  typedef itk::PointSet<RealVectorType, Dimension>               PointSetType;
-  typedef otb::PointSetDensityFunction <PointSetType, PixelType> FunctionType;
-
-  /**Instantiation of a Smart Pointer*/
-  FunctionType::Pointer filter = FunctionType::New();
-
-  std::cout << filter << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Feature/Density/test/otbPointSetDensityGaussianFunctionNew.cxx b/Modules/Feature/Density/test/otbPointSetDensityGaussianFunctionNew.cxx
deleted file mode 100644
index 66cd7f821f..0000000000
--- a/Modules/Feature/Density/test/otbPointSetDensityGaussianFunctionNew.cxx
+++ /dev/null
@@ -1,44 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-
-#include <stdio.h>
-
-#include "otbPointSetDensityGaussianFunction.h"
-#include "itkPointSet.h"
-#include "itkVariableLengthVector.h"
-
-int otbPointSetDensityGaussianFunctionNew(int, char*[])
-{
-
-  const unsigned int Dimension = 2;
-  typedef float PixelType;
-
-  typedef itk::VariableLengthVector<PixelType>                           RealVectorType;
-  typedef itk::PointSet<RealVectorType, Dimension>                       PointSetType;
-  typedef otb::PointSetDensityGaussianFunction <PointSetType, PixelType> FunctionType;
-
-  /**Instantiation of a Smart Pointer*/
-  FunctionType::Pointer filter = FunctionType::New();
-
-  std::cout << filter << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Feature/Density/test/otbPointSetToDensityImageFilterNew.cxx b/Modules/Feature/Density/test/otbPointSetToDensityImageFilterNew.cxx
deleted file mode 100644
index f0864c4ec5..0000000000
--- a/Modules/Feature/Density/test/otbPointSetToDensityImageFilterNew.cxx
+++ /dev/null
@@ -1,45 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-
-#include <stdio.h>
-#include "otbImage.h"
-#include "otbPointSetToDensityImageFilter.h"
-#include "itkVariableLengthVector.h"
-
-int otbPointSetToDensityImageFilterNew(int, char*[])
-{
-
-  const unsigned int Dimension = 2;
-  typedef float PixelType;
-
-  typedef otb::Image<PixelType, Dimension>                            ImageType;
-  typedef itk::VariableLengthVector<PixelType>                        RealVectorType;
-  typedef itk::PointSet<RealVectorType, Dimension>                    PointSetType;
-  typedef otb::PointSetToDensityImageFilter <PointSetType, ImageType> FunctionType;
-
-  /**Instantiation of an object*/
-
-  FunctionType::Pointer filter = FunctionType::New();
-
-  std::cout << filter << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Feature/Descriptors/test/CMakeLists.txt b/Modules/Feature/Descriptors/test/CMakeLists.txt
index 6382e7b260..99dcb5c261 100644
--- a/Modules/Feature/Descriptors/test/CMakeLists.txt
+++ b/Modules/Feature/Descriptors/test/CMakeLists.txt
@@ -23,13 +23,9 @@ otb_module_test()
 set(OTBDescriptorsTests
 otbDescriptorsTestDriver.cxx
 otbImageToSURFKeyPointSetFilterOutputDescriptorAscii.cxx
-otbKeyPointSetsMatchingFilterNew.cxx
 otbImageToSIFTKeyPointSetFilterOutputInterestPointAscii.cxx
 otbHistogramOfOrientedGradientCovariantImageFunction.cxx
 otbImageToSURFKeyPointSetFilterOutputInterestPointAscii.cxx
-otbImageToSURFKeyPointSetFilterNew.cxx
-otbLandmarkNew.cxx
-otbImageToSIFTKeyPointSetFilterNew.cxx
 otbKeyPointSetsMatchingFilter.cxx
 otbImageToSIFTKeyPointSetFilterOutputDescriptorAscii.cxx
 otbImageToSIFTKeyPointSetFilterOutputAscii.cxx
@@ -38,13 +34,10 @@ otbImageToHessianDeterminantImageFilter.cxx
 otbImageToSIFTKeyPointSetFilterOutputImage.cxx
 otbFourierMellinDescriptors.cxx
 otbImageToSIFTKeyPointSetFilterDistanceMap.cxx
-otbImageToHessianDeterminantImageFilterNew.cxx
-otbFourierMellinImageFilterNew.cxx
 )
 
 if(OTB_USE_SIFTFAST)
   list(APPEND OTBDescriptorsTests
-       otbImageToFastSIFTKeyPointSetFilterNew.cxx
        otbImageToFastSIFTKeyPointSetFilterOutputInterestPointAscii.cxx
        otbImageToFastSIFTKeyPointSetFilterOutputDescriptorAscii.cxx
        )
@@ -67,9 +60,6 @@ otb_add_test(NAME feTvImageToSURFKeyPointSetFilterSceneOutputDescriptorAscii COM
   )
 
 
-otb_add_test(NAME feTuKeyPointSetsMatchingFilterNew COMMAND otbDescriptorsTestDriver
-  otbKeyPointSetsMatchingFilterNew)
-
 otb_add_test(NAME feTvImageToSIFTKeyPointSetFilterSceneOutputInterestPointAscii COMMAND otbDescriptorsTestDriver
   --ignore-order --compare-ascii ${EPSILON_3}
   ${BASELINE_FILES}/feTvImageToSIFTKeyPointSetFilterSceneKeysOutputInterestPoint.txt
@@ -103,15 +93,6 @@ otb_add_test(NAME feTvImageToSURFKeyPointSetFilterSceneOutputInterestPointAscii
   3 3
   )
 
-otb_add_test(NAME feTuImageToSURFKeyPointSetFilterNew COMMAND otbDescriptorsTestDriver
-  otbImageToSURFKeyPointSetFilterNew)
-
-otb_add_test(NAME feTuLandmarkNew COMMAND otbDescriptorsTestDriver
-  otbLandmarkNew)
-
-otb_add_test(NAME feTuImageToSIFTKeyPointSetFilterNew COMMAND otbDescriptorsTestDriver
-  otbImageToSIFTKeyPointSetFilterNew)
-
 otb_add_test(NAME feTvKeyPointSetsMatchingFilter COMMAND otbDescriptorsTestDriver
   --compare-ascii ${EPSILON_3}
   ${BASELINE_FILES}/feTvKeyPointSetsMatchingFilterOutputAscii.txt
@@ -240,9 +221,6 @@ otb_add_test(NAME feTvFourierMellinDescriptorsRotationInvariant COMMAND otbDescr
   90
   )
 
-otb_add_test(NAME feTuFourierMellinDescriptorsNew COMMAND otbDescriptorsTestDriver
-  otbFourierMellinDescriptorsNew
-  )
 
 otb_add_test(NAME feTvFourierMellinDescriptorsScaleInvariant COMMAND otbDescriptorsTestDriver
   otbFourierMellinDescriptorsScaleInvariant
@@ -276,16 +254,7 @@ otb_add_test(NAME feTvImageToSIFTKeyPointSetFilterDistanceMap COMMAND otbDescrip
   ${TEMP}/feTvImageToSIFTKeyPointSetFilterDistanceMap.txt
   )
 
-otb_add_test(NAME feTuImageToHessianDeterminantImageFilterNew COMMAND otbDescriptorsTestDriver
-  otbImageToHessianDeterminantImageFilterNew)
-
-otb_add_test(NAME feTuForwardFourierMellinImageFilterNew COMMAND otbDescriptorsTestDriver
-  otbFourierMellinImageFilterNew)
-
 if(OTB_USE_SIFTFAST)
-otb_add_test(NAME feTuImageToFastSIFTKeyPointSetFilterNew COMMAND otbDescriptorsTestDriver
-  otbImageToFastSIFTKeyPointSetFilterNew)
-
 otb_add_test(NAME feTvImageToFastSIFTKeyPointSetFilterSceneOutputInterestPointAscii COMMAND otbDescriptorsTestDriver
   --ignore-order --compare-ascii ${EPSILON_3}
   ${BASELINE_FILES}/feTvImageToFastSIFTKeyPointSetFilterSceneKeysOutputInterestPoint.txt
diff --git a/Modules/Feature/Descriptors/test/otbFourierMellinImageFilterNew.cxx b/Modules/Feature/Descriptors/test/otbFourierMellinImageFilterNew.cxx
deleted file mode 100644
index fc0ad04fca..0000000000
--- a/Modules/Feature/Descriptors/test/otbFourierMellinImageFilterNew.cxx
+++ /dev/null
@@ -1,43 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-
-
-
-#include "otbForwardFourierMellinTransformImageFilter.h"
-
-int otbFourierMellinImageFilterNew(int itkNotUsed(argc), char* itkNotUsed(argv) [])
-{
-
-  typedef double PixelType;
-  const unsigned int Dimension = 2;
-
-  typedef otb::Image<PixelType, Dimension> InputImageType;
-
-  typedef itk::LinearInterpolateImageFunction<InputImageType, double> InterpolatorType;
-  typedef otb::ForwardFourierMellinTransformImageFilter<PixelType,
-      InterpolatorType, Dimension>       FourierMellinTransformType;
-
-  FourierMellinTransformType::Pointer filter = FourierMellinTransformType::New();
-
-  std::cout << filter << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Feature/Descriptors/test/otbImageToFastSIFTKeyPointSetFilterNew.cxx b/Modules/Feature/Descriptors/test/otbImageToFastSIFTKeyPointSetFilterNew.cxx
deleted file mode 100644
index d6610d20f2..0000000000
--- a/Modules/Feature/Descriptors/test/otbImageToFastSIFTKeyPointSetFilterNew.cxx
+++ /dev/null
@@ -1,41 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#include "otbSiftFastImageFilter.h"
-#include "itkPointSet.h"
-#include "itkVariableLengthVector.h"
-
-int otbImageToFastSIFTKeyPointSetFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  typedef float RealType;
-  const unsigned int Dimension = 2;
-
-  typedef otb::Image<RealType, Dimension>                   ImageType;
-  typedef itk::VariableLengthVector<RealType>               RealVectorType;
-  typedef itk::PointSet<RealVectorType, Dimension>          PointSetType;
-  typedef otb::SiftFastImageFilter<ImageType, PointSetType> ImageToFastSIFTKeyPointSetFilterType;
-
-  // Instantiating object
-  ImageToFastSIFTKeyPointSetFilterType::Pointer filter = ImageToFastSIFTKeyPointSetFilterType::New();
-
-  std::cout << filter << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Feature/Descriptors/test/otbImageToHessianDeterminantImageFilterNew.cxx b/Modules/Feature/Descriptors/test/otbImageToHessianDeterminantImageFilterNew.cxx
deleted file mode 100644
index 56500bae46..0000000000
--- a/Modules/Feature/Descriptors/test/otbImageToHessianDeterminantImageFilterNew.cxx
+++ /dev/null
@@ -1,38 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#include "itkMacro.h"
-
-#include "otbImageToHessianDeterminantImageFilter.h"
-
-int otbImageToHessianDeterminantImageFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  const unsigned int Dimension = 2;
-  typedef double                                                          PixelType;
-  typedef otb::Image<PixelType, Dimension>                                ImageType;
-  typedef otb::ImageToHessianDeterminantImageFilter<ImageType, ImageType> FilterType;
-
-  // Instantiating object
-  FilterType::Pointer filter = FilterType::New();
-
-  std::cout << filter << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Feature/Descriptors/test/otbImageToSIFTKeyPointSetFilterNew.cxx b/Modules/Feature/Descriptors/test/otbImageToSIFTKeyPointSetFilterNew.cxx
deleted file mode 100644
index 8b320d47ed..0000000000
--- a/Modules/Feature/Descriptors/test/otbImageToSIFTKeyPointSetFilterNew.cxx
+++ /dev/null
@@ -1,42 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#include "otbImageToSIFTKeyPointSetFilter.h"
-#include "otbImage.h"
-#include "itkPointSet.h"
-#include "itkVariableLengthVector.h"
-
-int otbImageToSIFTKeyPointSetFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  typedef float RealType;
-  const unsigned int Dimension = 2;
-
-  typedef otb::Image<RealType, Dimension>                            ImageType;
-  typedef itk::VariableLengthVector<RealType>                        RealVectorType;
-  typedef itk::PointSet<RealVectorType, Dimension>                   PointSetType;
-  typedef otb::ImageToSIFTKeyPointSetFilter<ImageType, PointSetType> ImageToSIFTKeyPointSetFilterType;
-
-  // Instantiating object
-  ImageToSIFTKeyPointSetFilterType::Pointer filter = ImageToSIFTKeyPointSetFilterType::New();
-
-  std::cout << filter << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Feature/Descriptors/test/otbImageToSURFKeyPointSetFilterNew.cxx b/Modules/Feature/Descriptors/test/otbImageToSURFKeyPointSetFilterNew.cxx
deleted file mode 100644
index 61bfb505bd..0000000000
--- a/Modules/Feature/Descriptors/test/otbImageToSURFKeyPointSetFilterNew.cxx
+++ /dev/null
@@ -1,41 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#include "otbImageToSURFKeyPointSetFilter.h"
-#include "otbImage.h"
-#include "itkVariableLengthVector.h"
-
-int otbImageToSURFKeyPointSetFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  const unsigned int Dimension = 2;
-  typedef double PixelType;
-
-  typedef otb::Image<PixelType, Dimension>                           ImageType;
-  typedef itk::VariableLengthVector<PixelType>                       RealVectorType;
-  typedef itk::PointSet<RealVectorType, Dimension>                   PointSetType;
-  typedef otb::ImageToSURFKeyPointSetFilter<ImageType, PointSetType> FilterType;
-
-  // Instantiating object
-  FilterType::Pointer filter = FilterType::New();
-
-  std::cout << filter << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Feature/Descriptors/test/otbKeyPointSetsMatchingFilterNew.cxx b/Modules/Feature/Descriptors/test/otbKeyPointSetsMatchingFilterNew.cxx
deleted file mode 100644
index 94570dc50c..0000000000
--- a/Modules/Feature/Descriptors/test/otbKeyPointSetsMatchingFilterNew.cxx
+++ /dev/null
@@ -1,40 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#include "itkPointSet.h"
-#include "itkVariableLengthVector.h"
-#include "otbKeyPointSetsMatchingFilter.h"
-
-int otbKeyPointSetsMatchingFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  typedef float RealType;
-  const unsigned int Dimension = 2;
-
-  typedef itk::VariableLengthVector<RealType>           RealVectorType;
-  typedef itk::PointSet<RealVectorType, Dimension>      PointSetType;
-  typedef otb::KeyPointSetsMatchingFilter<PointSetType> EuclideanDistanceMetricMatchingFilterType;
-
-  // Instantiating object
-  EuclideanDistanceMetricMatchingFilterType::Pointer filter = EuclideanDistanceMetricMatchingFilterType::New();
-
-  std::cout << filter << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Feature/Descriptors/test/otbLandmarkNew.cxx b/Modules/Feature/Descriptors/test/otbLandmarkNew.cxx
deleted file mode 100644
index 6416dbe29e..0000000000
--- a/Modules/Feature/Descriptors/test/otbLandmarkNew.cxx
+++ /dev/null
@@ -1,40 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-
-
-#include "otbLandmark.h"
-
-#include "itkVariableLengthVector.h"
-#include "itkPoint.h"
-
-int otbLandmarkNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  typedef itk::Point<double, 2>                           PointType;
-  typedef itk::VariableLengthVector<double>               PointDataType;
-  typedef otb::Landmark<PointType, PointDataType, double> LandmarkType;
-
-  // instantiation
-  LandmarkType::Pointer landmark = LandmarkType::New();
-
-  std::cout << landmark << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Feature/Edge/test/CMakeLists.txt b/Modules/Feature/Edge/test/CMakeLists.txt
index f76cf2ad5f..5872517718 100644
--- a/Modules/Feature/Edge/test/CMakeLists.txt
+++ b/Modules/Feature/Edge/test/CMakeLists.txt
@@ -22,41 +22,28 @@ otb_module_test()
 
 set(OTBEdgeTests
 otbEdgeTestDriver.cxx
-otbPixelSuppressionByDirectionNew.cxx
 otbEdgeDetectorImageFilter.cxx
 otbHorizontalSobelVectorImageFilter.cxx
 otbAsymmetricFusionOfLineDetector.cxx
 otbLocalHoughDraw.cxx
 otbAssociativeSymmetricalSum.cxx
-otbPersistentVectorizationFilterNew.cxx
-otbLineCorrelationDetectorNew.cxx
 otbPersistentVectorizationFilter.cxx
 otbEdgeDensityImageFilter.cxx
 otbLineCorrelationDetector.cxx
 otbSobelVectorImageFilter.cxx
-otbAssociativeSymmetricalSumNew.cxx
 otbHoughTransform2DLinesImageTest.cxx
 otbPixelSuppressionByDirection.cxx
-otbLocalHoughNew.cxx
-otbEdgeDetectorImageFilterNew.cxx
-otbEdgeDensityImageFilterNew.cxx
 otbLocalHough.cxx
 otbExtractSegments.cxx
-otbExtractSegmentsNew.cxx
-otbAsymmetricFusionOfLineDetectorNew.cxx
 otbLineRatioDetector.cxx
 otbTouziEdgeDetectorDirection.cxx
-otbTouziEdgeDetectorNew.cxx
 otbVerticalSobelVectorImageFilter.cxx
 otbStreamingLineSegmentDetector.cxx
-otbLineRatioDetectorNew.cxx
 otbTouziEdgeDetector.cxx
 otbLineRatioDetectorLinear.cxx
 otbLineSegmentDetector.cxx
 otbLineCorrelationDetectorLinear.cxx
-otbLineDetectorBaseNew.cxx
 otbFillGapsFilter.cxx
-otbFillGapsFilterNew.cxx
 )
 
 add_executable(otbEdgeTestDriver ${OTBEdgeTests})
@@ -65,9 +52,6 @@ otb_module_target_label(otbEdgeTestDriver)
 
 # Tests Declaration
 
-otb_add_test(NAME feTuPixelSuppressionByDirectionNew COMMAND otbEdgeTestDriver
-  otbPixelSuppressionByDirectionNew)
-
 otb_add_test(NAME bfTvEdgeDetectorImageFilter COMMAND otbEdgeTestDriver
   --compare-image ${NOTOL}
   ${BASELINE}/bfTvEdgeDetectorImageFilter.tif
@@ -87,9 +71,6 @@ otb_add_test(NAME bfTvHorizontalSobelVectorImageFilter COMMAND otbEdgeTestDriver
   -in ${INPUTDATA}/cupriteSubHsi.tif
   -out ${TEMP}/bfTvHorizontalSobelVectorImageFilter.tif)
 
-otb_add_test(NAME bfTuHorizontalSobelVectorImageFilterNew COMMAND otbEdgeTestDriver
-  otbHorizontalSobelVectorImageFilterNewTest)
-
 otb_add_test(NAME feTvAsymmetricFusionOfLineDetector COMMAND otbEdgeTestDriver
   --compare-image ${EPSILON_8}  ${BASELINE}/feFiltreAsymmetricFusion_amst_2_3.hdr
   ${TEMP}/feFiltreAsymmetricFusion_amst_2_3.hdr
@@ -133,12 +114,6 @@ otb_add_test(NAME feTvAssociativeSymmetricalSum COMMAND otbEdgeTestDriver
 
 
 
-otb_add_test(NAME bfTuPersistentVectorizationImageFilterNew COMMAND otbEdgeTestDriver
-  otbPersistentVectorizationFilterNew
-  )
-
-otb_add_test(NAME feTuLineCorrelationNew COMMAND otbEdgeTestDriver
-  otbLineCorrelationDetectorNew)
 
 otb_add_test(NAME bfTvPersistentVectorizationImageFilter COMMAND otbEdgeTestDriver
   --compare-ascii ${NOTOL}
@@ -168,9 +143,6 @@ otb_add_test(NAME feTvLineCorrelation COMMAND otbEdgeTestDriver
   ${TEMP}/feFiltreLineCorrelation_amst_2_3.hdr
   2 3)
 
-otb_add_test(NAME bfTuSobelVectorImageFilterNew COMMAND otbEdgeTestDriver
-  otbSobelVectorImageFilterNewTest)
-
 otb_add_test(NAME bfTvSobelVectorImageFilter COMMAND otbEdgeTestDriver
   --compare-image ${EPSILON_7}
   ${BASELINE}/bfTvSobelVectorImageFilter.tif
@@ -179,9 +151,6 @@ otb_add_test(NAME bfTvSobelVectorImageFilter COMMAND otbEdgeTestDriver
   -in ${INPUTDATA}/cupriteSubHsi.tif
   -out ${TEMP}/bfTvSobelVectorImageFilter.tif)
 
-otb_add_test(NAME feTuAssociativeSymmetricalSumNew COMMAND otbEdgeTestDriver
-  otbAssociativeSymmetricalSumNew)
-
 otb_add_test(NAME feTvHoughTransform2DLinesImage COMMAND otbEdgeTestDriver
   --compare-image ${EPSILON_8}
   ${BASELINE}/feFilterHoughTransformDraw.tif
@@ -199,16 +168,7 @@ otb_add_test(NAME feTvPixelSuppressionByDirection COMMAND otbEdgeTestDriver
   ${TEMP}/feFiltrePixelSuppr_ImageLine_2_0_3.hdr
   2 0.3)
 
-otb_add_test(NAME feTuLocalHoughNew COMMAND otbEdgeTestDriver
-  otbLocalHoughNew)
-
-otb_add_test(NAME bfTuEdgeDetectorImageFilterNew COMMAND otbEdgeTestDriver
-  otbEdgeDetectorImageFilterNew
-  )
 
-otb_add_test(NAME bfTuEdgeDensityImageFilterNew COMMAND  otbEdgeTestDriver
-  otbEdgeDensityImageFilterNew
-  )
 
 otb_add_test(NAME feTvLocalHough COMMAND otbEdgeTestDriver
   --compare-ascii ${EPSILON_3}  ${BASELINE_FILES}/feTvLocaLHoughLinesDetected.txt
@@ -227,12 +187,6 @@ otb_add_test(NAME feTvExtractSegments COMMAND otbEdgeTestDriver
   ${TEMP}/feFiltreExtractSegments_ImageLine.hdr
   10  0.3 10 10 3 10 0.5)
 
-otb_add_test(NAME feTuExtractSegmentsNew COMMAND otbEdgeTestDriver
-  otbExtractSegmentsNew)
-
-otb_add_test(NAME feTuAsymmetricFusionOfLineDetectorNew COMMAND otbEdgeTestDriver
-  otbAsymmetricFusionOfLineDetectorNew)
-
 otb_add_test(NAME feTvLineRatio COMMAND otbEdgeTestDriver
   --compare-image ${EPSILON_8}  ${BASELINE}/feFiltreLineRatio_amst_2_3.hdr
   ${TEMP}/feFiltreLineRatio_amst_2_3.hdr
@@ -249,9 +203,6 @@ otb_add_test(NAME feTvTouziDir COMMAND otbEdgeTestDriver
   ${TEMP}/feFiltreTouzi_amst_dir_3.hdr
   3)
 
-otb_add_test(NAME feTuTouziNew COMMAND otbEdgeTestDriver
-  otbTouziEdgeDetectorNew)
-
 otb_add_test(NAME bfTvVerticalSobelVectorImageFilter COMMAND otbEdgeTestDriver
   --compare-image ${EPSILON_7}
   ${BASELINE}/bfTvVerticalSobelVectorImageFilter.tif
@@ -260,12 +211,6 @@ otb_add_test(NAME bfTvVerticalSobelVectorImageFilter COMMAND otbEdgeTestDriver
   -in ${INPUTDATA}/cupriteSubHsi.tif
   -out ${TEMP}/bfTvVerticalSobelVectorImageFilter.tif)
 
-otb_add_test(NAME bfTuVerticalSobelVectorImageFilterNew COMMAND otbEdgeTestDriver
-  otbVerticalSobelVectorImageFilterNewTest)
-
-otb_add_test(NAME feTuStreamingLineSegmentDetectorNew COMMAND otbEdgeTestDriver
-  otbStreamingLineSegmentDetectorNew)
-
 otb_add_test(NAME feTvStreamingLineSegmentDetector10 COMMAND otbEdgeTestDriver
   --compare-ogr  ${EPSILON_8}
   ${BASELINE_FILES}/feTvStreamingLineSegmentDetectorOutput10.shp
@@ -286,9 +231,6 @@ otb_add_test(NAME feTvStreamingLineSegmentDetector1000 COMMAND otbEdgeTestDriver
   1000
   )
 
-otb_add_test(NAME feTuLineRatioNew COMMAND otbEdgeTestDriver
-  otbLineRatioDetectorNew)
-
 otb_add_test(NAME feTvTouzi COMMAND otbEdgeTestDriver
   --compare-image ${EPSILON_8}  ${BASELINE}/feFiltreTouzi_amst_3.hdr
   ${TEMP}/feFiltreTouzi_amst_3.hdr
@@ -321,9 +263,6 @@ otb_add_test(NAME feTvLineRatioLinear COMMAND otbEdgeTestDriver
   ${TEMP}/feFiltreLineRatioLinear_amst_dir_2_3.hdr
   2 3)
 
-otb_add_test(NAME feTuLineSegmentDetectorNew COMMAND otbEdgeTestDriver
-  otbLineSegmentDetectorNew)
-
 otb_add_test(NAME feTvLineSegmentDetector COMMAND otbEdgeTestDriver
   --compare-ogr  ${EPSILON_8}
   ${BASELINE_FILES}/feTvLineSegmentDetectorOutput.shp
@@ -345,9 +284,6 @@ otb_add_test(NAME feTvLineCorrelationLinear COMMAND otbEdgeTestDriver
   ${TEMP}/feFiltreLineCorrelationLinear_amst_dir_2_3.hdr
   2 3)
 
-otb_add_test(NAME feTuLineDetectorBaseNew COMMAND otbEdgeTestDriver
-  otbLineDetectorBaseNew)
-
 otb_add_test(NAME feTvFillGapsFilter COMMAND otbEdgeTestDriver
   --compare-image ${EPSILON_8}
   ${BASELINE}/feTvFillGapfilter.png
@@ -355,5 +291,3 @@ otb_add_test(NAME feTvFillGapsFilter COMMAND otbEdgeTestDriver
   otbFillGapsFilter
   ${INPUTDATA}/ImageLine.bsq.hdr
   ${TEMP}/feTvFillGapfilter.png)
-otb_add_test(NAME feTuFillGapsFilterNew COMMAND otbEdgeTestDriver
-  otbFillGapsFilterNew)
diff --git a/Modules/Feature/Edge/test/otbAssociativeSymmetricalSumNew.cxx b/Modules/Feature/Edge/test/otbAssociativeSymmetricalSumNew.cxx
deleted file mode 100644
index 9601886171..0000000000
--- a/Modules/Feature/Edge/test/otbAssociativeSymmetricalSumNew.cxx
+++ /dev/null
@@ -1,47 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-
-
-
-#include "itkMacro.h"
-#include "otbImage.h"
-#include <iostream>
-
-#include "otbAssociativeSymmetricalSumImageFilter.h"
-
-int otbAssociativeSymmetricalSumNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  typedef double InputPixelType;
-  typedef double OutputPixelType;
-  const unsigned int Dimension = 2;
-
-  typedef otb::Image<InputPixelType,  Dimension> InputImageType1;
-  typedef otb::Image<InputPixelType,  Dimension> InputImageType2;
-  typedef otb::Image<OutputPixelType, Dimension> OutputImageType;
-
-  typedef otb::AssociativeSymmetricalSumImageFilter<InputImageType1, InputImageType2, OutputImageType> FilterType;
-
-  FilterType::Pointer filter = FilterType::New();
-
-  std::cout << filter << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Feature/Edge/test/otbAsymmetricFusionOfLineDetectorNew.cxx b/Modules/Feature/Edge/test/otbAsymmetricFusionOfLineDetectorNew.cxx
deleted file mode 100644
index ce7592ee19..0000000000
--- a/Modules/Feature/Edge/test/otbAsymmetricFusionOfLineDetectorNew.cxx
+++ /dev/null
@@ -1,54 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-
-
-
-#include "itkMacro.h"
-
-#include <iostream>
-
-#include "otbImage.h"
-#include "otbImageFileReader.h"
-#include "otbImageFileWriter.h"
-
-#include "otbAsymmetricFusionOfLineDetectorImageFilter.h"
-
-int otbAsymmetricFusionOfLineDetectorNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  typedef unsigned char InputPixelType;
-  typedef double        OutputPixelType;
-  const unsigned int Dimension = 2;
-
-  typedef otb::Image<InputPixelType,  Dimension> InputImageType;
-  typedef otb::Image<OutputPixelType, Dimension> OutputImageType;
-  typedef otb::Image<OutputPixelType, Dimension> OutputImageDirectionType;
-
-  typedef itk::LinearInterpolateImageFunction<InputImageType, double> InterpolatorType;
-
-  typedef otb::AsymmetricFusionOfLineDetectorImageFilter<InputImageType, OutputImageType, OutputImageDirectionType,
-      InterpolatorType> FilterType;
-
-  FilterType::Pointer filter = FilterType::New();
-
-  std::cout << filter << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Feature/Edge/test/otbEdgeDensityImageFilterNew.cxx b/Modules/Feature/Edge/test/otbEdgeDensityImageFilterNew.cxx
deleted file mode 100644
index 56537287e2..0000000000
--- a/Modules/Feature/Edge/test/otbEdgeDensityImageFilterNew.cxx
+++ /dev/null
@@ -1,44 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#include "otbImage.h"
-#include "otbEdgeDensityImageFilter.h"
-#include "otbBinaryImageDensityFunction.h"
-#include "itkCannyEdgeDetectionImageFilter.h"
-
-int otbEdgeDensityImageFilterNew(int, char*[])
-{
-
-  const unsigned int Dimension = 2;
-  typedef float PixelType;
-
-  typedef otb::Image<PixelType, Dimension> ImageType;
-  typedef otb::BinaryImageDensityFunction<ImageType>               CountFunctionType;
-  typedef itk::CannyEdgeDetectionImageFilter<ImageType, ImageType> CannyDetectorType;
-
-  typedef otb::EdgeDensityImageFilter<ImageType, ImageType, CannyDetectorType, CountFunctionType> EdgeDensityFilterType;
-
-  /**Instantiation of an object*/
-  EdgeDensityFilterType::Pointer filter =      EdgeDensityFilterType::New();
-
-  std::cout << filter << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Feature/Edge/test/otbEdgeDetectorImageFilterNew.cxx b/Modules/Feature/Edge/test/otbEdgeDetectorImageFilterNew.cxx
deleted file mode 100644
index f84686c13e..0000000000
--- a/Modules/Feature/Edge/test/otbEdgeDetectorImageFilterNew.cxx
+++ /dev/null
@@ -1,39 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#include "otbImage.h"
-#include "otbEdgeDetectorImageFilter.h"
-#include "itkSobelEdgeDetectionImageFilter.h"
-
-int otbEdgeDetectorImageFilterNew(int, char*[])
-{
-  typedef double PixelType;
-
-  typedef otb::Image<PixelType, 2>                                      ImageType;
-  typedef itk::SobelEdgeDetectionImageFilter<ImageType, ImageType>      SobelType;
-  typedef otb::EdgeDetectorImageFilter<ImageType, ImageType, SobelType> FilterType;
-
-  /**Instantiation of an object*/
-  FilterType::Pointer filter = FilterType::New();
-
-  std::cout << filter << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Feature/Edge/test/otbExtractSegmentsNew.cxx b/Modules/Feature/Edge/test/otbExtractSegmentsNew.cxx
deleted file mode 100644
index 484aec7fef..0000000000
--- a/Modules/Feature/Edge/test/otbExtractSegmentsNew.cxx
+++ /dev/null
@@ -1,48 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-
-
-
-#include "itkMacro.h"
-#include <iostream>
-
-#include "otbImage.h"
-#include "otbImageFileReader.h"
-#include "otbImageFileWriter.h"
-#include "otbExtractSegmentsImageFilter.h"
-
-int otbExtractSegmentsNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  typedef double        InputPixelType;
-  typedef unsigned char OutputPixelType;
-  const unsigned int Dimension = 2;
-
-  typedef otb::Image<InputPixelType,  Dimension> InputImageType;
-  typedef otb::Image<OutputPixelType, Dimension> OutputImageType;
-
-  typedef otb::ExtractSegmentsImageFilter<InputImageType, OutputImageType> FilterType;
-
-  FilterType::Pointer filter = FilterType::New();
-
-  std::cout << filter << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Feature/Edge/test/otbFillGapsFilterNew.cxx b/Modules/Feature/Edge/test/otbFillGapsFilterNew.cxx
deleted file mode 100644
index 591c83e78e..0000000000
--- a/Modules/Feature/Edge/test/otbFillGapsFilterNew.cxx
+++ /dev/null
@@ -1,35 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-
-
-
-#include "itkMacro.h"
-#include "otbFillGapsFilter.h"
-
-int otbFillGapsFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  typedef otb::FillGapsFilter FillGapsFilterType;
-  FillGapsFilterType::Pointer filter = FillGapsFilterType::New();
-
-  std::cout << filter << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Feature/Edge/test/otbLineCorrelationDetectorNew.cxx b/Modules/Feature/Edge/test/otbLineCorrelationDetectorNew.cxx
deleted file mode 100644
index 4eba37acae..0000000000
--- a/Modules/Feature/Edge/test/otbLineCorrelationDetectorNew.cxx
+++ /dev/null
@@ -1,45 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-
-
-#include "itkMacro.h"
-#include "otbImage.h"
-#include <iostream>
-
-#include "otbLineCorrelationDetectorImageFilter.h"
-
-int otbLineCorrelationDetectorNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  typedef unsigned char InputPixelType;
-  typedef double        OutputPixelType;
-  const unsigned int Dimension = 2;
-
-  typedef otb::Image<InputPixelType,  Dimension> InputImageType;
-  typedef otb::Image<OutputPixelType, Dimension> OutputImageType;
-
-  typedef otb::LineCorrelationDetectorImageFilter<InputImageType, OutputImageType> FilterType;
-
-  FilterType::Pointer filter = FilterType::New();
-
-  std::cout << filter << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Feature/Edge/test/otbLineDetectorBaseNew.cxx b/Modules/Feature/Edge/test/otbLineDetectorBaseNew.cxx
deleted file mode 100644
index f4c6c478ad..0000000000
--- a/Modules/Feature/Edge/test/otbLineDetectorBaseNew.cxx
+++ /dev/null
@@ -1,44 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-
-
-#include "itkMacro.h"
-#include <iostream>
-
-#include "otbLineDetectorImageFilterBase.h"
-
-int otbLineDetectorBaseNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  typedef unsigned char InputPixelType;
-  typedef double        OutputPixelType;
-  const unsigned int Dimension = 2;
-
-  typedef otb::Image<InputPixelType,  Dimension> InputImageType;
-  typedef otb::Image<OutputPixelType, Dimension> OutputImageType;
-
-  typedef otb::LineDetectorImageFilterBase<InputImageType, OutputImageType> FilterType;
-
-  FilterType::Pointer filter = FilterType::New();
-
-  std::cout << filter << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Feature/Edge/test/otbLineRatioDetectorNew.cxx b/Modules/Feature/Edge/test/otbLineRatioDetectorNew.cxx
deleted file mode 100644
index becd2160c0..0000000000
--- a/Modules/Feature/Edge/test/otbLineRatioDetectorNew.cxx
+++ /dev/null
@@ -1,46 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-
-
-
-#include "itkMacro.h"
-#include <iostream>
-
-#include "otbImage.h"
-#include "otbLineRatioDetectorImageFilter.h"
-
-int otbLineRatioDetectorNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  typedef unsigned char InputPixelType;
-  typedef double        OutputPixelType;
-  const unsigned int Dimension = 2;
-
-  typedef otb::Image<InputPixelType,  Dimension> InputImageType;
-  typedef otb::Image<OutputPixelType, Dimension> OutputImageType;
-
-  typedef otb::LineRatioDetectorImageFilter<InputImageType, OutputImageType> FilterType;
-
-  FilterType::Pointer filter = FilterType::New();
-
-  std::cout << filter << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Feature/Edge/test/otbLocalHoughNew.cxx b/Modules/Feature/Edge/test/otbLocalHoughNew.cxx
deleted file mode 100644
index 1135144fed..0000000000
--- a/Modules/Feature/Edge/test/otbLocalHoughNew.cxx
+++ /dev/null
@@ -1,45 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-
-
-
-#include "itkMacro.h"
-#include "otbImage.h"
-
-#include <iostream>
-
-#include "otbLocalHoughFilter.h"
-
-int otbLocalHoughNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  typedef unsigned char InputPixelType;
-  const unsigned int Dimension = 2;
-
-  typedef otb::Image<InputPixelType,  Dimension> InputImageType;
-
-  typedef otb::LocalHoughFilter<InputImageType> FilterType;
-
-  FilterType::Pointer filter = FilterType::New();
-
-  std::cout << filter << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Feature/Edge/test/otbPersistentVectorizationFilterNew.cxx b/Modules/Feature/Edge/test/otbPersistentVectorizationFilterNew.cxx
deleted file mode 100644
index 52fff4cc1e..0000000000
--- a/Modules/Feature/Edge/test/otbPersistentVectorizationFilterNew.cxx
+++ /dev/null
@@ -1,41 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#include "itkMacro.h"
-
-#include "otbImage.h"
-#include "otbPolygon.h"
-#include "otbPersistentVectorizationImageFilter.h"
-
-int otbPersistentVectorizationFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  const unsigned int ImageDimension = 2;
-  typedef unsigned short LabelType;
-
-  typedef otb::Image<LabelType, ImageDimension>                           ImageType;
-  typedef otb::Polygon <LabelType>                                        PolygonType;
-  typedef otb::PersistentVectorizationImageFilter<ImageType, PolygonType> FilterType;
-
-  FilterType::Pointer filter = FilterType::New();
-
-  std::cout << filter << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Feature/Edge/test/otbPixelSuppressionByDirectionNew.cxx b/Modules/Feature/Edge/test/otbPixelSuppressionByDirectionNew.cxx
deleted file mode 100644
index 9d4c22f272..0000000000
--- a/Modules/Feature/Edge/test/otbPixelSuppressionByDirectionNew.cxx
+++ /dev/null
@@ -1,48 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-
-
-
-#include "itkMacro.h"
-#include <iostream>
-
-#include "otbImage.h"
-#include "otbImageFileReader.h"
-#include "otbImageFileWriter.h"
-#include "otbPixelSuppressionByDirectionImageFilter.h"
-
-int otbPixelSuppressionByDirectionNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  typedef double InputPixelType;
-  typedef double OutputPixelType;
-  const unsigned int Dimension = 2;
-
-  typedef otb::Image<InputPixelType,  Dimension> InputImageType;
-  typedef otb::Image<OutputPixelType, Dimension> OutputImageType;
-
-  typedef otb::PixelSuppressionByDirectionImageFilter<InputImageType, OutputImageType> FilterType;
-
-  FilterType::Pointer filter = FilterType::New();
-
-  std::cout << filter << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Feature/Edge/test/otbTouziEdgeDetectorNew.cxx b/Modules/Feature/Edge/test/otbTouziEdgeDetectorNew.cxx
deleted file mode 100644
index 9b9b79a85f..0000000000
--- a/Modules/Feature/Edge/test/otbTouziEdgeDetectorNew.cxx
+++ /dev/null
@@ -1,45 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-
-
-
-#include "itkMacro.h"
-#include <iostream>
-
-#include "otbTouziEdgeDetectorImageFilter.h"
-
-int otbTouziEdgeDetectorNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  typedef unsigned char InputPixelType;
-  typedef double        OutputPixelType;
-  const unsigned int Dimension = 2;
-
-  typedef otb::Image<InputPixelType,  Dimension> InputImageType;
-  typedef otb::Image<OutputPixelType, Dimension> OutputImageType;
-
-  typedef otb::TouziEdgeDetectorImageFilter<InputImageType, OutputImageType> FilterType;
-
-  FilterType::Pointer filter = FilterType::New();
-
-  std::cout << filter << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Feature/Moments/test/CMakeLists.txt b/Modules/Feature/Moments/test/CMakeLists.txt
index 7dc21ff883..71b469f85b 100644
--- a/Modules/Feature/Moments/test/CMakeLists.txt
+++ b/Modules/Feature/Moments/test/CMakeLists.txt
@@ -24,12 +24,9 @@ set(OTBMomentsTests
 otbMomentsTestDriver.cxx
 otbComplexMomentPathFloat.cxx
 otbRadiometricMomentsImageFunction.cxx
-otbComplexMomentPathNew.cxx
 otbHuMomentsImageFunction.cxx
 otbRealMomentsImageFunction.cxx
 otbComplexMomentsImageFunction.cxx
-otbHuPathNew.cxx
-otbFlusserPathNew.cxx
 otbFlusserMomentsImageFunction.cxx
 otbHuPath.cxx
 otbFlusserPath.cxx
@@ -51,9 +48,6 @@ otb_add_test(NAME feTvComplexMomentPathFloat COMMAND otbMomentsTestDriver
   1
   ${TEMP}/feComplexMomentPathFloat.txt)
 
-otb_add_test(NAME feTuRadiometricMomentsImageFunctionNew COMMAND otbMomentsTestDriver
-  otbRadiometricMomentsImageFunctionNew
-  )
 
 otb_add_test(NAME feTvRadiometricMomentsImageFunction COMMAND otbMomentsTestDriver
   --compare-ascii ${NOTOL}     ${BASELINE_FILES}/feTvRadiometricMomentsImageFunction.txt
@@ -64,9 +58,6 @@ otb_add_test(NAME feTvRadiometricMomentsImageFunction COMMAND otbMomentsTestDriv
 
 
 
-otb_add_test(NAME feTuComplexMomentPathNew COMMAND otbMomentsTestDriver
-  otbComplexMomentPathNew)
-
 otb_add_test(NAME feTvHuMomentsImageFunction COMMAND otbMomentsTestDriver
   --compare-ascii ${NOTOL}     ${BASELINE_FILES}/feTvHuMomentsImageFunction.txt
   ${TEMP}/feTvHuMomentsImageFunction.txt
@@ -80,9 +71,6 @@ otb_add_test(NAME feTvHuMomentsImageFunctionScaleInvariant COMMAND otbMomentsTes
   ${INPUTDATA}/poupees.png
   )
 
-otb_add_test(NAME feTuHuMomentsImageFunctionNew COMMAND otbMomentsTestDriver
-  otbHuMomentsImageFunctionNew
-  )
 
 otb_add_test(NAME feTvHuMomentsImageFunctionRotationInvariant COMMAND otbMomentsTestDriver
   otbHuMomentsImageFunctionRotationInvariant
@@ -90,9 +78,6 @@ otb_add_test(NAME feTvHuMomentsImageFunctionRotationInvariant COMMAND otbMoments
   90
   )
 
-otb_add_test(NAME feTuRealMomentsImageFunctionNew COMMAND otbMomentsTestDriver
-  otbRealMomentsImageFunctionNew
-  )
 
 otb_add_test(NAME feTvRealMomentsImageFunction COMMAND otbMomentsTestDriver
   --compare-ascii ${NOTOL}     ${BASELINE_FILES}/feTvRealMomentsImageFunction.txt
@@ -115,9 +100,6 @@ otb_add_test(NAME feTvComplexMomentsImageFunction COMMAND otbMomentsTestDriver
   ${TEMP}/feTvComplexMomentsImageFunction.txt
   )
 
-otb_add_test(NAME feTuComplexMomentsImageFunctionNew COMMAND otbMomentsTestDriver
-  otbComplexMomentsImageFunctionNew
-  )
 
 otb_add_test(NAME feTvComplexMomentsImageFunctionScaleInvariant COMMAND otbMomentsTestDriver
   otbComplexMomentsImageFunctionScaleInvariant
@@ -127,19 +109,10 @@ otb_add_test(NAME feTvComplexMomentsImageFunctionScaleInvariant COMMAND otbMomen
   )
 
 
-otb_add_test(NAME feTuHuPathNew COMMAND otbMomentsTestDriver
-  otbHuPathNew)
 
 
 
 
-otb_add_test(NAME feTuFlusserPathNew COMMAND otbMomentsTestDriver
-  otbFlusserPathNew)
-
-otb_add_test(NAME feTuFlusserMomentsImageFunctionNew COMMAND otbMomentsTestDriver
-  otbFlusserMomentsImageFunctionNew
-  )
-
 otb_add_test(NAME feTvFlusserMomentsImageFunctionScaleInvariant COMMAND otbMomentsTestDriver
   otbFlusserMomentsImageFunctionScaleInvariant
   ${INPUTDATA}/poupees.png
@@ -183,9 +156,6 @@ otb_add_test(NAME feTvComplexMomentPath COMMAND otbMomentsTestDriver
   ${TEMP}/feComplexMomentPath.txt)
 
 
-otb_add_test(NAME feTuRadiometricMomentsImageFilterNew COMMAND otbMomentsTestDriver
-  otbRadiometricMomentsImageFilterNew)
-
 otb_add_test(NAME feTvRadiometricMomentsImageFilter COMMAND otbMomentsTestDriver
   --compare-image ${EPSILON_8}
   ${BASELINE}/feTvRadiometricMomentsImageFilter.tif
diff --git a/Modules/Feature/Moments/test/otbComplexMomentPathNew.cxx b/Modules/Feature/Moments/test/otbComplexMomentPathNew.cxx
deleted file mode 100644
index df089431b0..0000000000
--- a/Modules/Feature/Moments/test/otbComplexMomentPathNew.cxx
+++ /dev/null
@@ -1,40 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-
-
-
-#include "itkMacro.h"
-#include "otbComplexMomentPathFunction.h"
-#include "itkPolyLineParametricPath.h"
-
-int otbComplexMomentPathNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  const unsigned int Dimension = 2;
-
-  typedef itk::PolyLineParametricPath<Dimension>   PathType;
-  typedef otb::ComplexMomentPathFunction<PathType> CMType;
-
-  CMType::Pointer function = CMType::New();
-
-  std::cout << function << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Feature/Moments/test/otbFlusserPathNew.cxx b/Modules/Feature/Moments/test/otbFlusserPathNew.cxx
deleted file mode 100644
index 7f360112fc..0000000000
--- a/Modules/Feature/Moments/test/otbFlusserPathNew.cxx
+++ /dev/null
@@ -1,39 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-
-
-
-#include "otbFlusserPathFunction.h"
-#include "itkPolyLineParametricPath.h"
-#include "itkMacro.h"
-
-int otbFlusserPathNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  const unsigned int Dimension = 2;
-  typedef itk::PolyLineParametricPath<Dimension> PathType;
-  typedef otb::FlusserPathFunction<PathType>     FunctionType;
-
-  FunctionType::Pointer function = FunctionType::New();
-
-  std::cout << function << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Feature/Moments/test/otbHuPathNew.cxx b/Modules/Feature/Moments/test/otbHuPathNew.cxx
deleted file mode 100644
index d746a0b8ff..0000000000
--- a/Modules/Feature/Moments/test/otbHuPathNew.cxx
+++ /dev/null
@@ -1,39 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-
-
-
-#include "itkMacro.h"
-#include "otbHuPathFunction.h"
-#include "itkPolyLineParametricPath.h"
-
-int otbHuPathNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  const unsigned int Dimension = 2;
-  typedef itk::PolyLineParametricPath<Dimension> PathType;
-  typedef otb::HuPathFunction<PathType>          FunctionType;
-
-  FunctionType::Pointer function = FunctionType::New();
-
-  std::cout << function << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Feature/SeamCarving/test/CMakeLists.txt b/Modules/Feature/SeamCarving/test/CMakeLists.txt
index 193ec58c8e..b969b6cbbc 100644
--- a/Modules/Feature/SeamCarving/test/CMakeLists.txt
+++ b/Modules/Feature/SeamCarving/test/CMakeLists.txt
@@ -22,9 +22,6 @@ otb_module_test()
 
 set(OTBSeamCarvingTests
 otbSeamCarvingTestDriver.cxx
-otbRemoveCarvingPathFilterNew.cxx
-otbImageToCarvingPathFilterNew.cxx
-otbAddCarvingPathFilterNew.cxx
 )
 
 add_executable(otbSeamCarvingTestDriver ${OTBSeamCarvingTests})
@@ -33,11 +30,3 @@ otb_module_target_label(otbSeamCarvingTestDriver)
 
 # Tests Declaration
 
-otb_add_test(NAME feTuRemoveCarvingPathFilterNew COMMAND otbSeamCarvingTestDriver
-  otbRemoveCarvingPathFilterNew)
-
-otb_add_test(NAME feTuImageToCarvingPathFilterNew COMMAND otbSeamCarvingTestDriver
-  otbImageToCarvingPathFilterNew)
-
-otb_add_test(NAME feTuAddCarvingPathFilterNew COMMAND otbSeamCarvingTestDriver
-  otbAddCarvingPathFilterNew)
diff --git a/Modules/Feature/SeamCarving/test/otbAddCarvingPathFilterNew.cxx b/Modules/Feature/SeamCarving/test/otbAddCarvingPathFilterNew.cxx
deleted file mode 100644
index 575cfcfbdf..0000000000
--- a/Modules/Feature/SeamCarving/test/otbAddCarvingPathFilterNew.cxx
+++ /dev/null
@@ -1,45 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-
-
-
-#include "otbImage.h"
-#include "otbAddCarvingPathFilter.h"
-#include "itkPolyLineParametricPath.h"
-
-int otbAddCarvingPathFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  typedef double PixelType;
-  const unsigned int Dimension = 2;
-
-  typedef otb::Image<PixelType, Dimension>       InputImageType;
-  typedef otb::Image<PixelType, Dimension>       OutputImageType;
-  typedef itk::PolyLineParametricPath<Dimension> PathType;
-
-  typedef otb::AddCarvingPathFilter<InputImageType, PathType,
-      OutputImageType>   AddCarvingPathFilterType;
-
-  AddCarvingPathFilterType::Pointer filter = AddCarvingPathFilterType::New();
-
-  std::cout << filter << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Feature/SeamCarving/test/otbImageToCarvingPathFilterNew.cxx b/Modules/Feature/SeamCarving/test/otbImageToCarvingPathFilterNew.cxx
deleted file mode 100644
index 09586512ab..0000000000
--- a/Modules/Feature/SeamCarving/test/otbImageToCarvingPathFilterNew.cxx
+++ /dev/null
@@ -1,44 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-
-
-
-#include "otbImage.h"
-#include "otbImageToCarvingPathFilter.h"
-#include "itkPolyLineParametricPath.h"
-
-int otbImageToCarvingPathFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-
-  typedef double PixelType;
-  const unsigned int Dimension = 2;
-
-  typedef otb::Image<PixelType, Dimension>       InputImageType;
-  typedef itk::PolyLineParametricPath<Dimension> PathType;
-
-  typedef otb::ImageToCarvingPathFilter<InputImageType, PathType> ImageToCarvingPathFilterType;
-
-  ImageToCarvingPathFilterType::Pointer filter = ImageToCarvingPathFilterType::New();
-
-  std::cout << filter << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Feature/SeamCarving/test/otbRemoveCarvingPathFilterNew.cxx b/Modules/Feature/SeamCarving/test/otbRemoveCarvingPathFilterNew.cxx
deleted file mode 100644
index 4c12a76612..0000000000
--- a/Modules/Feature/SeamCarving/test/otbRemoveCarvingPathFilterNew.cxx
+++ /dev/null
@@ -1,45 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-
-
-
-#include "otbImage.h"
-#include "otbRemoveCarvingPathFilter.h"
-#include "itkPolyLineParametricPath.h"
-
-int otbRemoveCarvingPathFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  typedef double PixelType;
-  const unsigned int Dimension = 2;
-
-  typedef otb::Image<PixelType, Dimension>       InputImageType;
-  typedef otb::Image<PixelType, Dimension>       OutputImageType;
-  typedef itk::PolyLineParametricPath<Dimension> PathType;
-
-  typedef otb::RemoveCarvingPathFilter<InputImageType, PathType,
-      OutputImageType>   RemoveCarvingPathFilterType;
-
-  RemoveCarvingPathFilterType::Pointer filter = RemoveCarvingPathFilterType::New();
-
-  std::cout << filter << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Feature/Textures/test/CMakeLists.txt b/Modules/Feature/Textures/test/CMakeLists.txt
index 5caed051f9..83257b8e09 100644
--- a/Modules/Feature/Textures/test/CMakeLists.txt
+++ b/Modules/Feature/Textures/test/CMakeLists.txt
@@ -26,12 +26,7 @@ otbScalarImageToHigherOrderTexturesFilter.cxx
 otbHaralickTexturesImageFunction.cxx
 otbGreyLevelCooccurrenceIndexedList.cxx
 otbScalarImageToTexturesFilter.cxx
-otbScalarImageToTexturesFilterNew.cxx
 otbSFSTexturesImageFilterTest.cxx
-otbSFSTexturesImageFilterNew.cxx
-otbScalarImageToPanTexTextureFilterNew.cxx
-otbScalarImageToAdvancedTexturesFilterNew.cxx
-otbGreyLevelCooccurrenceIndexedListNew.cxx
 otbScalarImageToAdvancedTexturesFilter.cxx
 otbScalarImageToPanTexTextureFilter.cxx
 )
@@ -40,17 +35,11 @@ add_executable(otbTexturesTestDriver ${OTBTexturesTests})
 target_link_libraries(otbTexturesTestDriver ${OTBTextures-Test_LIBRARIES})
 otb_module_target_label(otbTexturesTestDriver)
 
-otb_add_test(NAME feTuScalarImageToHigherOrderTexturesFilterNew COMMAND otbTexturesTestDriver
-  otbScalarImageToHigherOrderTexturesFilterNew
-  )
 
 otb_add_test(NAME feTvScalarImageToHigherOrderTexturesFilter COMMAND otbTexturesTestDriver
   otbScalarImageToHigherOrderTexturesFilter
   ${INPUTDATA}/Mire_Cosinus.png)
 
-otb_add_test(NAME feTuHaralickTexturesImageFunctionNew COMMAND otbTexturesTestDriver
-  otbHaralickTexturesImageFunctionNew
-  )
 
 otb_add_test(NAME feTvHaralickTexturesImageFunction COMMAND otbTexturesTestDriver
   --compare-ascii ${EPSILON_8}
@@ -89,9 +78,6 @@ otb_add_test(NAME feTvScalarImageToTexturesFilter COMMAND otbTexturesTestDriver
   ${TEMP}/feTvScalarImageToTexturesFilterOutput
   8 3 2 2)
 
-otb_add_test(NAME feTuScalarImageToTexturesFilterNew COMMAND otbTexturesTestDriver
-  otbScalarImageToTexturesFilterNew
-  )
 
 otb_add_test(NAME feTvSFSTexturesImageFilterTest COMMAND otbTexturesTestDriver
   --compare-n-images ${EPSILON_8}
@@ -120,20 +106,8 @@ otb_add_test(NAME feTvSFSTexturesImageFilterTest COMMAND otbTexturesTestDriver
   0.6 # alpha value
   )
 
-otb_add_test(NAME feTuSFSTexturesImageFilterNew COMMAND otbTexturesTestDriver
-  otbSFSTexturesImageFilterNew)
 
-otb_add_test(NAME feTuScalarImageToPanTexTextureFilterNew COMMAND otbTexturesTestDriver
-  otbScalarImageToPanTexTextureFilterNew
-  )
 
-otb_add_test(NAME feTuScalarImageToAdvancedTexturesFilterNew COMMAND otbTexturesTestDriver
-  otbScalarImageToAdvancedTexturesFilterNew
-  )
-
-otb_add_test(NAME feTuGreyLevelCooccurrenceIndexedListNew COMMAND otbTexturesTestDriver
-  otbGreyLevelCooccurrenceIndexedListNew
-  )
 
 otb_add_test(NAME feTvScalarImageToAdvancedTexturesFilter COMMAND otbTexturesTestDriver
   --compare-n-images ${NOTOL} 10
diff --git a/Modules/Feature/Textures/test/otbGreyLevelCooccurrenceIndexedListNew.cxx b/Modules/Feature/Textures/test/otbGreyLevelCooccurrenceIndexedListNew.cxx
deleted file mode 100644
index f843850ac6..0000000000
--- a/Modules/Feature/Textures/test/otbGreyLevelCooccurrenceIndexedListNew.cxx
+++ /dev/null
@@ -1,36 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-
-#include "itkMacro.h"
-#include "otbGreyLevelCooccurrenceIndexedList.h"
-
-int otbGreyLevelCooccurrenceIndexedListNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  typedef float                                         PixelType;
-  typedef otb::GreyLevelCooccurrenceIndexedList< PixelType > CooccurrenceIndexedListType;
-  CooccurrenceIndexedListType::Pointer lightObj = CooccurrenceIndexedListType::New();
-
-  std::cout << "Printing otb::GreyLevelCooccurrenceIndexedList: " << std::endl;
-  lightObj->Print( std::cout );
-
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Feature/Textures/test/otbSFSTexturesImageFilterNew.cxx b/Modules/Feature/Textures/test/otbSFSTexturesImageFilterNew.cxx
deleted file mode 100644
index b768e70cec..0000000000
--- a/Modules/Feature/Textures/test/otbSFSTexturesImageFilterNew.cxx
+++ /dev/null
@@ -1,38 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#include "itkMacro.h"
-
-#include "otbSFSTexturesImageFilter.h"
-#include "otbVectorImage.h"
-#include "otbImage.h"
-
-int otbSFSTexturesImageFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  const unsigned int Dimension = 2;
-  typedef double                                 PixelType;
-  typedef otb::Image<PixelType, Dimension>       ImageType;
-  typedef otb::SFSTexturesImageFilter<ImageType, ImageType> FilterType;
-  FilterType::Pointer filter = FilterType::New();
-
-  std::cout << filter << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Feature/Textures/test/otbScalarImageToAdvancedTexturesFilterNew.cxx b/Modules/Feature/Textures/test/otbScalarImageToAdvancedTexturesFilterNew.cxx
deleted file mode 100644
index e21dfc95cc..0000000000
--- a/Modules/Feature/Textures/test/otbScalarImageToAdvancedTexturesFilterNew.cxx
+++ /dev/null
@@ -1,38 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#include "itkMacro.h"
-
-#include "otbScalarImageToAdvancedTexturesFilter.h"
-#include "otbImage.h"
-
-int otbScalarImageToAdvancedTexturesFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  const unsigned int Dimension = 2;
-  typedef double                                                         PixelType;
-  typedef otb::Image<PixelType, Dimension>                               ImageType;
-  typedef otb::ScalarImageToAdvancedTexturesFilter<ImageType, ImageType> FilterType;
-
-  FilterType::Pointer filter = FilterType::New();
-
-  std::cout << filter << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Feature/Textures/test/otbScalarImageToPanTexTextureFilterNew.cxx b/Modules/Feature/Textures/test/otbScalarImageToPanTexTextureFilterNew.cxx
deleted file mode 100644
index cd1541b9a1..0000000000
--- a/Modules/Feature/Textures/test/otbScalarImageToPanTexTextureFilterNew.cxx
+++ /dev/null
@@ -1,38 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#include "itkMacro.h"
-
-#include "otbScalarImageToPanTexTextureFilter.h"
-#include "otbImage.h"
-
-int otbScalarImageToPanTexTextureFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  const unsigned int Dimension = 2;
-  typedef double                                                      PixelType;
-  typedef otb::Image<PixelType, Dimension>                            ImageType;
-  typedef otb::ScalarImageToPanTexTextureFilter<ImageType, ImageType> FilterType;
-
-  FilterType::Pointer filter = FilterType::New();
-
-  std::cout << filter << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Feature/Textures/test/otbScalarImageToTexturesFilterNew.cxx b/Modules/Feature/Textures/test/otbScalarImageToTexturesFilterNew.cxx
deleted file mode 100644
index 98de400425..0000000000
--- a/Modules/Feature/Textures/test/otbScalarImageToTexturesFilterNew.cxx
+++ /dev/null
@@ -1,38 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#include "itkMacro.h"
-
-#include "otbScalarImageToTexturesFilter.h"
-#include "otbImage.h"
-
-int otbScalarImageToTexturesFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  const unsigned int Dimension = 2;
-  typedef double                                                 PixelType;
-  typedef otb::Image<PixelType, Dimension>                       ImageType;
-  typedef otb::ScalarImageToTexturesFilter<ImageType, ImageType> FilterType;
-
-  FilterType::Pointer filter = FilterType::New();
-
-  std::cout << filter << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Filtering/ChangeDetection/test/CMakeLists.txt b/Modules/Filtering/ChangeDetection/test/CMakeLists.txt
index 494b5d01d2..f978339e6e 100644
--- a/Modules/Filtering/ChangeDetection/test/CMakeLists.txt
+++ b/Modules/Filtering/ChangeDetection/test/CMakeLists.txt
@@ -29,11 +29,8 @@ otbCBAMIChangeDetectionTest.cxx
 otbKullbackLeiblerSupervizedDistanceImageFilter.cxx
 otbCorrelChangeDetectionTest.cxx
 otbKullbackLeiblerProfileImageFilter.cxx
-otbKullbackLeiblerSupervizedDistanceImageFilterNew.cxx
-otbKullbackLeiblerProfileImageFilterNew.cxx
 otbKullbackLeiblerDistanceImageFilter.cxx
 otbMeanRatioChangeDetectionTest.cxx
-otbKullbackLeiblerDistanceImageFilterNew.cxx
 otbLHMIChangeDetectionTest.cxx
 )
 
@@ -65,9 +62,6 @@ otb_add_test(NAME cdTvMeanDiff COMMAND otbChangeDetectionTestDriver
   ${TEMP}/cdMeanDiffImage.hdr
   )
 
-otb_add_test(NAME cdTuMultivariateAlterationDetectorImageFilterNew COMMAND otbChangeDetectionTestDriver
-  otbMultivariateAlterationDetectorImageFilterNew)
-
 otb_add_test(NAME cdTvMultivariateAlterationDetectorImageFilterSameNbBands COMMAND otbChangeDetectionTestDriver
   --compare-image 0.025
   ${BASELINE}/cdTvMultivariateAlterationDetectorImageFilterOutputSameNbBands.tif
@@ -127,12 +121,6 @@ otb_add_test(NAME cdTvKullbackLeiblerProfileImageFilter COMMAND otbChangeDetecti
   ${TEMP}/cdTVKullbackLeiblerProfileImageFilterOutput.hdr
   5 51)
 
-otb_add_test(NAME cdTuKullbackLeiblerSupervizedDistanceImageFilterNew COMMAND otbChangeDetectionTestDriver
-  otbKullbackLeiblerSupervizedDistanceImageFilterNew)
-
-otb_add_test(NAME cdTuKullbackLeiblerProfileImageFilterNew COMMAND otbChangeDetectionTestDriver
-  otbKullbackLeiblerProfileImageFilterNew)
-
 otb_add_test(NAME cdTvKullbackLeiblerDistanceImageFilter COMMAND otbChangeDetectionTestDriver
   --compare-image ${EPSILON_10}
   ${BASELINE}/cdTVKullbackLeiblerDistanceImageFilterOutput.hdr
@@ -153,9 +141,6 @@ otb_add_test(NAME cdTvMeanRatio COMMAND otbChangeDetectionTestDriver
   ${TEMP}/cdMeanRatioImage.png
   )
 
-otb_add_test(NAME cdTuKullbackLeiblerDistanceImageFilterNew COMMAND otbChangeDetectionTestDriver
-  otbKullbackLeiblerDistanceImageFilterNew)
-
 otb_add_test(NAME cdTvLHMI COMMAND otbChangeDetectionTestDriver
   otbLHMIChangeDetectionTest
   ${INPUTDATA}/GomaAvantSousEch.png
diff --git a/Modules/Filtering/ChangeDetection/test/otbKullbackLeiblerDistanceImageFilterNew.cxx b/Modules/Filtering/ChangeDetection/test/otbKullbackLeiblerDistanceImageFilterNew.cxx
deleted file mode 100644
index 9a1f9838a0..0000000000
--- a/Modules/Filtering/ChangeDetection/test/otbKullbackLeiblerDistanceImageFilterNew.cxx
+++ /dev/null
@@ -1,38 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#include "itkMacro.h"
-#include "otbImage.h"
-#include "otbKullbackLeiblerDistanceImageFilter.h"
-
-int otbKullbackLeiblerDistanceImageFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv)[])
-{
-  const unsigned int Dimension = 2;
-  typedef double PixelType;
-
-  typedef otb::Image<PixelType, Dimension>                                         ImageType;
-  typedef otb::KullbackLeiblerDistanceImageFilter<ImageType, ImageType, ImageType> FilterType;
-
-  FilterType::Pointer filter = FilterType::New();
-
-  std::cout << filter << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Filtering/ChangeDetection/test/otbKullbackLeiblerProfileImageFilterNew.cxx b/Modules/Filtering/ChangeDetection/test/otbKullbackLeiblerProfileImageFilterNew.cxx
deleted file mode 100644
index e601918d44..0000000000
--- a/Modules/Filtering/ChangeDetection/test/otbKullbackLeiblerProfileImageFilterNew.cxx
+++ /dev/null
@@ -1,40 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#include "itkMacro.h"
-#include "otbImage.h"
-#include "otbVectorImage.h"
-#include "otbKullbackLeiblerProfileImageFilter.h"
-
-int otbKullbackLeiblerProfileImageFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv)[])
-{
-  const unsigned int Dimension = 2;
-  typedef double PixelType;
-
-  typedef otb::Image<PixelType, Dimension>                                              ImageType;
-  typedef otb::VectorImage<PixelType, Dimension>                                        VectorImageType;
-  typedef otb::KullbackLeiblerProfileImageFilter<ImageType, ImageType, VectorImageType> FilterType;
-
-  FilterType::Pointer filter = FilterType::New();
-
-  std::cout << filter << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Filtering/ChangeDetection/test/otbKullbackLeiblerSupervizedDistanceImageFilterNew.cxx b/Modules/Filtering/ChangeDetection/test/otbKullbackLeiblerSupervizedDistanceImageFilterNew.cxx
deleted file mode 100644
index 8c7612e74d..0000000000
--- a/Modules/Filtering/ChangeDetection/test/otbKullbackLeiblerSupervizedDistanceImageFilterNew.cxx
+++ /dev/null
@@ -1,43 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#include "itkMacro.h"
-#include "otbImage.h"
-#include "otbKullbackLeiblerSupervizedDistanceImageFilter.h"
-
-int otbKullbackLeiblerSupervizedDistanceImageFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv)[])
-{
-  const unsigned int Dimension = 2;
-  typedef double        PixelType;
-  typedef unsigned char TrainingPixelType;
-
-  typedef otb::Image<PixelType,
-      Dimension>                                        ImageType;
-  typedef otb::Image<TrainingPixelType,
-      Dimension>                                        TrainingImageType;
-  typedef otb::KullbackLeiblerSupervizedDistanceImageFilter<ImageType, ImageType, TrainingImageType,
-      ImageType> FilterType;
-
-  FilterType::Pointer filter = FilterType::New();
-
-  std::cout << filter << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Filtering/ColorMap/test/CMakeLists.txt b/Modules/Filtering/ColorMap/test/CMakeLists.txt
index 1c8ec258c5..dcee0249f6 100644
--- a/Modules/Filtering/ColorMap/test/CMakeLists.txt
+++ b/Modules/Filtering/ColorMap/test/CMakeLists.txt
@@ -23,7 +23,6 @@ otb_module_test()
 set(OTBColorMapTests
 otbColorMapTestDriver.cxx
 otbScalarToRainbowRGBPixelFunctor.cxx
-otbScalarToRainbowRGBPixelFunctorNew.cxx
 )
 
 add_executable(otbColorMapTestDriver ${OTBColorMapTests})
@@ -42,7 +41,4 @@ otb_add_test(NAME bfTvScalarToRainbowRGBPixelFunctor COMMAND otbColorMapTestDriv
   )
 
 
-otb_add_test(NAME bfTuScalarToRainbowRGBPixelFunctorNew COMMAND otbColorMapTestDriver
-  otbScalarToRainbowRGBPixelFunctorNew)
-
 
diff --git a/Modules/Filtering/ColorMap/test/otbScalarToRainbowRGBPixelFunctorNew.cxx b/Modules/Filtering/ColorMap/test/otbScalarToRainbowRGBPixelFunctorNew.cxx
deleted file mode 100644
index 5046235a62..0000000000
--- a/Modules/Filtering/ColorMap/test/otbScalarToRainbowRGBPixelFunctorNew.cxx
+++ /dev/null
@@ -1,48 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-
-
-
-#include "otbImage.h"
-
-#include "itkUnaryFunctorImageFilter.h"
-#include "otbScalarToRainbowRGBPixelFunctor.h"
-
-int otbScalarToRainbowRGBPixelFunctorNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-
-  typedef unsigned char               PixelType;
-  typedef itk::RGBPixel<PixelType>    RGBPixelType;
-  typedef otb::Image<PixelType, 2>    ImageType;
-  typedef otb::Image<RGBPixelType, 2> RGBImageType;
-
-  typedef otb::Functor::ScalarToRainbowRGBPixelFunctor<PixelType>
-  ColorMapFunctorType;
-  typedef itk::UnaryFunctorImageFilter<ImageType,
-      RGBImageType, ColorMapFunctorType> ColorMapFilterType;
-  ColorMapFilterType::Pointer colormapper = ColorMapFilterType::New();
-  colormapper->GetFunctor().SetMaximumInputValue(150);
-  colormapper->GetFunctor().SetMinimumInputValue(70);
-
-  std::cout << colormapper << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Filtering/Contrast/test/CMakeLists.txt b/Modules/Filtering/Contrast/test/CMakeLists.txt
index ee6950adaa..a29a0c163f 100644
--- a/Modules/Filtering/Contrast/test/CMakeLists.txt
+++ b/Modules/Filtering/Contrast/test/CMakeLists.txt
@@ -22,13 +22,9 @@ otb_module_test()
 
 set(OTBContrastTests
 otbContrastTestDriver.cxx
-otbComputeHistoFilterNew.cxx
 otbComputeHistoFilter.cxx
-otbApplyGainFilterNew.cxx
 otbApplyGainFilter.cxx
-otbComputeGainLutFilterNew.cxx
 otbComputeGainLutFilter.cxx
-otbCLHistogramEqualizationFilterNew.cxx
 otbCLHistogramEqualizationFilter.cxx
 otbHelperCLAHE.cxx
 )
@@ -37,18 +33,6 @@ add_executable(otbContrastTestDriver ${OTBContrastTests})
 target_link_libraries(otbContrastTestDriver ${OTBContrast-Test_LIBRARIES})
 otb_module_target_label(otbContrastTestDriver)
 
-otb_add_test(NAME bfTuCLHistogramEqualizationFilterNew COMMAND otbContrastTestDriver
-  otbCLHistogramEqualizationFilterNew)
-
-otb_add_test(NAME bfTuApplyGainFilterNew COMMAND otbContrastTestDriver
-  otbApplyGainFilterNew)
-
-otb_add_test(NAME bfTuComputeGainLutFilterNew COMMAND otbContrastTestDriver
-  otbComputeGainLutFilterNew)
-
-otb_add_test(NAME bfTuComputeHistoFilterNew COMMAND otbContrastTestDriver
-  otbComputeHistoFilterNew)
-
 otb_add_test(NAME bfTvComputeHistoFilter COMMAND otbContrastTestDriver
   --compare-image ${EPSILON_7}
   ${BASELINE}/bfTvComputeHistoFilter.tif
diff --git a/Modules/Filtering/Contrast/test/otbApplyGainFilterNew.cxx b/Modules/Filtering/Contrast/test/otbApplyGainFilterNew.cxx
deleted file mode 100644
index 47f5101513..0000000000
--- a/Modules/Filtering/Contrast/test/otbApplyGainFilterNew.cxx
+++ /dev/null
@@ -1,46 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-
-
-#include "otbImage.h"
-#include "otbVectorImage.h"
-#include "otbApplyGainFilter.h"
-
-int otbApplyGainFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  typedef double InputPixelType;
-  typedef double OutputPixelType;
-  typedef float LutPixelType;
-  const unsigned int Dimension = 2;
-
-  typedef otb::Image< InputPixelType ,  Dimension > InputImageType;
-  typedef otb::Image< OutputPixelType , Dimension > OutputImageType;
-  typedef otb::VectorImage< LutPixelType , Dimension > LutImageType;
-  typedef otb::ApplyGainFilter
-      < InputImageType , LutImageType , OutputImageType > FilterType;
-
-
-  FilterType::Pointer appGain ( FilterType::New() );
-
-  std::cout << appGain << std::endl;
-
-  return EXIT_SUCCESS;
-}
\ No newline at end of file
diff --git a/Modules/Filtering/Contrast/test/otbCLHistogramEqualizationFilterNew.cxx b/Modules/Filtering/Contrast/test/otbCLHistogramEqualizationFilterNew.cxx
deleted file mode 100644
index 4978121896..0000000000
--- a/Modules/Filtering/Contrast/test/otbCLHistogramEqualizationFilterNew.cxx
+++ /dev/null
@@ -1,41 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-
-
-#include "otbImage.h"
-#include "otbCLHistogramEqualizationFilter.h"
-
-int otbCLHistogramEqualizationFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  typedef double InputPixelType;
-  const unsigned int Dimension = 2;
-
-  typedef otb::Image< InputPixelType ,  Dimension > InputImageType;
-  typedef otb::CLHistogramEqualizationFilter< InputImageType , InputImageType > 
-    FilterType;
-
-
-  FilterType::Pointer histoEqualize ( FilterType::New() );
-
-  std::cout << histoEqualize << std::endl;
-
-  return EXIT_SUCCESS;
-}
\ No newline at end of file
diff --git a/Modules/Filtering/Contrast/test/otbComputeGainLutFilterNew.cxx b/Modules/Filtering/Contrast/test/otbComputeGainLutFilterNew.cxx
deleted file mode 100644
index 642e805fb0..0000000000
--- a/Modules/Filtering/Contrast/test/otbComputeGainLutFilterNew.cxx
+++ /dev/null
@@ -1,40 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#include "otbVectorImage.h"
-#include "otbComputeGainLutFilter.h"
-
-int otbComputeGainLutFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  typedef double InputPixelType;
-  typedef double OutputPixelType;
-  const unsigned int Dimension = 2;
-
-  typedef otb::VectorImage< InputPixelType , Dimension > HistoImageType;
-  typedef otb::VectorImage< OutputPixelType , Dimension > LutImageType;
-  typedef otb::ComputeGainLutFilter< HistoImageType , LutImageType > FilterType;
-
-
-  FilterType::Pointer computeGainLut ( FilterType::New() );
-
-  std::cout << computeGainLut << std::endl;
-
-  return EXIT_SUCCESS;
-}
\ No newline at end of file
diff --git a/Modules/Filtering/Contrast/test/otbComputeHistoFilterNew.cxx b/Modules/Filtering/Contrast/test/otbComputeHistoFilterNew.cxx
deleted file mode 100644
index 4dd79d460e..0000000000
--- a/Modules/Filtering/Contrast/test/otbComputeHistoFilterNew.cxx
+++ /dev/null
@@ -1,43 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-
-
-#include "otbImage.h"
-#include "otbVectorImage.h"
-#include "otbComputeHistoFilter.h"
-
-int otbComputeHistoFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  typedef double InputPixelType;
-  typedef double OutputPixelType;
-  const unsigned int Dimension = 2;
-
-  typedef otb::Image< InputPixelType ,  Dimension > InputImageType;
-  typedef otb::VectorImage< OutputPixelType , Dimension > HistoImageType;
-  typedef otb::ComputeHistoFilter< InputImageType , HistoImageType > FilterType;
-
-
-  FilterType::Pointer computeHisto ( FilterType::New() );
-
-  std::cout << computeHisto << std::endl;
-
-  return EXIT_SUCCESS;
-}
\ No newline at end of file
diff --git a/Modules/Filtering/Convolution/test/CMakeLists.txt b/Modules/Filtering/Convolution/test/CMakeLists.txt
index 7502e384a7..9caa13ffaa 100644
--- a/Modules/Filtering/Convolution/test/CMakeLists.txt
+++ b/Modules/Filtering/Convolution/test/CMakeLists.txt
@@ -23,12 +23,9 @@ otb_module_test()
 set(OTBConvolutionTests
 otbConvolutionTestDriver.cxx
 otbConvolutionImageFilter.cxx
-otbConvolutionImageFilterNew.cxx
-otbOverlapSaveConvolutionImageFilterNew.cxx
 otbOverlapSaveConvolutionImageFilter.cxx
 otbCompareOverlapSaveAndClassicalConvolutionWithGaborFilter.cxx
 otbGaborFilterGenerator.cxx
-otbGaborFilterGeneratorNew.cxx
 )
 
 add_executable(otbConvolutionTestDriver ${OTBConvolutionTests})
@@ -46,12 +43,6 @@ otb_add_test(NAME bfTvConvolutionImageFilter COMMAND otbConvolutionTestDriver
   ${TEMP}/bfTvConvolutionImageFilter.tif
   )
 
-otb_add_test(NAME bfTuConvolutionImageFilterNew COMMAND otbConvolutionTestDriver
-  otbConvolutionImageFilterNew)
-
-otb_add_test(NAME bfTuOverlapSaveConvolutionImageFilterNew COMMAND otbConvolutionTestDriver
-  otbOverlapSaveConvolutionImageFilterNew)
-
 if(ITK_USE_FFTWD)
 otb_add_test(NAME bfTvOverlapSaveConvolutionImageFilter COMMAND otbConvolutionTestDriver
   --compare-image ${EPSILON_7}
@@ -90,6 +81,3 @@ otb_add_test(NAME bfTvGaborFilterGenerator COMMAND otbConvolutionTestDriver
   0.0125 0.0125 #u0 v0
   0
   )
-otb_add_test(NAME bfTuGaborFilterGeneratorNew COMMAND otbConvolutionTestDriver
-  otbGaborFilterGeneratorNew
-  )
diff --git a/Modules/Filtering/Convolution/test/otbConvolutionImageFilterNew.cxx b/Modules/Filtering/Convolution/test/otbConvolutionImageFilterNew.cxx
deleted file mode 100644
index 342b0d086e..0000000000
--- a/Modules/Filtering/Convolution/test/otbConvolutionImageFilterNew.cxx
+++ /dev/null
@@ -1,41 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-
-
-#include "otbImage.h"
-#include "otbConvolutionImageFilter.h"
-
-int otbConvolutionImageFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  typedef double InputPixelType;
-  typedef double OutputPixelType;
-  const unsigned int Dimension = 2;
-
-  typedef otb::Image<InputPixelType,  Dimension>                       InputImageType;
-  typedef otb::Image<OutputPixelType, Dimension>                       OutputImageType;
-  typedef otb::ConvolutionImageFilter<InputImageType, OutputImageType> FilterType;
-
-  FilterType::Pointer conv = FilterType::New();
-
-  std::cout << conv << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Filtering/Convolution/test/otbGaborFilterGeneratorNew.cxx b/Modules/Filtering/Convolution/test/otbGaborFilterGeneratorNew.cxx
deleted file mode 100644
index be9d0e0c5c..0000000000
--- a/Modules/Filtering/Convolution/test/otbGaborFilterGeneratorNew.cxx
+++ /dev/null
@@ -1,35 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-
-#include "otbGaborFilterGenerator.h"
-
-int otbGaborFilterGeneratorNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  typedef double                                   PrecisionType;
-  typedef otb::GaborFilterGenerator<PrecisionType> GaborGeneratorType;
-
-  // Instantiating object
-  GaborGeneratorType::Pointer gabor = GaborGeneratorType::New();
-
-  std::cout << gabor << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Filtering/Convolution/test/otbOverlapSaveConvolutionImageFilterNew.cxx b/Modules/Filtering/Convolution/test/otbOverlapSaveConvolutionImageFilterNew.cxx
deleted file mode 100644
index 759b15d0a5..0000000000
--- a/Modules/Filtering/Convolution/test/otbOverlapSaveConvolutionImageFilterNew.cxx
+++ /dev/null
@@ -1,41 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-
-
-#include "otbImage.h"
-#include "otbOverlapSaveConvolutionImageFilter.h"
-
-int otbOverlapSaveConvolutionImageFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  typedef double InputPixelType;
-  typedef double OutputPixelType;
-  const unsigned int Dimension = 2;
-
-  typedef otb::Image<InputPixelType,  Dimension>                                  InputImageType;
-  typedef otb::Image<OutputPixelType, Dimension>                                  OutputImageType;
-  typedef otb::OverlapSaveConvolutionImageFilter<InputImageType, OutputImageType> FilterType;
-
-  FilterType::Pointer conv = FilterType::New();
-
-  std::cout << conv << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Filtering/DEM/test/CMakeLists.txt b/Modules/Filtering/DEM/test/CMakeLists.txt
index 0bac71be08..78ce6fe5e1 100644
--- a/Modules/Filtering/DEM/test/CMakeLists.txt
+++ b/Modules/Filtering/DEM/test/CMakeLists.txt
@@ -21,10 +21,8 @@
 otb_module_test()
 set(OTBDEMTests
   otbDEMToImageGeneratorFromImageTest.cxx
-  otbDEMToImageGeneratorNew.cxx
   otbDEMToImageGeneratorTest.cxx
   otbDEMCaracteristicsExtractor.cxx
-  otbDEMCaracteristicsExtractorNew.cxx
   otbDEMTestDriver.cxx  )
 
 add_executable(otbDEMTestDriver ${OTBDEMTests})
@@ -65,7 +63,6 @@ otb_add_test(NAME ioTvDEMToImageGeneratorFromImageTest2 COMMAND otbDEMTestDriver
   ${TEMP}/ioTvDEMToImageGeneratorFromImage_DEM_Extract2.tif
   10 15 16 64
   )
-otb_add_test(NAME ioTuDEMToImageGeneratorNew COMMAND otbDEMTestDriver otbDEMToImageGeneratorNew )
 otb_add_test(NAME ioTvDEMToImageGeneratorTest2 COMMAND otbDEMTestDriver
   --compare-image ${EPSILON_5}  ${BASELINE}/ioTvDEMToImageGenerator2.tif
   ${TEMP}/ioTvDEMToImageGenerator2.tif
@@ -117,6 +114,3 @@ otb_add_test(NAME raTvDEMCaracteristicsExtractor COMMAND otbDEMTestDriver
   ${TEMP}/raTvDEMCaracteristicsExtractorIncidence.tif
   ${TEMP}/raTvDEMCaracteristicsExtractorExitance.tif
   )
-otb_add_test(NAME raTuDEMCaracteristicsExtractorNew COMMAND otbDEMTestDriver
-  otbDEMCaracteristicsExtractorNew
-  )
diff --git a/Modules/Filtering/DEM/test/otbDEMCaracteristicsExtractorNew.cxx b/Modules/Filtering/DEM/test/otbDEMCaracteristicsExtractorNew.cxx
deleted file mode 100644
index 9cb87971c5..0000000000
--- a/Modules/Filtering/DEM/test/otbDEMCaracteristicsExtractorNew.cxx
+++ /dev/null
@@ -1,37 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#include "itkMacro.h"
-
-#include "otbDEMCaracteristicsExtractor.h"
-
-int otbDEMCaracteristicsExtractorNew(int itkNotUsed(argc), char * itkNotUsed(argv)[])
-{
-  const unsigned int Dimension = 2;
-  typedef double                                                          PixelType;
-  typedef otb::Image<PixelType, Dimension>                                InputImageType;
-  typedef otb::DEMCaracteristicsExtractor<InputImageType, InputImageType> DEMCaracteristicsExtractorType;
-
-  DEMCaracteristicsExtractorType::Pointer filter = DEMCaracteristicsExtractorType::New();
-
-  std::cout << filter << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Filtering/DEM/test/otbDEMToImageGeneratorNew.cxx b/Modules/Filtering/DEM/test/otbDEMToImageGeneratorNew.cxx
deleted file mode 100644
index 1daa10d99e..0000000000
--- a/Modules/Filtering/DEM/test/otbDEMToImageGeneratorNew.cxx
+++ /dev/null
@@ -1,37 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#include "itkMacro.h"
-
-#include "otbDEMToImageGenerator.h"
-
-int otbDEMToImageGeneratorNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  const unsigned int Dimension = 2;
-  typedef otb::Image<unsigned char, Dimension> ImageType;
-  typedef otb::DEMToImageGenerator<ImageType>  DEMToImageGeneratorType;
-
-  // Instantiating object
-  DEMToImageGeneratorType::Pointer object = DEMToImageGeneratorType::New();
-
-  std::cout << object << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Filtering/DimensionalityReduction/test/CMakeLists.txt b/Modules/Filtering/DimensionalityReduction/test/CMakeLists.txt
index ad640d757d..8c2e08b1e2 100644
--- a/Modules/Filtering/DimensionalityReduction/test/CMakeLists.txt
+++ b/Modules/Filtering/DimensionalityReduction/test/CMakeLists.txt
@@ -22,21 +22,15 @@ otb_module_test()
 
 set(OTBDimensionalityReductionTests
 otbDimensionalityReductionTestDriver.cxx
-otbNormalizeInnerProductPCAImageFilterNew.cxx
 otbFastICAImageFilter.cxx
 otbNormalizeInnerProductPCAImageFilter.cxx
 otbMaximumAutocorrelationFactorImageFilter.cxx
 otbMNFImageFilter.cxx
 otbInnerProductPCAImageFilter.cxx
-otbEstimateInnerProductPCAImageFilterNew.cxx
 otbEstimateInnerProductPCAImageFilter.cxx
 otbPCAImageFilter.cxx
 otbAngularProjectionSetImageFilter.cxx
-otbAngularProjectionSetImageFilterNew.cxx
 otbNAPCAImageFilter.cxx
-otbInnerProductPCAImageFilterNew.cxx
-otbSparseWvltToAngleMapperListFilterNew.cxx
-otbAngularProjectionImageFilterNew.cxx
 otbAngularProjectionImageFilter.cxx
 otbAngularProjectionBinaryImageFilter.cxx
 otbSparseWvltToAngleMapperListFilter.cxx
@@ -49,12 +43,6 @@ otb_module_target_label(otbDimensionalityReductionTestDriver)
 
 # Tests Declaration
 
-otb_add_test(NAME bfTuNormalizeInnerProductPCAImageFilterNew COMMAND otbDimensionalityReductionTestDriver
-  otbNormalizeInnerProductPCAImageFilterNew )
-
-otb_add_test(NAME bfTuFastICAImageFilterNew COMMAND otbDimensionalityReductionTestDriver
-  otbFastICAImageFilterNewTest)
-
 #otb_add_test(NAME bfTvFastICAImageFilter COMMAND otbDimensionalityReductionTestDriver
   #--compare-n-images ${EPSILON_7} 2
   #${BASELINE}/hyTvFastICAImageFilter.tif
@@ -66,9 +54,6 @@ otb_add_test(NAME bfTuFastICAImageFilterNew COMMAND otbDimensionalityReductionTe
   #-inv ${TEMP}/hyTvFastICAImageFilterInv.tif
   #-out ${TEMP}/hyTvFastICAImageFilter.tif)
 
-otb_add_test(NAME bfTuFastICAInternalOptimizerVectorImageFilterNew COMMAND otbDimensionalityReductionTestDriver
-  otbFastICAInternalOptimizerVectorImageFilterNewTest)
-
 otb_add_test(NAME bfTvNormalizeInnerProductPCAImageFilter COMMAND otbDimensionalityReductionTestDriver
   --compare-image ${EPSILON_12}
   ${BASELINE}/bfNormalizeInnerProductPCAImageFilter.tif
@@ -87,9 +72,6 @@ otb_add_test(NAME bfTvMaximumAutocorrelationFactorImageFilter COMMAND otbDimensi
   ${TEMP}/bfTvMaximumAutocorrelationFactorImageFilterOutput.tif
   )
 
-otb_add_test(NAME bfTuMaximumAutocorrelationFactorImageFilterNew COMMAND otbDimensionalityReductionTestDriver
-  otbMaximumAutocorrelationFactorImageFilterNew
-  )
 
 otb_add_test(NAME bfTvMNFImageFilter3 COMMAND otbDimensionalityReductionTestDriver
   --compare-n-images ${EPSILON_7} 2
@@ -230,9 +212,6 @@ otb_add_test(NAME bfTvInnerProductPCAImageFilter COMMAND otbDimensionalityReduct
   ${TEMP}/bfInnerProductPCAImageFilter_pc3.tif
   )
 
-otb_add_test(NAME bfTuEstimateInnerProductPCAImageFilterNew COMMAND otbDimensionalityReductionTestDriver
-  otbEstimateInnerProductPCAImageFilterNew )
-
 otb_add_test(NAME bfTvEstimateInnerProductPCAImageFilterDisableCenterData COMMAND otbDimensionalityReductionTestDriver
   --compare-image ${EPSILON_7}
   ${BASELINE}/bfEstimateInnerProductPCAImageFilterDisableCenterData.tif
@@ -277,9 +256,6 @@ otb_add_test(NAME bfTvEstimateInnerProductPCAImageFilter COMMAND otbDimensionali
   1 #center data
   )
 
-otb_add_test(NAME bfTuPCAImageFilterNew COMMAND otbDimensionalityReductionTestDriver
-  otbPCAImageFilterNewTest)
-
 otb_add_test(NAME bfTvPCAImageFilter2 COMMAND otbDimensionalityReductionTestDriver
   --compare-image ${EPSILON_7}
   ${INPUTDATA}/cupriteSubHsi.tif
@@ -348,12 +324,6 @@ otb_add_test(NAME bfTvPCAImageFilter3Norm COMMAND otbDimensionalityReductionTest
   -inv ${TEMP}/bfTvPCAImageFilter3InvNorm.tif
   -norm)
 
-otb_add_test(NAME bfTuAngularProjectionSetImageFilterNew COMMAND otbDimensionalityReductionTestDriver
-  otbAngularProjectionSetImageFilterNew)
-
-otb_add_test(NAME bfTuNAPCAImageFilterNew COMMAND otbDimensionalityReductionTestDriver
-  otbNAPCAImageFilterNewTest)
-
 otb_add_test(NAME bfTvNAPCAImageFilter1 COMMAND otbDimensionalityReductionTestDriver
   --compare-image ${EPSILON_7}
   ${INPUTDATA}/cupriteSubHsi.tif
@@ -398,18 +368,6 @@ otb_add_test(NAME bfTvNAPCAImageFilter4 COMMAND otbDimensionalityReductionTestDr
   -norm
   -n 4)
 
-otb_add_test(NAME bfTuInnerProductPCAImageFilterNew COMMAND otbDimensionalityReductionTestDriver
-  otbInnerProductPCAImageFilterNew )
-
-otb_add_test(NAME bfTuSparseWvltToAngleMapperListFilterNew COMMAND otbDimensionalityReductionTestDriver
-  otbSparseWvltToAngleMapperListFilterNew)
-
-otb_add_test(NAME bfTuAngularProjectionImageFilterNew COMMAND otbDimensionalityReductionTestDriver
-  otbAngularProjectionImageFilterNew)
-
-otb_add_test(NAME bfTuLocalActivityVectorImageFilterNew COMMAND otbDimensionalityReductionTestDriver
-  otbLocalActivityVectorImageFilterNewTest)
-otb_add_test(NAME bfTvLocalActivityVectorImageFilter COMMAND otbDimensionalityReductionTestDriver
   --compare-image ${EPSILON_7}
   ${BASELINE}/bfTvLocalActivityVectorImageFilter.tif
   ${TEMP}/bfTvLocalActivityVectorImageFilter.tif
diff --git a/Modules/Filtering/DimensionalityReduction/test/otbAngularProjectionImageFilterNew.cxx b/Modules/Filtering/DimensionalityReduction/test/otbAngularProjectionImageFilterNew.cxx
deleted file mode 100644
index cc02fad1c3..0000000000
--- a/Modules/Filtering/DimensionalityReduction/test/otbAngularProjectionImageFilterNew.cxx
+++ /dev/null
@@ -1,46 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-
-#include "itkFixedArray.h"
-
-#include "otbMath.h"
-#include "otbImage.h"
-#include "otbImageFileReader.h"
-#include "otbImageFileWriter.h"
-#include "otbCommandLineArgumentParser.h"
-
-#include "otbAngularProjectionImageFilter.h"
-
-int otbAngularProjectionImageFilterNew ( int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  const unsigned int Dimension = 2;
-
-  typedef float  PixelType;
-  typedef double PrecisionType;
-  typedef itk::FixedArray< PrecisionType, 1 > AngleType;
-  typedef otb::Image< PixelType, Dimension >  ImageType;
-
-  typedef otb::AngularProjectionImageFilter<
-    ImageType, ImageType, AngleType, PrecisionType > FilterType;
-
-  FilterType::Pointer filter = FilterType::New();
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Filtering/DimensionalityReduction/test/otbAngularProjectionSetImageFilterNew.cxx b/Modules/Filtering/DimensionalityReduction/test/otbAngularProjectionSetImageFilterNew.cxx
deleted file mode 100644
index ae7e87c85e..0000000000
--- a/Modules/Filtering/DimensionalityReduction/test/otbAngularProjectionSetImageFilterNew.cxx
+++ /dev/null
@@ -1,48 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-
-#include "itkListSample.h"
-
-#include "otbMath.h"
-#include "otbImage.h"
-#include "otbImageFileReader.h"
-#include "otbImageFileWriter.h"
-#include "otbCommandLineArgumentParser.h"
-
-#include "otbAngularProjectionSetImageFilter.h"
-
-int otbAngularProjectionSetImageFilterNew ( int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  const unsigned int Dimension = 2;
-  const unsigned int SpaceDimension = 3;
-
-  typedef float  PixelType;
-  typedef double PrecisionType;
-  typedef itk::FixedArray< PrecisionType, SpaceDimension > AngleType;
-  typedef itk::Statistics::ListSample< AngleType >         AngleListType;
-  typedef otb::Image< PixelType, Dimension >               ImageType;
-
-  typedef otb::AngularProjectionSetImageFilter<
-    ImageType, ImageType, AngleListType, PrecisionType > FilterType;
-
-  FilterType::Pointer filter = FilterType::New();
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Filtering/DimensionalityReduction/test/otbEstimateInnerProductPCAImageFilterNew.cxx b/Modules/Filtering/DimensionalityReduction/test/otbEstimateInnerProductPCAImageFilterNew.cxx
deleted file mode 100644
index 4c8f66e95c..0000000000
--- a/Modules/Filtering/DimensionalityReduction/test/otbEstimateInnerProductPCAImageFilterNew.cxx
+++ /dev/null
@@ -1,39 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#include "otbEstimateInnerProductPCAImageFilter.h"
-#include "otbVectorImage.h"
-
-int otbEstimateInnerProductPCAImageFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  typedef double PixelType;
-  const unsigned int Dimension = 2;
-
-  // Typedef
-  typedef otb::VectorImage<PixelType, Dimension>                        ImageType;
-  typedef otb::EstimateInnerProductPCAImageFilter<ImageType, ImageType> FilterType;
-
-  // Instantiation object
-  FilterType::Pointer filter = FilterType::New();
-
-  std::cout << filter << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Filtering/DimensionalityReduction/test/otbInnerProductPCAImageFilterNew.cxx b/Modules/Filtering/DimensionalityReduction/test/otbInnerProductPCAImageFilterNew.cxx
deleted file mode 100644
index e80f7dd2ef..0000000000
--- a/Modules/Filtering/DimensionalityReduction/test/otbInnerProductPCAImageFilterNew.cxx
+++ /dev/null
@@ -1,39 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#include "otbInnerProductPCAImageFilter.h"
-#include "otbVectorImage.h"
-
-int otbInnerProductPCAImageFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  typedef double PixelType;
-  const unsigned int Dimension = 2;
-
-  // Typedef
-  typedef otb::VectorImage<PixelType, Dimension>                ImageType;
-  typedef otb::InnerProductPCAImageFilter<ImageType, ImageType> FilterType;
-
-  // Instantiation object
-  FilterType::Pointer filter = FilterType::New();
-
-  std::cout << filter << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Filtering/DimensionalityReduction/test/otbNormalizeInnerProductPCAImageFilterNew.cxx b/Modules/Filtering/DimensionalityReduction/test/otbNormalizeInnerProductPCAImageFilterNew.cxx
deleted file mode 100644
index 111e052fa5..0000000000
--- a/Modules/Filtering/DimensionalityReduction/test/otbNormalizeInnerProductPCAImageFilterNew.cxx
+++ /dev/null
@@ -1,39 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#include "otbNormalizeInnerProductPCAImageFilter.h"
-#include "otbVectorImage.h"
-
-int otbNormalizeInnerProductPCAImageFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  typedef double PixelType;
-  const unsigned int Dimension = 2;
-
-  // Typedef
-  typedef otb::VectorImage<PixelType, Dimension>                         ImageType;
-  typedef otb::NormalizeInnerProductPCAImageFilter<ImageType, ImageType> FilterType;
-
-  // Instantiation object
-  FilterType::Pointer filter = FilterType::New();
-
-  std::cout << filter << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Filtering/DimensionalityReduction/test/otbSparseWvltToAngleMapperListFilterNew.cxx b/Modules/Filtering/DimensionalityReduction/test/otbSparseWvltToAngleMapperListFilterNew.cxx
deleted file mode 100644
index 4a56dd9183..0000000000
--- a/Modules/Filtering/DimensionalityReduction/test/otbSparseWvltToAngleMapperListFilterNew.cxx
+++ /dev/null
@@ -1,53 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-
-#include "otbImage.h"
-#include "otbWaveletOperator.h"
-#include "otbWaveletFilterBank.h"
-#include "otbWaveletTransform.h"
-#include "otbImageFileReader.h"
-#include "otbImageFileWriter.h"
-#include "otbCommandLineArgumentParser.h"
-
-#include "itkListSample.h"
-
-#include "otbSparseWvltToAngleMapperListFilter.h"
-
-int otbSparseWvltToAngleMapperListFilterNew ( int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  const unsigned int Dimension = 2;
-  const unsigned int SpaceDimension = 3;
-
-  typedef float  PixelType;
-  typedef double PrecisionType;
-
-  typedef itk::FixedArray< PrecisionType, SpaceDimension > AngleType;
-  typedef itk::Statistics::ListSample< AngleType >         AngleListType;
-
-  typedef otb::Image< PixelType, Dimension >  ImageType;
-  typedef otb::ImageList< ImageType >         ImageListType;
-  typedef otb::SparseWvltToAngleMapperListFilter<
-    ImageListType, AngleListType, SpaceDimension+1 > AngleListFilterType;
-
-  AngleListFilterType::Pointer filter = AngleListFilterType::New();
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Filtering/ImageManipulation/test/CMakeLists.txt b/Modules/Filtering/ImageManipulation/test/CMakeLists.txt
index 834a6d3da0..e889c55621 100644
--- a/Modules/Filtering/ImageManipulation/test/CMakeLists.txt
+++ b/Modules/Filtering/ImageManipulation/test/CMakeLists.txt
@@ -22,73 +22,47 @@ otb_module_test()
 
 set(OTBImageManipulationTests
 otbImageManipulationTestDriver.cxx
-otbBinaryImageDensityFunctionNew.cxx
 otbPrintableImageFilter.cxx
 otbConcatenateScalarValueImageFilterTest.cxx
 otbShiftScaleImageAdaptor.cxx
 otbImageToVectorImageCastFilter.cxx
 otbFunctionWithNeighborhoodToImageFilter.cxx
 otbSqrtSpectralAngleImageFilter.cxx
-otbUnaryFunctorNeighborhoodImageFilterNew.cxx
 otbStreamingShrinkImageFilter.cxx
-otbUnaryFunctorWithIndexImageFilterNew.cxx
-otbUnaryFunctorImageFilterNew.cxx
 otbUnaryImageFunctorWithVectorImageFilter.cxx
-otbImageToVectorImageCastFilterNew.cxx
 otbPrintableImageFilterWithMask.cxx
 otbStreamingResampleImageFilter.cxx
-otbUnaryFunctorNeighborhoodWithOffsetImageFilterNew.cxx
-otbBoxAndWhiskerImageFilterNew.cxx
 otbVectorImageToAmplitudeImageFilter.cxx
 otbUnaryFunctorNeighborhoodWithOffsetImageFilter.cxx
 otbStreamingResampleImageFilterCompareWithITK.cxx
 otbRegionProjectionResampler.cxx
-otbVectorImageTo3DScalarImageFilterNew.cxx
 otbUnaryFunctorWithIndexImageFilter.cxx
 otbMeanFunctorImageTest.cxx
-otbBinaryImageToDensityImageFilterNew.cxx
 otbVectorImageTo3DScalarImageFilter.cxx
 otbTileImageFilter.cxx
 otbMatrixImageFilterTest.cxx
 otbMatrixTransposeMatrixImageFilter.cxx
-otbPerBandVectorImageFilterNew.cxx
 otbUnaryFunctorNeighborhoodImageFilter.cxx
-otbStreamingResampleImageFilterNew.cxx
 otbStreamingInnerProductVectorImageFilter.cxx
 otbPhaseFunctorTest.cxx
-otbShiftScaleVectorImageFilterNew.cxx
 otbChangeLabelImageFilter.cxx
-otbPrintableImageFilterNew.cxx
-otbShiftScaleImageAdaptorNew.cxx
-otbStreamingInnerProductVectorImageFilterNew.cxx
 otbBoxAndWhiskerImageFilter.cxx
-otbStreamingShrinkImageFilterNew.cxx
 otbVectorRescaleIntensityImageFilter.cxx
 otbLog10ThresholdedImageFilterTest.cxx
-otbChangeLabelImageFilterNew.cxx
-otbMatrixTransposeMatrixImageFilterNew.cxx
 otbExtractROIResample.cxx
 otbLocalGradientVectorImageFilter.cxx
 otbBinaryImageMinimalBoundingRegionCalculator.cxx
 otbPerBandVectorImageFilterWithSobelFilter.cxx
 otbBinaryImageDensityFunction.cxx
-otbVectorImageToAmplitudeImageFilterNew.cxx
 otbThresholdVectorImageFilter.cxx
 otbPerBandVectorImageFilterWithMeanFilter.cxx
-otbConcatenateVectorImageFilterNew.cxx
 otbAmplitudeFunctorTest.cxx
 otbMultiplyByScalarImageTest.cxx
 otbClampImageFilter.cxx
 otbConcatenateVectorImageFilter.cxx
-otbBinaryImageMinimalBoundingRegionCalculatorNew.cxx
-otbVectorRescaleIntensityImageFilterNew.cxx
-otbSpectralAngleDistanceImageFilterNew.cxx
-otbUnaryImageFunctorWithVectorImageFilterNew.cxx
 otbBinaryImageToDensityImageFilter.cxx
 otbSpectralAngleDistanceImageFilter.cxx
-otbFunctionWithNeighborhoodToImageFilterNew.cxx
 otbEuclideanDistanceMetricWithMissingValue.cxx
-otbEuclideanDistanceMetricWithMissingValueNew.cxx
 otbNRIBandImagesToOneNComplexBandsImage.cxx
 otbOneRIBandImageToOneComplexBandImage.cxx
 otbTwoNRIBandsImageToNComplexBandsImage.cxx
@@ -108,9 +82,6 @@ otb_module_target_label(otbImageManipulationTestDriver)
 
 
 
-otb_add_test(NAME bfTuBinaryImageDensityFunctionNew COMMAND  otbImageManipulationTestDriver
-  otbBinaryImageDensityFunctionNew
-  )
 
 otb_add_test(NAME bfTvPrintableImageFilter COMMAND otbImageManipulationTestDriver
   --compare-image ${NOTOL}
@@ -124,9 +95,6 @@ otb_add_test(NAME bfTvPrintableImageFilter COMMAND otbImageManipulationTestDrive
 otb_add_test(NAME bfTvConcatenateScalarValueImageFilterTest COMMAND otbImageManipulationTestDriver
   otbConcatenateScalarValueImageFilterTest )
 
-otb_add_test(NAME bfTuConcatenateScalarValueImageFilterNew COMMAND otbImageManipulationTestDriver
-  otbConcatenateScalarValueImageFilterNew )
-
 
 otb_add_test(NAME coTvImageToVectorImageCastFilter COMMAND otbImageManipulationTestDriver
   --compare-image ${NOTOL}
@@ -156,9 +124,6 @@ otb_add_test(NAME feTvSqrtSpectralAngleImageFilter COMMAND otbImageManipulationT
   185 270 150 619 #reference pixel
   )
 
-otb_add_test(NAME coTuUnaryFunctorNeighborhoodImageFilterNew COMMAND otbImageManipulationTestDriver
-  otbUnaryFunctorNeighborhoodImageFilterNew
-  )
 
 otb_add_test(NAME bfTvStreamingShrinkImageFilterQBPAN COMMAND otbImageManipulationTestDriver
   --compare-image ${NOTOL}
@@ -180,13 +145,7 @@ otb_add_test(NAME bfTvStreamingShrinkImageFilterQBMUL COMMAND otbImageManipulati
   20
   )
 
-otb_add_test(NAME coTuUnaryFunctorWithIndexImageFilterNew COMMAND otbImageManipulationTestDriver
-  otbUnaryFunctorWithIndexImageFilterNew
-  )
-
 
-otb_add_test(NAME bfTuUnaryFunctorImageFilterNew COMMAND otbImageManipulationTestDriver
-  otbUnaryFunctorImageFilterNew)
 
 
 
@@ -223,12 +182,6 @@ otb_add_test(NAME bfTvStreamingResampleImageFilter COMMAND otbImageManipulationT
   ${TEMP}/bfTvStreamingResamplePoupeesTest.tif
   )
 
-otb_add_test(NAME coTuUnaryFunctorNeighborhoodWithOffsetImageFilterNew COMMAND otbImageManipulationTestDriver
-  otbUnaryFunctorNeighborhoodWithOffsetImageFilterNew
-  )
-
-otb_add_test(NAME bfTuBoxAndWhiskerImageFilterNew COMMAND otbImageManipulationTestDriver
-  otbBoxAndWhiskerImageFilterNew )
 
 otb_add_test(NAME bfTvVectorImageToAmplitudeImageFilter COMMAND otbImageManipulationTestDriver
   --compare-image ${EPSILON_7}
@@ -290,9 +243,6 @@ otb_add_test(NAME prTvRegionProjectionResamplerCevennes COMMAND otbImageManipula
   -0.00001
   )
 
-otb_add_test(NAME bfTuVectorImageTo3DScalarImageFilterNew COMMAND otbImageManipulationTestDriver
-  otbVectorImageTo3DScalarImageFilterNew)
-
 otb_add_test(NAME coTvUnaryFunctorWithIndexImageFilter COMMAND otbImageManipulationTestDriver
   --compare-image ${NOTOL}
   ${INPUTDATA}/poupees.tif
@@ -312,9 +262,6 @@ otb_add_test(NAME bfTvMeanFunctorImageTest COMMAND otbImageManipulationTestDrive
 
 
 
-otb_add_test(NAME bfTuBinaryImageToImageDensityFilterNew COMMAND  otbImageManipulationTestDriver
-  otbBinaryImageToDensityImageFilterNew
-  )
 
 otb_add_test(NAME bfTvVectorImageTo3DScalarImageFilter COMMAND otbImageManipulationTestDriver
   --compare-image ${NOTOL}
@@ -338,13 +285,7 @@ otb_add_test(NAME bfTvTileImageFilter COMMAND otbImageManipulationTestDriver
   ${INPUTDATA}/ROI_QB_MUL_4.tif
   )
 
-otb_add_test(NAME bfTuTileImageFilterNew COMMAND otbImageManipulationTestDriver
-  otbTileImageFilterNew
-  )
 
-otb_add_test(NAME bfTuMatrixImageFilterNew COMMAND otbImageManipulationTestDriver
-  otbMatrixImageFilterNew
-  )
 
 otb_add_test(NAME bfTvMatrixImageFilterTest_1 COMMAND otbImageManipulationTestDriver
   --compare-image ${NOTOL}
@@ -386,9 +327,6 @@ otb_add_test(NAME bfTvMatrixTransposeMatrixImageFilter COMMAND otbImageManipulat
   ${TEMP}/bfTvMatrixTransposeMatrixImageFilterResults.txt
   )
 
-otb_add_test(NAME bfTuPerBandVectorImageFilterNew COMMAND otbImageManipulationTestDriver
-  otbPerBandVectorImageFilterNew)
-
 
 otb_add_test(NAME coTvUnaryFunctorNeighborhoodImageFilter COMMAND otbImageManipulationTestDriver
   --compare-image ${NOTOL}
@@ -400,9 +338,6 @@ otb_add_test(NAME coTvUnaryFunctorNeighborhoodImageFilter COMMAND otbImageManipu
   3
   )
 
-otb_add_test(NAME bfTuStreamingResampleImageFilterNew COMMAND otbImageManipulationTestDriver
-  otbStreamingResampleImageFilterNew)
-
 otb_add_test(NAME bfTvStreamingInnerProductVectorImageFilterDisableCenterData COMMAND otbImageManipulationTestDriver
   --compare-ascii 0.000001
   ${BASELINE_FILES}/bfStreamingInnerProductVectorImageFilterResultsDisableCenterData.txt
@@ -427,9 +362,6 @@ otb_add_test(NAME bfTvPhaseFunctorTest COMMAND otbImageManipulationTestDriver
   otbPhaseFunctorTest
   )
 
-otb_add_test(NAME bfTuShiftScaleVectorImageFilterNew COMMAND otbImageManipulationTestDriver
-  otbShiftScaleVectorImageFilterNew)
-
 otb_add_test(NAME bfTvChangeLabelImageFilter COMMAND otbImageManipulationTestDriver
   --compare-image ${NOTOL}
   ${BASELINE}/bfChangeLabelImageFilter.tif
@@ -441,12 +373,6 @@ otb_add_test(NAME bfTvChangeLabelImageFilter COMMAND otbImageManipulationTestDri
   255   # upper  threshold
   )
 
-otb_add_test(NAME bfTuPrintableImageFilterNew COMMAND otbImageManipulationTestDriver
-  otbPrintableImageFilterNew)
-
-otb_add_test(NAME coTuShiftScaleImageAdaptorNew COMMAND otbImageManipulationTestDriver
-  otbShiftScaleImageAdaptorNew
-  )
 
 otb_add_test(NAME coTvShiftScaleImageAdaptor COMMAND otbImageManipulationTestDriver
   --compare-image ${EPSILON_9}
@@ -457,9 +383,6 @@ otb_add_test(NAME coTvShiftScaleImageAdaptor COMMAND otbImageManipulationTestDri
   ${TEMP}/coTvShiftScaleImageAdaptor.tif
   )
 
-otb_add_test(NAME bfTuStreamingInnerProductVectorImageFilterNew COMMAND otbImageManipulationTestDriver
-  otbStreamingInnerProductVectorImageFilterNew
-  )
 
 
 
@@ -481,9 +404,6 @@ otb_add_test(NAME bfTvBoxAndWhiskerImageFilter COMMAND otbImageManipulationTestD
   ${TEMP}/bfBoxAndWhiskerImageFilter_05_05.tif
   05 05)
 
-otb_add_test(NAME bfTuStreamingShrinkImageFilterNew COMMAND otbImageManipulationTestDriver
-  otbStreamingShrinkImageFilterNew)
-
 otb_add_test(NAME bfTvVectorRescaleIntensityImageFilter COMMAND otbImageManipulationTestDriver
   --compare-image ${EPSILON_7}
   ${BASELINE}/bfTvVectorRescaleIntensityOutput.png
@@ -502,15 +422,9 @@ otb_add_test(NAME bfTvotbLog10ThresholdedImageFilterTest COMMAND otbImageManipul
   ${TEMP}/bfTvLog10ThresholdedImageFilterTest.txt
   )
 
-otb_add_test(NAME bfTuChangeLabelImageFilterNew COMMAND otbImageManipulationTestDriver
-  otbChangeLabelImageFilterNew
-  )
-
 
 
 
-otb_add_test(NAME bfTuMatrixTransposeMatrixImageFilterNew COMMAND otbImageManipulationTestDriver
-  otbMatrixTransposeMatrixImageFilterNew)
 
 otb_add_test(NAME bfTvExtractROIResample2 COMMAND otbImageManipulationTestDriver
   --compare-image ${NOTOL}
@@ -540,9 +454,6 @@ otb_add_test(NAME bfTvLocalGradientVectorImageFilter COMMAND otbImageManipulatio
   -in ${INPUTDATA}/cupriteSubHsi.tif
   -out ${TEMP}/bfTvLocalGradientVectorImageFilter.tif)
 
-otb_add_test(NAME bfTuLocalGradientVectorImageFilterNew COMMAND otbImageManipulationTestDriver
-  otbLocalGradientVectorImageFilterNewTest)
-
 otb_add_test(NAME bfTvBoundingRegionCalculator COMMAND otbImageManipulationTestDriver
   --compare-ascii ${NOTOL}
   ${BASELINE_FILES}/bfBoundingRegionCalculatorOutput.txt
@@ -575,9 +486,6 @@ otb_add_test(NAME bfTvBinaryImageDensityFunction COMMAND otbImageManipulationTes
   ${TEMP}/bfTvBinaryImageDensityFunctionOutputAscii.txt
   )
 
-otb_add_test(NAME bfTuVectorImageToAmplitudeImageFilterNew COMMAND otbImageManipulationTestDriver
-  otbVectorImageToAmplitudeImageFilterNew)
-
 otb_add_test(NAME bfTvThresholdVectorImageFilterTest COMMAND otbImageManipulationTestDriver
   --compare-image 0.0001
   ${BASELINE}/bfTvThresholdVectorImageFilterTest_Output.tif
@@ -587,9 +495,6 @@ otb_add_test(NAME bfTvThresholdVectorImageFilterTest COMMAND otbImageManipulatio
   ${TEMP}/bfTvThresholdVectorImageFilterTest_Output.tif
   )
 
-otb_add_test(NAME bfTuThresholdVectorImageFilterNew COMMAND otbImageManipulationTestDriver
-  otbThresholdVectorImageFilterNew
-  )
 
 otb_add_test(NAME bfTvPerBandVectorImageFilterWithMeanFilter COMMAND otbImageManipulationTestDriver
   --compare-image ${EPSILON_7}
@@ -600,9 +505,6 @@ otb_add_test(NAME bfTvPerBandVectorImageFilterWithMeanFilter COMMAND otbImageMan
   ${TEMP}/bfTvPerBandVectorImageFilterWithMeanFilterOutput.hdr
   )
 
-otb_add_test(NAME coTuConcatenateVectorImageFilterNew COMMAND otbImageManipulationTestDriver
-  otbConcatenateVectorImageFilterNew)
-
 otb_add_test(NAME bfTvAmplitudeFunctorTest COMMAND otbImageManipulationTestDriver
   otbAmplitudeFunctorTest
   )
@@ -610,9 +512,6 @@ otb_add_test(NAME bfTvAmplitudeFunctorTest COMMAND otbImageManipulationTestDrive
 otb_add_test(NAME feTvMultiplyByScalarImage COMMAND otbImageManipulationTestDriver
   otbMultiplyByScalarImageFilterTest)
 
-otb_add_test(NAME bfTuClampImageFilterNew COMMAND otbImageManipulationTestDriver
-  otbClampImageFilterNew
-  )
 
 otb_add_test(NAME bfTvClampImageFilterTest COMMAND otbImageManipulationTestDriver
   --compare-image 0.0001
@@ -638,18 +537,6 @@ otb_add_test(NAME coTvConcatenateVectorImageFilter COMMAND otbImageManipulationT
   ${TEMP}/coConcatenateVectorImageFilterOutput1.hdr
   )
 
-otb_add_test(NAME bfTuBoundingRegionCalculatorNew COMMAND otbImageManipulationTestDriver
-  otbBinaryImageMinimalBoundingRegionCalculatorNew)
-
-otb_add_test(NAME bfTuVectorRescaleIntensityImageFilterNew COMMAND otbImageManipulationTestDriver
-  otbVectorRescaleIntensityImageFilterNew)
-
-otb_add_test(NAME bfTuSpectralAngleDistanceImageFilterNew COMMAND otbImageManipulationTestDriver
-  otbSpectralAngleDistanceImageFilterNew)
-
-otb_add_test(NAME bfTuUnaryImageFunctorWithVectorImageFilterNew COMMAND otbImageManipulationTestDriver
-  otbUnaryImageFunctorWithVectorImageFilterNew)
-
 otb_add_test(NAME bfTvBinaryImageToDensityImageFilter COMMAND otbImageManipulationTestDriver
   --compare-image ${EPSILON_7}
   ${BASELINE}/bfTvBinaryImageToDensityImageFilterOutputImage.tif
@@ -679,15 +566,9 @@ otb_add_test(NAME bfTvSpectralAngleDistanceImageFilterOneChannel COMMAND otbImag
   )
 set_property(TEST bfTvSpectralAngleDistanceImageFilterOneChannel PROPERTY WILL_FAIL true)
 
-otb_add_test(NAME bfTvFunctionWithNeighborhoodToImageFilterNew COMMAND otbImageManipulationTestDriver
-  otbFunctionWithNeighborhoodToImageFilterNew
-  )
 
 otb_add_test(NAME bfTvEuclideanDistanceMetricWithMissingValue COMMAND otbImageManipulationTestDriver
   otbEuclideanDistanceMetricWithMissingValue)
-otb_add_test(NAME bfTuEuclideanDistanceMetricWithMissingValueNew COMMAND otbImageManipulationTestDriver
-  otbEuclideanDistanceMetricWithMissingValueNew)
-
 otb_add_test(NAME bfTvTwoNRIBandsImageToNComplexBandsImage COMMAND otbImageManipulationTestDriver
   --compare-image ${EPSILON_7}
   ${BASELINE}/bfTvNRIBandImagesToOneNComplexBandsImage.tif
@@ -731,9 +612,6 @@ otb_add_test(NAME bfTvChangeInformationImageFilter COMMAND  otbImageManipulation
 
 otb_add_test(NAME    otbGridResampleImageFilter
              COMMAND otbImageManipulationTestDriver otbGridResampleImageFilter)
-otb_add_test(NAME bfTuMaskedIteratorDecoratorNew COMMAND otbImageManipulationTestDriver
-  otbMaskedIteratorDecoratorNew
-)
 
 otb_add_test(NAME bfTvMaskedIteratorDecoratorNominal COMMAND otbImageManipulationTestDriver
   otbMaskedIteratorDecoratorNominal
diff --git a/Modules/Filtering/ImageManipulation/test/otbBinaryImageDensityFunctionNew.cxx b/Modules/Filtering/ImageManipulation/test/otbBinaryImageDensityFunctionNew.cxx
deleted file mode 100644
index f6e87da862..0000000000
--- a/Modules/Filtering/ImageManipulation/test/otbBinaryImageDensityFunctionNew.cxx
+++ /dev/null
@@ -1,46 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-
-#include <stdio.h>
-
-#include "otbPointSetDensityFunction.h"
-#include "itkPointSet.h"
-#include "itkVariableLengthVector.h"
-
-#include "otbBinaryImageDensityFunction.h"
-#include "otbImage.h"
-
-int otbBinaryImageDensityFunctionNew(int, char*[])
-{
-
-  const unsigned int Dimension = 2;
-  typedef float                            PixelType;
-  typedef otb::Image<PixelType, Dimension> InputImageType;
-
-  typedef otb::BinaryImageDensityFunction<InputImageType> FunctionType;
-
-  /**Instantiation of a Smart Pointer*/
-  FunctionType::Pointer filter = FunctionType::New();
-
-  std::cout << filter << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Filtering/ImageManipulation/test/otbBinaryImageMinimalBoundingRegionCalculatorNew.cxx b/Modules/Filtering/ImageManipulation/test/otbBinaryImageMinimalBoundingRegionCalculatorNew.cxx
deleted file mode 100644
index 66536bc7f5..0000000000
--- a/Modules/Filtering/ImageManipulation/test/otbBinaryImageMinimalBoundingRegionCalculatorNew.cxx
+++ /dev/null
@@ -1,40 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#include "itkMacro.h"
-#include "otbImage.h"
-#include "otbBinaryImageMinimalBoundingRegionCalculator.h"
-
-int otbBinaryImageMinimalBoundingRegionCalculatorNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  const unsigned int Dimension = 2;
-
-  typedef unsigned char                    PixelType;
-  typedef otb::Image<PixelType, Dimension> ImageType;
-  typedef otb::BinaryImageMinimalBoundingRegionCalculator<ImageType>
-  BoundingRegionCalculatorType;
-
-  //Instantiation
-  BoundingRegionCalculatorType::Pointer brct = BoundingRegionCalculatorType::New();
-
-  std::cout << brct << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Filtering/ImageManipulation/test/otbBinaryImageToDensityImageFilterNew.cxx b/Modules/Filtering/ImageManipulation/test/otbBinaryImageToDensityImageFilterNew.cxx
deleted file mode 100644
index ce19bee879..0000000000
--- a/Modules/Filtering/ImageManipulation/test/otbBinaryImageToDensityImageFilterNew.cxx
+++ /dev/null
@@ -1,47 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-
-#include <stdio.h>
-
-#include "otbPointSetDensityFunction.h"
-#include "itkPointSet.h"
-#include "itkVariableLengthVector.h"
-
-#include "otbBinaryImageDensityFunction.h"
-#include "otbBinaryImageToDensityImageFilter.h"
-#include "otbImage.h"
-
-int otbBinaryImageToDensityImageFilterNew(int, char*[])
-{
-
-  const unsigned int Dimension = 2;
-  typedef float                                                                                   PixelType;
-  typedef otb::Image<PixelType, Dimension>                                                        InputImageType;
-  typedef otb::BinaryImageDensityFunction<InputImageType>                                         CountFunctionType;
-  typedef otb::BinaryImageToDensityImageFilter<InputImageType, InputImageType, CountFunctionType> FilterType;
-
-  /**Instantiation of a Smart Pointer*/
-  FilterType::Pointer filter = FilterType::New();
-
-  std::cout << filter << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Filtering/ImageManipulation/test/otbBoxAndWhiskerImageFilterNew.cxx b/Modules/Filtering/ImageManipulation/test/otbBoxAndWhiskerImageFilterNew.cxx
deleted file mode 100644
index 5a2b70b506..0000000000
--- a/Modules/Filtering/ImageManipulation/test/otbBoxAndWhiskerImageFilterNew.cxx
+++ /dev/null
@@ -1,41 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- * Copyright (C) 2007-2012 Institut Mines Telecom / Telecom Bretagne
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-
-#include <iostream>
-#include <cstdlib>
-
-#include "otbVectorImage.h"
-#include "otbBoxAndWhiskerImageFilter.h"
-
-int otbBoxAndWhiskerImageFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  const unsigned int Dimension = 2;
-  typedef double                                   PixelType;
-  typedef otb::VectorImage<PixelType, Dimension>   ImageType;
-  typedef otb::BoxAndWhiskerImageFilter<ImageType> FilterType;
-
-  FilterType::Pointer filter = FilterType::New();
-
-  std::cout << filter << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Filtering/ImageManipulation/test/otbChangeLabelImageFilterNew.cxx b/Modules/Filtering/ImageManipulation/test/otbChangeLabelImageFilterNew.cxx
deleted file mode 100644
index b5d515b10b..0000000000
--- a/Modules/Filtering/ImageManipulation/test/otbChangeLabelImageFilterNew.cxx
+++ /dev/null
@@ -1,42 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#include "itkMacro.h"
-
-#include "otbVectorImage.h"
-#include "otbChangeLabelImageFilter.h"
-#include "itkChangeLabelImageFilter.h"
-#include "otbImage.h"
-
-int otbChangeLabelImageFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  const unsigned int ImageDimension = 2;
-
-  typedef otb::Image<unsigned int, ImageDimension>       InputImageType;
-  typedef otb::VectorImage<unsigned int, ImageDimension> OutputImageType;
-
-  typedef otb::ChangeLabelImageFilter<InputImageType, OutputImageType> FilterType;
-
-  FilterType::Pointer filter = FilterType::New();
-
-  std::cout << filter << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Filtering/ImageManipulation/test/otbConcatenateVectorImageFilterNew.cxx b/Modules/Filtering/ImageManipulation/test/otbConcatenateVectorImageFilterNew.cxx
deleted file mode 100644
index 76bd04f7c8..0000000000
--- a/Modules/Filtering/ImageManipulation/test/otbConcatenateVectorImageFilterNew.cxx
+++ /dev/null
@@ -1,38 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#include "itkMacro.h"
-
-#include "otbConcatenateVectorImageFilter.h"
-
-int otbConcatenateVectorImageFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  const unsigned int Dimension = 2;
-  typedef unsigned char                                                      PixelType;
-  typedef otb::VectorImage<PixelType, Dimension>                             ImageType;
-  typedef otb::ConcatenateVectorImageFilter<ImageType, ImageType, ImageType> FilterType;
-
-  // Instantiating adaptor object
-  FilterType::Pointer filter = FilterType::New();
-
-  std::cout << filter << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Filtering/ImageManipulation/test/otbEuclideanDistanceMetricWithMissingValueNew.cxx b/Modules/Filtering/ImageManipulation/test/otbEuclideanDistanceMetricWithMissingValueNew.cxx
deleted file mode 100644
index 4063cf31c5..0000000000
--- a/Modules/Filtering/ImageManipulation/test/otbEuclideanDistanceMetricWithMissingValueNew.cxx
+++ /dev/null
@@ -1,39 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- * Copyright (C) 2007-2012 Institut Mines Telecom / Telecom Bretagne
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-
-#include <iostream>
-#include <cstdlib>
-#include "itkVariableLengthVector.h"
-#include "otbEuclideanDistanceMetricWithMissingValue.h"
-
-int otbEuclideanDistanceMetricWithMissingValueNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-
-  typedef itk::VariableLengthVector<double>                              VectorType;
-  typedef otb::Statistics::EuclideanDistanceMetricWithMissingValue<VectorType> DistanceType;
-
-  DistanceType::Pointer dist = DistanceType::New();
-
-  std::cout << dist << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Filtering/ImageManipulation/test/otbFunctionWithNeighborhoodToImageFilterNew.cxx b/Modules/Filtering/ImageManipulation/test/otbFunctionWithNeighborhoodToImageFilterNew.cxx
deleted file mode 100644
index fe170a1c66..0000000000
--- a/Modules/Filtering/ImageManipulation/test/otbFunctionWithNeighborhoodToImageFilterNew.cxx
+++ /dev/null
@@ -1,75 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#include "itkMacro.h"
-#include "itkNeighborhood.h"
-#include "otbImage.h"
-//#include "itkVariableLengthVector.h"
-//#include "itkConstNeighborhoodIterator.h"
-#include "otbTextureImageFunction.h"
-#include "otbFunctionWithNeighborhoodToImageFilter.h"
-//#include "otbTextureFunctorBase.h"
-
-template <class TInputScalarType, class TOutputScalarType> //IterInput1, class TIterInput2, class TOutput>
-class TextureFunctorTest
-{
-public:
-  /** Return the texture name */
-  virtual std::string GetName() const
-  {
-    return "TextureFunctorTest";
-  }
-
-  TextureFunctorTest()
-  {
-    m_Offset.Fill(1);
-  }
-  virtual ~TextureFunctorTest() {}
-
-  typedef itk::Offset<>                          OffsetType;
-  typedef itk::Neighborhood<TInputScalarType, 2> NeighborhoodType;
-
-  void SetOffset(OffsetType off){ m_Offset = off; }
-
-  inline TOutputScalarType operator ()(const NeighborhoodType& neigh)
-  {
-    return static_cast<TOutputScalarType>(neigh.GetCenterValue());
-  }
-
-private:
-  OffsetType m_Offset;
-};
-
-int otbFunctionWithNeighborhoodToImageFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  const unsigned int Dimension = 2;
-  typedef double                                    PixelType;
-  typedef otb::Image<PixelType, Dimension>          ImageType;
-  typedef TextureFunctorTest<PixelType, PixelType>                                       FunctorType;
-  typedef otb::TextureImageFunction<ImageType, FunctorType>                              FunctionType;
-  typedef otb::FunctionWithNeighborhoodToImageFilter<ImageType, ImageType, FunctionType> FilterType;
-
-  // Instantiating object
-  FilterType::Pointer filter = FilterType::New();
-
-  std::cout << filter << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Filtering/ImageManipulation/test/otbImageToVectorImageCastFilterNew.cxx b/Modules/Filtering/ImageManipulation/test/otbImageToVectorImageCastFilterNew.cxx
deleted file mode 100644
index ba5df7ed3e..0000000000
--- a/Modules/Filtering/ImageManipulation/test/otbImageToVectorImageCastFilterNew.cxx
+++ /dev/null
@@ -1,42 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#include "itkMacro.h"
-#include "otbImageToVectorImageCastFilter.h"
-#include "otbVectorImage.h"
-#include "otbImage.h"
-
-int otbImageToVectorImageCastFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  typedef double PixelType;
-  const unsigned int Dimension = 2;
-
-  typedef otb::Image<PixelType, Dimension>       ImageType;
-  typedef otb::VectorImage<PixelType, Dimension> VectorImageType;
-
-  typedef otb::ImageToVectorImageCastFilter<ImageType, VectorImageType> VectorImageCastFilterType;
-
-  // Instantiation
-  VectorImageCastFilterType::Pointer caster = VectorImageCastFilterType::New();
-
-  std::cout << caster << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Filtering/ImageManipulation/test/otbMatrixTransposeMatrixImageFilterNew.cxx b/Modules/Filtering/ImageManipulation/test/otbMatrixTransposeMatrixImageFilterNew.cxx
deleted file mode 100644
index 8470c69500..0000000000
--- a/Modules/Filtering/ImageManipulation/test/otbMatrixTransposeMatrixImageFilterNew.cxx
+++ /dev/null
@@ -1,43 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-
-#include "itkMacro.h"
-#include "otbImage.h"
-#include "otbVectorImage.h"
-#include "otbStreamingMatrixTransposeMatrixImageFilter.h"
-
-int otbMatrixTransposeMatrixImageFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  const unsigned int Dimension = 2;
-  typedef unsigned char InputPixelType;
-
-  typedef otb::VectorImage<InputPixelType, Dimension> InputImage1Type;
-  typedef otb::VectorImage<InputPixelType, Dimension> InputImage2Type;
-  typedef otb::StreamingMatrixTransposeMatrixImageFilter<InputImage1Type,
-      InputImage2Type> MatrixTransposeMatrixImageFilterType;
-
-  // Instantiation
-  MatrixTransposeMatrixImageFilterType::Pointer filter = MatrixTransposeMatrixImageFilterType::New();
-
-  std::cout << filter << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Filtering/ImageManipulation/test/otbPerBandVectorImageFilterNew.cxx b/Modules/Filtering/ImageManipulation/test/otbPerBandVectorImageFilterNew.cxx
deleted file mode 100644
index eeea99252d..0000000000
--- a/Modules/Filtering/ImageManipulation/test/otbPerBandVectorImageFilterNew.cxx
+++ /dev/null
@@ -1,45 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#include "itkMacro.h"
-
-#include "otbPerBandVectorImageFilter.h"
-#include "otbVectorImage.h"
-#include "itkUnaryFunctorImageFilter.h"
-#include "itkMeanImageFilter.h"
-
-int otbPerBandVectorImageFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  const unsigned int Dimension = 2;
-  typedef unsigned char                              PixelType;
-  typedef otb::Image<PixelType, Dimension>           ImageType;
-  typedef otb::VectorImage<PixelType, Dimension>     VectorImageType;
-  typedef itk::MeanImageFilter<ImageType, ImageType> MeanFilterType;
-
-  typedef otb::PerBandVectorImageFilter<VectorImageType, VectorImageType, MeanFilterType>
-  PerBandVectorImageFilterType;
-
-  // Instantiating object
-  PerBandVectorImageFilterType::Pointer filter = PerBandVectorImageFilterType::New();
-
-  std::cout << filter << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Filtering/ImageManipulation/test/otbPrintableImageFilterNew.cxx b/Modules/Filtering/ImageManipulation/test/otbPrintableImageFilterNew.cxx
deleted file mode 100644
index 6e2f8df953..0000000000
--- a/Modules/Filtering/ImageManipulation/test/otbPrintableImageFilterNew.cxx
+++ /dev/null
@@ -1,42 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-
-
-#include "itkMacro.h"
-#include "otbVectorImage.h"
-
-#include "otbPrintableImageFilter.h"
-
-int otbPrintableImageFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  typedef double InputPixelType;
-  const unsigned int Dimension = 2;
-
-  typedef otb::VectorImage<InputPixelType,  Dimension> InputImageType;
-
-  typedef otb::PrintableImageFilter<InputImageType> FilterType;
-
-  FilterType::Pointer printableImage = FilterType::New();
-
-  std::cout << printableImage << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Filtering/ImageManipulation/test/otbShiftScaleImageAdaptorNew.cxx b/Modules/Filtering/ImageManipulation/test/otbShiftScaleImageAdaptorNew.cxx
deleted file mode 100644
index 072e4065c9..0000000000
--- a/Modules/Filtering/ImageManipulation/test/otbShiftScaleImageAdaptorNew.cxx
+++ /dev/null
@@ -1,37 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-
-#include "itkMacro.h"
-#include "otbVectorImage.h"
-#include "otbShiftScaleImageAdaptor.h"
-
-int otbShiftScaleImageAdaptorNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  typedef double                                                 InputPixelType;
-  typedef otb::VectorImage<InputPixelType, 2>                    ImageType;
-  typedef otb::ShiftScaleImageAdaptor<ImageType, InputPixelType> FilterType;
-
-  FilterType::Pointer filter = FilterType::New();
-
-  std::cout << filter << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Filtering/ImageManipulation/test/otbShiftScaleVectorImageFilterNew.cxx b/Modules/Filtering/ImageManipulation/test/otbShiftScaleVectorImageFilterNew.cxx
deleted file mode 100644
index 7aa4430eb6..0000000000
--- a/Modules/Filtering/ImageManipulation/test/otbShiftScaleVectorImageFilterNew.cxx
+++ /dev/null
@@ -1,41 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#include "itkMacro.h"
-
-#include "otbShiftScaleVectorImageFilter.h"
-#include "otbVectorImage.h"
-
-int otbShiftScaleVectorImageFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  const unsigned int Dimension = 2;
-  typedef double                                                                  InputPixelType;
-  typedef int                                                                     OutputPixelType;
-  typedef otb::VectorImage<InputPixelType, Dimension>                             InputImageType;
-  typedef otb::VectorImage<OutputPixelType, Dimension>                            OutputImageType;
-  typedef otb::ShiftScaleVectorImageFilter<InputImageType, OutputImageType>       ShiftScaleVImageFilterType;
-
-  // Instantiating object
-  ShiftScaleVImageFilterType::Pointer filter = ShiftScaleVImageFilterType::New();
-
-  std::cout << filter << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Filtering/ImageManipulation/test/otbSpectralAngleDistanceImageFilterNew.cxx b/Modules/Filtering/ImageManipulation/test/otbSpectralAngleDistanceImageFilterNew.cxx
deleted file mode 100644
index 3a9de199fb..0000000000
--- a/Modules/Filtering/ImageManipulation/test/otbSpectralAngleDistanceImageFilterNew.cxx
+++ /dev/null
@@ -1,40 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#include "itkMacro.h"
-#include "otbImage.h"
-#include "otbVectorImage.h"
-#include "otbSpectralAngleDistanceImageFilter.h"
-
-int otbSpectralAngleDistanceImageFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  const unsigned int Dimension = 2;
-  typedef double                                                                 PixelType;
-  typedef otb::VectorImage<PixelType, Dimension>                                 InputImageType;
-  typedef otb::Image<PixelType, Dimension>                                       OutputImageType;
-  typedef otb::SpectralAngleDistanceImageFilter<InputImageType, OutputImageType> DistanceFilterType;
-
-  // Instantiating object
-  DistanceFilterType::Pointer filter = DistanceFilterType::New();
-
-  std::cout << filter << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Filtering/ImageManipulation/test/otbStreamingInnerProductVectorImageFilterNew.cxx b/Modules/Filtering/ImageManipulation/test/otbStreamingInnerProductVectorImageFilterNew.cxx
deleted file mode 100644
index 9695e719dc..0000000000
--- a/Modules/Filtering/ImageManipulation/test/otbStreamingInnerProductVectorImageFilterNew.cxx
+++ /dev/null
@@ -1,39 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#include "otbStreamingInnerProductVectorImageFilter.h"
-#include "otbVectorImage.h"
-
-int otbStreamingInnerProductVectorImageFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  typedef double PixelType;
-  const unsigned int Dimension = 2;
-
-  // Typedef
-  typedef otb::VectorImage<PixelType, Dimension>                 ImageType;
-  typedef otb::StreamingInnerProductVectorImageFilter<ImageType> FilterType;
-
-  // Instantiation object
-  FilterType::Pointer filter = FilterType::New();
-
-  std::cout << filter << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Filtering/ImageManipulation/test/otbStreamingResampleImageFilterNew.cxx b/Modules/Filtering/ImageManipulation/test/otbStreamingResampleImageFilterNew.cxx
deleted file mode 100644
index 38e462bc2e..0000000000
--- a/Modules/Filtering/ImageManipulation/test/otbStreamingResampleImageFilterNew.cxx
+++ /dev/null
@@ -1,43 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#include "itkMacro.h"
-
-#include "otbStreamingResampleImageFilter.h"
-
-int otbStreamingResampleImageFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  const unsigned int Dimension = 2;
-  typedef double                                 InputPixelType;
-  typedef unsigned char                          OutputPixelType;
-  typedef otb::Image<InputPixelType, Dimension>  InputImageType;
-  typedef otb::Image<OutputPixelType, Dimension> OutputImageType;
-  typedef double                                 InterpolatorPrecisionType;
-
-  typedef otb::StreamingResampleImageFilter<InputImageType, OutputImageType,
-      InterpolatorPrecisionType> StreamingResampleImageFilterType;
-
-  // Instantiating object
-  StreamingResampleImageFilterType::Pointer filter = StreamingResampleImageFilterType::New();
-
-  std::cout << filter << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Filtering/ImageManipulation/test/otbStreamingShrinkImageFilterNew.cxx b/Modules/Filtering/ImageManipulation/test/otbStreamingShrinkImageFilterNew.cxx
deleted file mode 100644
index 89724ee98c..0000000000
--- a/Modules/Filtering/ImageManipulation/test/otbStreamingShrinkImageFilterNew.cxx
+++ /dev/null
@@ -1,37 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#include "otbVectorImage.h"
-#include "otbStreamingShrinkImageFilter.h"
-
-int otbStreamingShrinkImageFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  const unsigned int Dimension = 2;
-
-  typedef unsigned char                                         PixelType;
-  typedef otb::VectorImage<PixelType, Dimension>                ImageType;
-  typedef otb::StreamingShrinkImageFilter<ImageType, ImageType> ShrinkType;
-
-  ShrinkType::Pointer filter = ShrinkType::New();
-
-  std::cout << filter << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Filtering/ImageManipulation/test/otbUnaryFunctorImageFilterNew.cxx b/Modules/Filtering/ImageManipulation/test/otbUnaryFunctorImageFilterNew.cxx
deleted file mode 100644
index 3c989ead78..0000000000
--- a/Modules/Filtering/ImageManipulation/test/otbUnaryFunctorImageFilterNew.cxx
+++ /dev/null
@@ -1,42 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-
-#include "otbVectorImage.h"
-#include "otbPhaseFunctor.h"
-#include "otbUnaryFunctorImageFilter.h"
-
-int otbUnaryFunctorImageFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  const unsigned int Dimension = 2;
-  typedef double                                         PixelType;
-  typedef otb::VectorImage<PixelType, Dimension>         InputImageType;
-  typedef InputImageType::InternalPixelType              InternalPixelType;
-  typedef otb::Function::PhaseFunctor<InternalPixelType> FunctorType;
-
-  typedef otb::UnaryFunctorImageFilter<InputImageType,
-      InputImageType,
-      FunctorType> FilterType;
-  FilterType::Pointer filter = FilterType::New();
-
-  std::cout << filter << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Filtering/ImageManipulation/test/otbUnaryFunctorNeighborhoodImageFilterNew.cxx b/Modules/Filtering/ImageManipulation/test/otbUnaryFunctorNeighborhoodImageFilterNew.cxx
deleted file mode 100644
index 22a397136a..0000000000
--- a/Modules/Filtering/ImageManipulation/test/otbUnaryFunctorNeighborhoodImageFilterNew.cxx
+++ /dev/null
@@ -1,60 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#include "itkMacro.h"
-
-#include "otbUnaryFunctorNeighborhoodImageFilter.h"
-#include "otbImage.h"
-
-namespace Functor
-{
-template <class TIter, class TOutput>
-class UnaryFunctorNeighborhoodImageFilterFunctorNewTest
-{
-public:
-  UnaryFunctorNeighborhoodImageFilterFunctorNewTest() {}
-  ~UnaryFunctorNeighborhoodImageFilterFunctorNewTest() {}
-
-  inline TOutput operator ()(const TIter& it)
-  {
-    return (static_cast<TOutput>(it.GetCenterPixel()));
-
-  }
-};
-}
-
-int otbUnaryFunctorNeighborhoodImageFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  typedef double InputPixelType;
-  const int Dimension = 2;
-  typedef otb::Image<InputPixelType, Dimension>                                           ImageType;
-  typedef ImageType::PixelType                                                            PixelType;
-  typedef itk::ConstNeighborhoodIterator<ImageType>                                       IterType;
-  typedef Functor::UnaryFunctorNeighborhoodImageFilterFunctorNewTest<IterType, PixelType> FunctorType;
-  typedef otb::UnaryFunctorNeighborhoodImageFilter<ImageType, ImageType,
-      FunctorType>     UnaryFunctorNeighborhoodImageFilterType;
-
-  // Instantiating object
-  UnaryFunctorNeighborhoodImageFilterType::Pointer object = UnaryFunctorNeighborhoodImageFilterType::New();
-
-  std::cout << object << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Filtering/ImageManipulation/test/otbUnaryFunctorNeighborhoodWithOffsetImageFilterNew.cxx b/Modules/Filtering/ImageManipulation/test/otbUnaryFunctorNeighborhoodWithOffsetImageFilterNew.cxx
deleted file mode 100644
index 34a21e7115..0000000000
--- a/Modules/Filtering/ImageManipulation/test/otbUnaryFunctorNeighborhoodWithOffsetImageFilterNew.cxx
+++ /dev/null
@@ -1,86 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-
-#include "otbUnaryFunctorNeighborhoodWithOffsetImageFilter.h"
-#include "otbVectorImage.h"
-#include "itkOffset.h"
-
-namespace Functor
-{
-template <class TInput, class TOutput>
-class UnaryFunctorNeighborhoodWithOffsetImageFilterFunctorNewTest
-{
-public:
-  UnaryFunctorNeighborhoodWithOffsetImageFilterFunctorNewTest() {}
-  ~UnaryFunctorNeighborhoodWithOffsetImageFilterFunctorNewTest() {}
-
-  typedef TInput                                      InputScalarType;
-  typedef TOutput                                     OutputScalarType;
-  typedef itk::VariableLengthVector<InputScalarType>  InputVectorType;
-  typedef itk::VariableLengthVector<OutputScalarType> OutputVectorType;
-  typedef itk::Offset<>                               OffsetType;
-  typedef itk::Neighborhood<InputScalarType, 2>       NeighborhoodType;
-  typedef itk::Neighborhood<InputVectorType, 2>       NeighborhoodVectorType;
-
-  void SetOffset(OffsetType off)
-  {
-    m_Offset = off;
-  }
-  OffsetType GetOffset()
-  {
-    return m_Offset;
-  }
-
-  inline OutputScalarType operator ()(const NeighborhoodType& neigh)
-  {
-    return (static_cast<OutputScalarType>(neigh.GetCenterValue()));
-  }
-  inline OutputVectorType operator ()(const NeighborhoodVectorType& neigh)
-  {
-    return (static_cast<OutputVectorType>(neigh.GetCenterValue()));
-
-  }
-
-private:
-  OffsetType m_Offset;
-};
-}
-
-int otbUnaryFunctorNeighborhoodWithOffsetImageFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  typedef double InputPixelType;
-  const int Dimension = 2;
-  typedef otb::VectorImage<InputPixelType,
-      Dimension>               ImageType;
-  typedef Functor::UnaryFunctorNeighborhoodWithOffsetImageFilterFunctorNewTest<InputPixelType,
-      InputPixelType> FunctorType;
-  typedef otb::UnaryFunctorNeighborhoodWithOffsetImageFilter<ImageType, ImageType,
-      FunctorType>
-  UnaryFunctorNeighborhoodWithOffsetImageFilterType;
-
-  // Instantiating object
-  UnaryFunctorNeighborhoodWithOffsetImageFilterType::Pointer filter =
-    UnaryFunctorNeighborhoodWithOffsetImageFilterType::New();
-
-  std::cout << filter << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Filtering/ImageManipulation/test/otbUnaryFunctorWithIndexImageFilterNew.cxx b/Modules/Filtering/ImageManipulation/test/otbUnaryFunctorWithIndexImageFilterNew.cxx
deleted file mode 100644
index dc13da52ea..0000000000
--- a/Modules/Filtering/ImageManipulation/test/otbUnaryFunctorWithIndexImageFilterNew.cxx
+++ /dev/null
@@ -1,58 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-
-#include "otbUnaryFunctorWithIndexImageFilter.h"
-#include "otbImage.h"
-
-namespace Functor
-{
-template <class TInput, class TOutput>
-class UnaryFunctorWithIndexImageFilterFunctorNewTest
-{
-public:
-  UnaryFunctorWithIndexImageFilterFunctorNewTest() {}
-  ~UnaryFunctorWithIndexImageFilterFunctorNewTest() {}
-
-  typedef itk::Index<2> IndexType;
-
-  inline TOutput operator ()(const TInput& inPix, IndexType itkNotUsed(index))
-  {
-    return (static_cast<TOutput>(inPix));
-  }
-};
-}
-
-int otbUnaryFunctorWithIndexImageFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  typedef double                                                                        InputPixelType;
-  typedef otb::Image<InputPixelType, 2>                                                 ImageType;
-  typedef ImageType::PixelType                                                          PixelType;
-  typedef Functor::UnaryFunctorWithIndexImageFilterFunctorNewTest<PixelType, PixelType> FunctorType;
-  typedef otb::UnaryFunctorWithIndexImageFilter<ImageType, ImageType,
-      FunctorType>      UnaryFunctorWithIndexImageFilterType;
-
-  // Instantiating object
-  UnaryFunctorWithIndexImageFilterType::Pointer filter = UnaryFunctorWithIndexImageFilterType::New();
-
-  std::cout << filter << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Filtering/ImageManipulation/test/otbUnaryImageFunctorWithVectorImageFilterNew.cxx b/Modules/Filtering/ImageManipulation/test/otbUnaryImageFunctorWithVectorImageFilterNew.cxx
deleted file mode 100644
index 7e1380841e..0000000000
--- a/Modules/Filtering/ImageManipulation/test/otbUnaryImageFunctorWithVectorImageFilterNew.cxx
+++ /dev/null
@@ -1,44 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#include "itkMacro.h"
-
-#include "otbUnaryImageFunctorWithVectorImageFilter.h"
-#include "otbImage.h"
-#include "itkCosImageFilter.h"
-
-int otbUnaryImageFunctorWithVectorImageFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  const unsigned int Dimension = 2;
-  typedef double                                                  PixelType;
-  typedef otb::VectorImage<PixelType, Dimension>                  InputImageType;
-  typedef InputImageType::InternalPixelType                       InternalPixelType;
-  typedef itk::Functor::Cos<InternalPixelType, InternalPixelType> FunctorType;
-  typedef otb::UnaryImageFunctorWithVectorImageFilter<InputImageType,
-      InputImageType,
-      FunctorType>  UnaryImageFunctorWithVectorImageFilterType;
-
-  // Instantiating object
-  UnaryImageFunctorWithVectorImageFilterType::Pointer filter = UnaryImageFunctorWithVectorImageFilterType::New();
-
-  std::cout << filter << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Filtering/ImageManipulation/test/otbVectorImageTo3DScalarImageFilterNew.cxx b/Modules/Filtering/ImageManipulation/test/otbVectorImageTo3DScalarImageFilterNew.cxx
deleted file mode 100644
index 85dd0596d8..0000000000
--- a/Modules/Filtering/ImageManipulation/test/otbVectorImageTo3DScalarImageFilterNew.cxx
+++ /dev/null
@@ -1,44 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#include "itkMacro.h"
-#include "otbVectorImage.h"
-#include "otbImage.h"
-#include "otbVectorImageTo3DScalarImageFilter.h"
-
-int otbVectorImageTo3DScalarImageFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  const unsigned int BiDimension  = 2;
-  const unsigned int TriDimension  = 3;
-
-  typedef double PixelType;
-
-  typedef otb::VectorImage<PixelType, BiDimension> VectorImageType;
-  typedef otb::Image<PixelType, TriDimension>      ImageType;
-
-  typedef otb::VectorImageTo3DScalarImageFilter<VectorImageType, ImageType> FilterType;
-
-  // Instantiating object
-  FilterType::Pointer filter = FilterType::New();
-
-  std::cout << filter << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Filtering/ImageManipulation/test/otbVectorImageToAmplitudeImageFilterNew.cxx b/Modules/Filtering/ImageManipulation/test/otbVectorImageToAmplitudeImageFilterNew.cxx
deleted file mode 100644
index 3afcc95f02..0000000000
--- a/Modules/Filtering/ImageManipulation/test/otbVectorImageToAmplitudeImageFilterNew.cxx
+++ /dev/null
@@ -1,40 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#include "otbVectorImageToAmplitudeImageFilter.h"
-#include "otbVectorImage.h"
-#include "otbImage.h"
-
-int otbVectorImageToAmplitudeImageFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  const unsigned int Dimension = 2;
-  typedef double PixelType;
-
-  typedef otb::Image<PixelType, Dimension>                                   ImageType;
-  typedef otb::VectorImage<PixelType, Dimension>                             VectorImageType;
-  typedef otb::VectorImageToAmplitudeImageFilter<VectorImageType, ImageType> FilterType;
-
-  // Instantiating object
-  FilterType::Pointer filter = FilterType::New();
-
-  std::cout << filter << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Filtering/ImageManipulation/test/otbVectorRescaleIntensityImageFilterNew.cxx b/Modules/Filtering/ImageManipulation/test/otbVectorRescaleIntensityImageFilterNew.cxx
deleted file mode 100644
index ff3735292b..0000000000
--- a/Modules/Filtering/ImageManipulation/test/otbVectorRescaleIntensityImageFilterNew.cxx
+++ /dev/null
@@ -1,41 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#include "itkMacro.h"
-
-#include "otbVectorRescaleIntensityImageFilter.h"
-#include "otbVectorImage.h"
-
-int otbVectorRescaleIntensityImageFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  const unsigned int Dimension = 2;
-  typedef double                                                                  InputPixelType;
-  typedef unsigned char                                                           OutputPixelType;
-  typedef otb::VectorImage<InputPixelType, Dimension>                             InputImageType;
-  typedef otb::VectorImage<OutputPixelType, Dimension>                            OutputImageType;
-  typedef otb::VectorRescaleIntensityImageFilter<InputImageType, OutputImageType> VectorRescaleIntensityImageFilterType;
-
-  // Instantiating object
-  VectorRescaleIntensityImageFilterType::Pointer filter = VectorRescaleIntensityImageFilterType::New();
-
-  std::cout << filter << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Filtering/ImageNoise/test/CMakeLists.txt b/Modules/Filtering/ImageNoise/test/CMakeLists.txt
index 6ac2a6ae95..1814c9047d 100644
--- a/Modules/Filtering/ImageNoise/test/CMakeLists.txt
+++ b/Modules/Filtering/ImageNoise/test/CMakeLists.txt
@@ -26,7 +26,6 @@ otbFrostFilter.cxx
 otbLeeFilter.cxx
 otbGammaMAPFilter.cxx
 otbKuanFilter.cxx
-otbFrostFilterNew.cxx
 )
 
 add_executable(otbImageNoiseTestDriver ${OTBImageNoiseTests})
@@ -77,6 +76,3 @@ otb_add_test(NAME bfTvFiltreKuan COMMAND otbImageNoiseTestDriver
   05 05 12.0)  
   
 
-otb_add_test(NAME bfTuFrostFilterNew COMMAND otbImageNoiseTestDriver
-  otbFrostFilterNew)
-
diff --git a/Modules/Filtering/ImageNoise/test/otbFrostFilterNew.cxx b/Modules/Filtering/ImageNoise/test/otbFrostFilterNew.cxx
deleted file mode 100644
index 1478b6206e..0000000000
--- a/Modules/Filtering/ImageNoise/test/otbFrostFilterNew.cxx
+++ /dev/null
@@ -1,43 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-
-
-#include "otbImageFileReader.h"
-#include "otbFrostImageFilter.h"
-#include "otbImage.h"
-
-int otbFrostFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  typedef unsigned char InputPixelType;
-  typedef unsigned char OutputPixelType;
-  const unsigned int Dimension = 2;
-
-  typedef otb::Image<InputPixelType,  Dimension> InputImageType;
-  typedef otb::Image<OutputPixelType, Dimension> OutputImageType;
-
-  typedef otb::FrostImageFilter<InputImageType, OutputImageType> FilterType;
-
-  FilterType::Pointer frost = FilterType::New();
-
-  std::cout << frost << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Filtering/MathParser/test/CMakeLists.txt b/Modules/Filtering/MathParser/test/CMakeLists.txt
index 320d58ef42..f716bb1af0 100644
--- a/Modules/Filtering/MathParser/test/CMakeLists.txt
+++ b/Modules/Filtering/MathParser/test/CMakeLists.txt
@@ -22,7 +22,6 @@ otb_module_test()
 
 set(OTBMathParserTests
 otbMathParserTestDriver.cxx
-otbMaskMuParserFilterNew.cxx
 otbMaskMuParserFilterTest.cxx
 otbParserConditionDataNodeFeatureFunction.cxx
 otbParserTest.cxx
@@ -38,9 +37,6 @@ otb_module_target_label(otbMathParserTestDriver)
 
 
 
-otb_add_test(NAME bfTuMaskMuParserFilterNew COMMAND otbMathParserTestDriver
-  otbMaskMuParserFilterNew
-  )
 
 otb_add_test(NAME bfTvMaskMuParserFilterTest COMMAND otbMathParserTestDriver
   --compare-image ${NOTOL}
@@ -86,9 +82,6 @@ otb_add_test(NAME coTuParser COMMAND otbMathParserTestDriver
   otbParserTestNew
   )
 
-otb_add_test(NAME bfTuImageListToSingleImageFilterNew COMMAND otbMathParserTestDriver
-  otbImageListToSingleImageFilterNew)
-
 otb_add_test(NAME bfTvImageListToSingleImageFilter COMMAND otbMathParserTestDriver
   --compare-image ${NOTOL}
   ${BASELINE}/bfTvImageListToSingleImageFilter.tif
diff --git a/Modules/Filtering/MathParser/test/otbMaskMuParserFilterNew.cxx b/Modules/Filtering/MathParser/test/otbMaskMuParserFilterNew.cxx
deleted file mode 100644
index 0b08c0e59f..0000000000
--- a/Modules/Filtering/MathParser/test/otbMaskMuParserFilterNew.cxx
+++ /dev/null
@@ -1,40 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-
-#include "otbVectorImage.h"
-#include "otbImage.h"
-#include "otbMaskMuParserFilter.h"
-
-int otbMaskMuParserFilterNew( int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-
-  typedef float InputPixelType;
-  const unsigned int     Dimension = 2;
-
-  typedef otb::VectorImage<InputPixelType,  Dimension>      InputVectorImageType;
-  typedef otb::Image<unsigned int, Dimension>                OutputImageType;
-  typedef otb::MaskMuParserFilter<InputVectorImageType, OutputImageType>  FilterType;
-
-
-   FilterType::Pointer   filter       = FilterType::New();
-
-   return EXIT_SUCCESS;
-}
diff --git a/Modules/Filtering/MathParserX/test/CMakeLists.txt b/Modules/Filtering/MathParserX/test/CMakeLists.txt
index 7e32cdd72f..66894c7aed 100644
--- a/Modules/Filtering/MathParserX/test/CMakeLists.txt
+++ b/Modules/Filtering/MathParserX/test/CMakeLists.txt
@@ -33,9 +33,6 @@ otb_add_test(NAME coTvParserX COMMAND otbMathParserXTestDriver
 otb_add_test(NAME coTuParserX COMMAND otbMathParserXTestDriver
   otbParserXTestNew
   )
-otb_add_test(NAME bfTuBandMathXImageFilterNew COMMAND otbMathParserXTestDriver
-  otbBandMathXImageFilterNew)
-otb_add_test(NAME bfTvBandMathXImageFilterConv COMMAND otbMathParserXTestDriver
   otbBandMathXImageFilterConv
   ${BASELINE_FILES}/bfTvExportBandMathX.txt
   ${TEMP}/bfTvExportBandMathXOut.txt
diff --git a/Modules/Filtering/MorphologicalPyramid/test/CMakeLists.txt b/Modules/Filtering/MorphologicalPyramid/test/CMakeLists.txt
index c117cb6cf1..560cbb52e8 100644
--- a/Modules/Filtering/MorphologicalPyramid/test/CMakeLists.txt
+++ b/Modules/Filtering/MorphologicalPyramid/test/CMakeLists.txt
@@ -22,17 +22,11 @@ otb_module_test()
 
 set(OTBMorphologicalPyramidTests
 otbMorphologicalPyramidTestDriver.cxx
-otbMorphologicalPyramidSegmentationFilterNew.cxx
 otbMorphologicalPyramidAnalysisFilter.cxx
 otbMorphologicalPyramidSegmenter.cxx
-otbMorphologicalPyramidSegmenterNew.cxx
 otbMorphologicalPyramidSynthesisFilter.cxx
 otbMorphologicalPyramidMRToMSConverter.cxx
-otbMorphologicalPyramidSynthesisFilterNew.cxx
-otbMorphologicalPyramidMRToMSConverterNew.cxx
 otbMorphologicalPyramidResampler.cxx
-otbMorphologicalPyramidAnalysisFilterNew.cxx
-otbMorphologicalPyramidResamplerNew.cxx
 otbMorphologicalPyramidSegmentationFilter.cxx
 )
 
@@ -42,9 +36,6 @@ otb_module_target_label(otbMorphologicalPyramidTestDriver)
 
 # Tests Declaration
 
-otb_add_test(NAME msTuMorphoPyrSegmentationFilterNew COMMAND otbMorphologicalPyramidTestDriver
-  otbMorphologicalPyramidSegmentationFilterNew)
-
 otb_add_test(NAME msTvMorphoPyrAnalysisFilter COMMAND otbMorphologicalPyramidTestDriver
   --compare-n-images ${NOTOL} 5
   ${BASELINE}/msPyrAn_mire_log_an_2.png
@@ -94,9 +85,6 @@ otb_add_test(NAME msTvMorphoPyrSegmentDark COMMAND otbMorphologicalPyramidTestDr
   )
 set_property(TEST msTvMorphoPyrSegmentDark PROPERTY DEPENDS msTvMorphoPyrMRToMSConverter)
 
-otb_add_test(NAME msTuMorphoPyrSegmenterNew COMMAND otbMorphologicalPyramidTestDriver
-  otbMorphologicalPyramidSegmenterNew)
-
 otb_add_test(NAME msTvMorphoPyrSynthesisFilter COMMAND otbMorphologicalPyramidTestDriver
   --compare-image ${NOTOL}
   ${INPUTDATA}/ROI_IKO_PAN_LesHalles.tif
@@ -123,12 +111,6 @@ otb_add_test(NAME msTvMorphoPyrMRToMSConverter COMMAND otbMorphologicalPyramidTe
   4
   2.0)
 
-otb_add_test(NAME msTuMorphoPyrSynthesisFilterNew COMMAND otbMorphologicalPyramidTestDriver
-  otbMorphologicalPyramidSynthesisFilterNew)
-
-otb_add_test(NAME msTuMorphoPyrMRToMSConverterNew COMMAND otbMorphologicalPyramidTestDriver
-  otbMorphologicalPyramidMRToMSConverterNew)
-
 otb_add_test(NAME msTvMorphoPyrResampler COMMAND otbMorphologicalPyramidTestDriver
   --compare-n-images ${EPSILON_8} 2
   ${BASELINE}/msPyrResampler_IKO_LesHalles_256_2.hdr
@@ -143,12 +125,6 @@ otb_add_test(NAME msTvMorphoPyrResampler COMMAND otbMorphologicalPyramidTestDriv
   256
   )
 
-otb_add_test(NAME msTuMorphoPyrAnalysisFilterNew COMMAND otbMorphologicalPyramidTestDriver
-  otbMorphologicalPyramidAnalysisFilterNew)
-
-otb_add_test(NAME msTuMorphoPyrResamplerNew COMMAND otbMorphologicalPyramidTestDriver
-  otbMorphologicalPyramidResamplerNew)
-
 otb_add_test(NAME msTvMorphoPyrSegmentationFilter COMMAND otbMorphologicalPyramidTestDriver
   --compare-n-images ${NOTOL} 4
   ${BASELINE}/msPyrSegmentation_IKO_Halles_2.tif
diff --git a/Modules/Filtering/MorphologicalPyramid/test/otbMorphologicalPyramidAnalysisFilterNew.cxx b/Modules/Filtering/MorphologicalPyramid/test/otbMorphologicalPyramidAnalysisFilterNew.cxx
deleted file mode 100644
index 23a2f1b426..0000000000
--- a/Modules/Filtering/MorphologicalPyramid/test/otbMorphologicalPyramidAnalysisFilterNew.cxx
+++ /dev/null
@@ -1,45 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#include "itkMacro.h"
-#include "otbMorphologicalPyramidAnalysisFilter.h"
-#include "otbOpeningClosingMorphologicalFilter.h"
-#include "itkBinaryBallStructuringElement.h"
-#include "otbImage.h"
-
-int otbMorphologicalPyramidAnalysisFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  const unsigned int Dimension = 2;
-  typedef unsigned char                                                InputPixelType;
-  typedef unsigned char                                                OutputPixelType;
-  typedef otb::Image<InputPixelType, Dimension>                        InputImageType;
-  typedef otb::Image<OutputPixelType, Dimension>                       OutputImageType;
-  typedef itk::BinaryBallStructuringElement<InputPixelType, Dimension> StructuringElementType;
-  typedef otb::OpeningClosingMorphologicalFilter<InputImageType, InputImageType, StructuringElementType>
-  OpeningClosingFilterType;
-  typedef otb::MorphologicalPyramidAnalysisFilter<InputImageType, OutputImageType, OpeningClosingFilterType>
-  PyramidFilterType;
-  // Instantiation
-  PyramidFilterType::Pointer pyramid = PyramidFilterType::New();
-
-  std::cout << pyramid << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Filtering/MorphologicalPyramid/test/otbMorphologicalPyramidMRToMSConverterNew.cxx b/Modules/Filtering/MorphologicalPyramid/test/otbMorphologicalPyramidMRToMSConverterNew.cxx
deleted file mode 100644
index c94393fb73..0000000000
--- a/Modules/Filtering/MorphologicalPyramid/test/otbMorphologicalPyramidMRToMSConverterNew.cxx
+++ /dev/null
@@ -1,42 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#include "itkMacro.h"
-
-#include "otbMorphologicalPyramidMRToMSConverter.h"
-#include "otbImage.h"
-
-int otbMorphologicalPyramidMRToMSConverterNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  const unsigned int Dimension = 2;
-  typedef unsigned char InputPixelType;
-  typedef unsigned char OutputPixelType;
-
-  typedef otb::Image<InputPixelType, Dimension>                                       InputImageType;
-  typedef otb::Image<OutputPixelType, Dimension>                                      OutputImageType;
-  typedef otb::MorphologicalPyramid::MRToMSConverter<InputImageType, OutputImageType> MRToMSConverterType;
-
-  // Instantiation
-  MRToMSConverterType::Pointer mrtoms = MRToMSConverterType::New();
-
-  std::cout << mrtoms << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Filtering/MorphologicalPyramid/test/otbMorphologicalPyramidResamplerNew.cxx b/Modules/Filtering/MorphologicalPyramid/test/otbMorphologicalPyramidResamplerNew.cxx
deleted file mode 100644
index b87b37c55f..0000000000
--- a/Modules/Filtering/MorphologicalPyramid/test/otbMorphologicalPyramidResamplerNew.cxx
+++ /dev/null
@@ -1,43 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#include "itkMacro.h"
-#include "otbMorphologicalPyramidResampler.h"
-#include "otbImage.h"
-
-int otbMorphologicalPyramidResamplerNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  const unsigned int Dimension = 2;
-  typedef unsigned char InputPixelType;
-  typedef unsigned char OutputPixelType;
-
-  typedef otb::Image<InputPixelType, Dimension>  InputImageType;
-  typedef otb::Image<OutputPixelType, Dimension> OutputImageType;
-
-  typedef otb::MorphologicalPyramid::Resampler<InputImageType, OutputImageType>
-  ResamplerType;
-
-  // Instantiation
-  ResamplerType::Pointer resampler = ResamplerType::New();
-
-  std::cout << resampler << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Filtering/MorphologicalPyramid/test/otbMorphologicalPyramidSegmentationFilterNew.cxx b/Modules/Filtering/MorphologicalPyramid/test/otbMorphologicalPyramidSegmentationFilterNew.cxx
deleted file mode 100644
index 6696f70657..0000000000
--- a/Modules/Filtering/MorphologicalPyramid/test/otbMorphologicalPyramidSegmentationFilterNew.cxx
+++ /dev/null
@@ -1,43 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#include "itkMacro.h"
-#include "otbMorphologicalPyramidSegmentationFilter.h"
-#include "otbImage.h"
-
-int otbMorphologicalPyramidSegmentationFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  const unsigned int Dimension = 2;
-  typedef unsigned char  InputPixelType;
-  typedef unsigned short OutputPixelType;
-
-  typedef otb::Image<InputPixelType, Dimension>  InputImageType;
-  typedef otb::Image<OutputPixelType, Dimension> OutputImageType;
-
-  typedef otb::MorphologicalPyramidSegmentationFilter<InputImageType, OutputImageType>
-  SegmentationFilterType;
-
-  // Instantiation
-  SegmentationFilterType::Pointer filter = SegmentationFilterType::New();
-
-  std::cout << filter << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Filtering/MorphologicalPyramid/test/otbMorphologicalPyramidSegmenterNew.cxx b/Modules/Filtering/MorphologicalPyramid/test/otbMorphologicalPyramidSegmenterNew.cxx
deleted file mode 100644
index 55911266f5..0000000000
--- a/Modules/Filtering/MorphologicalPyramid/test/otbMorphologicalPyramidSegmenterNew.cxx
+++ /dev/null
@@ -1,43 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#include "itkMacro.h"
-#include "otbMorphologicalPyramidSegmenter.h"
-#include "otbImage.h"
-
-int otbMorphologicalPyramidSegmenterNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  const unsigned int Dimension = 2;
-  typedef unsigned char  InputPixelType;
-  typedef unsigned short OutputPixelType;
-
-  typedef otb::Image<InputPixelType, Dimension>  InputImageType;
-  typedef otb::Image<OutputPixelType, Dimension> OutputImageType;
-
-  typedef otb::MorphologicalPyramid::Segmenter<InputImageType, OutputImageType>
-  SegmenterType;
-
-  // Instantiation
-  SegmenterType::Pointer segmenter = SegmenterType::New();
-
-  std::cout << segmenter << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Filtering/MorphologicalPyramid/test/otbMorphologicalPyramidSynthesisFilterNew.cxx b/Modules/Filtering/MorphologicalPyramid/test/otbMorphologicalPyramidSynthesisFilterNew.cxx
deleted file mode 100644
index d06275b322..0000000000
--- a/Modules/Filtering/MorphologicalPyramid/test/otbMorphologicalPyramidSynthesisFilterNew.cxx
+++ /dev/null
@@ -1,44 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#include "itkMacro.h"
-
-#include "otbMorphologicalPyramidSynthesisFilter.h"
-#include "otbImage.h"
-
-int otbMorphologicalPyramidSynthesisFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  const unsigned int Dimension = 2;
-  typedef unsigned char InputPixelType;
-  typedef unsigned char OutputPixelType;
-
-  typedef otb::Image<InputPixelType, Dimension>  InputImageType;
-  typedef otb::Image<OutputPixelType, Dimension> OutputImageType;
-
-  typedef otb::MorphologicalPyramidSynthesisFilter<InputImageType, OutputImageType>
-  PyramidSynthesisFilterType;
-
-  // Instantiation
-  PyramidSynthesisFilterType::Pointer filter = PyramidSynthesisFilterType::New();
-
-  std::cout << filter << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Filtering/Path/test/CMakeLists.txt b/Modules/Filtering/Path/test/CMakeLists.txt
index f3b6e373cc..8413691536 100644
--- a/Modules/Filtering/Path/test/CMakeLists.txt
+++ b/Modules/Filtering/Path/test/CMakeLists.txt
@@ -23,31 +23,20 @@ otb_module_test()
 set(OTBPathTests
 otbPathTestDriver.cxx
 otbCompacityPathRectangle.cxx
-otbVectorizationPathListFilterNew.cxx
-otbRegionImageToRectangularPathListFilterNew.cxx
 otbImageToEdgePathFilter.cxx
 otbCompacityPathCircle.cxx
 otbDrawPathListFilterWithValue.cxx
-otbImageFittingPolygonListFilterNew.cxx
 otbDrawPath.cxx
 otbCompacityPathSquare.cxx
 otbPathLengthFunctor.cxx
 otbPathListToHistogramGenerator.cxx
 otbImageFittingPolygonListFilter.cxx
-otbImageToPathFilterNew.cxx
-otbImageToEdgePathFilterNew.cxx
 otbDrawPathListFilter.cxx
-otbDrawPathListFilterNew.cxx
 otbDrawPathFilter.cxx
 otbOrientationPath.cxx
-otbOrientationPathNew.cxx
-otbDrawPathFilterNew.cxx
 otbPolyLineImageConstIterator.cxx
 otbRegionImageToRectangularPathListFilter.cxx
 otbVectorizationPathListFilter.cxx
-otbPathListToPathListFilterNew.cxx
-otbPathListToHistogramGeneratorNew.cxx
-otbCompacityPathNew.cxx
 otbClosePathFunctor.cxx
 otbPolyLineImageIterator.cxx
 )
@@ -61,12 +50,6 @@ otb_module_target_label(otbPathTestDriver)
 otb_add_test(NAME feTuCompacityPathRectangle COMMAND otbPathTestDriver
   otbCompacityPathRectangle 10.0  20.0)
 
-otb_add_test(NAME feTuVectorizationPathListFilterNew COMMAND otbPathTestDriver
-  otbVectorizationPathListFilterNew)
-
-otb_add_test(NAME feTuRegionImageToRectangularPathListFilterNew COMMAND otbPathTestDriver
-  otbRegionImageToRectangularPathListFilterNew)
-
 otb_add_test(NAME feTvImageToEdgePathFilterBis COMMAND otbPathTestDriver
   --compare-image ${EPSILON_8}
   ${BASELINE}/feImageToEdgePathFilter_maskrom.png
@@ -99,9 +82,6 @@ otb_add_test(NAME coTvDrawPathListFilterWithValue COMMAND otbPathTestDriver
   ${TEMP}/coTvDrawPathListFilterWithValueOutput.png
   )
 
-otb_add_test(NAME feTuImageFittingPolygonListFilterNew COMMAND otbPathTestDriver
-  otbImageFittingPolygonListFilterNew)
-
 otb_add_test(NAME feTvDrawPathTestCarre COMMAND otbPathTestDriver
   --compare-image ${NOTOL}  ${BASELINE}/feDrawPathDessinCarre.png
   ${TEMP}/feDrawPathDessinCarre.png
@@ -135,12 +115,6 @@ otb_add_test(NAME feTvImageFittingPolygonListFilter COMMAND otbPathTestDriver
   5 10
   )
 
-otb_add_test(NAME coTuImageToPathFilterNew COMMAND otbPathTestDriver
-  otbImageToPathFilterNew)
-
-otb_add_test(NAME feTuImageToEdgePathFilterNew COMMAND otbPathTestDriver
-  otbImageToEdgePathFilterNew)
-
 otb_add_test(NAME coTvDrawPathListFilter COMMAND otbPathTestDriver
   --compare-image ${NOTOL}
   ${BASELINE}/coTvDrawPathListFilterOutput.png
@@ -150,9 +124,6 @@ otb_add_test(NAME coTvDrawPathListFilter COMMAND otbPathTestDriver
   ${TEMP}/coTvDrawPathListFilterOutput.png
   )
 
-otb_add_test(NAME coTuDrawPathListFilterNew COMMAND otbPathTestDriver
-  otbDrawPathListFilterNew)
-
 otb_add_test(NAME coTvDrawPatFilter COMMAND otbPathTestDriver
   --compare-image ${NOTOL}
   ${BASELINE}/coTvDrawPathFilterOutput.png
@@ -175,12 +146,6 @@ otb_add_test(NAME feTuOrientationPath_000 COMMAND otbPathTestDriver
 otb_add_test(NAME feTuOrientationPath1_80 COMMAND otbPathTestDriver
   otbOrientationPath 180.0)
 
-otb_add_test(NAME feTuOrientationPathNew COMMAND otbPathTestDriver
-  otbOrientationPathNew)
-
-otb_add_test(NAME coTuDrawPatFilterNew COMMAND otbPathTestDriver
-  otbDrawPathFilterNew
-  )
 
 otb_add_test(NAME coTvPolyLineImageConstIterator COMMAND otbPathTestDriver
   --compare-ascii ${NOTOL}
@@ -224,15 +189,6 @@ otb_add_test(NAME feTvVectorizationPathListFilterAsciiOutput COMMAND otbPathTest
   0.0005
   )
 
-otb_add_test(NAME coTuPathListToPathListFilterNew COMMAND otbPathTestDriver
-  otbPathListToPathListFilterNew)
-
-otb_add_test(NAME coTuPathListToHistogramGeneratorNew COMMAND otbPathTestDriver
-  otbPathListToHistogramGeneratorNew)
-
-
-otb_add_test(NAME feTuCompacityPathNew COMMAND otbPathTestDriver
-  otbCompacityPathNew)
 
 otb_add_test(NAME bfTvClosePathFunctor COMMAND otbPathTestDriver
   --compare-ascii ${NOTOL}
diff --git a/Modules/Filtering/Path/test/otbCompacityPathNew.cxx b/Modules/Filtering/Path/test/otbCompacityPathNew.cxx
deleted file mode 100644
index 1395eb9058..0000000000
--- a/Modules/Filtering/Path/test/otbCompacityPathNew.cxx
+++ /dev/null
@@ -1,41 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-
-
-
-#include <cstdlib>
-
-#include "otbCompacityPathFunction.h"
-#include "itkPolyLineParametricPath.h"
-#include "itkMacro.h"
-
-int otbCompacityPathNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  const unsigned int Dimension = 2;
-  typedef itk::PolyLineParametricPath<Dimension> PathType;
-  typedef otb::CompacityPathFunction<PathType>   FunctionType;
-
-  FunctionType::Pointer function = FunctionType::New();
-
-  std::cout << function << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Filtering/Path/test/otbDrawPathFilterNew.cxx b/Modules/Filtering/Path/test/otbDrawPathFilterNew.cxx
deleted file mode 100644
index 07b57233af..0000000000
--- a/Modules/Filtering/Path/test/otbDrawPathFilterNew.cxx
+++ /dev/null
@@ -1,41 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#include "itkMacro.h"
-
-#include "otbDrawPathFilter.h"
-#include "otbImageFileWriter.h"
-#include "otbImage.h"
-#include "itkPolyLineParametricPath.h"
-
-int otbDrawPathFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  const unsigned int Dimension = 2;
-  typedef unsigned char                                       PixelType;
-  typedef otb::Image<PixelType, Dimension>                    ImageType;
-  typedef itk::PolyLineParametricPath<Dimension>              PathType;
-  typedef otb::DrawPathFilter<ImageType, PathType, ImageType> DrawPathFilterType;
-
-  DrawPathFilterType::Pointer filter = DrawPathFilterType::New();
-
-  std::cout << filter << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Filtering/Path/test/otbDrawPathListFilterNew.cxx b/Modules/Filtering/Path/test/otbDrawPathListFilterNew.cxx
deleted file mode 100644
index 700233508b..0000000000
--- a/Modules/Filtering/Path/test/otbDrawPathListFilterNew.cxx
+++ /dev/null
@@ -1,41 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#include "itkMacro.h"
-
-#include "otbDrawPathListFilter.h"
-#include "otbImage.h"
-#include "itkPolyLineParametricPath.h"
-
-int otbDrawPathListFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  const unsigned int Dimension = 2;
-  typedef unsigned char                                           PixelType;
-  typedef otb::Image<PixelType, Dimension>                        ImageType;
-  typedef itk::PolyLineParametricPath<Dimension>                  PathType;
-  typedef otb::DrawPathListFilter<ImageType, PathType, ImageType> DrawPathListFilterType;
-
-  // Instantiating object
-  DrawPathListFilterType::Pointer filter = DrawPathListFilterType::New();
-
-  std::cout << filter << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Filtering/Path/test/otbImageFittingPolygonListFilterNew.cxx b/Modules/Filtering/Path/test/otbImageFittingPolygonListFilterNew.cxx
deleted file mode 100644
index dd1c00c43e..0000000000
--- a/Modules/Filtering/Path/test/otbImageFittingPolygonListFilterNew.cxx
+++ /dev/null
@@ -1,42 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#include "itkMacro.h"
-
-#include "otbImageFittingPolygonListFilter.h"
-#include "otbPolygon.h"
-#include "otbImage.h"
-#include <cstdlib>
-
-int otbImageFittingPolygonListFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  const unsigned int Dimension = 2;
-  typedef otb::Polygon<double>          PolygonType;
-  typedef otb::Image<double, Dimension> ImageType;
-
-  typedef otb::ImageFittingPolygonListFilter<PolygonType, ImageType> FittingPolygonType;
-
-  // Instantiating object
-  FittingPolygonType::Pointer filter = FittingPolygonType::New();
-
-  std::cout << filter << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Filtering/Path/test/otbImageToEdgePathFilterNew.cxx b/Modules/Filtering/Path/test/otbImageToEdgePathFilterNew.cxx
deleted file mode 100644
index 674a06f1b3..0000000000
--- a/Modules/Filtering/Path/test/otbImageToEdgePathFilterNew.cxx
+++ /dev/null
@@ -1,40 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#include "itkMacro.h"
-#include "itkPolyLineParametricPath.h"
-#include "otbImageToEdgePathFilter.h"
-#include "otbImage.h"
-
-int otbImageToEdgePathFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  const unsigned int Dimension = 2;
-  typedef unsigned char                          PixelType;
-  typedef otb::Image<PixelType, Dimension>       ImageType;
-  typedef itk::PolyLineParametricPath<Dimension> PathType;
-
-  typedef otb::ImageToEdgePathFilter<ImageType, PathType> ImageToEdgePathFilterType;
-
-  ImageToEdgePathFilterType::Pointer filter = ImageToEdgePathFilterType::New();
-
-  std::cout << filter << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Filtering/Path/test/otbImageToPathFilterNew.cxx b/Modules/Filtering/Path/test/otbImageToPathFilterNew.cxx
deleted file mode 100644
index b558324db1..0000000000
--- a/Modules/Filtering/Path/test/otbImageToPathFilterNew.cxx
+++ /dev/null
@@ -1,40 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#include "itkMacro.h"
-#include "itkPolyLineParametricPath.h"
-#include "otbImageToPathFilter.h"
-#include "otbImage.h"
-
-int otbImageToPathFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  const unsigned int Dimension = 2;
-  typedef unsigned char                          PixelType;
-  typedef otb::Image<PixelType, Dimension>       ImageType;
-  typedef itk::PolyLineParametricPath<Dimension> PathType;
-
-  typedef otb::ImageToPathFilter<ImageType, PathType> ImageToPathFilterType;
-
-  ImageToPathFilterType::Pointer pathFilter = ImageToPathFilterType::New();
-
-  std::cout << pathFilter << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Filtering/Path/test/otbOrientationPathNew.cxx b/Modules/Filtering/Path/test/otbOrientationPathNew.cxx
deleted file mode 100644
index fe20bc10e3..0000000000
--- a/Modules/Filtering/Path/test/otbOrientationPathNew.cxx
+++ /dev/null
@@ -1,40 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-
-
-
-#include <cstdlib>
-#include "otbOrientationPathFunction.h"
-#include "itkPolyLineParametricPath.h"
-#include "itkMacro.h"
-
-int otbOrientationPathNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  const unsigned int Dimension = 2;
-  typedef itk::PolyLineParametricPath<Dimension> PathType;
-  typedef otb::OrientationPathFunction<PathType> FunctionType;
-
-  FunctionType::Pointer function = FunctionType::New();
-
-  std::cout << function << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Filtering/Path/test/otbPathListToHistogramGeneratorNew.cxx b/Modules/Filtering/Path/test/otbPathListToHistogramGeneratorNew.cxx
deleted file mode 100644
index 237f663ff3..0000000000
--- a/Modules/Filtering/Path/test/otbPathListToHistogramGeneratorNew.cxx
+++ /dev/null
@@ -1,42 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-
-
-
-#include "itkMacro.h"
-#include "itkPolyLineParametricPath.h"
-#include "otbOrientationPathFunction.h"
-#include "otbPathListToHistogramGenerator.h"
-
-int otbPathListToHistogramGeneratorNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  const unsigned int Dimension = 2;
-  typedef itk::PolyLineParametricPath<Dimension> PathType;
-  typedef otb::OrientationPathFunction<PathType> FunctionType;
-
-  typedef otb::PathListToHistogramGenerator<PathType, FunctionType> GeneratorType;
-
-  GeneratorType::Pointer histogram = GeneratorType::New();
-
-  std::cout << histogram << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Filtering/Path/test/otbPathListToPathListFilterNew.cxx b/Modules/Filtering/Path/test/otbPathListToPathListFilterNew.cxx
deleted file mode 100644
index de19819353..0000000000
--- a/Modules/Filtering/Path/test/otbPathListToPathListFilterNew.cxx
+++ /dev/null
@@ -1,39 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#include "itkMacro.h"
-
-#include <cstdlib>
-#include "otbPathListToPathListFilter.h"
-#include "itkPolyLineParametricPath.h"
-
-int otbPathListToPathListFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  const unsigned int Dimension = 2;
-  typedef itk::PolyLineParametricPath<Dimension>  PathType;
-  typedef otb::PathListToPathListFilter<PathType> FilterType;
-
-  // Instantiating object
-  FilterType::Pointer filter = FilterType::New();
-
-  std::cout << filter << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Filtering/Path/test/otbRegionImageToRectangularPathListFilterNew.cxx b/Modules/Filtering/Path/test/otbRegionImageToRectangularPathListFilterNew.cxx
deleted file mode 100644
index 52eb324f23..0000000000
--- a/Modules/Filtering/Path/test/otbRegionImageToRectangularPathListFilterNew.cxx
+++ /dev/null
@@ -1,41 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#include "itkMacro.h"
-#include "otbRegionImageToRectangularPathListFilter.h"
-#include "itkPolyLineParametricPath.h"
-
-int otbRegionImageToRectangularPathListFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  typedef unsigned short InputPixelType;
-  const unsigned int Dimension = 2;
-
-  typedef otb::Image<InputPixelType,  Dimension> InputImageType;
-
-  typedef otb::PolyLineParametricPathWithValue<double, Dimension> PathType;
-  typedef otb::RegionImageToRectangularPathListFilter<InputImageType, PathType>
-  RectangleListFilterType;
-
-  RectangleListFilterType::Pointer filter = RectangleListFilterType::New();
-
-  std::cout << filter << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Filtering/Path/test/otbVectorizationPathListFilterNew.cxx b/Modules/Filtering/Path/test/otbVectorizationPathListFilterNew.cxx
deleted file mode 100644
index d94a14483f..0000000000
--- a/Modules/Filtering/Path/test/otbVectorizationPathListFilterNew.cxx
+++ /dev/null
@@ -1,39 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#include "itkMacro.h"
-#include "otbVectorizationPathListFilter.h"
-#include "itkPolyLineParametricPath.h"
-
-int otbVectorizationPathListFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  const unsigned int Dimension = 2;
-  typedef double                                                           PixelType;
-  typedef otb::Image<PixelType, Dimension>                                 ImageType;
-  typedef itk::PolyLineParametricPath<Dimension>                           PathType;
-  typedef otb::VectorizationPathListFilter<ImageType, ImageType, PathType> VectorizationPathListFilterType;
-
-  // Instantiating object
-  VectorizationPathListFilterType::Pointer filter = VectorizationPathListFilterType::New();
-
-  std::cout << filter << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Filtering/Polarimetry/test/CMakeLists.txt b/Modules/Filtering/Polarimetry/test/CMakeLists.txt
index d1c77627cf..e507a14bb8 100644
--- a/Modules/Filtering/Polarimetry/test/CMakeLists.txt
+++ b/Modules/Filtering/Polarimetry/test/CMakeLists.txt
@@ -25,32 +25,24 @@ otbPolarimetryTestDriver.cxx
 otbMuellerToPolarisationDegreeAndPowerImageFilter.cxx
 otbVectorMultiChannelsPolarimetricSynthesisFilter.cxx
 otbReciprocalHAlphaImageFilter.cxx
-otbReciprocalLinearCovarianceToReciprocalCircularCovarianceImageFilterNew.cxx
 otbReciprocalCovarianceToReciprocalCoherencyImageFilter.cxx
-otbReciprocalHAlphaImageFilterNew.cxx
 otbSinclairToCoherencyMatrixFunctor.cxx
 otbPolarimetricSynthesisFunctor.cxx
 otbMultiChannelsPolarimetricSynthesisFilter.cxx
 otbSinclairImageFilter.cxx
-otbReciprocalCovarianceToReciprocalCoherencyImageFilterNew.cxx
 otbSinclairToCircularCovarianceMatrixFunctor.cxx
 otbSinclairReciprocalImageFilter.cxx
 otbReciprocalLinearCovarianceToReciprocalCircularCovarianceImageFilter.cxx
 otbReciprocalCoherencyToReciprocalMuellerImageFilter.cxx
 otbSinclairToReciprocalCovarianceMatrixFunctor.cxx
-otbReciprocalCovarianceToCoherencyDegreeImageFilterNew.cxx
 otbMuellerToReciprocalCovarianceImageFilter.cxx
-otbReciprocalCoherencyToReciprocalMuellerImageFilterNew.cxx
 otbSinclairToMuellerMatrixFunctor.cxx
 otbMuellerToReciprocalCovarianceFunctor.cxx
 otbPolarimetricData.cxx
-otbMuellerToReciprocalCovarianceImageFilterNew.cxx
 otbSinclairToReciprocalCoherencyMatrixFunctor.cxx
 otbSinclairToReciprocalCircularCovarianceMatrixFunctor.cxx
-otbMultiChannelsPolarimetricSynthesisFilterNew.cxx
 otbSinclairToCovarianceMatrixFunctor.cxx
 otbReciprocalCovarianceToCoherencyDegreeImageFilter.cxx
-otbMuellerToPolarisationDegreeAndPowerImageFilterNew.cxx
 otbReciprocalBarnesDecomp.cxx
 otbReciprocalHuynenDecomp.cxx
 otbReciprocalPauliDecomp.cxx
@@ -125,9 +117,6 @@ otb_add_test(NAME saTvReciprocalPauliDecompImageFilter COMMAND otbPolarimetryTes
   ${TEMP}/saTvReciprocalPauliDecompImageFilter.tif
   )
 
-otb_add_test(NAME saTuReciprocalLinearCovarianceToReciprocalCircularCovarianceImageFilterNew COMMAND otbPolarimetryTestDriver
-  otbReciprocalLinearCovarianceToReciprocalCircularCovarianceImageFilterNew
-  )
 
 otb_add_test(NAME saTvReciprocalCovarianceToReciprocalCoherencyImageFilter COMMAND otbPolarimetryTestDriver
   --compare-image ${EPSILON_7}   ${BASELINE}/saTvSinclairImageFilter_SinclairToReciprocalCoherency.tif
@@ -137,21 +126,9 @@ otb_add_test(NAME saTvReciprocalCovarianceToReciprocalCoherencyImageFilter COMMA
   ${TEMP}/saTvMLCToCoherencyImageFilter.tif
   )
 
-otb_add_test(NAME saTuReciprocalHAlphaImageFilterNew COMMAND otbPolarimetryTestDriver
-  otbReciprocalHAlphaImageFilterNew
-  )
   
-otb_add_test(NAME saTuReciprocalBarnesDecompImageFilterNew COMMAND otbPolarimetryTestDriver
-  otbReciprocalBarnesDecompImageFilterNew
-  )
   
-otb_add_test(NAME saTuReciprocalHuynenDecompImageFilterNew COMMAND otbPolarimetryTestDriver
-  otbReciprocalHuynenDecompImageFilterNew
-  )
   
-otb_add_test(NAME saTuReciprocalPauliDecompImageFilterNew COMMAND otbPolarimetryTestDriver
-  otbReciprocalPauliDecompImageFilterNew
-  )
 
 otb_add_test(NAME saTuSinclairToCoherencyMatrixFunctor COMMAND otbPolarimetryTestDriver
   otbSinclairToCoherencyMatrixFunctor
@@ -232,9 +209,6 @@ otb_add_test(NAME saTvSinclairImageFilter_SinclairToCovariance_C COMMAND otbPola
   ${TEMP}/saTvSinclairImageFilter_SinclairToCovariance_C.tif
   )
 
-otb_add_test(NAME saTuSinclairImageFilterNew COMMAND otbPolarimetryTestDriver
-  otbSinclairImageFilterNew
-  )
 
 otb_add_test(NAME saTvSinclairImageFilter_SinclairToCircularCovarianceMatrix COMMAND otbPolarimetryTestDriver
   --compare-image ${EPSILON_7}   ${BASELINE}/saTvSinclairImageFilter_SinclairToCircularCovarianceMatrix.tif
@@ -280,17 +254,11 @@ otb_add_test(NAME saTvSinclairImageFilter_SinclairToCoherency_C COMMAND otbPolar
   ${TEMP}/saTvSinclairImageFilter_SinclairToCoherency_C.tif
   )
 
-otb_add_test(NAME saTuReciprocalCovarianceToReciprocalCoherencyImageFilterNew COMMAND otbPolarimetryTestDriver
-  otbReciprocalCovarianceToReciprocalCoherencyImageFilterNew
-  )
 
 otb_add_test(NAME saTuSinclairToCircularCovarianceMatrixFunctor COMMAND otbPolarimetryTestDriver
   otbSinclairToCircularCovarianceMatrixFunctor
   )
 
-otb_add_test(NAME saTuSinclairReciprocalImageFilterNew COMMAND otbPolarimetryTestDriver
-  otbSinclairReciprocalImageFilterNew
-  )
 
 otb_add_test(NAME saTvSinclairReciprocalImageFilter_SinclairToReciprocalCovariance COMMAND otbPolarimetryTestDriver
   --compare-image ${EPSILON_7}   ${BASELINE}/saTvSinclairImageFilter_SinclairToReciprocalCovariance.tif
@@ -380,9 +348,6 @@ otb_add_test(NAME saTuSinclairToReciprocalCovarianceMatrixFunctor COMMAND otbPol
   otbSinclairToReciprocalCovarianceMatrixFunctor
   )
 
-otb_add_test(NAME saTuReciprocalCovarianceToCoherencyDegreeImageFilterNew COMMAND otbPolarimetryTestDriver
-  otbReciprocalCovarianceToCoherencyDegreeImageFilterNew
-  )
 
 otb_add_test(NAME saTvMuellerToReciprocalCovarianceImageFilter COMMAND otbPolarimetryTestDriver
   --compare-image ${EPSILON_7}   ${BASELINE}/saTvSinclairImageFilter_SinclairToReciprocalCovariance.tif
@@ -392,9 +357,6 @@ otb_add_test(NAME saTvMuellerToReciprocalCovarianceImageFilter COMMAND otbPolari
   ${TEMP}/saTvMuellerToMLCImageFilter.tif
   )
 
-otb_add_test(NAME saTuReciprocalCoherencyToReciprocalMuellerImageFilterNew COMMAND otbPolarimetryTestDriver
-  otbReciprocalCoherencyToReciprocalMuellerImageFilterNew
-  )
 
 otb_add_test(NAME saTuSinclairToMuellerMatrixFunctor COMMAND otbPolarimetryTestDriver
   otbSinclairToMuellerMatrixFunctor
@@ -404,17 +366,11 @@ otb_add_test(NAME saTvMuellerToReciprocalCovarianceFunctor COMMAND otbPolarimetr
   otbMuellerToReciprocalCovarianceFunctor
   )
 
-otb_add_test(NAME saTuPolarimetricDataNew COMMAND otbPolarimetryTestDriver
-  otbPolarimetricDataNew
-  )
 
 otb_add_test(NAME saTvPolarimetricDataTest COMMAND otbPolarimetryTestDriver
   otbPolarimetricDataTest
   )
 
-otb_add_test(NAME saTuMuellerToReciprocalCovarianceImageFilterNew COMMAND otbPolarimetryTestDriver
-  otbMuellerToReciprocalCovarianceImageFilterNew
-  )
 
 otb_add_test(NAME saTuSinclairToReciprocalCoherencyMatrixFunctor COMMAND otbPolarimetryTestDriver
   otbSinclairToReciprocalCoherencyMatrixFunctor
@@ -424,9 +380,6 @@ otb_add_test(NAME saTuSinclairToReciprocalCircularCovarianceMatrixFunctor COMMAN
   otbSinclairToReciprocalCircularCovarianceMatrixFunctor
   )
 
-otb_add_test(NAME saTuMultiChannelsPolarimetricSynthesisFilterNew COMMAND otbPolarimetryTestDriver
-  otbMultiChannelsPolarimetricSynthesisFilterNew
-  )
 
 otb_add_test(NAME saTuSinclairToCovarianceMatrixFunctor COMMAND otbPolarimetryTestDriver
   otbSinclairToCovarianceMatrixFunctor
@@ -440,7 +393,4 @@ otb_add_test(NAME saTvReciprocalCovarianceToCoherencyDegreeImageFilter COMMAND o
   ${TEMP}/saTvMLCToCoherencyDegreeImageFilter.tif
   )
 
-otb_add_test(NAME saTuMuellerToPolarisationDegreeAndPowerImageFilterNew COMMAND otbPolarimetryTestDriver
-  otbMuellerToPolarisationDegreeAndPowerImageFilterNew
-  )
 
diff --git a/Modules/Filtering/Polarimetry/test/otbMuellerToPolarisationDegreeAndPowerImageFilterNew.cxx b/Modules/Filtering/Polarimetry/test/otbMuellerToPolarisationDegreeAndPowerImageFilterNew.cxx
deleted file mode 100644
index f0cbafb6d0..0000000000
--- a/Modules/Filtering/Polarimetry/test/otbMuellerToPolarisationDegreeAndPowerImageFilterNew.cxx
+++ /dev/null
@@ -1,41 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-
-
-#include "itkMacro.h"
-#include <iostream>
-
-#include "otbVectorImage.h"
-#include "otbMuellerToPolarisationDegreeAndPowerImageFilter.h"
-
-int otbMuellerToPolarisationDegreeAndPowerImageFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv)[])
-{
-  const unsigned int Dimension = 2;
-
-  typedef double                                 PixelType;
-  typedef otb::VectorImage<PixelType, Dimension> ImageType;
-
-  typedef otb::MuellerToPolarisationDegreeAndPowerImageFilter<ImageType, ImageType> FilterType;
-
-  FilterType::Pointer filter = FilterType::New();
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Filtering/Polarimetry/test/otbMuellerToReciprocalCovarianceImageFilterNew.cxx b/Modules/Filtering/Polarimetry/test/otbMuellerToReciprocalCovarianceImageFilterNew.cxx
deleted file mode 100644
index a7b6f0d51f..0000000000
--- a/Modules/Filtering/Polarimetry/test/otbMuellerToReciprocalCovarianceImageFilterNew.cxx
+++ /dev/null
@@ -1,43 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-
-
-#include "itkMacro.h"
-#include <iostream>
-
-#include "otbVectorImage.h"
-#include "otbMuellerToReciprocalCovarianceImageFilter.h"
-
-int otbMuellerToReciprocalCovarianceImageFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv)[])
-{
-  const unsigned int Dimension = 2;
-
-  typedef double                                        PixelType;
-  typedef std::complex<PixelType>                       ComplexPixelType;
-  typedef otb::VectorImage<PixelType, Dimension>        ImageType;
-  typedef otb::VectorImage<ComplexPixelType, Dimension> ComplexImageType;
-
-  typedef otb::MuellerToReciprocalCovarianceImageFilter<ImageType, ComplexImageType> FilterType;
-
-  FilterType::Pointer filter = FilterType::New();
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Filtering/Polarimetry/test/otbMultiChannelsPolarimetricSynthesisFilterNew.cxx b/Modules/Filtering/Polarimetry/test/otbMultiChannelsPolarimetricSynthesisFilterNew.cxx
deleted file mode 100644
index 6c35703e39..0000000000
--- a/Modules/Filtering/Polarimetry/test/otbMultiChannelsPolarimetricSynthesisFilterNew.cxx
+++ /dev/null
@@ -1,44 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-
-
-#include "itkMacro.h"
-#include <iostream>
-
-#include "otbImage.h"
-#include "otbVectorImage.h"
-#include "otbMultiChannelsPolarimetricSynthesisFilter.h"
-
-int otbMultiChannelsPolarimetricSynthesisFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv)[])
-{
-  typedef double InputPixelType;
-  typedef double OutputPixelType;
-  const unsigned int Dimension = 2;
-
-  typedef otb::VectorImage<InputPixelType,  Dimension> InputImageType;
-  typedef otb::Image<OutputPixelType, Dimension>       OutputImageType;
-
-  typedef otb::MultiChannelsPolarimetricSynthesisFilter<InputImageType, OutputImageType> FilterType;
-
-  FilterType::Pointer filter = FilterType::New();
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Filtering/Polarimetry/test/otbReciprocalCoherencyToReciprocalMuellerImageFilterNew.cxx b/Modules/Filtering/Polarimetry/test/otbReciprocalCoherencyToReciprocalMuellerImageFilterNew.cxx
deleted file mode 100644
index 0726c7fe15..0000000000
--- a/Modules/Filtering/Polarimetry/test/otbReciprocalCoherencyToReciprocalMuellerImageFilterNew.cxx
+++ /dev/null
@@ -1,41 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-
-
-#include "itkMacro.h"
-#include <iostream>
-
-#include "otbVectorImage.h"
-#include "otbReciprocalCoherencyToReciprocalMuellerImageFilter.h"
-
-int otbReciprocalCoherencyToReciprocalMuellerImageFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv)[])
-{
-  const unsigned int Dimension = 2;
-
-  typedef std::complex<double>   PixelType;
-  typedef otb::VectorImage<PixelType, Dimension> ImageType;
-
-  typedef otb::ReciprocalCoherencyToReciprocalMuellerImageFilter<ImageType, ImageType> FilterType;
-
-  FilterType::Pointer filter = FilterType::New();
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Filtering/Polarimetry/test/otbReciprocalCovarianceToCoherencyDegreeImageFilterNew.cxx b/Modules/Filtering/Polarimetry/test/otbReciprocalCovarianceToCoherencyDegreeImageFilterNew.cxx
deleted file mode 100644
index ff054a2b6b..0000000000
--- a/Modules/Filtering/Polarimetry/test/otbReciprocalCovarianceToCoherencyDegreeImageFilterNew.cxx
+++ /dev/null
@@ -1,42 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-
-
-#include "itkMacro.h"
-#include <iostream>
-
-#include "otbVectorImage.h"
-#include "otbReciprocalCovarianceToCoherencyDegreeImageFilter.h"
-
-int otbReciprocalCovarianceToCoherencyDegreeImageFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv)[])
-{
-  const unsigned int Dimension = 2;
-
-  typedef std::complex<double>   PixelType;
-  typedef otb::VectorImage<PixelType, Dimension> ImageType;
-
-
-  typedef otb::ReciprocalCovarianceToCoherencyDegreeImageFilter<ImageType, ImageType> FilterType;
-
-  FilterType::Pointer filter = FilterType::New();
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Filtering/Polarimetry/test/otbReciprocalCovarianceToReciprocalCoherencyImageFilterNew.cxx b/Modules/Filtering/Polarimetry/test/otbReciprocalCovarianceToReciprocalCoherencyImageFilterNew.cxx
deleted file mode 100644
index 572ce4fe5e..0000000000
--- a/Modules/Filtering/Polarimetry/test/otbReciprocalCovarianceToReciprocalCoherencyImageFilterNew.cxx
+++ /dev/null
@@ -1,42 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-
-
-#include "itkMacro.h"
-#include <iostream>
-
-#include "otbVectorImage.h"
-#include "otbReciprocalCovarianceToReciprocalCoherencyImageFilter.h"
-
-int otbReciprocalCovarianceToReciprocalCoherencyImageFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv)[])
-{
-  const unsigned int Dimension = 2;
-
-  typedef std::complex<double>   PixelType;
-  typedef otb::VectorImage<PixelType, Dimension> ImageType;
-
-
-  typedef otb::ReciprocalCovarianceToReciprocalCoherencyImageFilter<ImageType, ImageType> FilterType;
-
-  FilterType::Pointer filter = FilterType::New();
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Filtering/Polarimetry/test/otbReciprocalHAlphaImageFilterNew.cxx b/Modules/Filtering/Polarimetry/test/otbReciprocalHAlphaImageFilterNew.cxx
deleted file mode 100644
index a2114ae8d8..0000000000
--- a/Modules/Filtering/Polarimetry/test/otbReciprocalHAlphaImageFilterNew.cxx
+++ /dev/null
@@ -1,41 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-
-
-#include "itkMacro.h"
-#include <iostream>
-
-#include "otbVectorImage.h"
-#include "otbReciprocalHAlphaImageFilter.h"
-
-int otbReciprocalHAlphaImageFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv)[])
-{
-  const unsigned int Dimension = 2;
-
-  typedef std::complex<double>   PixelType;
-  typedef otb::VectorImage<PixelType, Dimension> ImageType;
-
-  typedef otb::ReciprocalHAlphaImageFilter<ImageType, ImageType> FilterType;
-
-  FilterType::Pointer filter = FilterType::New();
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Filtering/Polarimetry/test/otbReciprocalLinearCovarianceToReciprocalCircularCovarianceImageFilterNew.cxx b/Modules/Filtering/Polarimetry/test/otbReciprocalLinearCovarianceToReciprocalCircularCovarianceImageFilterNew.cxx
deleted file mode 100644
index 724d58283c..0000000000
--- a/Modules/Filtering/Polarimetry/test/otbReciprocalLinearCovarianceToReciprocalCircularCovarianceImageFilterNew.cxx
+++ /dev/null
@@ -1,42 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-
-
-#include "itkMacro.h"
-#include <iostream>
-
-#include "otbVectorImage.h"
-#include "otbReciprocalLinearCovarianceToReciprocalCircularCovarianceImageFilter.h"
-
-int otbReciprocalLinearCovarianceToReciprocalCircularCovarianceImageFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv)[])
-{
-  const unsigned int Dimension = 2;
-
-  typedef std::complex<double>   PixelType;
-  typedef otb::VectorImage<PixelType, Dimension> ImageType;
-
-
-  typedef otb::ReciprocalLinearCovarianceToReciprocalCircularCovarianceImageFilter<ImageType, ImageType> FilterType;
-
-  FilterType::Pointer filter = FilterType::New();
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Filtering/Projection/test/CMakeLists.txt b/Modules/Filtering/Projection/test/CMakeLists.txt
index 022daa7b56..1287758c1b 100644
--- a/Modules/Filtering/Projection/test/CMakeLists.txt
+++ b/Modules/Filtering/Projection/test/CMakeLists.txt
@@ -25,22 +25,16 @@ otbSensorModel.cxx
 otbProjectionTestDriver.cxx
 otbVectorDataProjectionFilterFromGeoToMap.cxx
 otbOrthoRectificationFilter.cxx
-otbGCPsToRPCSensorModelImageFilterNew.cxx
 otbMapProjection.cxx
 otbGenericRSResampleImageFilter.cxx
 otbGeometriesProjectionFilter.cxx
 otbGenericRSTransformGenericTest.cxx
-otbLeastSquareAffineTransformEstimatorNew.cxx
 otbVectorDataTransformFilter.cxx
 otbRationalTransformToDisplacementFieldSource.cxx
-otbImportGeoInformationImageFilterNew.cxx
 otbVectorDataProjectionFilterFromMapToSensor.cxx
-otbCompositeTransformNew.cxx
 otbRationalTransform.cxx
 otbGeometriesProjectionFilterFromMapToSensor.cxx
 otbImageToEnvelopeVectorDataFilter.cxx
-otbMapProjectionsNew.cxx
-otbOrthoRectificationFilterNew.cxx
 otbImageToGenericRSOutputParameters.cxx
 otbGeometriesProjectionFilterFromMapToGeo.cxx
 otbROIdataConversion.cxx
@@ -52,7 +46,6 @@ otbGenericRSTransformFromImage.cxx
 otbCompositeTransform.cxx
 otbLeastSquareAffineTransformEstimator.cxx
 otbSpectralAngleDataNodeFeatureFunction.cxx
-otbROIdataConversionNew.cxx
 otbGCPsToRPCSensorModelImageFilterCheckRpcModel.cxx
 otbGeographicalDistance.cxx
 otbTileImageFilterRSTransformTest.cxx
@@ -64,7 +57,6 @@ otbGeometriesProjectionFilterFromMapToImage.cxx
 otbGeometriesProjectionFilterFromMapToEPSG.cxx
 otbVectorDataProjectionFilter.cxx
 otbUtmMapProjection.cxx
-otbVectorDataProjectionFilterNew.cxx
 otbTileMapTransform.cxx
 otbImportGeoInformationImageFilter.cxx
 )
@@ -349,9 +341,6 @@ endforeach()
 #------------------------------------------------------------------------
 
 
-otb_add_test(NAME prTuGCPsToRPCSensorModelImageFilterNew COMMAND otbProjectionTestDriver
-  otbGCPsToRPCSensorModelImageFilterNew)
-
 otb_add_test(NAME prTvMapProjection COMMAND otbProjectionTestDriver
   --compare-ascii ${EPSILON_4} ${BASELINE_FILES}/prTvMapProjection.txt
   ${TEMP}/prTvMapProjection.txt
@@ -359,9 +348,6 @@ otb_add_test(NAME prTvMapProjection COMMAND otbProjectionTestDriver
   ${TEMP}/prTvMapProjection.txt
   )
 
-otb_add_test(NAME prTuotbGenericRSResampleImageFilterNew COMMAND otbProjectionTestDriver
-  otbGenericRSResampleImageFilterNew
-  )
 
 otb_add_test(NAME prTvotbGenericRSResampleImageFilter COMMAND otbProjectionTestDriver
   --compare-image ${EPSILON_4}
@@ -415,12 +401,6 @@ otb_add_test(NAME prTvGenericRSTransformGenericTestEPSG4326toEPSG4326 COMMAND ot
   otbGenericRSTransformGenericTest
   1.35617289802566 43.4876035537 1.35617289802566 43.4876035537 EPSG 4326 EPSG 4326 GEO 1e-6 GEO 1e-6 NOELEV)
 
-otb_add_test(NAME prTuLeastSquareAffineTransformEstimatorNew COMMAND otbProjectionTestDriver
-  otbLeastSquareAffineTransformEstimatorNew)
-
-otb_add_test(NAME prTuVectorDataTransformFilterNew COMMAND otbProjectionTestDriver
-  otbVectorDataTransformFilterNew)
-
 otb_add_test(NAME prTvVectorDataTransformFilter COMMAND otbProjectionTestDriver
   --compare-ogr ${EPSILON_4}
   ${BASELINE_FILES}/prTvVectorDataTransformFilter_Translation.shp
@@ -438,9 +418,6 @@ otb_add_test(NAME prTvRationalTransformToDisplacementFieldSourceTest COMMAND otb
   ${TEMP}/prTvRationalTransformToDisplacementFieldSourceTest.hdr
   )
 
-otb_add_test(NAME bfTuImportGeoInformationImageFilterNew COMMAND otbProjectionTestDriver
-  otbImportGeoInformationImageFilterNew)
-
 
 otb_add_test(NAME prTvVectorDataProjectionFilterFromMapToSensor COMMAND otbProjectionTestDriver
   --compare-ogr  ${NOTOL}
@@ -452,9 +429,6 @@ otb_add_test(NAME prTvVectorDataProjectionFilterFromMapToSensor COMMAND otbProje
   ${TEMP}/prTvVectorDataProjectionFilterFromMapToSensor.shp
   )
 
-otb_add_test(NAME prTuCompositeTransformNew COMMAND otbProjectionTestDriver  otbCompositeTransformNew )
-
-otb_add_test(NAME prTvRationalTransform COMMAND otbProjectionTestDriver
   --compare-ascii ${NOTOL}
   ${BASELINE_FILES}/otbRationalTransformOutput.txt
   ${TEMP}/otbRationalTransformOutput.txt
@@ -466,9 +440,6 @@ otb_add_test(NAME prTvRationalTransform COMMAND otbProjectionTestDriver
   -10 -10
   )
 
-otb_add_test(NAME prTuRationalTransformNew COMMAND otbProjectionTestDriver
-  otbRationalTransformNew)
-
 otb_add_test(NAME prTvGeometriesProjectionFilterFromMapToSensor COMMAND otbProjectionTestDriver
   --compare-ogr  ${NOTOL}
   ${BASELINE_FILES}/prTvVectorDataProjectionFilterFromMapToSensor.shp
@@ -488,12 +459,6 @@ otb_add_test(NAME prTvImageToEnvelopeVectorDataFilter COMMAND otbProjectionTestD
   ${TEMP}/prTvImageToEnvelopeVectorDataFilterOutput.kml
   )
 
-otb_add_test(NAME prTuImageToEnvelopeVectorDataFilterNew COMMAND otbProjectionTestDriver
-  otbImageToEnvelopeVectorDataFilterNew)
-
-otb_add_test(NAME prTuMapProjectionsNew COMMAND otbProjectionTestDriver  otbMapProjectionsNew )
-
-otb_add_test(NAME prTvMapProjectionsTest COMMAND otbProjectionTestDriver
   --compare-ascii ${EPSILON_4} ${BASELINE_FILES}/prTvMapProjectionsTest.txt
   ${TEMP}/prTvMapProjectionsTest.txt
   otbMapProjectionsTest
@@ -501,9 +466,6 @@ otb_add_test(NAME prTvMapProjectionsTest COMMAND otbProjectionTestDriver
   )
 
 
-otb_add_test(NAME prTuOrthoRectificationFilterNew COMMAND otbProjectionTestDriver
-  otbOrthoRectificationFilterNew )
-
 otb_add_test(NAME prTvImageToGenericRSOutputParameters COMMAND otbProjectionTestDriver
   --compare-ascii ${NOTOL}
   ${BASELINE_FILES}/prTvImageToGenericRSOutputParametersOutput.txt
@@ -513,9 +475,6 @@ otb_add_test(NAME prTvImageToGenericRSOutputParameters COMMAND otbProjectionTest
   ${TEMP}/prTvImageToGenericRSOutputParametersOutput.txt
   )
 
-otb_add_test(NAME prTuImageToGenericRSOutputParametersNew COMMAND otbProjectionTestDriver
-  otbImageToGenericRSOutputParametersNew)
-
 otb_add_test(NAME prTvGeometriesProjectionFilterFromMapToGeo COMMAND otbProjectionTestDriver
   --compare-ogr ${NOTOL}
   ${BASELINE_FILES}/prTvVectorDataProjectionFilterFromMapToGeo.kml
@@ -551,9 +510,6 @@ otb_add_test(NAME prTvPhysicalToRPCSensorModelImageFilter COMMAND otbProjectionT
   ${TEMP}/prTvotbPhysicalToRPCSensorModelImageFilter.tif
   )
 
-otb_add_test(NAME prTuPhysicalToRPCSensorModelImageFilterNew COMMAND otbProjectionTestDriver
-  otbPhysicalToRPCSensorModelImageFilter
-  )
 
 otb_add_test(NAME prTuGeometriesProjectionFilterFromGeoToMap COMMAND otbProjectionTestDriver
   otbGeometriesProjectionFilterFromGeoToMap
@@ -658,9 +614,6 @@ otb_add_test(NAME bfTvSpectralAngleDataNodeFeatureFunction_Polygon COMMAND otbPr
   ${TEMP}/bfTvSpectralAngleDataNodeFeatureFunctionOutput_Polygon.shp
   0 )
 
-otb_add_test(NAME bfTuSpectralAngleDataNodeFeatureFunctionNew COMMAND otbProjectionTestDriver
-  otbSpectralAngleDataNodeFeatureFunctionNew
-  )
 
 otb_add_test(NAME bfTvSpectralAngleDataNodeFeatureFunction_Line COMMAND otbProjectionTestDriver
   --compare-ogr ${NOTOL}
@@ -674,9 +627,6 @@ otb_add_test(NAME bfTvSpectralAngleDataNodeFeatureFunction_Line COMMAND otbProje
   0
   )
 
-otb_add_test(NAME leTuROIdataConversionNew COMMAND otbProjectionTestDriver
-  otbROIdataConversionNew)
-
 otb_add_test(NAME prTvGCPsToRPCSensorModelImageCheckInputGcpPointsProjection_WithDEM COMMAND otbProjectionTestDriver
   otbGCPsToRPCSensorModelImageFilterCheckRpcModel
   -in ${INPUTDATA}/QB_TOULOUSE_MUL_Extract_500_500.tif
@@ -892,9 +842,6 @@ otb_add_test(NAME prTvGCPsToRPCSensorModelImageCheckInputGcpPointsProjection_Wit
   -err 10 # Tolerance in meters, the first goal of this test
   )
 
-otb_add_test(NAME prTuGeographicalDistanceNew COMMAND otbProjectionTestDriver
-  otbGeographicalDistanceNew)
-
 otb_add_test(NAME prTvGeographicalDistance COMMAND otbProjectionTestDriver
   otbGeographicalDistance
   -1.84944 53.14722
@@ -1212,9 +1159,6 @@ otb_add_test(NAME prTvUtmMapProjection COMMAND otbProjectionTestDriver
   ${TEMP}/prTvUtmMapProjection.txt
   )
 
-otb_add_test(NAME prTuVectorDataProjectionFilterNew COMMAND otbProjectionTestDriver  otbVectorDataProjectionFilterNew )
-
-otb_add_test(NAME prTvTileMapTransform COMMAND otbProjectionTestDriver
   --compare-ascii ${EPSILON_4} ${BASELINE_FILES}/prTvTileMapTransform.txt
   ${TEMP}/prTvTileMapTransform.txt
   otbTileMapTransform
diff --git a/Modules/Filtering/Projection/test/otbCompositeTransformNew.cxx b/Modules/Filtering/Projection/test/otbCompositeTransformNew.cxx
deleted file mode 100644
index d6758de1fe..0000000000
--- a/Modules/Filtering/Projection/test/otbCompositeTransformNew.cxx
+++ /dev/null
@@ -1,40 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-
-
-#include <iostream>
-
-#include "otbCompositeTransform.h"
-#include "otbMapProjections.h"
-#include "otbInverseSensorModel.h"
-
-int otbCompositeTransformNew(int itkNotUsed(argc), char * itkNotUsed(argv)[])
-{
-  typedef otb::UtmInverseProjection       MapProjectionType;
-  typedef otb::InverseSensorModel<double> SensorModelType;
-
-  typedef otb::CompositeTransform<MapProjectionType, SensorModelType> CompositeTransformType;
-  CompositeTransformType::Pointer transform = CompositeTransformType::New();
-
-  std::cout << transform << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Filtering/Projection/test/otbGCPsToRPCSensorModelImageFilterNew.cxx b/Modules/Filtering/Projection/test/otbGCPsToRPCSensorModelImageFilterNew.cxx
deleted file mode 100644
index 9bdbd98bfd..0000000000
--- a/Modules/Filtering/Projection/test/otbGCPsToRPCSensorModelImageFilterNew.cxx
+++ /dev/null
@@ -1,37 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-
-#include "otbMacro.h"
-#include "otbImage.h"
-#include "otbGCPsToRPCSensorModelImageFilter.h"
-
-int otbGCPsToRPCSensorModelImageFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv)[])
-{
-  typedef otb::Image<float, 2>                            ImageType;
-  typedef otb::GCPsToRPCSensorModelImageFilter<ImageType> GCPToSensorModelFilterType;
-
-  // Instantiation
-  GCPToSensorModelFilterType::Pointer filter = GCPToSensorModelFilterType::New();
-
-  std::cout << filter << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Filtering/Projection/test/otbImportGeoInformationImageFilterNew.cxx b/Modules/Filtering/Projection/test/otbImportGeoInformationImageFilterNew.cxx
deleted file mode 100644
index 4e73ec154f..0000000000
--- a/Modules/Filtering/Projection/test/otbImportGeoInformationImageFilterNew.cxx
+++ /dev/null
@@ -1,39 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#include "itkMacro.h"
-
-#include "otbImportGeoInformationImageFilter.h"
-#include "otbImage.h"
-
-int otbImportGeoInformationImageFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  const unsigned int Dimension = 2;
-  typedef unsigned char                                              PixelType;
-  typedef otb::Image<PixelType, Dimension>                           ImageType;
-  typedef otb::ImportGeoInformationImageFilter<ImageType, ImageType> ImportGeoInformationImageFilterType;
-
-  // Instantiating object
-  ImportGeoInformationImageFilterType::Pointer filter = ImportGeoInformationImageFilterType::New();
-
-  std::cout << filter << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Filtering/Projection/test/otbLeastSquareAffineTransformEstimatorNew.cxx b/Modules/Filtering/Projection/test/otbLeastSquareAffineTransformEstimatorNew.cxx
deleted file mode 100644
index f612d3a21d..0000000000
--- a/Modules/Filtering/Projection/test/otbLeastSquareAffineTransformEstimatorNew.cxx
+++ /dev/null
@@ -1,37 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-
-#include "otbMacro.h"
-#include "otbLeastSquareAffineTransformEstimator.h"
-#include "itkPoint.h"
-
-int otbLeastSquareAffineTransformEstimatorNew(int itkNotUsed(argc), char * itkNotUsed(argv)[])
-{
-  typedef itk::Point<float,   2>                              PointType;
-  typedef otb::LeastSquareAffineTransformEstimator<PointType> EstimatorType;
-
-  // instantiation
-  EstimatorType::Pointer estimator = EstimatorType::New();
-
-  std::cout << estimator << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Filtering/Projection/test/otbMapProjectionsNew.cxx b/Modules/Filtering/Projection/test/otbMapProjectionsNew.cxx
deleted file mode 100644
index f29644125f..0000000000
--- a/Modules/Filtering/Projection/test/otbMapProjectionsNew.cxx
+++ /dev/null
@@ -1,138 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-
-
-#include <iostream>
-#include <fstream>
-
-#include "itkMacro.h"
-#include "otbImage.h"
-#include "otbMapProjections.h"
-
-int otbMapProjectionsNew(int itkNotUsed(argc), char* itkNotUsed(argv)[])
-{
-  otb::Eckert4InverseProjection::Pointer               lEckert4Projection = otb::Eckert4InverseProjection::New();
-  otb::Eckert4ForwardProjection::Pointer               lEckert4Projection2 = otb::Eckert4ForwardProjection::New();
-  otb::LambertConformalConicInverseProjection::Pointer lLambertConformalConicProjection =
-    otb::LambertConformalConicInverseProjection::New();
-  otb::LambertConformalConicForwardProjection::Pointer lLambertConformalConicProjection2 =
-    otb::LambertConformalConicForwardProjection::New();
-  otb::Lambert2EtenduInverseProjection::Pointer lLambert2Etendu = otb::Lambert2EtenduInverseProjection::New();
-  otb::Lambert2EtenduForwardProjection::Pointer lLambert2Etendu2 = otb::Lambert2EtenduForwardProjection::New();
-  otb::Lambert3CartoSudInverseProjection::Pointer lLambert3CartoSud = otb::Lambert3CartoSudInverseProjection::New();
-  otb::Lambert3CartoSudForwardProjection::Pointer lLambert3CartoSud2 = otb::Lambert3CartoSudForwardProjection::New();
-  otb::Lambert93InverseProjection::Pointer      lLambert93 = otb::Lambert93InverseProjection::New();
-  otb::Lambert93ForwardProjection::Pointer      lLambert93_2 = otb::Lambert93ForwardProjection::New();
-  otb::MollweidInverseProjection::Pointer          lMollweidProjection = otb::MollweidInverseProjection::New();
-  otb::MollweidForwardProjection::Pointer          lMollweidProjection2 = otb::MollweidForwardProjection::New();
-  otb::SinusoidalInverseProjection::Pointer           lSinusoidalProjection = otb::SinusoidalInverseProjection::New();
-  otb::SinusoidalForwardProjection::Pointer           lSinusoidalProjection2 = otb::SinusoidalForwardProjection::New();
-  otb::SVY21InverseProjection::Pointer          lSVY21 = otb::SVY21InverseProjection::New();
-  otb::SVY21ForwardProjection::Pointer          lSVY21_2 = otb::SVY21ForwardProjection::New();
-  otb::TransMercatorInverseProjection::Pointer lTransMercatorProjection =
-    otb::TransMercatorInverseProjection::New();
-  otb::TransMercatorForwardProjection::Pointer lTransMercatorProjection2 =
-    otb::TransMercatorForwardProjection::New();
-  otb::UtmInverseProjection::Pointer           lUtmProjection = otb::UtmInverseProjection::New();
-  otb::UtmForwardProjection::Pointer           lUtmProjection2 = otb::UtmForwardProjection::New();
-  
-  return EXIT_SUCCESS;
-}
-
-
-//Test the specific accessors for some map projection
-int otbMapProjectionsTest(int itkNotUsed(argc), char * argv[])
-{
-  char * filename = argv[1];
-  std::ofstream file;
-  file.open(filename);
-
-  otb::Eckert4InverseProjection::Pointer lEckert4Projection = otb::Eckert4InverseProjection::New();
-  file << lEckert4Projection->GetFalseEasting() << std::endl;
-  file << lEckert4Projection->GetFalseNorthing() << std::endl;
-  lEckert4Projection->SetFalseEasting(500000);
-  lEckert4Projection->SetFalseNorthing(500000);
-  file << lEckert4Projection->GetFalseEasting() << std::endl;
-  file << lEckert4Projection->GetFalseNorthing() << std::endl;
-  lEckert4Projection->SetParameters(200000, 300000);
-  file << lEckert4Projection->GetFalseEasting() << std::endl;
-  file << lEckert4Projection->GetFalseNorthing() << std::endl;
-
-  otb::Eckert4ForwardProjection::Pointer               lEckert4Projection2 = otb::Eckert4ForwardProjection::New();
-  file << lEckert4Projection2->GetFalseEasting() << std::endl;
-  file << lEckert4Projection2->GetFalseNorthing() << std::endl;
-  lEckert4Projection2->SetFalseEasting(500000);
-  lEckert4Projection2->SetFalseNorthing(500000);
-  file << lEckert4Projection2->GetFalseEasting() << std::endl;
-  file << lEckert4Projection2->GetFalseNorthing() << std::endl;
-  lEckert4Projection2->SetParameters(200000, 300000);
-  file << lEckert4Projection2->GetFalseEasting() << std::endl;
-  file << lEckert4Projection2->GetFalseNorthing() << std::endl;
-
-
-  otb::MollweidInverseProjection::Pointer          lMollweidProjection = otb::MollweidInverseProjection::New();
-  file << lMollweidProjection->GetFalseEasting() << std::endl;
-  file << lMollweidProjection->GetFalseNorthing() << std::endl;
-  lMollweidProjection->SetFalseEasting(500000);
-  lMollweidProjection->SetFalseNorthing(500000);
-  file << lMollweidProjection->GetFalseEasting() << std::endl;
-  file << lMollweidProjection->GetFalseNorthing() << std::endl;
-  lMollweidProjection->SetParameters(200000, 300000);
-  file << lMollweidProjection->GetFalseEasting() << std::endl;
-  file << lMollweidProjection->GetFalseNorthing() << std::endl;
-
-
-  otb::MollweidForwardProjection::Pointer          lMollweidProjection2 = otb::MollweidForwardProjection::New();
-  file << lMollweidProjection2->GetFalseEasting() << std::endl;
-  file << lMollweidProjection2->GetFalseNorthing() << std::endl;
-  lMollweidProjection2->SetFalseEasting(500000);
-  lMollweidProjection2->SetFalseNorthing(500000);
-  file << lMollweidProjection2->GetFalseEasting() << std::endl;
-  file << lMollweidProjection2->GetFalseNorthing() << std::endl;
-  lMollweidProjection2->SetParameters(200000, 300000);
-  file << lMollweidProjection2->GetFalseEasting() << std::endl;
-  file << lMollweidProjection2->GetFalseNorthing() << std::endl;
-
-  otb::SinusoidalInverseProjection::Pointer           lSinusoidalProjection = otb::SinusoidalInverseProjection::New();
-  file << lSinusoidalProjection->GetFalseEasting() << std::endl;
-  file << lSinusoidalProjection->GetFalseNorthing() << std::endl;
-  lSinusoidalProjection->SetFalseEasting(500000);
-  lSinusoidalProjection->SetFalseNorthing(500000);
-  file << lSinusoidalProjection->GetFalseEasting() << std::endl;
-  file << lSinusoidalProjection->GetFalseNorthing() << std::endl;
-  lSinusoidalProjection->SetParameters(200000, 300000);
-  file << lSinusoidalProjection->GetFalseEasting() << std::endl;
-  file << lSinusoidalProjection->GetFalseNorthing() << std::endl;
-
-  otb::SinusoidalForwardProjection::Pointer           lSinusoidalProjection2 = otb::SinusoidalForwardProjection::New();
-  file << lSinusoidalProjection2->GetFalseEasting() << std::endl;
-  file << lSinusoidalProjection2->GetFalseNorthing() << std::endl;
-  lSinusoidalProjection2->SetFalseEasting(500000);
-  lSinusoidalProjection2->SetFalseNorthing(500000);
-  file << lSinusoidalProjection2->GetFalseEasting() << std::endl;
-  file << lSinusoidalProjection2->GetFalseNorthing() << std::endl;
-  lSinusoidalProjection2->SetParameters(200000, 300000);
-  file << lSinusoidalProjection2->GetFalseEasting() << std::endl;
-  file << lSinusoidalProjection2->GetFalseNorthing() << std::endl;
-
-  file.close();
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Filtering/Projection/test/otbOrthoRectificationFilterNew.cxx b/Modules/Filtering/Projection/test/otbOrthoRectificationFilterNew.cxx
deleted file mode 100644
index 234d51f7f0..0000000000
--- a/Modules/Filtering/Projection/test/otbOrthoRectificationFilterNew.cxx
+++ /dev/null
@@ -1,37 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-
-#include "otbMacro.h"
-#include "otbMapProjections.h"
-#include "otbOrthoRectificationFilter.h"
-
-int otbOrthoRectificationFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv)[])
-{
-  typedef otb::Image<double, 2>                                                     ImageType;
-  typedef otb::UtmInverseProjection                                                 UtmMapProjectionType;
-  typedef otb::OrthoRectificationFilter<ImageType, ImageType, UtmMapProjectionType> OrthoRectifFilterType;
-
-  OrthoRectifFilterType::Pointer filter = OrthoRectifFilterType::New();
-
-  std::cout << filter << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Filtering/Projection/test/otbROIdataConversionNew.cxx b/Modules/Filtering/Projection/test/otbROIdataConversionNew.cxx
deleted file mode 100644
index 2a879349d6..0000000000
--- a/Modules/Filtering/Projection/test/otbROIdataConversionNew.cxx
+++ /dev/null
@@ -1,40 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-
-
-
-#include "otbROIdataConversion.h"
-#include "otbVectorImage.h"
-
-int otbROIdataConversionNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  typedef double PixelType;
-  const unsigned int Dimension = 2;
-  typedef otb::VectorImage<PixelType,  Dimension>                InputImageType;
-  typedef otb::Image<PixelType,  Dimension>                      ROIImageType;
-  typedef otb::ROIdataConversion<InputImageType, ROIImageType>   ConverterType;
-
-  ConverterType::Pointer converter = ConverterType::New();
-
-  std::cout << converter << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Filtering/Projection/test/otbVectorDataProjectionFilterNew.cxx b/Modules/Filtering/Projection/test/otbVectorDataProjectionFilterNew.cxx
deleted file mode 100644
index 2a3c7c6358..0000000000
--- a/Modules/Filtering/Projection/test/otbVectorDataProjectionFilterNew.cxx
+++ /dev/null
@@ -1,38 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#include "itkMacro.h"
-#include "otbVectorDataProjectionFilter.h"
-#include "otbVectorData.h"
-
-int otbVectorDataProjectionFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv)[])
-{
-
-  typedef otb::VectorData<double> InputVectorDataType;
-  typedef otb::VectorData<double> OutputVectorDataType;
-
-  typedef otb::VectorDataProjectionFilter<InputVectorDataType, OutputVectorDataType> VectorDataFilterType;
-
-  VectorDataFilterType::Pointer vectorData = VectorDataFilterType::New();
-
-  std::cout << vectorData << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Filtering/Smoothing/test/CMakeLists.txt b/Modules/Filtering/Smoothing/test/CMakeLists.txt
index 8fa73f3b46..58266709fa 100644
--- a/Modules/Filtering/Smoothing/test/CMakeLists.txt
+++ b/Modules/Filtering/Smoothing/test/CMakeLists.txt
@@ -24,7 +24,6 @@ set(OTBSmoothingTests
 otbSmoothingTestDriver.cxx
 otbMeanShiftSmoothingImageFilter.cxx
 otbMeanShiftSmoothingImageFilterSpatialStability.cxx
-otbMeanShiftSmoothingImageFilterNew.cxx
 otbMeanShiftSmoothingImageFilterThreading.cxx
 )
 
diff --git a/Modules/Filtering/Smoothing/test/otbMeanShiftSmoothingImageFilterNew.cxx b/Modules/Filtering/Smoothing/test/otbMeanShiftSmoothingImageFilterNew.cxx
deleted file mode 100644
index 87c1bf55a7..0000000000
--- a/Modules/Filtering/Smoothing/test/otbMeanShiftSmoothingImageFilterNew.cxx
+++ /dev/null
@@ -1,39 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#include "itkMacro.h"
-#include "otbMeanShiftSmoothingImageFilter.h"
-
-int otbMeanShiftSmoothingImageFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  const unsigned int Dimension = 2;
-  typedef short                                           PixelType;
-  typedef double                                          OutputPixelType;
-  typedef otb::VectorImage<OutputPixelType, Dimension>          OutputImageType;
-  typedef otb::VectorImage<PixelType, Dimension>                ImageType;
-  typedef otb::MeanShiftSmoothingImageFilter<ImageType, OutputImageType> FilterType;
-
-  // Instantiating object
-  FilterType::Pointer filter = FilterType::New();
-
-  std::cout << filter << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Filtering/Statistics/test/CMakeLists.txt b/Modules/Filtering/Statistics/test/CMakeLists.txt
index cdd593a5b0..14cffcc113 100644
--- a/Modules/Filtering/Statistics/test/CMakeLists.txt
+++ b/Modules/Filtering/Statistics/test/CMakeLists.txt
@@ -22,14 +22,8 @@ otb_module_test()
 
 set(OTBStatisticsTests
 otbStatisticsTestDriver.cxx
-otbListSampleToHistogramListGeneratorNew.cxx
 otbStreamingMinMaxImageFilter.cxx
-otbStreamingMinMaxVectorImageFilterNew.cxx
-otbVarianceImageFilterNew.cxx
-otbStreamingStatisticsImageFilterNew.cxx
-otbListSampleToVariableDimensionHistogramGeneratorNew.cxx
 otbStreamingHistogramVectorImageFilter.cxx
-otbStreamingStatisticsVectorImageFilterNew.cxx
 otbRealImageToComplexImageFilterTest.cxx
 otbHistogramStatisticsFunction.cxx
 otbContinuousMinimumMaximumImageCalculatorTest.cxx
@@ -37,19 +31,15 @@ otbGaussianAdditiveNoiseSampleListFilter.cxx
 otbNormalizeVectorImageFilter.cxx
 otbVectorImageToMatrixImageFilter.cxx
 otbListSampleToVariableDimensionHistogramGenerator.cxx
-otbStreamingMinMaxImageFilterNew.cxx
 otbShiftScaleSampleListFilter.cxx
 otbVectorImageToIntensityImageFilter.cxx
 otbVarianceImageFilter.cxx
 otbConcatenateSampleListFilter.cxx
 otbLocalHistogramImageFunctionTest.cxx
-otbVectorImageToIntensityImageFilterNew.cxx
 otbProjectiveProjection.cxx
 otbShiftScaleVectorImageFilterTest.cxx
-otbContinuousMinimumMaximumImageCalculatorNew.cxx
 otbStreamingCompareImageFilter.cxx
 otbStreamingStatisticsMapFromLabelImageFilterTest.cxx
-otbLocalHistogramImageFunctionNew.cxx
 otbRealAndImaginaryImageToComplexImageFilterTest.cxx
 otbStreamingStatisticsImageFilter.cxx
 otbListSampleToBalancedListSampleFilter.cxx
@@ -67,9 +57,6 @@ otb_module_target_label(otbStatisticsTestDriver)
 
 # Tests Declaration
 
-otb_add_test(NAME bfTuListSampleToHistogramListGeneratorNew COMMAND otbStatisticsTestDriver
-  otbListSampleToHistogramListGeneratorNew)
-
 otb_add_test(NAME bfTvStreamingMinMaxImageFilter COMMAND otbStatisticsTestDriver
   --compare-ascii ${NOTOL}
   ${BASELINE_FILES}/bfTvStreamingMinMaxImageFilterResults.txt
@@ -79,29 +66,11 @@ otb_add_test(NAME bfTvStreamingMinMaxImageFilter COMMAND otbStatisticsTestDriver
   ${TEMP}/bfTvStreamingMinMaxImageFilterResults.txt
   )
 
-otb_add_test(NAME bfTuStreamingMinMaxVectorImageFilterNew COMMAND otbStatisticsTestDriver
-  otbStreamingMinMaxVectorImageFilterNew)
-
-otb_add_test(NAME bfTuVarianceImageFilterNew COMMAND otbStatisticsTestDriver
-  otbVarianceImageFilterNew)
-
-otb_add_test(NAME bfTuStreamingStatisticsImageFilterNew COMMAND otbStatisticsTestDriver
-  otbStreamingStatisticsImageFilterNew)
-
-otb_add_test(NAME bfTuListSampleToVariableDimensionHistogramGeneratorNew COMMAND otbStatisticsTestDriver
-  otbListSampleToVariableDimensionHistogramGeneratorNew)
-
-otb_add_test(NAME bfTuStreamingHistogramVIFilterNew COMMAND otbStatisticsTestDriver
-  otbStreamingHistogramVectorImageFilterNew
-  )
 
 otb_add_test(NAME bfTvStreamingHistogramVIFilterTest COMMAND otbStatisticsTestDriver
   otbStreamingHistogramVectorImageFilterTest
   )
 
-otb_add_test(NAME bfTuStreamingStatisticsVectorImageFilterNew COMMAND otbStatisticsTestDriver
-  otbStreamingStatisticsVectorImageFilterNew)
-
 
 
 otb_add_test(NAME bfTvRealImageToComplexImageFilterTest COMMAND otbStatisticsTestDriver
@@ -117,9 +86,6 @@ otb_add_test(NAME bfTvContinuousMinimumMaximumImageCalculatorTest COMMAND otbSta
   otbContinuousMinimumMaximumImageCalculatorTest
   ${INPUTDATA}/QB_Suburb.png )
 
-otb_add_test(NAME leTuGaussianAdditiveNoiseSampleListFilterNew COMMAND otbStatisticsTestDriver
-  otbGaussianAdditiveNoiseSampleListFilterNew)
-
 otb_add_test(NAME leTvGaussianAdditiveNoiseSampleListFilter COMMAND otbStatisticsTestDriver
   --compare-ascii ${NOTOL}
   ${BASELINE_FILES}/leTvGaussianAdditiveNoiseSampleListFilterOutput.txt
@@ -145,9 +111,6 @@ otb_add_test(NAME bfTvNormalizeVectorImageFilter COMMAND otbStatisticsTestDriver
   -in ${INPUTDATA}/cupriteSubHsi.tif
   -out ${TEMP}/bfTvNormalizeVectorImageFilter.tif)
 
-otb_add_test(NAME bfTuVectorImageToMatrixNew COMMAND otbStatisticsTestDriver
-  otbVectorImageToMatrixNewTest)
-
 otb_add_test(NAME bfTvVectorImageToMatrix COMMAND otbStatisticsTestDriver
   otbVectorImageToMatrixTest)
 
@@ -161,12 +124,6 @@ otb_add_test(NAME bfTvListSampleToVariableDimensionHistogramGenerator COMMAND ot
   10 1
   )
 
-otb_add_test(NAME bfTuStreamingMinMaxImageFilterNew COMMAND otbStatisticsTestDriver
-  otbStreamingMinMaxImageFilterNew)
-
-otb_add_test(NAME leTuShiftScaleSampleListFilterNew COMMAND otbStatisticsTestDriver
-  otbShiftScaleSampleListFilterNew)
-
 otb_add_test(NAME leTvShiftScaleSampleListFilter COMMAND otbStatisticsTestDriver
   --compare-ascii ${NOTOL}
   ${BASELINE_FILES}/leTvShiftScaleSampleListFilterOutput.txt
@@ -199,9 +156,6 @@ otb_add_test(NAME bfTvVarianceImageFilter COMMAND otbStatisticsTestDriver
   ${TEMP}/bfVarianceImageFilter.tif
   )
 
-otb_add_test(NAME leTuConcatenateSampleListFilterNew COMMAND otbStatisticsTestDriver
-  otbConcatenateSampleListFilterNew)
-
 otb_add_test(NAME leTvConcatenateSampleListFilter COMMAND otbStatisticsTestDriver
   --compare-ascii ${NOTOL}
   ${BASELINE_FILES}/leTvConcatenateSampleListFilterOutput.txt
@@ -226,12 +180,6 @@ otb_add_test(NAME feTvLocalHistogramImageFunctionTest COMMAND otbStatisticsTestD
   127 127 127 0 128
   )
 
-otb_add_test(NAME bfTuVectorImageToIntensityImageFilterNew COMMAND otbStatisticsTestDriver
-  otbVectorImageToIntensityImageFilterNew)
-
-otb_add_test(NAME bfTuProjectiveProjectionNew COMMAND otbStatisticsTestDriver
-  otbProjectiveProjectionNew)
-
 otb_add_test(NAME bfTvProjectiveProjectionTestHighSNR COMMAND otbStatisticsTestDriver
   --compare-image ${EPSILON_7}
   ${BASELINE}/bfTvProjectiveProjectionTestHighSNR.tif
@@ -250,12 +198,6 @@ otb_add_test(NAME bfTvShiftScaleVectorImageFilter COMMAND otbStatisticsTestDrive
   ${TEMP}/bfTvShiftScaleVImageOutput.tif
   )
 
-otb_add_test(NAME bfTuContinuousMinimumMaximumImageCalculatorNew COMMAND otbStatisticsTestDriver
-  otbContinuousMinimumMaximumImageCalculatorNew
-  )
-
-otb_add_test(NAME bfTuStreamingCompareImageFilterNew COMMAND otbStatisticsTestDriver
-  otbStreamingCompareImageFilterNew)
 
 otb_add_test(NAME bfTvStreamingCompareImageFilter COMMAND otbStatisticsTestDriver
   --compare-ascii ${NOTOL}
@@ -265,9 +207,6 @@ otb_add_test(NAME bfTvStreamingCompareImageFilter COMMAND otbStatisticsTestDrive
   ${INPUTDATA}/small_poupees_1canal.hd
   ${TEMP}/bfStreamingCompareImageFilterResults.txt)
 
-otb_add_test(NAME feTuLocalHistogramImageFunctionNew COMMAND otbStatisticsTestDriver
-  otbLocalHistogramImageFunctionNew
-  )
 
 otb_add_test(NAME bfTvRealAndImaginaryImageToComplexImageFilterTest COMMAND otbStatisticsTestDriver
   otbRealAndImaginaryImageToComplexImageFilterTest
@@ -328,9 +267,6 @@ foreach(inputFileType "UINT8" "UINT16" "INT16" "UINT32" "INT32" "FLOAT" "DOUBLE"
   endforeach()
 endforeach()
 
-otb_add_test(NAME leTuListSampleToBalancedListSampleFilterNew COMMAND otbStatisticsTestDriver
-  otbListSampleToBalancedListSampleFilterNew)
-
 otb_add_test(NAME leTvListSampleToBalancedListSampleFilter COMMAND otbStatisticsTestDriver
   --compare-ascii ${NOTOL}
   ${BASELINE_FILES}/leTvListSampleToBalancedListSampleFilterOutput.txt
@@ -392,9 +328,6 @@ otb_add_test(NAME bfTvStreamingMinMaxVectorImageFilter COMMAND otbStatisticsTest
   ${TEMP}/bfTvStreamingMinMaxVectorImageFilterResults.txt
   )
 
-otb_add_test(NAME leTuListSampleGeneratorNew COMMAND otbStatisticsTestDriver
-  otbListSampleGeneratorNew)
-
 otb_add_test(NAME leTvListSampleGenerator4 COMMAND otbStatisticsTestDriver
   --compare-n-ascii ${NOTOL} 2
   ${BASELINE_FILES}/leTvListSampleGenerator4.txt
diff --git a/Modules/Filtering/Statistics/test/otbContinuousMinimumMaximumImageCalculatorNew.cxx b/Modules/Filtering/Statistics/test/otbContinuousMinimumMaximumImageCalculatorNew.cxx
deleted file mode 100644
index 58500d6e25..0000000000
--- a/Modules/Filtering/Statistics/test/otbContinuousMinimumMaximumImageCalculatorNew.cxx
+++ /dev/null
@@ -1,39 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#include "itkMacro.h"
-
-#include "otbImage.h"
-#include "otbContinuousMinimumMaximumImageCalculator.h"
-
-int otbContinuousMinimumMaximumImageCalculatorNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  const unsigned int ImageDimension = 2;
-
-  typedef otb::Image<unsigned int, ImageDimension> InputImageType;
-
-  typedef otb::ContinuousMinimumMaximumImageCalculator<InputImageType> FilterType;
-
-  FilterType::Pointer filter = FilterType::New();
-
-  std::cout << filter << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Filtering/Statistics/test/otbListSampleToHistogramListGeneratorNew.cxx b/Modules/Filtering/Statistics/test/otbListSampleToHistogramListGeneratorNew.cxx
deleted file mode 100644
index 30d3977871..0000000000
--- a/Modules/Filtering/Statistics/test/otbListSampleToHistogramListGeneratorNew.cxx
+++ /dev/null
@@ -1,41 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#include "otbVectorImage.h"
-#include "itkListSample.h"
-#include "otbListSampleToHistogramListGenerator.h"
-
-int otbListSampleToHistogramListGeneratorNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-
-  typedef double                                       PixelType;
-  typedef otb::VectorImage<PixelType>                  VectorImageType;
-  typedef VectorImageType::PixelType                   VectorPixelType;
-  typedef itk::Statistics::ListSample<VectorPixelType> ListSampleType;
-  typedef otb::ListSampleToHistogramListGenerator
-  <ListSampleType, PixelType>                         HistogramGeneratorType;
-
-  // Instantiation
-  HistogramGeneratorType::Pointer generator = HistogramGeneratorType::New();
-
-  std::cout << generator << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Filtering/Statistics/test/otbListSampleToVariableDimensionHistogramGeneratorNew.cxx b/Modules/Filtering/Statistics/test/otbListSampleToVariableDimensionHistogramGeneratorNew.cxx
deleted file mode 100644
index 9fca6e76a6..0000000000
--- a/Modules/Filtering/Statistics/test/otbListSampleToVariableDimensionHistogramGeneratorNew.cxx
+++ /dev/null
@@ -1,41 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#include "otbVectorImage.h"
-#include "itkListSample.h"
-#include "otbListSampleToVariableDimensionHistogramGenerator.h"
-
-int otbListSampleToVariableDimensionHistogramGeneratorNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-
-  typedef double                                       PixelType;
-  typedef otb::VectorImage<PixelType>                  VectorImageType;
-  typedef VectorImageType::PixelType                   VectorPixelType;
-  typedef itk::Statistics::ListSample<VectorPixelType> ListSampleType;
-  typedef otb::ListSampleToVariableDimensionHistogramGenerator
-  <ListSampleType, PixelType>                         HistogramGeneratorType;
-
-  // Instantiation
-  HistogramGeneratorType::Pointer generator = HistogramGeneratorType::New();
-
-  std::cout << generator << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Filtering/Statistics/test/otbLocalHistogramImageFunctionNew.cxx b/Modules/Filtering/Statistics/test/otbLocalHistogramImageFunctionNew.cxx
deleted file mode 100644
index b472224587..0000000000
--- a/Modules/Filtering/Statistics/test/otbLocalHistogramImageFunctionNew.cxx
+++ /dev/null
@@ -1,38 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-
-
-
-#include "otbImage.h"
-#include "otbLocalHistogramImageFunction.h"
-
-int otbLocalHistogramImageFunctionNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  typedef unsigned char InputPixelType;
-  const unsigned int Dimension = 2;
-
-  typedef otb::Image<InputPixelType,  Dimension>                  InputImageType;
-  typedef otb::LocalHistogramImageFunction<InputImageType>        FunctionType;
-
-  FunctionType::Pointer function       = FunctionType::New();
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Filtering/Statistics/test/otbStreamingMinMaxImageFilterNew.cxx b/Modules/Filtering/Statistics/test/otbStreamingMinMaxImageFilterNew.cxx
deleted file mode 100644
index 971fd96d03..0000000000
--- a/Modules/Filtering/Statistics/test/otbStreamingMinMaxImageFilterNew.cxx
+++ /dev/null
@@ -1,40 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#include "itkMacro.h"
-
-#include "otbStreamingMinMaxImageFilter.h"
-#include "otbImage.h"
-
-int otbStreamingMinMaxImageFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  const unsigned int Dimension = 2;
-  typedef unsigned char PixelType;
-
-  typedef otb::Image<PixelType, Dimension>               ImageType;
-  typedef otb::StreamingMinMaxImageFilter<ImageType> StreamingMinMaxImageFilterType;
-
-  // Instantiating object
-  StreamingMinMaxImageFilterType::Pointer filter = StreamingMinMaxImageFilterType::New();
-
-  std::cout << filter << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Filtering/Statistics/test/otbStreamingMinMaxVectorImageFilterNew.cxx b/Modules/Filtering/Statistics/test/otbStreamingMinMaxVectorImageFilterNew.cxx
deleted file mode 100644
index 3fe8fa9cbb..0000000000
--- a/Modules/Filtering/Statistics/test/otbStreamingMinMaxVectorImageFilterNew.cxx
+++ /dev/null
@@ -1,40 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#include "itkMacro.h"
-
-#include "otbStreamingMinMaxVectorImageFilter.h"
-#include "otbVectorImage.h"
-
-int otbStreamingMinMaxVectorImageFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  const unsigned int Dimension = 2;
-  typedef unsigned char PixelType;
-
-  typedef otb::VectorImage<PixelType, Dimension>               ImageType;
-  typedef otb::StreamingMinMaxVectorImageFilter<ImageType> StreamingMinMaxVectorImageFilterType;
-
-  // Instantiating object
-  StreamingMinMaxVectorImageFilterType::Pointer filter = StreamingMinMaxVectorImageFilterType::New();
-
-  std::cout << filter << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Filtering/Statistics/test/otbStreamingStatisticsImageFilterNew.cxx b/Modules/Filtering/Statistics/test/otbStreamingStatisticsImageFilterNew.cxx
deleted file mode 100644
index b8cb1ccc82..0000000000
--- a/Modules/Filtering/Statistics/test/otbStreamingStatisticsImageFilterNew.cxx
+++ /dev/null
@@ -1,40 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#include "itkMacro.h"
-
-#include "otbStreamingStatisticsImageFilter.h"
-#include "otbImage.h"
-
-int otbStreamingStatisticsImageFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  const unsigned int Dimension = 2;
-  typedef unsigned char PixelType;
-
-  typedef otb::Image<PixelType, Dimension>               ImageType;
-  typedef otb::StreamingStatisticsImageFilter<ImageType> StreamingStatisticsImageFilterType;
-
-  // Instantiating object
-  StreamingStatisticsImageFilterType::Pointer filter = StreamingStatisticsImageFilterType::New();
-
-  std::cout << filter << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Filtering/Statistics/test/otbStreamingStatisticsVectorImageFilterNew.cxx b/Modules/Filtering/Statistics/test/otbStreamingStatisticsVectorImageFilterNew.cxx
deleted file mode 100644
index fc4d30487f..0000000000
--- a/Modules/Filtering/Statistics/test/otbStreamingStatisticsVectorImageFilterNew.cxx
+++ /dev/null
@@ -1,40 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#include "itkMacro.h"
-
-#include "otbStreamingStatisticsVectorImageFilter.h"
-#include "otbVectorImage.h"
-
-int otbStreamingStatisticsVectorImageFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  const unsigned int Dimension = 2;
-  typedef unsigned char PixelType;
-
-  typedef otb::VectorImage<PixelType, Dimension>               ImageType;
-  typedef otb::StreamingStatisticsVectorImageFilter<ImageType> StreamingStatisticsVectorImageFilterType;
-
-  // Instantiating object
-  StreamingStatisticsVectorImageFilterType::Pointer filter = StreamingStatisticsVectorImageFilterType::New();
-
-  std::cout << filter << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Filtering/Statistics/test/otbVarianceImageFilterNew.cxx b/Modules/Filtering/Statistics/test/otbVarianceImageFilterNew.cxx
deleted file mode 100644
index dbbda8a61d..0000000000
--- a/Modules/Filtering/Statistics/test/otbVarianceImageFilterNew.cxx
+++ /dev/null
@@ -1,38 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#include "otbVarianceImageFilter.h"
-#include "otbImage.h"
-
-int otbVarianceImageFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  const unsigned int Dimension = 2;
-  typedef double PixelType;
-
-  typedef otb::Image<PixelType, Dimension>               ImageType;
-  typedef otb::VarianceImageFilter<ImageType, ImageType> FilterType;
-
-  // Instantiating object
-  FilterType::Pointer filter = FilterType::New();
-
-  std::cout << filter << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Filtering/Statistics/test/otbVectorImageToIntensityImageFilterNew.cxx b/Modules/Filtering/Statistics/test/otbVectorImageToIntensityImageFilterNew.cxx
deleted file mode 100644
index 3487c2145a..0000000000
--- a/Modules/Filtering/Statistics/test/otbVectorImageToIntensityImageFilterNew.cxx
+++ /dev/null
@@ -1,40 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#include "itkMacro.h"
-#include "otbImage.h"
-#include "otbVectorImage.h"
-#include "otbVectorImageToIntensityImageFilter.h"
-
-int otbVectorImageToIntensityImageFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  const unsigned int Dimension = 2;
-  typedef double                                                                  PixelType;
-  typedef otb::VectorImage<PixelType, Dimension>                                  InputImageType;
-  typedef otb::Image<PixelType, Dimension>                                        OutputImageType;
-  typedef otb::VectorImageToIntensityImageFilter<InputImageType, OutputImageType> FilterType;
-
-  // Instantiating object
-  FilterType::Pointer filter = FilterType::New();
-
-  std::cout << filter << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Filtering/TimeSeries/test/CMakeLists.txt b/Modules/Filtering/TimeSeries/test/CMakeLists.txt
index 1ece932531..dc042e6ec1 100644
--- a/Modules/Filtering/TimeSeries/test/CMakeLists.txt
+++ b/Modules/Filtering/TimeSeries/test/CMakeLists.txt
@@ -22,9 +22,7 @@ otb_module_test()
 set(OTBTimeSeriesTests
   otbEnvelopeSavitzkyGolayInterpolationFunctorTest.cxx
   otbPolynomialTimeSeriesTest.cxx
-  otbSavitzkyGolayInterpolationFunctorNew.cxx
   otbSavitzkyGolayInterpolationFunctorTest.cxx
-  otbTimeSeriesLeastSquareFittingFunctorNew.cxx
   otbTimeSeriesLeastSquareFittingFunctorTest.cxx
   otbTimeSeriesLeastSquareFittingFunctorWeightsTest.cxx
   otbTimeSeriesTestDriver.cxx  )
diff --git a/Modules/Filtering/TimeSeries/test/otbSavitzkyGolayInterpolationFunctorNew.cxx b/Modules/Filtering/TimeSeries/test/otbSavitzkyGolayInterpolationFunctorNew.cxx
deleted file mode 100644
index 68db3f67c2..0000000000
--- a/Modules/Filtering/TimeSeries/test/otbSavitzkyGolayInterpolationFunctorNew.cxx
+++ /dev/null
@@ -1,39 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-
-
-#include "otbSavitzkyGolayInterpolationFunctor.h"
-
-int otbSavitzkyGolayInterpolationFunctorNew(int itkNotUsed(argc), char* itkNotUsed(argv)[])
-{
-
-  typedef float PixelType;
-  typedef unsigned int DoYType;
-  typedef itk::FixedArray< PixelType > SeriesType;
-  typedef itk::FixedArray< DoYType > DatesType;
-  const unsigned int Radius = 2;
-
-  typedef otb::Functor::SavitzkyGolayInterpolationFunctor<Radius, SeriesType, DatesType> FunctorType;
-
-  FunctorType f;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Filtering/TimeSeries/test/otbTimeSeriesLeastSquareFittingFunctorNew.cxx b/Modules/Filtering/TimeSeries/test/otbTimeSeriesLeastSquareFittingFunctorNew.cxx
deleted file mode 100644
index 84206362ed..0000000000
--- a/Modules/Filtering/TimeSeries/test/otbTimeSeriesLeastSquareFittingFunctorNew.cxx
+++ /dev/null
@@ -1,42 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-
-
-#include "otbTimeSeriesLeastSquareFittingFunctor.h"
-#include "otbTimeSeries.h"
-
-int otbTimeSeriesLeastSquareFittingFunctorNew(int itkNotUsed(argc), char* itkNotUsed(argv)[])
-{
-
-  typedef float PixelType;
-  typedef unsigned int DoYType;
-  typedef itk::FixedArray< PixelType > SeriesType;
-  typedef itk::FixedArray< DoYType > DatesType;
-  typedef double CoefficientPrecisionType;
-  const unsigned int Degree = 2;
-  typedef otb::PolynomialTimeSeries< Degree, CoefficientPrecisionType > FunctionType;
-
-  typedef otb::Functor::TimeSeriesLeastSquareFittingFunctor<SeriesType, FunctionType, DatesType> FunctorType;
-
-  FunctorType f;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Filtering/VectorDataManipulation/test/CMakeLists.txt b/Modules/Filtering/VectorDataManipulation/test/CMakeLists.txt
index 904686f999..627429d1a5 100644
--- a/Modules/Filtering/VectorDataManipulation/test/CMakeLists.txt
+++ b/Modules/Filtering/VectorDataManipulation/test/CMakeLists.txt
@@ -25,11 +25,9 @@ otbVectorDataManipulationTestDriver.cxx
 otbDBOverlapDataNodeFeatureFunction.cxx
 otbVectorDataExtractROI.cxx
 otbVectorDataToSpecificDescriptionFilterBase.cxx
-otbVectorDataToVectorDataFilterNew.cxx
 otbPolygonCompacityFunctor.cxx
 otbVectorDataToRandomLineGenerator.cxx
 otbConcatenateVectorDataFilter.cxx
-otbVectorDataExtractROINew.cxx
 otbRadiometryHomogenousWithNeighborhoodDataNodeFeatureFunction.cxx
 )
 
@@ -50,9 +48,6 @@ otb_add_test(NAME bfTvDBOverlapDataNodeFeatureFunction COMMAND otbVectorDataMani
   0
   )
 
-otb_add_test(NAME bfTuDBOverlapDataNodeFeatureFunctionNew COMMAND otbVectorDataManipulationTestDriver
-  otbDBOverlapDataNodeFeatureFunctionNew
-  )
 
 otb_add_test(NAME coTvVectorDataExtractROI COMMAND otbVectorDataManipulationTestDriver
   --compare-ogr ${NOTOL}
@@ -76,12 +71,6 @@ otb_add_test(NAME coTvVectorDataExtractROI2 COMMAND otbVectorDataManipulationTes
   1000.25 25000.2                               # Size of the Cartoregion
   )
 
-otb_add_test(NAME fzTuVectorDataToSpecificDescriptionFilterBaseNew COMMAND otbVectorDataManipulationTestDriver
-  otbVectorDataToSpecificDescriptionFilterBaseNew)
-
-otb_add_test(NAME coTuVectorDataToVectorDataFilterNew COMMAND otbVectorDataManipulationTestDriver
-  otbVectorDataToVectorDataFilterNew)
-
 otb_add_test(NAME bfTvPolygonCompacityFunctor COMMAND otbVectorDataManipulationTestDriver
   --compare-ascii ${NOTOL}
   ${BASELINE_FILES}/bfPolygonCompacityFunctorTest.txt
@@ -100,13 +89,7 @@ otb_add_test(NAME bfTvVectorDataToRandomLineGenerator COMMAND otbVectorDataManip
   ${TEMP}/bfTvVectorDataToRandomLineGeneratorOutput.shp
   )
 
-otb_add_test(NAME bfTuVectorDataToRandomLineGeneratorNew COMMAND otbVectorDataManipulationTestDriver
-  otbVectorDataToRandomLineGeneratorNew
-  )
 
-otb_add_test(NAME bfTuConcatenateVectorDataFilterNew COMMAND otbVectorDataManipulationTestDriver
-  otbConcatenateVectorDataFilterNew
-  )
 
 otb_add_test(NAME bfTvConcatenateVectorDataFilter COMMAND otbVectorDataManipulationTestDriver
   --compare-ogr ${NOTOL}
@@ -118,9 +101,6 @@ otb_add_test(NAME bfTvConcatenateVectorDataFilter COMMAND otbVectorDataManipulat
   -out ${TEMP}/otbConcatenateVectorDataFilter_Output.shp
   )
 
-otb_add_test(NAME coTuVectorDataExtractROINew COMMAND otbVectorDataManipulationTestDriver
-  otbVectorDataExtractROINew)
-
 otb_add_test(NAME bfTvRadiometryHomogenousWithNeighborhoodDataNodeFeatureFunction_Polygon COMMAND otbVectorDataManipulationTestDriver
   --compare-ogr ${NOTOL}
   ${BASELINE_FILES}/bfTvRadiometryHomogenousWithNeighborhoodDataNodeFeatureFunctionOutput_Polygon.shp
@@ -131,9 +111,6 @@ otb_add_test(NAME bfTvRadiometryHomogenousWithNeighborhoodDataNodeFeatureFunctio
   ${INPUTDATA}/DEM/srtm_directory
   ${TEMP}/bfTvRadiometryHomogenousWithNeighborhoodDataNodeFeatureFunctionOutput_Polygon.shp
   0 )
-otb_add_test(NAME bfTuRadiometryHomogenousWithNeighborhoodDataNodeFeatureFunctionNew COMMAND otbVectorDataManipulationTestDriver
-  otbRadiometryHomogenousWithNeighborhoodDataNodeFeatureFunctionNew
-  )
 otb_add_test(NAME bfTvRadiometryHomogenousWithNeighborhoodDataNodeFeatureFunction_Line COMMAND otbVectorDataManipulationTestDriver
   --compare-ogr ${NOTOL}
   ${BASELINE_FILES}/bfTvRadiometryHomogenousWithNeighborhoodDataNodeFeatureFunctionOutput_Line.shp
diff --git a/Modules/Filtering/VectorDataManipulation/test/otbVectorDataExtractROINew.cxx b/Modules/Filtering/VectorDataManipulation/test/otbVectorDataExtractROINew.cxx
deleted file mode 100644
index 155be45a9c..0000000000
--- a/Modules/Filtering/VectorDataManipulation/test/otbVectorDataExtractROINew.cxx
+++ /dev/null
@@ -1,34 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#include "otbVectorData.h"
-#include "otbVectorDataExtractROI.h"
-
-int otbVectorDataExtractROINew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  typedef otb::VectorData<>                         VectorDataType;
-  typedef otb::VectorDataExtractROI<VectorDataType> FilterType;
-
-  FilterType::Pointer filter = FilterType::New();
-
-  std::cout << filter << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Filtering/VectorDataManipulation/test/otbVectorDataToVectorDataFilterNew.cxx b/Modules/Filtering/VectorDataManipulation/test/otbVectorDataToVectorDataFilterNew.cxx
deleted file mode 100644
index 4590a37e1a..0000000000
--- a/Modules/Filtering/VectorDataManipulation/test/otbVectorDataToVectorDataFilterNew.cxx
+++ /dev/null
@@ -1,38 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#include "itkMacro.h"
-#include "otbVectorDataToVectorDataFilter.h"
-#include "otbVectorData.h"
-
-int otbVectorDataToVectorDataFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-
-  typedef otb::VectorData<double>           InputVectorDataType;
-  typedef otb::VectorData<unsigned char, 2> OutputVectorDataType;
-
-  typedef otb::VectorDataToVectorDataFilter<InputVectorDataType, OutputVectorDataType> VectorDataFilterType;
-
-  VectorDataFilterType::Pointer vectorData = VectorDataFilterType::New();
-
-  std::cout << vectorData << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Filtering/VectorDataRendering/test/CMakeLists.txt b/Modules/Filtering/VectorDataRendering/test/CMakeLists.txt
index 60f81b0598..fb5e292bcc 100644
--- a/Modules/Filtering/VectorDataRendering/test/CMakeLists.txt
+++ b/Modules/Filtering/VectorDataRendering/test/CMakeLists.txt
@@ -24,7 +24,6 @@ set(OTBVectorDataRenderingTests
 otbVectorDataRenderingTestDriver.cxx
 otbVectorDataToMapFilterWorld.cxx
 otbVectorDataToMapFilter.cxx
-otbVectorDataToMapFilterNew.cxx
 otbVectorDataToMapFilterNoFonts.cxx
 otbVectorDataToMapFilterSensorModel.cxx
 )
@@ -68,9 +67,6 @@ otb_add_test(NAME coTvVectorDataToMapFilter COMMAND otbVectorDataRenderingTestDr
   ${INPUTDATA}/DejaVuSans.ttf # font
   )
 
-otb_add_test(NAME coTuVectorDataToMapFilterNew COMMAND otbVectorDataRenderingTestDriver
-  otbVectorDataToMapFilterNew
-  )
 
 otb_add_test(NAME coTvVectorDataToMapFilterNoFonts COMMAND otbVectorDataRenderingTestDriver
   --compare-image ${NOTOL}
diff --git a/Modules/Filtering/VectorDataRendering/test/otbVectorDataToMapFilterNew.cxx b/Modules/Filtering/VectorDataRendering/test/otbVectorDataToMapFilterNew.cxx
deleted file mode 100644
index 1e7e4eb51f..0000000000
--- a/Modules/Filtering/VectorDataRendering/test/otbVectorDataToMapFilterNew.cxx
+++ /dev/null
@@ -1,40 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-
-#include "itkRGBAPixel.h"
-#include "otbImage.h"
-#include "otbVectorData.h"
-#include "otbVectorDataToMapFilter.h"
-
-int otbVectorDataToMapFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-
-  typedef otb::VectorData<>             VectorDataType;
-  typedef itk::RGBAPixel<unsigned char> PixelType;
-  typedef otb::Image<PixelType, 2>      ImageType;
-
-  typedef otb::VectorDataToMapFilter<VectorDataType, ImageType> VectorDataToMapFilterType;
-  VectorDataToMapFilterType::Pointer vectorDataRendering = VectorDataToMapFilterType::New();
-
-  std::cout << vectorDataRendering << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Filtering/Wavelet/test/CMakeLists.txt b/Modules/Filtering/Wavelet/test/CMakeLists.txt
index 89b0a5c523..3a0e2557a6 100644
--- a/Modules/Filtering/Wavelet/test/CMakeLists.txt
+++ b/Modules/Filtering/Wavelet/test/CMakeLists.txt
@@ -26,15 +26,7 @@ otbWaveletOperator.cxx
 otbWaveletPacketTransform.cxx
 otbWaveletTransform.cxx
 otbSubsampleImageFilter.cxx
-otbSubsampleImageFilterNew.cxx
-otbWaveletInverseFilterBankNew.cxx
-otbWaveletInverseTransformNew.cxx
-otbWaveletTransformNew.cxx
-otbWaveletPacketInverseTransformNew.cxx
 otbWaveletFilterBank.cxx
-otbWaveletPacketTransformNew.cxx
-otbWaveletFilterBankNew.cxx
-otbWaveletOperatorNew.cxx
 otbWaveletImageToImageFilter.cxx
 )
 
@@ -549,21 +541,6 @@ otb_add_test(NAME msTvSubsampleImageFilter COMMAND otbWaveletTestDriver
   ${TEMP}/msSubsampleImageFilterOnePixelOutOf2.tif
   )
 
-otb_add_test(NAME msTuSubsampleImageFilterNew COMMAND otbWaveletTestDriver
-  otbSubsampleImageFilterNew)
-
-otb_add_test(NAME msTuWaveletInverseFilterBankNew COMMAND otbWaveletTestDriver
-  otbWaveletInverseFilterBankNew)
-
-otb_add_test(NAME msTuWaveletInverseTransformNew COMMAND otbWaveletTestDriver
-  otbWaveletInverseTransformNew)
-
-otb_add_test(NAME msTuWaveletTransformNew COMMAND otbWaveletTestDriver
-  otbWaveletTransformNew)
-
-otb_add_test(NAME msTuWaveletPacketInverseTransformNew COMMAND otbWaveletTestDriver
-  otbWaveletPacketInverseTransformNew)
-
 otb_add_test(NAME msTvWaveletMultiScaleFilterBank COMMAND otbWaveletTestDriver
   --compare-image ${EPSILON_6}
   ${INPUTDATA}/ROI_IKO_PAN_LesHalles.tif
@@ -584,15 +561,6 @@ otb_add_test(NAME msTvWaveletFilterBank COMMAND otbWaveletTestDriver
   ${TEMP}/ROI_IKO_PAN_LesHalles_FilterBank.tif
   )
 
-otb_add_test(NAME msTuWaveletPacketTransformNew COMMAND otbWaveletTestDriver
-  otbWaveletPacketTransformNew)
-
-otb_add_test(NAME msTuWaveletFilterBankNew COMMAND otbWaveletTestDriver
-  otbWaveletFilterBankNew)
-
-otb_add_test(NAME msTuWaveletOperatorNew COMMAND otbWaveletTestDriver
-  otbWaveletOperatorNew )
-
 otb_add_test(NAME msTvWaveletImageToImageFilter COMMAND otbWaveletTestDriver
   --compare-image ${EPSILON_6}
   ${INPUTDATA}/QB_Toulouse_Ortho_PAN.tif
diff --git a/Modules/Filtering/Wavelet/test/otbSubsampleImageFilterNew.cxx b/Modules/Filtering/Wavelet/test/otbSubsampleImageFilterNew.cxx
deleted file mode 100644
index c32a7a15c5..0000000000
--- a/Modules/Filtering/Wavelet/test/otbSubsampleImageFilterNew.cxx
+++ /dev/null
@@ -1,43 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- * Copyright (C) 2007-2012 Institut Mines Telecom / Telecom Bretagne
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-
-
-#include "otbImage.h"
-#include "otbImageFileReader.h"
-#include "otbImageFileWriter.h"
-
-#include "otbSubsampleImageFilter.h"
-
-int otbSubsampleImageFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  const unsigned int Dimension = 2;
-  typedef double                           PixelType;
-  typedef otb::Image<PixelType, Dimension> ImageType;
-  typedef otb::SubsampleImageFilter<ImageType, ImageType, otb::Wavelet::FORWARD>
-  FilterType;
-
-  FilterType::Pointer filter = FilterType::New();
-
-  std::cout << filter << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Filtering/Wavelet/test/otbWaveletFilterBankNew.cxx b/Modules/Filtering/Wavelet/test/otbWaveletFilterBankNew.cxx
deleted file mode 100644
index 4680dee660..0000000000
--- a/Modules/Filtering/Wavelet/test/otbWaveletFilterBankNew.cxx
+++ /dev/null
@@ -1,44 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-
-#include "otbImage.h"
-#include "otbWaveletOperator.h"
-#include "otbWaveletFilterBank.h"
-
-int otbWaveletFilterBankNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  const int Dimension = 2;
-  typedef double                           PixelType;
-  typedef otb::Image<PixelType, Dimension> ImageType;
-
-  /* Wavelet choice */
-  //const otb::Wavelet::Wavelet wvltID = otb::Wavelet::HAAR;
-  const otb::Wavelet::Wavelet wvltID = otb::Wavelet::DB4;
-  typedef otb::WaveletOperator<wvltID, otb::Wavelet::FORWARD, PixelType, Dimension> WaveletOperator;
-
-  typedef otb::WaveletFilterBank<ImageType, ImageType, WaveletOperator, otb::Wavelet::FORWARD>
-  FilterType;
-  FilterType::Pointer filter = FilterType::New();
-
-  std::cout << filter << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Filtering/Wavelet/test/otbWaveletInverseFilterBankNew.cxx b/Modules/Filtering/Wavelet/test/otbWaveletInverseFilterBankNew.cxx
deleted file mode 100644
index d3673b624d..0000000000
--- a/Modules/Filtering/Wavelet/test/otbWaveletInverseFilterBankNew.cxx
+++ /dev/null
@@ -1,45 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-
-#include "otbImage.h"
-#include "otbWaveletOperator.h"
-#include "otbWaveletFilterBank.h"
-
-int otbWaveletInverseFilterBankNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  const int Dimension = 2;
-  typedef double                           PixelType;
-  typedef otb::Image<PixelType, Dimension> ImageType;
-
-  /* Wavelet choice */
-  //const otb::Wavelet::Wavelet wvltID = otb::Wavelet::HAAR;
-  const otb::Wavelet::Wavelet wvltID = otb::Wavelet::SYMLET8;
-
-  /* Inverse Transformation */
-  typedef otb::WaveletOperator<wvltID, otb::Wavelet::INVERSE, PixelType, Dimension> WaveletOperator;
-  typedef otb::WaveletFilterBank<ImageType, ImageType, WaveletOperator, otb::Wavelet::INVERSE>
-  FilterType;
-  FilterType::Pointer filter = FilterType::New();
-
-  std::cout << filter << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Filtering/Wavelet/test/otbWaveletInverseTransformNew.cxx b/Modules/Filtering/Wavelet/test/otbWaveletInverseTransformNew.cxx
deleted file mode 100644
index 99d07510ad..0000000000
--- a/Modules/Filtering/Wavelet/test/otbWaveletInverseTransformNew.cxx
+++ /dev/null
@@ -1,50 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- * Copyright (C) 2007-2012 Institut Mines Telecom / Telecom Bretagne
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-
-#include "otbImage.h"
-#include "otbWaveletOperator.h"
-#include "otbWaveletFilterBank.h"
-#include "otbWaveletTransform.h"
-
-int otbWaveletInverseTransformNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  const int Dimension = 2;
-  typedef double                           PixelType;
-  typedef otb::Image<PixelType, Dimension> ImageType;
-
-  /* Wavelet choice */
-  const otb::Wavelet::Wavelet wvltID = otb::Wavelet::SYMLET8;
-
-  /* Inverse Transformation */
-  typedef otb::WaveletOperator<wvltID, otb::Wavelet::INVERSE, PixelType, Dimension>
-  InverseWaveletOperator;
-  typedef otb::WaveletFilterBank<ImageType, ImageType, InverseWaveletOperator, otb::Wavelet::INVERSE>
-  InverseFilterBank;
-  typedef otb::WaveletTransform<ImageType, ImageType, InverseFilterBank, otb::Wavelet::INVERSE>
-  InvFilterType;
-
-  InvFilterType::Pointer invFilter = InvFilterType::New();
-
-  std::cout << invFilter << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Filtering/Wavelet/test/otbWaveletOperatorNew.cxx b/Modules/Filtering/Wavelet/test/otbWaveletOperatorNew.cxx
deleted file mode 100644
index 136d605eb8..0000000000
--- a/Modules/Filtering/Wavelet/test/otbWaveletOperatorNew.cxx
+++ /dev/null
@@ -1,43 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- * Copyright (C) 2007-2012 Institut Mines Telecom / Telecom Bretagne
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-
-#include "otbWaveletOperator.h"
-
-int otbWaveletOperatorNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  const otb::Wavelet::WaveletDirection directionID = otb::Wavelet::INVERSE;
-  const otb::Wavelet::Wavelet          wvltID = otb::Wavelet::SPLINE_BIORTHOGONAL_4_4;
-
-  const int Dimension = 2;
-  typedef double PixelType;
-
-  typedef otb::WaveletOperator<wvltID, directionID, PixelType, Dimension>
-  WaveletOperator;
-
-  typedef WaveletOperator::LowPassOperator LowPassOperatorType;
-  LowPassOperatorType h_filter;
-
-  typedef WaveletOperator::HighPassOperator HighPassOperatorType;
-  HighPassOperatorType g_filter;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Filtering/Wavelet/test/otbWaveletPacketInverseTransformNew.cxx b/Modules/Filtering/Wavelet/test/otbWaveletPacketInverseTransformNew.cxx
deleted file mode 100644
index 043b491b41..0000000000
--- a/Modules/Filtering/Wavelet/test/otbWaveletPacketInverseTransformNew.cxx
+++ /dev/null
@@ -1,51 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- * Copyright (C) 2007-2012 Institut Mines Telecom / Telecom Bretagne
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-
-#include "otbImage.h"
-#include "otbWaveletOperator.h"
-#include "otbWaveletFilterBank.h"
-#include "otbWaveletPacketTransform.h"
-
-int otbWaveletPacketInverseTransformNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  const int Dimension = 2;
-  typedef double                           PixelType;
-  typedef otb::Image<PixelType, Dimension> ImageType;
-
-  /* Wavelet choice */
-  //const otb::Wavelet::Wavelet wvltID = otb::Wavelet::HAAR;
-  const otb::Wavelet::Wavelet wvltID = otb::Wavelet::DB8;
-
-  /* Inverse Transformation */
-  typedef otb::WaveletOperator<wvltID, otb::Wavelet::INVERSE, PixelType, Dimension>
-  InverseWaveletOperator;
-  typedef otb::WaveletFilterBank<ImageType, ImageType, InverseWaveletOperator, otb::Wavelet::INVERSE>
-  InverseFilterBank;
-  typedef otb::WaveletPacketTransform<ImageType, ImageType, InverseFilterBank, otb::Wavelet::INVERSE>
-  InvFilterType;
-
-  InvFilterType::Pointer invFilter = InvFilterType::New();
-
-  std::cout << invFilter << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Filtering/Wavelet/test/otbWaveletPacketTransformNew.cxx b/Modules/Filtering/Wavelet/test/otbWaveletPacketTransformNew.cxx
deleted file mode 100644
index bd029d6578..0000000000
--- a/Modules/Filtering/Wavelet/test/otbWaveletPacketTransformNew.cxx
+++ /dev/null
@@ -1,54 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-
-#include "otbImage.h"
-#include "otbWaveletOperator.h"
-#include "otbWaveletFilterBank.h"
-#include "otbWaveletPacketTransform.h"
-
-int otbWaveletPacketTransformNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  const int Dimension = 2;
-  typedef double                           PixelType;
-  typedef otb::Image<PixelType, Dimension> ImageType;
-
-  /* Wavelet choice */
-  const otb::Wavelet::Wavelet wvltID = otb::Wavelet::HAAR;
-  // const otb::Wavelet::Wavelet wvltID = otb::Wavelet::SYMLET8;
-
-  /* Wavelet packet configuration */
-  typedef otb::FullyDecomposedWaveletPacketCost<ImageType> CostType;
-  CostType::NumberOfAllowedDecompositions = 1;
-
-  /* Forward Transformation */
-  typedef otb::WaveletOperator<wvltID, otb::Wavelet::FORWARD, PixelType, Dimension>
-  WaveletOperator;
-  typedef otb::WaveletFilterBank<ImageType, ImageType, WaveletOperator, otb::Wavelet::FORWARD>
-  ForwardFilterBank;
-  typedef otb::WaveletPacketTransform<ImageType, ImageType, ForwardFilterBank, otb::Wavelet::FORWARD, CostType>
-  FilterType;
-
-  FilterType::Pointer filter = FilterType::New();
-
-  std::cout << filter << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Filtering/Wavelet/test/otbWaveletTransformNew.cxx b/Modules/Filtering/Wavelet/test/otbWaveletTransformNew.cxx
deleted file mode 100644
index 0c6e847822..0000000000
--- a/Modules/Filtering/Wavelet/test/otbWaveletTransformNew.cxx
+++ /dev/null
@@ -1,48 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-
-#include "otbImage.h"
-#include "otbWaveletOperator.h"
-#include "otbWaveletFilterBank.h"
-#include "otbWaveletTransform.h"
-
-int otbWaveletTransformNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  const int Dimension = 2;
-  typedef double                           PixelType;
-  typedef otb::Image<PixelType, Dimension> ImageType;
-
-  /* Wavelet choice */
-  const otb::Wavelet::Wavelet wvltID = otb::Wavelet::SYMLET8;
-
-  /* Forward Transformation */
-  typedef otb::WaveletOperator<wvltID, otb::Wavelet::FORWARD, PixelType, Dimension> WaveletOperator;
-  typedef otb::WaveletFilterBank<ImageType, ImageType, WaveletOperator, otb::Wavelet::FORWARD>
-  ForwardFilterBank;
-  typedef otb::WaveletTransform<ImageType, ImageType, ForwardFilterBank, otb::Wavelet::FORWARD>
-  FilterType;
-
-  FilterType::Pointer filter = FilterType::New();
-
-  std::cout << filter << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Fusion/Fuzzy/test/CMakeLists.txt b/Modules/Fusion/Fuzzy/test/CMakeLists.txt
index a7050ff8ee..f6e1654f70 100644
--- a/Modules/Fusion/Fuzzy/test/CMakeLists.txt
+++ b/Modules/Fusion/Fuzzy/test/CMakeLists.txt
@@ -24,7 +24,6 @@ set(OTBFuzzyTests
 otbFuzzyTestDriver.cxx
 otbFuzzyVariableSetValue.cxx
 otbFuzzyVariable2Values.cxx
-otbFuzzyVariableNew.cxx
 otbFuzzyVariableDSApplied.cxx
 otbFuzzyVariableGetMaxVar.cxx
 otbFuzzyDescriptorsModelManager.cxx
@@ -42,9 +41,6 @@ otb_add_test(NAME fzTvFuzzyVariableSetValue COMMAND otbFuzzyTestDriver
 otb_add_test(NAME fzTvFuzzyVariable2Values COMMAND otbFuzzyTestDriver
   otbFuzzyVariable2Values)
 
-otb_add_test(NAME fzTuFuzzyVariableNew COMMAND otbFuzzyTestDriver
-  otbFuzzyVariableNew)
-
 otb_add_test(NAME fzTvFuzzyVariableDSApplied COMMAND otbFuzzyTestDriver
   otbFuzzyVariableDSApplied)
 
@@ -56,6 +52,3 @@ otb_add_test(NAME fzTvFuzzyDescriptorsModelManagerTest COMMAND otbFuzzyTestDrive
   ${TEMP}/fzTvFuzzyDescriptorsModelManager.xml
   )
 
-otb_add_test(NAME fzTuFuzzyDescriptorsModelManagerNew COMMAND otbFuzzyTestDriver
-  otbFuzzyDescriptorsModelManagerNew)
-
diff --git a/Modules/Fusion/Fuzzy/test/otbFuzzyVariableNew.cxx b/Modules/Fusion/Fuzzy/test/otbFuzzyVariableNew.cxx
deleted file mode 100644
index e6077d03de..0000000000
--- a/Modules/Fusion/Fuzzy/test/otbFuzzyVariableNew.cxx
+++ /dev/null
@@ -1,34 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-
-
-#include "otbFuzzyVariable.h"
-
-int otbFuzzyVariableNew(int itkNotUsed(argc), char * itkNotUsed(argv)[])
-{
-  typedef float PrecisionType;
-  typedef unsigned short LabelType;
-  typedef otb::FuzzyVariable<LabelType, PrecisionType> FuzzyVarType;
-
-  FuzzyVarType::Pointer fv = FuzzyVarType::New();
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Fusion/MajorityVoting/test/CMakeLists.txt b/Modules/Fusion/MajorityVoting/test/CMakeLists.txt
index 4449e5daa9..16f78c7cc6 100644
--- a/Modules/Fusion/MajorityVoting/test/CMakeLists.txt
+++ b/Modules/Fusion/MajorityVoting/test/CMakeLists.txt
@@ -22,7 +22,6 @@ otb_module_test()
 
 set(OTBMajorityVotingTests
 otbMajorityVotingTestDriver.cxx
-otbNeighborhoodMajorityVotingImageFilterNew.cxx
 otbNeighborhoodMajorityVotingImageFilterTest.cxx
 )
 
@@ -32,9 +31,6 @@ otb_module_target_label(otbMajorityVotingTestDriver)
 
 # Tests Declaration
 
-otb_add_test(NAME leTuNeighborhoodMajorityVotingImageFilterNew COMMAND otbMajorityVotingTestDriver
-  otbNeighborhoodMajorityVotingImageFilterNew)
-
 otb_add_test(NAME leTvNeighborhoodMajorityVotingImageFilterTest COMMAND otbMajorityVotingTestDriver
   --compare-image ${NOTOL}
   ${BASELINE}/QB_1_ortho_4Cls_N_Classified_OTB_NMV_x2_y5_nodv10_undv7.tif
diff --git a/Modules/Fusion/MajorityVoting/test/otbNeighborhoodMajorityVotingImageFilterNew.cxx b/Modules/Fusion/MajorityVoting/test/otbNeighborhoodMajorityVotingImageFilterNew.cxx
deleted file mode 100644
index 9d3ef5386c..0000000000
--- a/Modules/Fusion/MajorityVoting/test/otbNeighborhoodMajorityVotingImageFilterNew.cxx
+++ /dev/null
@@ -1,56 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#include "itkMacro.h"
-#include "otbImage.h"
-#include <iostream>
-
-#include "otbNeighborhoodMajorityVotingImageFilter.h"
-
-int otbNeighborhoodMajorityVotingImageFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  typedef unsigned char InputLabelPixelType; // 8 bits
-  typedef unsigned short OutputLabelPixelType; // 16 bits
-  const unsigned int Dimension = 2;
-
-  typedef otb::Image<InputLabelPixelType, Dimension> InputLabelImageType;
-  typedef otb::Image<OutputLabelPixelType, Dimension> OutputLabelImageType;
-
-  // Binary ball Structuring Element type
-  typedef itk::BinaryBallStructuringElement<InputLabelPixelType, Dimension> BallStructuringType;
-
-  // Neighborhood majority voting filter types
-  typedef otb::NeighborhoodMajorityVotingImageFilter<InputLabelImageType, OutputLabelImageType, BallStructuringType> NeighborhoodMajorityVotingFilter3ArgsType;
-  typedef otb::NeighborhoodMajorityVotingImageFilter<InputLabelImageType, OutputLabelImageType> NeighborhoodMajorityVotingFilter2ArgsType;
-  typedef otb::NeighborhoodMajorityVotingImageFilter<InputLabelImageType> NeighborhoodMajorityVotingFilter1ArgType;
-
-  // Neighborhood majority voting filters
-  NeighborhoodMajorityVotingFilter3ArgsType::Pointer NeighMajVotingFilter3Args = NeighborhoodMajorityVotingFilter3ArgsType::New();
-  NeighborhoodMajorityVotingFilter2ArgsType::Pointer NeighMajVotingFilter2Args = NeighborhoodMajorityVotingFilter2ArgsType::New();
-  NeighborhoodMajorityVotingFilter1ArgType::Pointer NeighMajVotingFilter1Arg = NeighborhoodMajorityVotingFilter1ArgType::New();
-
-  std::cout << NeighMajVotingFilter3Args << std::endl;
-  std::cout << std::endl;
-  std::cout << NeighMajVotingFilter2Args << std::endl;
-  std::cout << std::endl;
-  std::cout << NeighMajVotingFilter1Arg << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Fusion/PanSharpening/test/CMakeLists.txt b/Modules/Fusion/PanSharpening/test/CMakeLists.txt
index 656a69bc52..2c9f6b28b7 100644
--- a/Modules/Fusion/PanSharpening/test/CMakeLists.txt
+++ b/Modules/Fusion/PanSharpening/test/CMakeLists.txt
@@ -23,11 +23,7 @@ otb_module_test()
 set(OTBPanSharpeningTests
 otbPanSharpeningTestDriver.cxx
 otbSimpleRcsPanSharpeningFusionImageFilter.cxx
-otbLmvmPanSharpeningFusionImageFilterNew.cxx
-otbBayesianFusionFilterNew.cxx
 otbBayesianFusionFilter.cxx
-otbFusionImageBaseNew.cxx
-otbSimpleRcsPanSharpeningFusionImageFilterNew.cxx
 otbLmvmPanSharpeningFusionImageFilter.cxx
 )
 
@@ -46,13 +42,7 @@ otb_add_test(NAME fuTvSimpleRcsPanSharpeningFusionImageFilter COMMAND otbPanShar
   ${TEMP}/fuTvRcsPanSharpeningFusion.tif
   )
 
-otb_add_test(NAME fuTuLmvmPanSharpeningFusionImageFilterNew COMMAND otbPanSharpeningTestDriver
-  otbLmvmPanSharpeningFusionImageFilterNew
-  )
 
-otb_add_test(NAME fuTuBayesianFusionFilterNew COMMAND otbPanSharpeningTestDriver
-  otbBayesianFusionFilterNew
-  )
 
 otb_add_test(NAME fuTvBayesianFusionFilter COMMAND otbPanSharpeningTestDriver
   --compare-image ${NOTOL}  ${BASELINE}/fuTvBayesianFusion.tif
@@ -64,13 +54,7 @@ otb_add_test(NAME fuTvBayesianFusionFilter COMMAND otbPanSharpeningTestDriver
   ${TEMP}/fuTvBayesianFusion.tif
   )
 
-otb_add_test(NAME fuTuFusionImageBaseNew COMMAND otbPanSharpeningTestDriver
-  otbFusionImageBaseNew
-  )
 
-otb_add_test(NAME fuTuSimpleRcsPanSharpeningFusionImageFilterNew COMMAND otbPanSharpeningTestDriver
-  otbSimpleRcsPanSharpeningFusionImageFilterNew
-  )
 
 otb_add_test(NAME fuTvLmvmPanSharpeningFusionImageFilter COMMAND otbPanSharpeningTestDriver
   --compare-image ${EPSILON_8}  ${BASELINE}/fuTvLmvmPanSharpeningFusion.tif
diff --git a/Modules/Fusion/PanSharpening/test/otbBayesianFusionFilterNew.cxx b/Modules/Fusion/PanSharpening/test/otbBayesianFusionFilterNew.cxx
deleted file mode 100644
index 1da8ed3f2a..0000000000
--- a/Modules/Fusion/PanSharpening/test/otbBayesianFusionFilterNew.cxx
+++ /dev/null
@@ -1,47 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-
-#include "itkMacro.h"
-#include "otbImageFileReader.h"
-#include "otbImageFileWriter.h"
-#include "otbImage.h"
-
-#include "otbBayesianFusionFilter.h"
-
-int otbBayesianFusionFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv)[])
-{
-  const unsigned int Dimension = 2;
-  typedef double PixelType;
-
-  typedef otb::VectorImage<PixelType,
-      Dimension>
-  VectorImageType;
-  typedef otb::Image<PixelType,
-      Dimension>
-  PanchroImageType;
-  typedef otb::BayesianFusionFilter<VectorImageType, VectorImageType, PanchroImageType, VectorImageType> FilterType;
-
-  FilterType::Pointer filter = FilterType::New();
-
-  std::cout << filter << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Fusion/PanSharpening/test/otbFusionImageBaseNew.cxx b/Modules/Fusion/PanSharpening/test/otbFusionImageBaseNew.cxx
deleted file mode 100644
index 8c48fb913e..0000000000
--- a/Modules/Fusion/PanSharpening/test/otbFusionImageBaseNew.cxx
+++ /dev/null
@@ -1,71 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-
-#include "itkMacro.h"
-#include "otbImage.h"
-#include "otbVectorImage.h"
-#include "otbFusionImageBase.h"
-
-namespace Functor
-{
-template <class TInputMultiSpectral, class TInputMultiSpectralInterp, class TInputPanchro, class TOutput>
-class NewFunctorTest
-{
-public:
-  NewFunctorTest() {}
-  ~NewFunctorTest() {}
-
-  inline TOutput operator ()(const TInputMultiSpectral& A, const TInputMultiSpectralInterp& B, const TInputPanchro& C)
-  {
-    return (static_cast<TOutput>(A[0]) + static_cast<TOutput>(B[0]) + static_cast<TOutput>(C));
-
-  }
-};
-}
-
-int otbFusionImageBaseNew(int itkNotUsed(argc), char * itkNotUsed(argv)[])
-{
-  const unsigned int Dimension = 2;
-  typedef unsigned char InputPixelType;
-  typedef unsigned char OutputPixelType;
-
-  typedef otb::Image<InputPixelType, Dimension>       InputPanchroImageType;
-  typedef otb::VectorImage<InputPixelType, Dimension> InputMultiSpectralImageType;
-  typedef otb::VectorImage<InputPixelType, Dimension> InputMultiSpectralInterpImageType;
-  typedef otb::Image<OutputPixelType, Dimension>      OutputImageType;
-
-  typedef otb::FusionImageBase<InputMultiSpectralImageType,
-      InputMultiSpectralInterpImageType,
-      InputPanchroImageType,
-      OutputImageType,
-      Functor::NewFunctorTest<InputMultiSpectralImageType::PixelType,
-          InputMultiSpectralInterpImageType::PixelType,
-          InputPanchroImageType::PixelType,
-          OutputImageType::PixelType>
-      >  FusionImageBaseType;
-
-  // Instantiation
-  FusionImageBaseType::Pointer base = FusionImageBaseType::New();
-
-  std::cout << base << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Fusion/PanSharpening/test/otbLmvmPanSharpeningFusionImageFilterNew.cxx b/Modules/Fusion/PanSharpening/test/otbLmvmPanSharpeningFusionImageFilterNew.cxx
deleted file mode 100644
index e369d823cb..0000000000
--- a/Modules/Fusion/PanSharpening/test/otbLmvmPanSharpeningFusionImageFilterNew.cxx
+++ /dev/null
@@ -1,44 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-
-#include "itkMacro.h"
-#include "otbImageFileReader.h"
-#include "otbImageFileWriter.h"
-#include "otbImage.h"
-
-#include "otbLmvmPanSharpeningFusionImageFilter.h"
-
-int otbLmvmPanSharpeningFusionImageFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv)[])
-{
-  const unsigned int Dimension = 2;
-  typedef double PixelType;
-
-  typedef otb::VectorImage<PixelType, Dimension> VectorImageType;
-  typedef otb::Image<PixelType, Dimension>       PanchroImageType;
-  typedef otb::LmvmPanSharpeningFusionImageFilter
-  <PanchroImageType, VectorImageType, VectorImageType> FilterType;
-
-  FilterType::Pointer filter = FilterType::New();
-
-  std::cout << filter << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Fusion/PanSharpening/test/otbSimpleRcsPanSharpeningFusionImageFilterNew.cxx b/Modules/Fusion/PanSharpening/test/otbSimpleRcsPanSharpeningFusionImageFilterNew.cxx
deleted file mode 100644
index 26e6c832b7..0000000000
--- a/Modules/Fusion/PanSharpening/test/otbSimpleRcsPanSharpeningFusionImageFilterNew.cxx
+++ /dev/null
@@ -1,44 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-
-#include "itkMacro.h"
-#include "otbImageFileReader.h"
-#include "otbImageFileWriter.h"
-#include "otbVectorImage.h"
-
-#include "otbSimpleRcsPanSharpeningFusionImageFilter.h"
-
-int otbSimpleRcsPanSharpeningFusionImageFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv)[])
-{
-  const unsigned int Dimension = 2;
-  typedef double PixelType;
-
-  typedef otb::VectorImage<PixelType, Dimension> VectorImageType;
-  typedef otb::Image<PixelType, Dimension>       PanchroImageType;
-  typedef otb::SimpleRcsPanSharpeningFusionImageFilter
-  <PanchroImageType, VectorImageType, VectorImageType> FilterType;
-
-  FilterType::Pointer filter = FilterType::New();
-
-  std::cout << filter << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Hyperspectral/EndmembersExtraction/test/CMakeLists.txt b/Modules/Hyperspectral/EndmembersExtraction/test/CMakeLists.txt
index 7f53609054..8fbf8d82f5 100644
--- a/Modules/Hyperspectral/EndmembersExtraction/test/CMakeLists.txt
+++ b/Modules/Hyperspectral/EndmembersExtraction/test/CMakeLists.txt
@@ -41,12 +41,6 @@ otb_add_test(NAME hyTvEigenvalueLikelihoodMaximizationTest COMMAND otbEndmembers
   ${INPUTDATA}/Hyperspectral/synthetic/hsi_cube.tif
   ${TEMP}/hyTvEigenvalueLikelihoodMaximizationTest.txt)
 
-otb_add_test(NAME hyTuEigenvalueLikelihoodMaximizationNew COMMAND otbEndmembersExtractionTestDriver
-  otbEigenvalueLikelihoodMaximizationNewTest)
-
-otb_add_test(NAME hyTuVirtualDimensionalityNew COMMAND otbEndmembersExtractionTestDriver
-  otbVirtualDimensionalityNewTest)
-
 otb_add_test(NAME hyTvVirtualDimensionalityTest COMMAND otbEndmembersExtractionTestDriver
   --compare-ascii ${EPSILON_9}
   ${BASELINE_FILES}/hyTvVirtualDimensionalityTest.txt
@@ -65,9 +59,6 @@ otb_add_test(NAME hyTvVCAImageFilterTest1 COMMAND otbEndmembersExtractionTestDri
   ${TEMP}/hyTvVCAImageFilterTest.tif
   5 )
 
-otb_add_test(NAME hyTuVCAImageFilterNew COMMAND otbEndmembersExtractionTestDriver
-  otbVCAImageFilterNew
-  ${INPUTDATA}/Hyperspectral/synthetic/hsi_cube.tif
   ${TEMP}/synthetic_vca_5.hdr
   5 )
 
diff --git a/Modules/Hyperspectral/Unmixing/test/CMakeLists.txt b/Modules/Hyperspectral/Unmixing/test/CMakeLists.txt
index f7570bdb78..67d13199f5 100644
--- a/Modules/Hyperspectral/Unmixing/test/CMakeLists.txt
+++ b/Modules/Hyperspectral/Unmixing/test/CMakeLists.txt
@@ -26,7 +26,6 @@ otbMDMDNMFImageFilter.cxx
 otbNCLSUnmixingImageFilter.cxx
 otbISRAUnmixingImageFilter.cxx
 otbUnConstrainedLeastSquareImageFilter.cxx
-otbSparseUnmixingImageFilterNew.cxx
 otbSparseUnmixingImageFilter.cxx
 )
 
@@ -52,9 +51,6 @@ otb_add_test(NAME hyTvMDMDNMFImageFilterTest COMMAND otbUnmixingTestDriver
   ${TEMP}/hyTvMDMDNMFImageFilterTest.tif
   100)
 
-otb_add_test(NAME hyTuMDMDNMFImageFilterNew COMMAND otbUnmixingTestDriver
-  otbMDMDNMFImageFilterNewTest)
-
 otb_add_test(NAME hyTvNCLSUnmixingImageFilterTest COMMAND otbUnmixingTestDriver
   --compare-image ${EPSILON_9}
   ${BASELINE_FILES}/hyTvNCLSImageFilterTest.tif
@@ -65,9 +61,6 @@ otb_add_test(NAME hyTvNCLSUnmixingImageFilterTest COMMAND otbUnmixingTestDriver
   ${TEMP}/hyTvNCLSImageFilterTest.tif
   10)
 
-otb_add_test(NAME hyTuNCLSUnmixingImageFilterNew COMMAND otbUnmixingTestDriver
-  otbNCLSUnmixingImageFilterNewTest)
-
 otb_add_test(NAME hyTvISRAUnmixingImageFilterTest COMMAND otbUnmixingTestDriver
   --compare-image ${EPSILON_9}
   ${BASELINE_FILES}/hyTvISRAUnmixingImageFilterTest.tif
@@ -78,12 +71,6 @@ otb_add_test(NAME hyTvISRAUnmixingImageFilterTest COMMAND otbUnmixingTestDriver
   ${TEMP}/hyTvISRAUnmixingImageFilterTest.tif
   10)
 
-otb_add_test(NAME hyTuISRAUnmixingImageFilterNew COMMAND otbUnmixingTestDriver
-  otbISRAUnmixingImageFilterNewTest)
-
-otb_add_test(NAME hyTuUnConstrainedLeastSquareImageFilterNew COMMAND otbUnmixingTestDriver
-  otbUnConstrainedLeastSquareImageFilterNewTest)
-
 otb_add_test(NAME hyTvUnConstrainedLeastSquareImageFilterTest COMMAND otbUnmixingTestDriver
   --compare-image ${EPSILON_9}
   ${BASELINE_FILES}/hyTvUnConstrainedLeastSquareImageFilterTest.tif
@@ -93,6 +80,3 @@ otb_add_test(NAME hyTvUnConstrainedLeastSquareImageFilterTest COMMAND otbUnmixin
   ${INPUTDATA}/Hyperspectral/synthetic/endmembers.tif
   ${TEMP}/hyTvUnConstrainedLeastSquareImageFilterTest.tif)
 
-otb_add_test(NAME hyTuSparseUnmixingImageFilterNew COMMAND otbUnmixingTestDriver
-  otbSparseUnmixingImageFilterNew)
-
diff --git a/Modules/Hyperspectral/Unmixing/test/otbSparseUnmixingImageFilterNew.cxx b/Modules/Hyperspectral/Unmixing/test/otbSparseUnmixingImageFilterNew.cxx
deleted file mode 100644
index 51d03301a5..0000000000
--- a/Modules/Hyperspectral/Unmixing/test/otbSparseUnmixingImageFilterNew.cxx
+++ /dev/null
@@ -1,42 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-
-#include "otbImage.h"
-#include "otbImageFileReader.h"
-#include "otbImageFileWriter.h"
-#include "otbCommandProgressUpdate.h"
-#include "otbCommandLineArgumentParser.h"
-
-#include "otbSparseUnmixingImageFilter.h"
-
-int otbSparseUnmixingImageFilterNew ( int itkNotUsed(argc), char * itkNotUsed(argv)[])
-{
-  // number of images to consider
-  const unsigned int nbInputImages = 2;
-  const unsigned int Dimension = 2;
-  typedef double PixelType;
-  typedef otb::Image< PixelType, Dimension > ImageType;
-
-  typedef otb::SparseUnmixingImageFilter< ImageType, ImageType, nbInputImages > FilterType;
-  FilterType::Pointer filter = FilterType::New();
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/IO/Carto/test/CMakeLists.txt b/Modules/IO/Carto/test/CMakeLists.txt
index ad401fd73c..7e98a21750 100644
--- a/Modules/IO/Carto/test/CMakeLists.txt
+++ b/Modules/IO/Carto/test/CMakeLists.txt
@@ -22,7 +22,6 @@ otb_module_test()
 
 set(OTBCartoTests
 otbCartoTestDriver.cxx
-otbMapFileProductWriterNew.cxx
 otbImageToOSMVectorDataGenerator.cxx
 otbMapFileProductWriter.cxx
 otbOSMDataToVectorDataTests.cxx
@@ -35,13 +34,7 @@ otb_module_target_label(otbCartoTestDriver)
 
 # Tests Declaration
 
-otb_add_test(NAME ioTuMapFileProductWriterNew COMMAND otbCartoTestDriver
-  otbMapFileProductWriterNew
-  )
 
-otb_add_test(NAME ioTuImageToOSMVectorDataGeneratorNew COMMAND otbCartoTestDriver
-  otbImageToOSMVectorDataGeneratorNew
-  )
 
 otb_add_test(NAME ioTvImageToOSMVectorDataGenerator COMMAND otbCartoTestDriver
   --compare-ogr ${EPSILON_9}
diff --git a/Modules/IO/Carto/test/otbMapFileProductWriterNew.cxx b/Modules/IO/Carto/test/otbMapFileProductWriterNew.cxx
deleted file mode 100644
index 6f19351e26..0000000000
--- a/Modules/IO/Carto/test/otbMapFileProductWriterNew.cxx
+++ /dev/null
@@ -1,36 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-
-#include "otbMapFileProductWriter.h"
-#include "otbVectorImage.h"
-
-int otbMapFileProductWriterNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-
-  typedef otb::VectorImage<double>               ImageType;
-  typedef otb::MapFileProductWriter<ImageType>   MapFileProductWriterType;
-
-  MapFileProductWriterType::Pointer object = MapFileProductWriterType::New();
-
-  std::cout << object << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/IO/IOGDAL/test/CMakeLists.txt b/Modules/IO/IOGDAL/test/CMakeLists.txt
index 31ed84ace4..d329e5980b 100644
--- a/Modules/IO/IOGDAL/test/CMakeLists.txt
+++ b/Modules/IO/IOGDAL/test/CMakeLists.txt
@@ -25,7 +25,6 @@ otbIOGDALTestDriver.cxx
 otbGDALImageIOTest.cxx
 otbGDALImageIOTestWriteMetadata.cxx
 otbGDALOverviewsBuilder.cxx
-otbOGRVectorDataIONew.cxx
 otbGDALImageIOTestCanWrite.cxx
 otbOGRVectorDataIOCanWrite.cxx
 otbGDALReadPxlComplex.cxx
diff --git a/Modules/IO/IOGDAL/test/otbOGRVectorDataIONew.cxx b/Modules/IO/IOGDAL/test/otbOGRVectorDataIONew.cxx
deleted file mode 100644
index 2028e62490..0000000000
--- a/Modules/IO/IOGDAL/test/otbOGRVectorDataIONew.cxx
+++ /dev/null
@@ -1,32 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-
-#include "otbOGRVectorDataIO.h"
-
-int otbOGRVectorDataIONew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  typedef otb::OGRVectorDataIO OGRVectorDataIOType;
-  OGRVectorDataIOType::Pointer object = OGRVectorDataIOType::New();
-
-  std::cout << object << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/IO/IOKML/test/CMakeLists.txt b/Modules/IO/IOKML/test/CMakeLists.txt
index a14a00225a..b69c6385e3 100644
--- a/Modules/IO/IOKML/test/CMakeLists.txt
+++ b/Modules/IO/IOKML/test/CMakeLists.txt
@@ -22,7 +22,6 @@ otb_module_test()
 
 set(OTBIOKMLTests
 otbIOKMLTestDriver.cxx
-otbKMLVectorDataIONew.cxx
 otbKMLVectorDataIOTestFileReader.cxx
 otbKMLVectorDataIOTestCanWrite.cxx
 otbKMLVectorDataIOTestCanRead.cxx
diff --git a/Modules/IO/IOKML/test/otbKMLVectorDataIONew.cxx b/Modules/IO/IOKML/test/otbKMLVectorDataIONew.cxx
deleted file mode 100644
index 8237b5ee7d..0000000000
--- a/Modules/IO/IOKML/test/otbKMLVectorDataIONew.cxx
+++ /dev/null
@@ -1,32 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-
-#include "otbKMLVectorDataIO.h"
-
-int otbKMLVectorDataIONew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  typedef otb::KMLVectorDataIO KMLVectorDataIOType;
-  KMLVectorDataIOType::Pointer object = KMLVectorDataIOType::New();
-
-  std::cout << object << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/IO/IOTileMap/test/CMakeLists.txt b/Modules/IO/IOTileMap/test/CMakeLists.txt
index 7ebc74f6c4..29afb4c7c6 100644
--- a/Modules/IO/IOTileMap/test/CMakeLists.txt
+++ b/Modules/IO/IOTileMap/test/CMakeLists.txt
@@ -33,9 +33,6 @@ otb_module_target_label(otbIOTileMapTestDriver)
 
 # Tests Declaration
 
-otb_add_test(NAME ioTuTileMapImageIOHelperNew COMMAND otbIOTileMapTestDriver
-  otbTileMapImageIOHelperNew
-  )
 
 otb_add_test(NAME ioTvTileMapImageIOHelperTest COMMAND otbIOTileMapTestDriver
   --compare-ascii ${EPSILON_9} ${BASELINE_FILES}/ioTvTileMapImageIOHelperTest.txt
diff --git a/Modules/IO/ImageIO/test/CMakeLists.txt b/Modules/IO/ImageIO/test/CMakeLists.txt
index 110b25410e..7dda7ba109 100644
--- a/Modules/IO/ImageIO/test/CMakeLists.txt
+++ b/Modules/IO/ImageIO/test/CMakeLists.txt
@@ -50,7 +50,6 @@ otbMultiResolutionReadingInfo.cxx
 otbImageFileReaderTestFloat.cxx
 otbComplexImageTests.cxx
 otbImageFileReaderRADChar.cxx
-otbScalarBufferToImageFileWriterNew.cxx
 otbShortImageIOTest.cxx
 otbImageSeriesFileReader.cxx
 otbStreamingShortImageFileWriterTest.cxx
@@ -72,7 +71,6 @@ otbStreamingImageFilterTest.cxx
 otbImageFileWriterRGBTest.cxx
 otbComplexImageManipulationTest.cxx
 otbImageFileWriterTest.cxx
-otbImageIOFactoryNew.cxx
 otbCompareWritingComplexImage.cxx
 otbImageFileReaderOptBandTest.cxx
 otbImageFileWriterOptBandTest.cxx
@@ -603,9 +601,6 @@ otb_add_test(NAME ioTvImageComplexFloatTest COMMAND otbImageIOTestDriver
   ${INPUTDATA}/multibandComplexFloat_2bands.hdr
   )
 
-otb_add_test(NAME ioTuVectorImageComplexNew COMMAND otbImageIOTestDriver
-  otbVectorImageComplexNew)
-
 otb_add_test(NAME ioTvImageComplexDoubleTest COMMAND otbImageIOTestDriver
   otbImageComplexDoubleTest
   ${INPUTDATA}/multibandComplexDouble_2bands.hdr
@@ -930,9 +925,6 @@ otb_add_test(NAME ioTvImageFileWriterPNG2BSQ COMMAND otbImageIOTestDriver
   ${INPUTDATA}/cthead1.png
   ${TEMP}/ioImageFileWriterPNG2BSQ_cthead1.hdr )
 
-otb_add_test(NAME ioTuImageIOFactoryNew COMMAND otbImageIOTestDriver
-  otbImageIOFactoryNew )
-
 otb_add_test(NAME ioTvCompareWritingComplexImage_TIF COMMAND otbImageIOTestDriver
   otbCompareWritingComplexImageTest
   LARGEINPUT{PALSAR/200801280007/l1data/VOL-ALPSRP037120700-H1.1__A}
diff --git a/Modules/IO/ImageIO/test/otbImageIOFactoryNew.cxx b/Modules/IO/ImageIO/test/otbImageIOFactoryNew.cxx
deleted file mode 100644
index 8acb329a32..0000000000
--- a/Modules/IO/ImageIO/test/otbImageIOFactoryNew.cxx
+++ /dev/null
@@ -1,33 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-
-
-
-#include "otbImageIOFactory.h"
-#include "itkMacro.h"
-#include <iostream>
-
-int otbImageIOFactoryNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  otb::ImageIOFactory *lImageIOFactory;
-  lImageIOFactory = nullptr;
-  return lImageIOFactory != nullptr; //to avoid unused variable warning
-}
diff --git a/Modules/IO/ImageIO/test/otbScalarBufferToImageFileWriterNew.cxx b/Modules/IO/ImageIO/test/otbScalarBufferToImageFileWriterNew.cxx
deleted file mode 100644
index 40954e3feb..0000000000
--- a/Modules/IO/ImageIO/test/otbScalarBufferToImageFileWriterNew.cxx
+++ /dev/null
@@ -1,33 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-
-
-
-#include "otbScalarBufferToImageFileWriter.h"
-
-
-int otbScalarBufferToImageFileWriterNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  typedef otb::ScalarBufferToImageFileWriter<int, double> FilterType;
-  FilterType::Pointer filter = FilterType::New();
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/IO/KMZWriter/test/CMakeLists.txt b/Modules/IO/KMZWriter/test/CMakeLists.txt
index 020ba9b62a..155bd8193c 100644
--- a/Modules/IO/KMZWriter/test/CMakeLists.txt
+++ b/Modules/IO/KMZWriter/test/CMakeLists.txt
@@ -63,9 +63,6 @@ otb_add_test(NAME ioTvKmzProductWriterWithGCP COMMAND otbKMZWriterTestDriver
   417.000000 2317.000000 -72.426552 18.540876 0.000000
   )
 
-otb_add_test(NAME ioTuKmzProductWriterNew COMMAND otbKMZWriterTestDriver
-  otbKmzProductWriterNew
-  )
 
 otb_add_test(NAME ioTvKmzProductWriterWithGCP_Logo_Legend COMMAND otbKMZWriterTestDriver
   otbKmzProductWriterWithLogoAndLegend
diff --git a/Modules/IO/VectorDataIO/test/CMakeLists.txt b/Modules/IO/VectorDataIO/test/CMakeLists.txt
index b337070d03..f4f21b7e99 100644
--- a/Modules/IO/VectorDataIO/test/CMakeLists.txt
+++ b/Modules/IO/VectorDataIO/test/CMakeLists.txt
@@ -24,12 +24,10 @@ set(OTBVectorDataIOTests
 otbVectorDataIOTestDriver.cxx
 otbVectorDataFileReaderWriter.cxx
 otbVectorDataFileWriterPolygons.cxx
-otbVectorDataFileReaderNew.cxx
 otbVectorDataIOFactory.cxx
 otbVectorDataFileWriterMultiPolygons.cxx
 otbVectorDataFileReader.cxx
 otbVectorDataFileGeoReaderWriter.cxx
-otbVectorDataFileWriterNew.cxx
 otbVectorDataFileWriter.cxx
 )
 
@@ -56,9 +54,6 @@ otb_add_test(NAME ioTvVectorDataFileWriterPolygons COMMAND otbVectorDataIOTestDr
   ${TEMP}/ioTvVectorDataFileWriterPolygonsOutput.shp
   )
 
-otb_add_test(NAME ioTuVectorDataFileReaderNew COMMAND otbVectorDataIOTestDriver
-  otbVectorDataFileReaderNew )
-
 otb_add_test(NAME ioTuVectorDataIOFactory COMMAND otbVectorDataIOTestDriver
   otbVectorDataIOFactory
   ${INPUTDATA}/ToulouseRoad-examples.shp )
@@ -147,9 +142,6 @@ otb_add_test(NAME ioTvVectorDataFileGeoReaderWriter COMMAND otbVectorDataIOTestD
   ${TEMP}/ioTvVectorDataFileGeoReaderWriterOutput.shp
   )
 
-otb_add_test(NAME ioTuVectorDataFileWriterNew COMMAND otbVectorDataIOTestDriver
-  otbVectorDataFileWriterNew )
-
 otb_add_test(NAME ioTvVectorDataFileWriter COMMAND otbVectorDataIOTestDriver
   --compare-ogr  ${EPSILON_9}
   ${BASELINE_FILES}/ioTvVectorDataFileWriterOutput.shp
diff --git a/Modules/IO/VectorDataIO/test/otbVectorDataFileReaderNew.cxx b/Modules/IO/VectorDataIO/test/otbVectorDataFileReaderNew.cxx
deleted file mode 100644
index 18127c5ace..0000000000
--- a/Modules/IO/VectorDataIO/test/otbVectorDataFileReaderNew.cxx
+++ /dev/null
@@ -1,34 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-
-#include "otbVectorDataFileReader.h"
-#include "otbVectorData.h"
-
-int otbVectorDataFileReaderNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  typedef otb::VectorData<>                         VectorDataType;
-  typedef otb::VectorDataFileReader<VectorDataType> VectorDataFileReaderType;
-  VectorDataFileReaderType::Pointer object = VectorDataFileReaderType::New();
-
-  std::cout << object << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/IO/VectorDataIO/test/otbVectorDataFileWriterNew.cxx b/Modules/IO/VectorDataIO/test/otbVectorDataFileWriterNew.cxx
deleted file mode 100644
index 995a3965bb..0000000000
--- a/Modules/IO/VectorDataIO/test/otbVectorDataFileWriterNew.cxx
+++ /dev/null
@@ -1,36 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-
-#include "otbVectorDataFileWriter.h"
-#include "otbVectorData.h"
-
-int otbVectorDataFileWriterNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  typedef otb::VectorData<double, 2>                VectorDataType;
-  typedef otb::VectorDataFileWriter<VectorDataType> WriterType;
-
-  //Instantiation
-  WriterType::Pointer writer = WriterType::New();
-
-  std::cout << writer << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Learning/DempsterShafer/test/CMakeLists.txt b/Modules/Learning/DempsterShafer/test/CMakeLists.txt
index ff755d4a94..93728cf57a 100644
--- a/Modules/Learning/DempsterShafer/test/CMakeLists.txt
+++ b/Modules/Learning/DempsterShafer/test/CMakeLists.txt
@@ -74,9 +74,6 @@ otb_add_test(NAME fzTvConfusionMatrixToMassOfBeliefTestAccuracy COMMAND otbDemps
   otbConfusionMatrixToMassOfBeliefTest
   ACCURACY)
 
-otb_add_test(NAME fzTuConfusionMatrixToMassOfBeliefNew COMMAND otbDempsterShaferTestDriver
-  otbConfusionMatrixToMassOfBeliefNew)
-
 otb_add_test(NAME fzTvConfusionMatrixToMassOfBeliefTestPrecision COMMAND otbDempsterShaferTestDriver
   otbConfusionMatrixToMassOfBeliefTest
   PRECISION)
@@ -99,9 +96,6 @@ otb_add_test(NAME fzTvVectorDataToDSValidatedVectorDataFilter COMMAND otbDempste
   )
 set_property(TEST fzTvVectorDataToDSValidatedVectorDataFilter PROPERTY DEPENDS fzTvVectorDataToRoadDescriptionFilter)
 
-otb_add_test(NAME fzTuVectorDataToDSValidatedVectorDataFilterNew COMMAND otbDempsterShaferTestDriver
-  otbVectorDataToDSValidatedVectorDataFilterNew)
-
 otb_add_test(NAME fzDSFusionTestConfMatFileVCMTestPrecision COMMAND otbDempsterShaferTestDriver
   otbDempsterShaferFusionConfMatFileTest
   ${INPUTDATA}/Classification/QB_1_ortho_C1_V.csv
@@ -335,9 +329,6 @@ otb_add_test(NAME fzTvDSFusionOfClassifiersImageFilterRecall COMMAND otbDempster
   ${TEMP}/QB_1_ortho_DS_FUSED_RECALL.tif
   )
 
-otb_add_test(NAME fzTuDSFusionOfClassifiersImageFilterNew COMMAND otbDempsterShaferTestDriver
-  otbDSFusionOfClassifiersImageFilterNew)
-
 otb_add_test(NAME fzTvDSFusionOfClassifiersImageFilterAccuracy COMMAND otbDempsterShaferTestDriver
   --compare-image ${NOTOL}
   ${BASELINE}/QB_1_ortho_DS_FUSED_ACCURACY.tif
@@ -370,6 +361,3 @@ otb_add_test(NAME fzTvJointMassOfBeliefFilter COMMAND otbDempsterShaferTestDrive
 otb_add_test(NAME fzTvMassOfBelief COMMAND otbDempsterShaferTestDriver
   otbMassOfBelief)
 
-otb_add_test(NAME fzTuStandardDSCostFunctionNew COMMAND otbDempsterShaferTestDriver
-  otbStandardDSCostFunctionNew)
-
diff --git a/Modules/Learning/DimensionalityReductionLearning/test/CMakeLists.txt b/Modules/Learning/DimensionalityReductionLearning/test/CMakeLists.txt
index e519062977..42a36d11f3 100644
--- a/Modules/Learning/DimensionalityReductionLearning/test/CMakeLists.txt
+++ b/Modules/Learning/DimensionalityReductionLearning/test/CMakeLists.txt
@@ -33,9 +33,6 @@ otb_module_target_label(otbDimensionalityReductionLearningTestDriver)
 
 # Tests Declaration
 # --------------- Autoencoder --------------------------------
-otb_add_test(NAME leTuAutoencoderModelNew COMMAND
-  otbDimensionalityReductionLearningTestDriver
-  otbAutoencoderModelNew
   )
 
 otb_add_test(NAME leTvAutoencoderModelTrain COMMAND
@@ -54,9 +51,6 @@ otb_add_test(NAME leTvAutoencoderModelCanRead COMMAND
 set_property(TEST leTvAutoencoderModelCanRead APPEND PROPERTY DEPENDS leTvAutoencoderModelTrain)
 
 # --------------- PCA --------------------------------
-otb_add_test(NAME leTuPCAModelNew COMMAND
-  otbDimensionalityReductionLearningTestDriver
-  otbPCAModelNew
   )
 
 otb_add_test(NAME leTvPCAModelTrain COMMAND
@@ -75,9 +69,6 @@ otb_add_test(NAME leTvPCAModelCanRead COMMAND
 set_property(TEST leTvPCAModelCanRead APPEND PROPERTY DEPENDS leTvPCAModelTrain)
 
 # --------------- SOM --------------------------------
-otb_add_test(NAME leTuSOMModelNew COMMAND
-  otbDimensionalityReductionLearningTestDriver
-  otbSOMModelNew
   )
 
 otb_add_test(NAME leTvSOMModelTrain COMMAND
diff --git a/Modules/Learning/LearningBase/test/CMakeLists.txt b/Modules/Learning/LearningBase/test/CMakeLists.txt
index 48e28cc5ca..650e6ea206 100644
--- a/Modules/Learning/LearningBase/test/CMakeLists.txt
+++ b/Modules/Learning/LearningBase/test/CMakeLists.txt
@@ -26,9 +26,6 @@ otbDecisionTreeBuild.cxx
 otbGaussianModelComponent.cxx
 otbKMeansImageClassificationFilter.cxx
 otbDecisionTreeWithRealValues.cxx
-otbSEMClassifierNew.cxx
-otbDecisionTreeNew.cxx
-otbKMeansImageClassificationFilterNew.cxx
 otbMachineLearningModelTemplates.cxx
 )
 
@@ -45,9 +42,6 @@ otb_module_target_label(otbLearningBaseTestDriver)
 otb_add_test(NAME leTvDecisionTreeBuild COMMAND otbLearningBaseTestDriver
   otbDecisionTreeBuild)
 
-otb_add_test(NAME leTuGaussianModelComponentNew COMMAND otbLearningBaseTestDriver
-  otbGaussianModelComponentNew)
-
 otb_add_test(NAME leTvDecisionTreeWithRealValues COMMAND otbLearningBaseTestDriver
   otbDecisionTreeWithRealValues)
 
@@ -63,15 +57,6 @@ otb_add_test(NAME leTvKMeansImageClassificationFilter COMMAND otbLearningBaseTes
   255 255 255 255
   )
 
-otb_add_test(NAME leTuSEMClassifierNew COMMAND otbLearningBaseTestDriver
-  otbSEMClassifierNew)
-
-otb_add_test(NAME leTuDecisionTreeNew COMMAND otbLearningBaseTestDriver
-  otbDecisionTreeNew)
-
-otb_add_test(NAME leTuKMeansImageClassificationFilterNew COMMAND otbLearningBaseTestDriver
-  otbKMeansImageClassificationFilterNew)
-
 if(OTB_USE_SHARK)
   otb_add_test(NAME leTuSharkNormalizeLabels COMMAND otbLearningBaseTestDriver
     otbSharkNormalizeLabels)
diff --git a/Modules/Learning/LearningBase/test/otbDecisionTreeNew.cxx b/Modules/Learning/LearningBase/test/otbDecisionTreeNew.cxx
deleted file mode 100644
index ad245e45e2..0000000000
--- a/Modules/Learning/LearningBase/test/otbDecisionTreeNew.cxx
+++ /dev/null
@@ -1,36 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#include "itkMacro.h"
-#include "otbDecisionTree.h"
-
-enum WheatTypes { WinterWheat, SummerWheat };
-
-int otbDecisionTreeNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-
-  typedef bool AttributeValueType;
-
-  typedef otb::DecisionTree< AttributeValueType, WheatTypes > DecisionTreeType;
-
-  DecisionTreeType::Pointer decisionTree = DecisionTreeType::New();
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Learning/LearningBase/test/otbKMeansImageClassificationFilterNew.cxx b/Modules/Learning/LearningBase/test/otbKMeansImageClassificationFilterNew.cxx
deleted file mode 100644
index efdef29df1..0000000000
--- a/Modules/Learning/LearningBase/test/otbKMeansImageClassificationFilterNew.cxx
+++ /dev/null
@@ -1,42 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#include "otbKMeansImageClassificationFilter.h"
-#include "otbVectorImage.h"
-#include "otbImage.h"
-
-int otbKMeansImageClassificationFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  const unsigned int Dimension = 2;
-  typedef double         PixelType;
-  typedef unsigned short LabeledPixelType;
-
-  typedef otb::VectorImage<PixelType, Dimension>  ImageType;
-  typedef otb::Image<LabeledPixelType, Dimension> LabeledImageType;
-
-  typedef otb::KMeansImageClassificationFilter<ImageType, LabeledImageType> ClassificationFilterType;
-
-  // Instantiating object
-  ClassificationFilterType::Pointer filter = ClassificationFilterType::New();
-
-  std::cout << filter << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Learning/LearningBase/test/otbSEMClassifierNew.cxx b/Modules/Learning/LearningBase/test/otbSEMClassifierNew.cxx
deleted file mode 100644
index 7f75c28f1b..0000000000
--- a/Modules/Learning/LearningBase/test/otbSEMClassifierNew.cxx
+++ /dev/null
@@ -1,48 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-
-
-
-#include "itkMacro.h"
-#include "otbImage.h"
-#include "otbVectorImage.h"
-#include "otbSEMClassifier.h"
-
-#include <iostream>
-
-int otbSEMClassifierNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  typedef double                                            PixelType;
-  typedef otb::VectorImage<PixelType, 2>                    ImageType;
-  typedef otb::Image<unsigned char, 2>                      OutputImageType;
-  typedef otb::SEMClassifier<ImageType, OutputImageType>    ClassifType;
-  typedef itk::Statistics::ListSample<ImageType::PixelType> SampleType;
-  typedef itk::Statistics::Subsample<SampleType>            ClassSampleType;
-
-  typedef otb::Statistics::ModelComponentBase<ClassSampleType> ComponentType;
-
-  ClassifType::Pointer   classifier = ClassifType::New();
-  ComponentType::Pointer component = ComponentType::New();
-
-  std::cout << classifier << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Learning/Markov/test/CMakeLists.txt b/Modules/Learning/Markov/test/CMakeLists.txt
index da17095168..5aab6e04ef 100644
--- a/Modules/Learning/Markov/test/CMakeLists.txt
+++ b/Modules/Learning/Markov/test/CMakeLists.txt
@@ -24,25 +24,15 @@ set(OTBMarkovTests
 otbMarkovTestDriver.cxx
 otbMRFEnergyFisherClassification.cxx
 otbMRFSamplerRandom.cxx
-otbMRFEnergyPottsNew.cxx
-otbMRFSamplerMAPNew.cxx
 otbMarkovRandomFieldFilter.cxx
-otbMRFSamplerRandomMAPNew.cxx
-otbMRFSamplerRandomNew.cxx
-otbMRFEnergyGaussianNew.cxx
-otbMRFOptimizerMetropolisNew.cxx
 otbMRFSamplerMAP.cxx
 otbMRFEnergyGaussian.cxx
-otbMarkovRandomFieldFilterNew.cxx
 otbMRFOptimizerMetropolis.cxx
 otbMRFEnergyPotts.cxx
 otbMRFEnergyEdgeFidelity.cxx
 otbMRFSamplerRandomMAP.cxx
-otbMRFEnergyEdgeFidelityNew.cxx
 otbMRFOptimizerICM.cxx
 otbMRFEnergyGaussianClassification.cxx
-otbMRFOptimizerICMNew.cxx
-otbMRFEnergyGaussianClassificationNew.cxx
 )
 
 add_executable(otbMarkovTestDriver ${OTBMarkovTests})
@@ -58,9 +48,6 @@ otb_add_test(NAME maTvMRFEnergyFisherClassification COMMAND otbMarkovTestDriver
   ${TEMP}/maTvMRFEnergyFisherClassification.txt
   )
 
-otb_add_test(NAME maTuMRFEnergyFisherClassificationNew COMMAND otbMarkovTestDriver
-  otbMRFEnergyFisherClassificationNew )
-
 otb_add_test(NAME maTvMRFSamplerRandom COMMAND otbMarkovTestDriver
   --compare-ascii ${NOTOL}
   ${BASELINE_FILES}/maTvMRFSamplerRandom.txt
@@ -71,12 +58,6 @@ otb_add_test(NAME maTvMRFSamplerRandom COMMAND otbMarkovTestDriver
   ${TEMP}/maTvMRFSamplerRandom.txt
   )
 
-otb_add_test(NAME maTuMRFEnergyPottsNew COMMAND otbMarkovTestDriver
-  otbMRFEnergyPottsNew )
-
-otb_add_test(NAME maTuMRFSamplerMAPNew COMMAND otbMarkovTestDriver
-  otbMRFSamplerMAPNew )
-
 otb_add_test(NAME maTvMarkovRandomFieldFilter COMMAND otbMarkovTestDriver
   --compare-image ${NOTOL}  ${BASELINE}/maTvMarkovRandomField.png
   ${TEMP}/maTvMarkovRandomField.png
@@ -88,18 +69,6 @@ otb_add_test(NAME maTvMarkovRandomFieldFilter COMMAND otbMarkovTestDriver
   1.0
   )
 
-otb_add_test(NAME maTuMRFSamplerRandomMAPNew COMMAND otbMarkovTestDriver
-  otbMRFSamplerRandomMAPNew )
-
-otb_add_test(NAME maTuMRFSamplerRandomNew COMMAND otbMarkovTestDriver
-  otbMRFSamplerRandomNew )
-
-otb_add_test(NAME maTuMRFEnergyGaussianNew COMMAND otbMarkovTestDriver
-  otbMRFEnergyGaussianNew )
-
-otb_add_test(NAME maTuMRFOptimizerMetropolisNew COMMAND otbMarkovTestDriver
-  otbMRFOptimizerMetropolisNew )
-
 otb_add_test(NAME maTvMRFSamplerMAP COMMAND otbMarkovTestDriver
   --compare-ascii ${NOTOL}
   ${BASELINE_FILES}/maTvMRFSamplerMAP.txt
@@ -114,9 +83,6 @@ otb_add_test(NAME maTvMRFEnergyGaussian COMMAND otbMarkovTestDriver
   otbMRFEnergyGaussian
   )
 
-otb_add_test(NAME maTuMarkovRandomFieldFilterNew COMMAND otbMarkovTestDriver
-  otbMarkovRandomFieldFilterNew )
-
 otb_add_test(NAME maTvMRFOptimizerMetropolis COMMAND otbMarkovTestDriver
   --compare-ascii ${NOTOL}
   ${BASELINE_FILES}/maTvMRFOptimizerMetropolis.txt
@@ -150,9 +116,6 @@ otb_add_test(NAME maTvMRFSamplerRandomMAP COMMAND otbMarkovTestDriver
   ${TEMP}/maTvMRFSamplerRandomMAP.txt
   )
 
-otb_add_test(NAME maTuMRFEnergyEdgeFidelityNew COMMAND otbMarkovTestDriver
-  otbMRFEnergyEdgeFidelityNew )
-
 otb_add_test(NAME maTuMRFOptimizerICM COMMAND otbMarkovTestDriver
   otbMRFOptimizerICM
   ${TEMP}/maTuMRFOptimizerICM.txt
@@ -165,9 +128,3 @@ otb_add_test(NAME maTvMRFEnergyGaussianClassification COMMAND otbMarkovTestDrive
   ${TEMP}/maTvMRFEnergyGaussianClassification.txt
   )
 
-otb_add_test(NAME maTuMRFOptimizerICMNew COMMAND otbMarkovTestDriver
-  otbMRFOptimizerICMNew )
-
-otb_add_test(NAME maTuMRFEnergyGaussianClassificationNew COMMAND otbMarkovTestDriver
-  otbMRFEnergyGaussianClassificationNew )
-
diff --git a/Modules/Learning/Markov/test/otbMRFEnergyEdgeFidelityNew.cxx b/Modules/Learning/Markov/test/otbMRFEnergyEdgeFidelityNew.cxx
deleted file mode 100644
index 7db21383d5..0000000000
--- a/Modules/Learning/Markov/test/otbMRFEnergyEdgeFidelityNew.cxx
+++ /dev/null
@@ -1,37 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-
-
-#include "otbMRFEnergyEdgeFidelity.h"
-#include "otbImage.h"
-
-int otbMRFEnergyEdgeFidelityNew(int itkNotUsed(argc), char * itkNotUsed(argv)[])
-{
-  typedef double PixelType;
-  typedef otb::Image<PixelType, 2>                         ImageType;
-  typedef otb::MRFEnergyEdgeFidelity<ImageType, ImageType> MRFEnergyType;
-
-  MRFEnergyType::Pointer object  = MRFEnergyType::New();
-
-  std::cout << object << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Learning/Markov/test/otbMRFEnergyGaussianClassificationNew.cxx b/Modules/Learning/Markov/test/otbMRFEnergyGaussianClassificationNew.cxx
deleted file mode 100644
index 9e3a5d75c4..0000000000
--- a/Modules/Learning/Markov/test/otbMRFEnergyGaussianClassificationNew.cxx
+++ /dev/null
@@ -1,37 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-
-
-#include "otbMRFEnergyGaussianClassification.h"
-#include "otbImage.h"
-
-int otbMRFEnergyGaussianClassificationNew(int itkNotUsed(argc), char * itkNotUsed(argv)[])
-{
-  typedef double                                                     PixelType;
-  typedef otb::Image<PixelType, 2>                                   ImageType;
-  typedef otb::MRFEnergyGaussianClassification<ImageType, ImageType> MRFGaussianType;
-
-  MRFGaussianType::Pointer object = MRFGaussianType::New();
-
-  std::cout << object << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Learning/Markov/test/otbMRFEnergyGaussianNew.cxx b/Modules/Learning/Markov/test/otbMRFEnergyGaussianNew.cxx
deleted file mode 100644
index 10466eeaa4..0000000000
--- a/Modules/Learning/Markov/test/otbMRFEnergyGaussianNew.cxx
+++ /dev/null
@@ -1,37 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-
-
-#include "otbMRFEnergyGaussian.h"
-#include "otbImage.h"
-
-int otbMRFEnergyGaussianNew(int itkNotUsed(argc), char * itkNotUsed(argv)[])
-{
-  typedef double                                       PixelType;
-  typedef otb::Image<PixelType, 2>                     ImageType;
-  typedef otb::MRFEnergyGaussian<ImageType, ImageType> MRFEnergyGaussianType;
-
-  MRFEnergyGaussianType::Pointer object = MRFEnergyGaussianType::New();
-
-  std::cout << object << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Learning/Markov/test/otbMRFEnergyPottsNew.cxx b/Modules/Learning/Markov/test/otbMRFEnergyPottsNew.cxx
deleted file mode 100644
index 2b2a280442..0000000000
--- a/Modules/Learning/Markov/test/otbMRFEnergyPottsNew.cxx
+++ /dev/null
@@ -1,37 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-
-
-#include "otbMRFEnergyPotts.h"
-#include "otbImage.h"
-
-int otbMRFEnergyPottsNew(int itkNotUsed(argc), char * itkNotUsed(argv)[])
-{
-  typedef double                                    PixelType;
-  typedef otb::Image<PixelType, 2>                  ImageType;
-  typedef otb::MRFEnergyPotts<ImageType, ImageType> MRFEnergyPottsType;
-
-  MRFEnergyPottsType::Pointer object = MRFEnergyPottsType::New();
-
-  std::cout << object << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Learning/Markov/test/otbMRFOptimizerICMNew.cxx b/Modules/Learning/Markov/test/otbMRFOptimizerICMNew.cxx
deleted file mode 100644
index c85bccf280..0000000000
--- a/Modules/Learning/Markov/test/otbMRFOptimizerICMNew.cxx
+++ /dev/null
@@ -1,35 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-
-
-#include "otbMRFOptimizerICM.h"
-#include <cstdlib>
-
-int otbMRFOptimizerICMNew(int itkNotUsed(argc), char * itkNotUsed(argv)[])
-{
-  typedef otb::MRFOptimizerICM MRFOptimizerType;
-
-  MRFOptimizerType::Pointer object = MRFOptimizerType::New();
-
-  std::cout << object << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Learning/Markov/test/otbMRFOptimizerMetropolisNew.cxx b/Modules/Learning/Markov/test/otbMRFOptimizerMetropolisNew.cxx
deleted file mode 100644
index 41fe27c124..0000000000
--- a/Modules/Learning/Markov/test/otbMRFOptimizerMetropolisNew.cxx
+++ /dev/null
@@ -1,35 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-
-
-#include "otbMRFOptimizerMetropolis.h"
-#include <cstdlib>
-
-int otbMRFOptimizerMetropolisNew(int itkNotUsed(argc), char * itkNotUsed(argv)[])
-{
-  typedef otb::MRFOptimizerMetropolis MRFOptimizerType;
-
-  MRFOptimizerType::Pointer object = MRFOptimizerType::New();
-
-  std::cout << object << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Learning/Markov/test/otbMRFSamplerMAPNew.cxx b/Modules/Learning/Markov/test/otbMRFSamplerMAPNew.cxx
deleted file mode 100644
index e7ae603ea3..0000000000
--- a/Modules/Learning/Markov/test/otbMRFSamplerMAPNew.cxx
+++ /dev/null
@@ -1,39 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-
-
-#include "itkMacro.h"
-
-#include "otbMRFSamplerMAP.h"
-#include "otbImage.h"
-
-int otbMRFSamplerMAPNew(int itkNotUsed(argc), char * itkNotUsed(argv)[])
-{
-  typedef double                                   PixelType;
-  typedef otb::Image<PixelType, 2>                 ImageType;
-  typedef otb::MRFSamplerMAP<ImageType, ImageType> MRFSamplerType;
-
-  MRFSamplerType::Pointer object = MRFSamplerType::New();
-
-  std::cout << object << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Learning/Markov/test/otbMRFSamplerRandomMAPNew.cxx b/Modules/Learning/Markov/test/otbMRFSamplerRandomMAPNew.cxx
deleted file mode 100644
index 0839549f89..0000000000
--- a/Modules/Learning/Markov/test/otbMRFSamplerRandomMAPNew.cxx
+++ /dev/null
@@ -1,37 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-
-
-#include "otbMRFSamplerRandomMAP.h"
-#include "otbImage.h"
-
-int otbMRFSamplerRandomMAPNew(int itkNotUsed(argc), char * itkNotUsed(argv)[])
-{
-  typedef double                                         PixelType;
-  typedef otb::Image<PixelType, 2>                       ImageType;
-  typedef otb::MRFSamplerRandomMAP<ImageType, ImageType> MRFSamplerRandomType;
-
-  MRFSamplerRandomType::Pointer object = MRFSamplerRandomType::New();
-
-  std::cout << object << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Learning/Markov/test/otbMRFSamplerRandomNew.cxx b/Modules/Learning/Markov/test/otbMRFSamplerRandomNew.cxx
deleted file mode 100644
index 8e884d08cc..0000000000
--- a/Modules/Learning/Markov/test/otbMRFSamplerRandomNew.cxx
+++ /dev/null
@@ -1,37 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-
-
-#include "otbMRFSamplerRandom.h"
-#include "otbImage.h"
-
-int otbMRFSamplerRandomNew(int itkNotUsed(argc), char * itkNotUsed(argv)[])
-{
-  typedef double                                      PixelType;
-  typedef otb::Image<PixelType, 2>                    ImageType;
-  typedef otb::MRFSamplerRandom<ImageType, ImageType> MRFSamplerRandomType;
-
-  MRFSamplerRandomType::Pointer object = MRFSamplerRandomType::New();
-
-  std::cout << object << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Learning/Markov/test/otbMarkovRandomFieldFilterNew.cxx b/Modules/Learning/Markov/test/otbMarkovRandomFieldFilterNew.cxx
deleted file mode 100644
index 1f35b80907..0000000000
--- a/Modules/Learning/Markov/test/otbMarkovRandomFieldFilterNew.cxx
+++ /dev/null
@@ -1,37 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-
-
-#include "otbMarkovRandomFieldFilter.h"
-#include "otbImage.h"
-
-int otbMarkovRandomFieldFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv)[])
-{
-  typedef double                                             PixelType;
-  typedef otb::Image<PixelType, 2>                           ImageType;
-  typedef otb::MarkovRandomFieldFilter<ImageType, ImageType> MarkovRandomFieldFilterType;
-
-  MarkovRandomFieldFilterType::Pointer object = MarkovRandomFieldFilterType::New();
-
-  std::cout << object << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Learning/SOM/test/CMakeLists.txt b/Modules/Learning/SOM/test/CMakeLists.txt
index 21ca3aa31c..11a22c788e 100644
--- a/Modules/Learning/SOM/test/CMakeLists.txt
+++ b/Modules/Learning/SOM/test/CMakeLists.txt
@@ -22,20 +22,12 @@ otb_module_test()
 
 set(OTBSOMTests
 otbSOMTestDriver.cxx
-otbSOMbasedImageFilterNew.cxx
 otbSOM.cxx
 otbSOMImageClassificationFilter.cxx
 otbSOMActivationBuilder.cxx
-otbSOMActivationBuilderNew.cxx
-otbSOMClassifierNew.cxx
-otbSOMImageClassificationFilterNew.cxx
 otbSOMWithMissingValue.cxx
-otbSOMNew.cxx
 otbSOMMap.cxx
-otbSOMWithMissingValueNew.cxx
-otbSOMMapNew.cxx
 otbPeriodicSOM.cxx
-otbPeriodicSOMNew.cxx
 otbSOMClassifier.cxx
 otbSOMbasedImageFilter.cxx
 )
@@ -46,9 +38,6 @@ otb_module_target_label(otbSOMTestDriver)
 
 # Tests Declaration
 
-otb_add_test(NAME leTuSOMbasedImageFilterNew COMMAND otbSOMTestDriver
-  otbSOMbasedImageFilterNew )
-
 otb_add_test(NAME leTvSOM COMMAND otbSOMTestDriver
   --compare-image ${EPSILON_10}
   ${BASELINE}/leSOMPoupeesSubOutputMap1.hdr
@@ -78,15 +67,6 @@ otb_add_test(NAME leTvSOMActivationBuilder COMMAND otbSOMTestDriver
   ${TEMP}/leSOMPoupeesSubActivationMap1.tif
   32 32 10 10 5 1.0 0.1 128)
 
-otb_add_test(NAME leTuSOMActivationBuilderNew COMMAND otbSOMTestDriver
-  otbSOMActivationBuilderNew)
-
-otb_add_test(NAME leTuSOMClassifierNew COMMAND otbSOMTestDriver
-  otbSOMClassifierNew)
-
-otb_add_test(NAME leTuSOMImageClassificationFilterNew COMMAND otbSOMTestDriver
-  otbSOMImageClassificationFilterNew)
-
 otb_add_test(NAME leTvSOMWithMissingValue COMMAND otbSOMTestDriver
   --compare-image ${EPSILON_10}
   ${BASELINE}/leSOMWithMissingValue.hdr
@@ -96,18 +76,9 @@ otb_add_test(NAME leTvSOMWithMissingValue COMMAND otbSOMTestDriver
   ${TEMP}/leSOMWithMissingValue.hdr
   32 32 10 10 5 1.0 0.1 0)
 
-otb_add_test(NAME leTuSOMNew COMMAND otbSOMTestDriver
-  otbSOMNew)
-
 otb_add_test(NAME leTvSOMMap COMMAND otbSOMTestDriver
   otbSOMMap)
 
-otb_add_test(NAME leTuSOMWithMissingValueNew COMMAND otbSOMTestDriver
-  otbSOMWithMissingValueNew )
-
-otb_add_test(NAME leTuSOMMapNew COMMAND otbSOMTestDriver
-  otbSOMMapNew)
-
 otb_add_test(NAME leTvPeriodicSOM COMMAND otbSOMTestDriver
   --compare-image ${EPSILON_10}
   ${BASELINE}/lePeriodicSOMPoupeesSubOutputMap1.hdr
@@ -117,9 +88,6 @@ otb_add_test(NAME leTvPeriodicSOM COMMAND otbSOMTestDriver
   ${TEMP}/lePeriodicSOMPoupeesSubOutputMap1.hdr
   32 32 10 10 5 1.0 0.1 0)
 
-otb_add_test(NAME leTuPeriodicSOMNew COMMAND otbSOMTestDriver
-  otbPeriodicSOMNew)
-
 otb_add_test(NAME leTvSOMClassifier COMMAND otbSOMTestDriver
   --compare-image ${NOTOL}
   ${BASELINE}/leSOMPoupeesClassified.hdr
diff --git a/Modules/Learning/SOM/test/otbPeriodicSOMNew.cxx b/Modules/Learning/SOM/test/otbPeriodicSOMNew.cxx
deleted file mode 100644
index 08e02a2f4c..0000000000
--- a/Modules/Learning/SOM/test/otbPeriodicSOMNew.cxx
+++ /dev/null
@@ -1,44 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#include "itkMacro.h"
-#include "otbSOMMap.h"
-#include "otbPeriodicSOM.h"
-#include "itkRGBPixel.h"
-#include "itkListSample.h"
-
-int otbPeriodicSOMNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  const unsigned int Dimension = 2;
-  typedef float                                           ComponentType;
-  typedef itk::VariableLengthVector<ComponentType>        PixelType;
-  typedef itk::Statistics::EuclideanDistanceMetric<PixelType>   DistanceType;
-  typedef otb::SOMMap<PixelType, DistanceType, Dimension> SOMMapType;
-  //     typedef itk::Statistics::ImageToListAdaptor<SOMMapType> AdaptorType;
-  typedef itk::Statistics::ListSample<PixelType>       ListSampleType;
-  typedef otb::PeriodicSOM<ListSampleType, SOMMapType> SOMType;
-
-  // Instantiation
-  SOMType::Pointer som = SOMType::New();
-
-  std::cout << som << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Learning/SOM/test/otbSOMActivationBuilderNew.cxx b/Modules/Learning/SOM/test/otbSOMActivationBuilderNew.cxx
deleted file mode 100644
index 44b734e368..0000000000
--- a/Modules/Learning/SOM/test/otbSOMActivationBuilderNew.cxx
+++ /dev/null
@@ -1,48 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#include "itkMacro.h"
-#include "otbSOMMap.h"
-#include "otbSOM.h"
-#include "otbSOMActivationBuilder.h"
-#include "itkListSample.h"
-#include "otbImage.h"
-
-int otbSOMActivationBuilderNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  const unsigned int Dimension = 2;
-  typedef float                                         ComponentType;
-  typedef unsigned char                                 OutputPixelType;
-  typedef itk::VariableLengthVector<ComponentType>      PixelType;
-  typedef itk::Statistics::EuclideanDistanceMetric<PixelType> DistanceType;
-
-  typedef otb::SOMMap<PixelType, DistanceType, Dimension>                     MapType;
-
-  typedef itk::Statistics::ListSample<PixelType>                              ListSampleType;
-  typedef otb::Image<OutputPixelType, Dimension>                              OutputImageType;
-  typedef otb::SOMActivationBuilder<ListSampleType, MapType, OutputImageType> SOMActivationBuilderType;
-
-  // Instantiation
-  SOMActivationBuilderType::Pointer somAct = SOMActivationBuilderType::New();
-
-  std::cout << somAct << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Learning/SOM/test/otbSOMClassifierNew.cxx b/Modules/Learning/SOM/test/otbSOMClassifierNew.cxx
deleted file mode 100644
index dd77bde7f2..0000000000
--- a/Modules/Learning/SOM/test/otbSOMClassifierNew.cxx
+++ /dev/null
@@ -1,46 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-
-
-
-#include <fstream>
-#include "otbSOMMap.h"
-#include "otbSOMClassifier.h"
-#include "itkListSample.h"
-
-int otbSOMClassifierNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  typedef double InputPixelType;
-  typedef int    LabelPixelType;
-  const unsigned int Dimension = 2;
-
-  typedef itk::VariableLengthVector<InputPixelType>                  PixelType;
-  typedef itk::Statistics::EuclideanDistanceMetric<PixelType>              DistanceType;
-  typedef otb::SOMMap<PixelType, DistanceType, Dimension>            SOMMapType;
-  typedef itk::Statistics::ListSample<PixelType>                     SampleType;
-  typedef otb::SOMClassifier<SampleType, SOMMapType, LabelPixelType> ClassifierType;
-
-  ClassifierType::Pointer classifier = ClassifierType::New();
-
-  std::cout << classifier << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Learning/SOM/test/otbSOMImageClassificationFilterNew.cxx b/Modules/Learning/SOM/test/otbSOMImageClassificationFilterNew.cxx
deleted file mode 100644
index 3a868381fd..0000000000
--- a/Modules/Learning/SOM/test/otbSOMImageClassificationFilterNew.cxx
+++ /dev/null
@@ -1,42 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#include "otbSOMImageClassificationFilter.h"
-#include "otbImage.h"
-#include "otbSOMMap.h"
-
-int otbSOMImageClassificationFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  const unsigned int Dimension = 2;
-  typedef double         PixelType;
-  typedef unsigned short LabeledPixelType;
-
-  typedef otb::VectorImage<PixelType, Dimension>                                     ImageType;
-  typedef otb::Image<LabeledPixelType, Dimension>                                    LabeledImageType;
-  typedef otb::SOMMap<ImageType::PixelType>                                          SOMMapType;
-  typedef otb::SOMImageClassificationFilter<ImageType, LabeledImageType, SOMMapType> ClassificationFilterType;
-
-  // Instantiating object
-  ClassificationFilterType::Pointer filter = ClassificationFilterType::New();
-
-  std::cout << filter << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Learning/SOM/test/otbSOMMapNew.cxx b/Modules/Learning/SOM/test/otbSOMMapNew.cxx
deleted file mode 100644
index ed223aeb7c..0000000000
--- a/Modules/Learning/SOM/test/otbSOMMapNew.cxx
+++ /dev/null
@@ -1,39 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#include "itkMacro.h"
-#include "otbSOMMap.h"
-#include "itkRGBPixel.h"
-
-int otbSOMMapNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  const unsigned int Dimension = 2;
-  typedef float                                           ComponentType;
-  typedef itk::RGBPixel<ComponentType>                    PixelType;
-  typedef itk::Statistics::EuclideanDistanceMetric<PixelType>   DistanceType;
-  typedef otb::SOMMap<PixelType, DistanceType, Dimension> SOMMapType;
-
-  // Instantiation
-  SOMMapType::Pointer somMap = SOMMapType::New();
-
-  std::cout << somMap << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Learning/SOM/test/otbSOMNew.cxx b/Modules/Learning/SOM/test/otbSOMNew.cxx
deleted file mode 100644
index d85cbb5dcb..0000000000
--- a/Modules/Learning/SOM/test/otbSOMNew.cxx
+++ /dev/null
@@ -1,44 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#include "itkMacro.h"
-#include "otbSOMMap.h"
-#include "otbSOM.h"
-#include "itkRGBPixel.h"
-#include "itkListSample.h"
-
-int otbSOMNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  const unsigned int Dimension = 2;
-  typedef float                                           ComponentType;
-  typedef itk::VariableLengthVector<ComponentType>        PixelType;
-  typedef itk::Statistics::EuclideanDistanceMetric<PixelType>   DistanceType;
-  typedef otb::SOMMap<PixelType, DistanceType, Dimension> SOMMapType;
-  //     typedef itk::Statistics::ImageToListAdaptor<SOMMapType> AdaptorType;
-  typedef itk::Statistics::ListSample<PixelType> ListSampleType;
-  typedef otb::SOM<ListSampleType, SOMMapType>   SOMType;
-
-  // Instantiation
-  SOMType::Pointer som = SOMType::New();
-
-  std::cout << som << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Learning/SOM/test/otbSOMWithMissingValueNew.cxx b/Modules/Learning/SOM/test/otbSOMWithMissingValueNew.cxx
deleted file mode 100644
index 4a3bbb67cb..0000000000
--- a/Modules/Learning/SOM/test/otbSOMWithMissingValueNew.cxx
+++ /dev/null
@@ -1,52 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- * Copyright (C) 2007-2012 Institut Mines Telecom / Telecom Bretagne
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-
-#include "itkListSample.h"
-
-#include "otbSOMMap.h"
-//#include "otbPeriodicSOM.h"
-#include "otbSOMWithMissingValue.h"
-
-#include "otbFlexibleDistanceWithMissingValue.h"
-
-int otbSOMWithMissingValueNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  const unsigned int Dimension = 2;
-  typedef double                                 PixelType;
-  typedef otb::VectorImage<PixelType, Dimension> ImageType;
-  typedef ImageType::PixelType                   VectorType;
-
-  typedef otb::Statistics::FlexibleDistanceWithMissingValue<VectorType> DistanceType;
-
-  typedef otb::SOMMap<VectorType, DistanceType, Dimension>  MapType;
-  typedef itk::Statistics::ListSample<VectorType>           SampleListType;
-  typedef otb::Functor::CzihoSOMLearningBehaviorFunctor     LearningBehaviorFunctorType;
-  typedef otb::Functor::CzihoSOMNeighborhoodBehaviorFunctor NeighborhoodBehaviorFunctorType;
-  typedef otb::SOMWithMissingValue<SampleListType, MapType,
-      LearningBehaviorFunctorType, NeighborhoodBehaviorFunctorType> SOMType;
-
-  SOMType::Pointer som = SOMType::New();
-
-  std::cout << som << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Learning/SOM/test/otbSOMbasedImageFilterNew.cxx b/Modules/Learning/SOM/test/otbSOMbasedImageFilterNew.cxx
deleted file mode 100644
index 3a5625e65e..0000000000
--- a/Modules/Learning/SOM/test/otbSOMbasedImageFilterNew.cxx
+++ /dev/null
@@ -1,45 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- * Copyright (C) 2007-2012 Institut Mines Telecom / Telecom Bretagne
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-
-#include "otbVectorImage.h"
-#include "itkVariableLengthVector.h"
-
-#include "otbFlexibleDistanceWithMissingValue.h"
-#include "otbSOMbasedImageFilter.h"
-
-int otbSOMbasedImageFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  const unsigned int Dimension = 2;
-  typedef double                                 PixelType;
-  typedef otb::VectorImage<PixelType, Dimension> ImageType;
-  typedef ImageType::PixelType                   VectorType;
-
-  typedef otb::Statistics::FlexibleDistanceWithMissingValue<VectorType> DistanceType;
-
-  typedef otb::SOMbasedImageFilter<ImageType, ImageType, DistanceType, ImageType>
-  FilterType;
-  FilterType::Pointer somFilter = FilterType::New();
-
-  std::cout << somFilter << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Learning/Sampling/test/CMakeLists.txt b/Modules/Learning/Sampling/test/CMakeLists.txt
index e0b71037c2..8c0be6d0ae 100644
--- a/Modules/Learning/Sampling/test/CMakeLists.txt
+++ b/Modules/Learning/Sampling/test/CMakeLists.txt
@@ -35,9 +35,6 @@ otb_module_target_label(otbSamplingTestDriver)
 
 # Tests Declaration
 # ---------------- SamplingRateCalculator ------------------------------------
-otb_add_test(NAME leTuSamplingRateCalculatorNew COMMAND otbSamplingTestDriver
-            otbSamplingRateCalculatorNew 
-  
   )
 
 otb_add_test(NAME leTvSamplingRateCalculator COMMAND otbSamplingTestDriver
@@ -48,9 +45,6 @@ otb_add_test(NAME leTvSamplingRateCalculator COMMAND otbSamplingTestDriver
             ${TEMP}/leTvSamplingRateCalculator.txt)
   
 # ----------------- OGRDataToSamplePositionFilter ----------------------------
-otb_add_test(NAME leTuOGRDataToSamplePositionFilterNew COMMAND otbSamplingTestDriver
-  otbOGRDataToSamplePositionFilterNew )
-
 otb_add_test(NAME leTvOGRDataToSamplePositionFilterPoly COMMAND otbSamplingTestDriver
   otbOGRDataToSamplePositionFilter
   ${INPUTDATA}/variousVectors.sqlite
@@ -83,9 +77,6 @@ otb_add_test(NAME leTvOGRDataToSamplePositionFilterPoints COMMAND otbSamplingTes
   )
 
 # --------------- OGRDataToClassStatisticsFilter -----------------------------
-otb_add_test(NAME leTuOGRDataToClassStatisticsFilterNew COMMAND otbSamplingTestDriver
-  otbOGRDataToClassStatisticsFilterNew )
-
 otb_add_test(NAME leTvOGRDataToClassStatisticsFilter COMMAND otbSamplingTestDriver
   --compare-ascii ${NOTOL}
   ${BASELINE_FILES}/leTvOGRDataToClassStatisticsFilterOutput.txt
@@ -95,9 +86,6 @@ otb_add_test(NAME leTvOGRDataToClassStatisticsFilter COMMAND otbSamplingTestDriv
   ${TEMP}/leTvOGRDataToClassStatisticsFilterOutput.txt)
 
 # --------------- ImageSampleExtractorFilter -----------------------------
-otb_add_test(NAME leTuImageSampleExtractorFilterNew COMMAND otbSamplingTestDriver
-  otbImageSampleExtractorFilterNew )
-
 otb_add_test(NAME leTvImageSampleExtractorFilter COMMAND otbSamplingTestDriver
   --compare-ogr ${EPSILON_6}
   ${BASELINE_FILES}/leTvImageSampleExtractorFilterTest.sqlite
@@ -115,9 +103,6 @@ otb_add_test(NAME leTvImageSampleExtractorFilterUpdate COMMAND otbSamplingTestDr
   ${TEMP}/leTvImageSampleExtractorFilterUpdateTest.shp)
 
 # ---------------- SamplingRateCalculatorList ---------------------------------
-otb_add_test(NAME leTuSamplingRateCalculatorListNew COMMAND otbSamplingTestDriver
-            otbSamplingRateCalculatorListNew 
-  
   )
 
 otb_add_test(NAME leTvSamplingRateCalculatorList COMMAND otbSamplingTestDriver
diff --git a/Modules/Learning/Supervised/test/CMakeLists.txt b/Modules/Learning/Supervised/test/CMakeLists.txt
index 858f9f84ea..7417ce0d2b 100644
--- a/Modules/Learning/Supervised/test/CMakeLists.txt
+++ b/Modules/Learning/Supervised/test/CMakeLists.txt
@@ -27,10 +27,8 @@ otbMachineLearningModelCanRead.cxx
 otbTrainMachineLearningModel.cxx
 otbImageClassificationFilter.cxx
 otbMachineLearningRegressionTests.cxx
-otbExhaustiveExponentialOptimizerNew.cxx
 otbExhaustiveExponentialOptimizerTest.cxx
 otbLabelMapClassifier.cxx
-otbSVMCrossValidationCostFunctionNew.cxx
 otbSVMMarginSampler.cxx
 )
 
@@ -57,15 +55,9 @@ otb_add_test(NAME leTvConfusionMatrixCalculatorUpdateWithBaseline COMMAND otbSup
 otb_add_test(NAME leTvConfusionMatrixCalculatorSetListSamples COMMAND otbSupervisedTestDriver
   otbConfusionMatrixCalculatorSetListSamples 1000 4)
 
-otb_add_test(NAME leTuConfusionMatrixCalculatorNew COMMAND otbSupervisedTestDriver
-  otbConfusionMatrixCalculatorNew)
-
 otb_add_test(NAME leTvConfusionMatrixMeasurementsTest COMMAND otbSupervisedTestDriver
   otbConfusionMatrixMeasurementsTest)
 
-otb_add_test(NAME leTuConfusionMatrixMeasurementsNew COMMAND otbSupervisedTestDriver
-  otbConfusionMatrixMeasurementsNew)
-
 otb_add_test(NAME leTvConfusionMatrixConcatenateTest COMMAND otbSupervisedTestDriver
   otbConfusionMatrixConcatenateTest
   ${INPUTDATA}/Classification/QB_1_ortho_C1.csv
@@ -75,9 +67,6 @@ otb_add_test(NAME leTvConfusionMatrixConcatenateTest COMMAND otbSupervisedTestDr
   ${INPUTDATA}/Classification/QB_1_ortho_C5.csv
   ${INPUTDATA}/Classification/QB_1_ortho_C6.csv)
 
-otb_add_test(NAME leTuExhaustiveExponentialOptimizerNew COMMAND otbSupervisedTestDriver
-  otbExhaustiveExponentialOptimizerNew)
-
 otb_add_test(NAME leTvExhaustiveExponentialOptimizerTest COMMAND otbSupervisedTestDriver
   --compare-ascii ${NOTOL}
   ${BASELINE_FILES}/leTvExhaustiveExponentialOptimizerOutput.txt
diff --git a/Modules/Learning/Supervised/test/otbExhaustiveExponentialOptimizerNew.cxx b/Modules/Learning/Supervised/test/otbExhaustiveExponentialOptimizerNew.cxx
deleted file mode 100644
index 814ee88277..0000000000
--- a/Modules/Learning/Supervised/test/otbExhaustiveExponentialOptimizerNew.cxx
+++ /dev/null
@@ -1,35 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-
-
-
-#include <iostream>
-
-#include "otbExhaustiveExponentialOptimizer.h"
-
-int otbExhaustiveExponentialOptimizerNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  otb::ExhaustiveExponentialOptimizer::Pointer opt = otb::ExhaustiveExponentialOptimizer::New();
-
-  std::cout << opt << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Learning/Supervised/test/otbSVMCrossValidationCostFunctionNew.cxx b/Modules/Learning/Supervised/test/otbSVMCrossValidationCostFunctionNew.cxx
deleted file mode 100644
index 06ec8c1b6a..0000000000
--- a/Modules/Learning/Supervised/test/otbSVMCrossValidationCostFunctionNew.cxx
+++ /dev/null
@@ -1,44 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-
-
-
-#include "itkMacro.h"
-#include "otbImage.h"
-#include <iostream>
-
-#include "otbLibSVMMachineLearningModel.h"
-#include "otbSVMCrossValidationCostFunction.h"
-
-int otbSVMCrossValidationCostFunctionNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  typedef unsigned char InputPixelType;
-  typedef unsigned char LabelPixelType;
-
-  typedef otb::LibSVMMachineLearningModel<InputPixelType,LabelPixelType> ModelType;
-  typedef otb::SVMCrossValidationCostFunction<ModelType> FunctionType;
-
-  FunctionType::Pointer function = FunctionType::New();
-
-  std::cout << function << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Learning/Unsupervised/test/CMakeLists.txt b/Modules/Learning/Unsupervised/test/CMakeLists.txt
index 8407413cd8..b13df48917 100644
--- a/Modules/Learning/Unsupervised/test/CMakeLists.txt
+++ b/Modules/Learning/Unsupervised/test/CMakeLists.txt
@@ -8,9 +8,6 @@ set(OTBUnsupervisedTests
 
 # Tests Declaration
 
-otb_add_test(NAME leTuContingencyTableCalculatorNew COMMAND otbUnsupervisedTestDriver
-  otbContingencyTableCalculatorNew)
-
 otb_add_test(NAME leTvContingencyTableCalculatorSetListSamples COMMAND otbUnsupervisedTestDriver
   otbContingencyTableCalculatorSetListSamples 1000 4)
 
diff --git a/Modules/OBIA/RCC8/test/CMakeLists.txt b/Modules/OBIA/RCC8/test/CMakeLists.txt
index f6a75cc2b0..f3196766b2 100644
--- a/Modules/OBIA/RCC8/test/CMakeLists.txt
+++ b/Modules/OBIA/RCC8/test/CMakeLists.txt
@@ -22,29 +22,17 @@ otb_module_test()
 
 set(OTBRCC8Tests
 otbRCC8TestDriver.cxx
-otbRCC8GraphNew.cxx
 otbRCC8GraphFileReader.cxx
 otbRCC8GraphIOEndToEnd.cxx
 otbPolygonListToRCC8GraphFilter.cxx
 otbRCC8VertexBase.cxx
-otbRCC8GraphFileReaderNew.cxx
-otbRCC8VertexWithCompacityNew.cxx
-otbImageMultiSegmentationToRCC8GraphFilterNew.cxx
-otbRCC8GraphFileWriterNew.cxx
 otbPolygonToPolygonRCC8Calculator.cxx
-otbImageListToRCC8GraphFilterNew.cxx
 otbImageToImageRCC8Calculator.cxx
 otbRCC8Edge.cxx
-otbPolygonListToRCC8GraphFilterNew.cxx
 otbRCC8VertexWithCompacity.cxx
-otbRCC8EdgeNew.cxx
-otbPolygonToPolygonRCC8CalculatorNew.cxx
-otbRCC8VertexBaseNew.cxx
 otbRCC8Graph.cxx
-otbRCC8GraphSourceNew.cxx
 otbRCC8GraphFileWriter.cxx
 otbImageMultiSegmentationToRCC8GraphFilter.cxx
-otbImageToImageRCC8CalculatorNew.cxx
 )
 
 add_executable(otbRCC8TestDriver ${OTBRCC8Tests})
@@ -53,9 +41,6 @@ otb_module_target_label(otbRCC8TestDriver)
 
 # Tests Declaration
 
-otb_add_test(NAME srTuRCC8GraphNew COMMAND otbRCC8TestDriver
-  otbRCC8GraphNew)
-
 otb_add_test(NAME srTvRCC8GraphFileReader COMMAND otbRCC8TestDriver
   otbRCC8GraphFileReader
   ${TEMP}/srRCC8GraphWriterOutput1.dot
@@ -84,18 +69,6 @@ otb_add_test(NAME srTvRCC8VertexBase COMMAND otbRCC8TestDriver
   5
   )
 
-otb_add_test(NAME srTuRCC8GraphFileReaderNew COMMAND otbRCC8TestDriver
-  otbRCC8GraphFileReaderNew)
-
-otb_add_test(NAME srTuRCC8VertexWithCompacityNew COMMAND otbRCC8TestDriver
-  otbRCC8VertexWithCompacityNew)
-
-otb_add_test(NAME srTuMultiSegToRCC8GraphFilterNew COMMAND otbRCC8TestDriver
-  otbImageMultiSegmentationToRCC8GraphFilterNew)
-
-otb_add_test(NAME srTuRCC8GraphFileWriterNew COMMAND otbRCC8TestDriver
-  otbRCC8GraphFileWriterNew)
-
 otb_add_test(NAME srTvPolygonRCC8Calculator COMMAND otbRCC8TestDriver
   --compare-ascii ${NOTOL}
   ${BASELINE_FILES}/srRCC8PolygonToPolygonCalculatorOutput.txt
@@ -109,9 +82,6 @@ otb_add_test(NAME srTvPolygonRCC8Calculator COMMAND otbRCC8TestDriver
   ${INPUTDATA}/rcc8_mire4.png
   )
 
-otb_add_test(NAME srTuImageListToRCC8GraphFilterNew COMMAND otbRCC8TestDriver
-  otbImageListToRCC8GraphFilterNew)
-
 otb_add_test(NAME srTvRCC8Calculator COMMAND otbRCC8TestDriver
   --compare-ascii ${NOTOL}
   ${BASELINE_FILES}/srRCC8CalculatorOutput.txt
@@ -129,9 +99,6 @@ otb_add_test(NAME srTvRCC8Edge COMMAND otbRCC8TestDriver
   otbRCC8Edge
   )
 
-otb_add_test(NAME srTuPolygonListToRCC8GraphFilterNew COMMAND otbRCC8TestDriver
-  otbPolygonListToRCC8GraphFilterNew)
-
 otb_add_test(NAME srTvRCC8VertexWithCompacity COMMAND otbRCC8TestDriver
   otbRCC8VertexWithCompacity
   5
@@ -139,22 +106,10 @@ otb_add_test(NAME srTvRCC8VertexWithCompacity COMMAND otbRCC8TestDriver
   0.125354
   )
 
-otb_add_test(NAME srTuRCC8EdgeNew COMMAND otbRCC8TestDriver
-  otbRCC8EdgeNew)
-
-otb_add_test(NAME srTuPolygonRCC8CalculatorNew COMMAND otbRCC8TestDriver
-  otbPolygonToPolygonRCC8CalculatorNew)
-
-otb_add_test(NAME srTuRCC8VertexBaseNew COMMAND otbRCC8TestDriver
-  otbRCC8VertexBaseNew)
-
 otb_add_test(NAME srTvRCC8Graph COMMAND otbRCC8TestDriver
   otbRCC8Graph
   )
 
-otb_add_test(NAME srTuRCC8GraphSourceNew COMMAND otbRCC8TestDriver
-  otbRCC8GraphSourceNew)
-
 otb_add_test(NAME srTvRCC8GraphFileWriter COMMAND otbRCC8TestDriver
   --compare-ascii        ${NOTOL}
   ${BASELINE_FILES}/srRCC8GraphWriterOutput1.dot
@@ -213,6 +168,3 @@ otb_add_test(NAME srTvMultiSegToRCC8GraphFilter1WithOpti COMMAND otbRCC8TestDriv
   ${INPUTDATA}/Seg2InputForRCC8Graph.tif
   )
 
-otb_add_test(NAME srTuRCC8CalculatorNew COMMAND otbRCC8TestDriver
-  otbImageToImageRCC8CalculatorNew)
-
diff --git a/Modules/OBIA/RCC8/test/otbImageListToRCC8GraphFilterNew.cxx b/Modules/OBIA/RCC8/test/otbImageListToRCC8GraphFilterNew.cxx
deleted file mode 100644
index 8a7d5170c4..0000000000
--- a/Modules/OBIA/RCC8/test/otbImageListToRCC8GraphFilterNew.cxx
+++ /dev/null
@@ -1,44 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#include "itkMacro.h"
-#include "otbRCC8Graph.h"
-#include "otbRCC8VertexBase.h"
-#include "otbImageListToRCC8GraphFilter.h"
-#include "otbPolygon.h"
-
-int otbImageListToRCC8GraphFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  const unsigned int Dimension = 2;
-  typedef unsigned short                        LabelPixelType;
-  typedef otb::Polygon<>                        PathType;
-  typedef otb::Image<LabelPixelType, Dimension> LabelImageType;
-  typedef otb::RCC8VertexBase<PathType>         VertexType;
-  typedef otb::RCC8Graph<VertexType>            RCC8GraphType;
-  typedef otb::ImageListToRCC8GraphFilter<LabelImageType, RCC8GraphType>
-  ImageListToRCC8GraphFilterType;
-
-  // Instantiation
-  ImageListToRCC8GraphFilterType::Pointer filter = ImageListToRCC8GraphFilterType::New();
-
-  std::cout << filter << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/OBIA/RCC8/test/otbImageMultiSegmentationToRCC8GraphFilterNew.cxx b/Modules/OBIA/RCC8/test/otbImageMultiSegmentationToRCC8GraphFilterNew.cxx
deleted file mode 100644
index 4234789358..0000000000
--- a/Modules/OBIA/RCC8/test/otbImageMultiSegmentationToRCC8GraphFilterNew.cxx
+++ /dev/null
@@ -1,44 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#include "itkMacro.h"
-#include "otbRCC8Graph.h"
-#include "otbRCC8VertexBase.h"
-#include "otbPolygon.h"
-#include "otbImageMultiSegmentationToRCC8GraphFilter.h"
-
-int otbImageMultiSegmentationToRCC8GraphFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  const unsigned int Dimension = 2;
-  typedef unsigned short                        LabelPixelType;
-  typedef otb::Polygon<>                        PolygonType;
-  typedef otb::Image<LabelPixelType, Dimension> LabelImageType;
-  typedef otb::RCC8VertexBase<PolygonType>      VertexType;
-  typedef otb::RCC8Graph<VertexType>            RCC8GraphType;
-  typedef otb::ImageMultiSegmentationToRCC8GraphFilter<LabelImageType, RCC8GraphType>
-  RCC8GraphFilterType;
-
-  // Instantiation
-  RCC8GraphFilterType::Pointer filter = RCC8GraphFilterType::New();
-
-  std::cout << filter << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/OBIA/RCC8/test/otbImageToImageRCC8CalculatorNew.cxx b/Modules/OBIA/RCC8/test/otbImageToImageRCC8CalculatorNew.cxx
deleted file mode 100644
index bfcb4cdfd3..0000000000
--- a/Modules/OBIA/RCC8/test/otbImageToImageRCC8CalculatorNew.cxx
+++ /dev/null
@@ -1,35 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#include "itkMacro.h"
-#include "otbImageToImageRCC8Calculator.h"
-
-int otbImageToImageRCC8CalculatorNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  //    const unsigned int Dimension = 2;
-  //     typedef unsigned char PixelType;
-  //     typedef otb::Image<PixelType, Dimension> ImageType;
-  //     typedef otb::ImageToImageRCC8Calculator<ImageType> CalculatorType;
-
-  //     //Instantiation
-  //     CalculatorType::Pointer calc = CalculatorType::New();
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/OBIA/RCC8/test/otbPolygonListToRCC8GraphFilterNew.cxx b/Modules/OBIA/RCC8/test/otbPolygonListToRCC8GraphFilterNew.cxx
deleted file mode 100644
index 9032836588..0000000000
--- a/Modules/OBIA/RCC8/test/otbPolygonListToRCC8GraphFilterNew.cxx
+++ /dev/null
@@ -1,44 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#include "itkMacro.h"
-#include "otbRCC8Graph.h"
-#include "otbPolygon.h"
-#include "otbObjectList.h"
-#include "otbRCC8VertexBase.h"
-#include "otbPolygonListToRCC8GraphFilter.h"
-
-int otbPolygonListToRCC8GraphFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  // typedefs
-  typedef otb::Polygon<>                   PolygonType;
-  typedef otb::ObjectList<PolygonType>     PolygonListType;
-  typedef otb::RCC8VertexBase<PolygonType> VertexType;
-  typedef otb::RCC8Graph<VertexType>       RCC8GraphType;
-  typedef otb::PolygonListToRCC8GraphFilter<PolygonListType, RCC8GraphType>
-  RCC8GraphFilterType;
-
-  // Instantiation
-  RCC8GraphFilterType::Pointer filter = RCC8GraphFilterType::New();
-
-  std::cout << filter << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/OBIA/RCC8/test/otbPolygonToPolygonRCC8CalculatorNew.cxx b/Modules/OBIA/RCC8/test/otbPolygonToPolygonRCC8CalculatorNew.cxx
deleted file mode 100644
index 745f6056b6..0000000000
--- a/Modules/OBIA/RCC8/test/otbPolygonToPolygonRCC8CalculatorNew.cxx
+++ /dev/null
@@ -1,36 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#include "itkMacro.h"
-#include "otbPolygonToPolygonRCC8Calculator.h"
-#include "otbPolygon.h"
-
-int otbPolygonToPolygonRCC8CalculatorNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  typedef otb::Polygon<>                                   PolygonType;
-  typedef otb::PolygonToPolygonRCC8Calculator<PolygonType> CalculatorType;
-
-  //Instantiation
-  CalculatorType::Pointer calc = CalculatorType::New();
-
-  std::cout << calc << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/OBIA/RCC8/test/otbRCC8EdgeNew.cxx b/Modules/OBIA/RCC8/test/otbRCC8EdgeNew.cxx
deleted file mode 100644
index 9e21c5bcbe..0000000000
--- a/Modules/OBIA/RCC8/test/otbRCC8EdgeNew.cxx
+++ /dev/null
@@ -1,34 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#include "itkMacro.h"
-#include "otbRCC8Edge.h"
-#include <cstdlib>
-
-int otbRCC8EdgeNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  typedef otb::RCC8Edge RCC8EdgeType;
-
-  // Instantiation
-  RCC8EdgeType::Pointer rcc8 = RCC8EdgeType::New();
-
-  std::cout << rcc8 << std::endl;
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/OBIA/RCC8/test/otbRCC8GraphFileReaderNew.cxx b/Modules/OBIA/RCC8/test/otbRCC8GraphFileReaderNew.cxx
deleted file mode 100644
index 8355109a0b..0000000000
--- a/Modules/OBIA/RCC8/test/otbRCC8GraphFileReaderNew.cxx
+++ /dev/null
@@ -1,39 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#include "otbRCC8Graph.h"
-#include "otbRCC8VertexBase.h"
-#include "otbRCC8GraphFileReader.h"
-#include "otbPolygon.h"
-
-int otbRCC8GraphFileReaderNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  typedef otb::Polygon<>                          PathType;
-  typedef otb::RCC8VertexBase<PathType>           VertexType;
-  typedef otb::RCC8Graph<VertexType>              RCC8GraphType;
-  typedef otb::RCC8GraphFileReader<RCC8GraphType> RCC8GraphFileReaderType;
-
-  // Instantiation
-  RCC8GraphFileReaderType::Pointer rcc8GraphReader = RCC8GraphFileReaderType::New();
-
-  std::cout << rcc8GraphReader << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/OBIA/RCC8/test/otbRCC8GraphFileWriterNew.cxx b/Modules/OBIA/RCC8/test/otbRCC8GraphFileWriterNew.cxx
deleted file mode 100644
index d7b1746742..0000000000
--- a/Modules/OBIA/RCC8/test/otbRCC8GraphFileWriterNew.cxx
+++ /dev/null
@@ -1,38 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#include "otbRCC8VertexBase.h"
-#include "otbRCC8GraphFileWriter.h"
-#include "otbPolygon.h"
-
-int otbRCC8GraphFileWriterNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  typedef otb::Polygon<>                          PathType;
-  typedef otb::RCC8VertexBase<PathType>           VertexType;
-  typedef otb::RCC8Graph<VertexType>              RCC8GraphType;
-  typedef otb::RCC8GraphFileWriter<RCC8GraphType> RCC8GraphFileWriterType;
-
-  // Instantiation
-  RCC8GraphFileWriterType::Pointer rcc8GraphWriter = RCC8GraphFileWriterType::New();
-
-  std::cout << rcc8GraphWriter << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/OBIA/RCC8/test/otbRCC8GraphNew.cxx b/Modules/OBIA/RCC8/test/otbRCC8GraphNew.cxx
deleted file mode 100644
index 451b2251c0..0000000000
--- a/Modules/OBIA/RCC8/test/otbRCC8GraphNew.cxx
+++ /dev/null
@@ -1,38 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#include "itkMacro.h"
-#include "otbRCC8Graph.h"
-#include "otbRCC8VertexBase.h"
-#include "otbPolygon.h"
-
-int otbRCC8GraphNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  typedef otb::Polygon<>                PathType;
-  typedef otb::RCC8VertexBase<PathType> VertexType;
-  typedef otb::RCC8Graph<VertexType>    RCC8GraphType;
-
-  // Instantiation
-  RCC8GraphType::Pointer rcc8Graph = RCC8GraphType::New();
-
-  std::cout << rcc8Graph << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/OBIA/RCC8/test/otbRCC8GraphSourceNew.cxx b/Modules/OBIA/RCC8/test/otbRCC8GraphSourceNew.cxx
deleted file mode 100644
index ad0a367c00..0000000000
--- a/Modules/OBIA/RCC8/test/otbRCC8GraphSourceNew.cxx
+++ /dev/null
@@ -1,40 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#include "itkMacro.h"
-#include "otbRCC8Graph.h"
-#include "otbRCC8GraphSource.h"
-#include "otbRCC8VertexBase.h"
-#include "otbPolygon.h"
-
-int otbRCC8GraphSourceNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  typedef otb::Polygon<>                      PathType;
-  typedef otb::RCC8VertexBase<PathType>       VertexType;
-  typedef otb::RCC8Graph<VertexType>          RCC8GraphType;
-  typedef otb::RCC8GraphSource<RCC8GraphType> RCC8GraphSourceType;
-
-  // Instantiation
-  RCC8GraphSourceType::Pointer rcc8GraphSource = RCC8GraphSourceType::New();
-
-  std::cout << rcc8GraphSource << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/OBIA/RCC8/test/otbRCC8VertexBaseNew.cxx b/Modules/OBIA/RCC8/test/otbRCC8VertexBaseNew.cxx
deleted file mode 100644
index 4e237b4f39..0000000000
--- a/Modules/OBIA/RCC8/test/otbRCC8VertexBaseNew.cxx
+++ /dev/null
@@ -1,36 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#include "itkMacro.h"
-#include "otbRCC8VertexBase.h"
-#include "otbPolygon.h"
-
-int otbRCC8VertexBaseNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  typedef otb::Polygon<>                PathType;
-  typedef otb::RCC8VertexBase<PathType> RCC8VertexType;
-
-  // Instantiation
-  RCC8VertexType::Pointer rcc8Vertex = RCC8VertexType::New();
-
-  std::cout << rcc8Vertex << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/OBIA/RCC8/test/otbRCC8VertexWithCompacityNew.cxx b/Modules/OBIA/RCC8/test/otbRCC8VertexWithCompacityNew.cxx
deleted file mode 100644
index 6f1fc9da1f..0000000000
--- a/Modules/OBIA/RCC8/test/otbRCC8VertexWithCompacityNew.cxx
+++ /dev/null
@@ -1,37 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#include "itkMacro.h"
-#include "otbRCC8VertexWithCompacity.h"
-#include "otbPolygon.h"
-
-int otbRCC8VertexWithCompacityNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  typedef otb::Polygon<>                                        PathType;
-  typedef float                                                 PrecisionType;
-  typedef otb::RCC8VertexWithCompacity<PathType, PrecisionType> RCC8VertexType;
-
-  // Instantiation
-  RCC8VertexType::Pointer rcc8Vertex = RCC8VertexType::New();
-
-  std::cout << rcc8Vertex << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Radiometry/Indices/test/CMakeLists.txt b/Modules/Radiometry/Indices/test/CMakeLists.txt
index 004e368c9b..bd0647a6b0 100644
--- a/Modules/Radiometry/Indices/test/CMakeLists.txt
+++ b/Modules/Radiometry/Indices/test/CMakeLists.txt
@@ -22,11 +22,8 @@ otb_module_test()
 
 set(OTBIndicesTests
 otbIndicesTestDriver.cxx
-otbRAndGAndNIRVegetationIndexImageFilterNew.cxx
 otbAVIMultiChannelRAndGAndNIRVegetationIndexImageFilter.cxx
 otbNDVIDataNodeFeatureFunction.cxx
-otbRAndNIRVegetationIndexImageFilterNew.cxx
-otbMultiChannelRAndBAndNIRVegetationIndexImageFilterNew.cxx
 otbLandsatTMIndexNDSITest.cxx
 otbLandsatTMIndexBIOTest.cxx
 otbLAIFromReflectancesLinearFunctorTest.cxx
@@ -42,10 +39,8 @@ otbLAIFromNDVILogarithmicFunctorTest.cxx
 otbMultiChannelRAndNIRVegetationIndexImageFilter.cxx
 otbLandsatTMIndexVisTest.cxx
 otbWaterSqrtSpectralAngleImageFilter.cxx
-otbMultiChannelRAndGAndNIRIndexImageFilterNew.cxx
 otbLandsatTMIndexBrightTest.cxx
 otbMultiChannelRAndBAndNIRVegetationIndexImageFilter.cxx
-otbMultiChannelRAndNIRVegetationIndexImageFilterNew.cxx
 otbLandsatTMBrightTest.cxx
 otbLandsatTMThinCloudTest.cxx
 otbISUMultiChannelRAndNIRIndexImageFilter.cxx
@@ -59,10 +54,8 @@ otbEVIRAndBAndNIRVegetationIndexImageFilter.cxx
 otbNDBITM4AndTM5IndexImageFilter.cxx
 otbLandsatTMIndexNDBBBITest.cxx
 otbIBGAndRAndNIRIndexImageFilter.cxx
-otbGAndRIndexImageFilterNew.cxx
 otbEVIMultiChannelRAndBAndNIRVegetationIndexImageFilter.cxx
 otbNDBIMultiChannelTM4AndTM5IndexImageFilter.cxx
-otbMultiChannelGAndRIndexImageFilterNew.cxx
 otbNDWIWaterIndexImageFilter.cxx
 otbLandsatTMIndexTIRTest.cxx
 otbTSARVIMultiChannelRAndBAndNIRVegetationIndexImageFilter.cxx
@@ -70,7 +63,6 @@ otbLandsatTMLinguisticLabelsTest.cxx
 otbNDWIMultiChannelWaterIndexImageFilter.cxx
 otbWDVIMultiChannelRAndNIRVegetationIndexImageFilter.cxx
 otbLandsatTMIndexNDSIVisTest.cxx
-otbRAndBAndNIRVegetationIndexImageFilterNew.cxx
 otbLandsatTMIndexNIRTest.cxx
 otbSetASetBRAndNIRVegetationIndexImageFilter.cxx
 otbLandsatTMKernelSpectralRules.cxx
@@ -85,9 +77,6 @@ otb_module_target_label(otbIndicesTestDriver)
 
 # Tests Declaration
 
-otb_add_test(NAME raTuRAndGAndNIRVegetationIndexImageFilterNew COMMAND otbIndicesTestDriver
-  otbRAndGAndNIRVegetationIndexImageFilterNew )
-
 otb_add_test(NAME raTvAVI_MultiChannelRAndGAndNIRVegetationIndexImageFilter COMMAND otbIndicesTestDriver
   --compare-image ${EPSILON_12}   ${BASELINE}/raMultiChannelRAndGAndNIRVegetationIndex_AVI_qb_RoadExtract.tif
   ${TEMP}/raMultiChannelRAndGAndNIRVegetationIndex_AVI_qb_RoadExtract.tif
@@ -126,15 +115,6 @@ otb_add_test(NAME bfTvNDVIDataNodeFeatureFunction_Line COMMAND otbIndicesTestDri
   0
   )
 
-otb_add_test(NAME bfTuNDVIDataNodeFeatureFunctionNew COMMAND otbIndicesTestDriver
-  otbNDVIDataNodeFeatureFunctionNew
-  )
-
-otb_add_test(NAME raTuRAndNIRVegetationIndexImageFilterNew COMMAND otbIndicesTestDriver
-  otbRAndNIRVegetationIndexImageFilterNew )
-
-otb_add_test(NAME raTuMultiChannelRAndBAndNIRVegetationIndexImageFilterNew COMMAND otbIndicesTestDriver
-  otbMultiChannelRAndBAndNIRVegetationIndexImageFilterNew )
 
 otb_add_test(NAME raTvLandsatTMIndexNDSITest COMMAND otbIndicesTestDriver
   otbLandsatTMIndexNDSI
@@ -317,9 +297,6 @@ otb_add_test(NAME raTvWaterSqrtSpectralAngleImageFilter COMMAND otbIndicesTestDr
   0 1 2 3
   )
 
-otb_add_test(NAME raTuMultiChannelRAndGAndNIRIndexImageFilterNew COMMAND otbIndicesTestDriver
-  otbMultiChannelRAndGAndNIRIndexImageFilterNew )
-
 otb_add_test(NAME raTvLandsatTMIndexBrightTest COMMAND otbIndicesTestDriver
   otbLandsatTMIndexBright
   3   #TM1
@@ -585,9 +562,6 @@ otb_add_test(NAME raTvIB2_GAndRAndNIRIndexImageFilter COMMAND otbIndicesTestDriv
   ${TEMP}/raGAndRAndNIRIndexImageFilter_IB2_verySmallFSATSW.tif
   )
 
-otb_add_test(NAME raTuGAndRIndexImageFilterNew COMMAND otbIndicesTestDriver
-  otbGAndRIndexImageFilterNew )
-
 otb_add_test(NAME raTvEVI_MultiChannelRAndBAndNIRVegetationIndexImageFilter COMMAND otbIndicesTestDriver
   --compare-image ${EPSILON_12}   ${BASELINE}/raRAndBAndNIRVegetationIndex_EVI_qb_RoadExtract.tif
   ${TEMP}/raRAndBAndNIRVegetationIndex_EVI_qb_RoadExtract.tif
@@ -614,9 +588,6 @@ otb_add_test(NAME raTvNDBI_MultiChannelTM4AndTM5BuiltUpIndexImageFilter COMMAND
   4   # nir
   )
 
-otb_add_test(NAME raTuMultiChannelGAndRIndexImageFilterNew COMMAND otbIndicesTestDriver
-  otbMultiChannelGAndRIndexImageFilterNew )
-
 otb_add_test(NAME raTvNDWI_WaterIndexImageFilter COMMAND otbIndicesTestDriver
   --compare-image ${EPSILON_12}   ${BASELINE}/raWaterIndex_NDWI_verySmallFSATSW.tif
   ${TEMP}/raWaterIndex_NDWI_verySmallFSATSW.tif
@@ -709,9 +680,6 @@ otb_add_test(NAME raTvLandsatTMIndexNDSIVisTest COMMAND otbIndicesTestDriver
   21  #TM7
   )
 
-otb_add_test(NAME raTuRAndBAndNIRVegetationIndexImageFilterNew COMMAND otbIndicesTestDriver
-  otbRAndBAndNIRVegetationIndexImageFilterNew )
-
 otb_add_test(NAME raTvLandsatTMIndexNIRTest COMMAND otbIndicesTestDriver
   otbLandsatTMIndexNIR
   3   #TM1
diff --git a/Modules/Radiometry/Indices/test/otbGAndRIndexImageFilterNew.cxx b/Modules/Radiometry/Indices/test/otbGAndRIndexImageFilterNew.cxx
deleted file mode 100644
index 5715971ddf..0000000000
--- a/Modules/Radiometry/Indices/test/otbGAndRIndexImageFilterNew.cxx
+++ /dev/null
@@ -1,45 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-
-
-#include "itkMacro.h"
-
-#include "otbGAndRIndexImageFilter.h"
-#include "otbImage.h"
-#include "otbImage.h"
-
-int otbGAndRIndexImageFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv)[])
-{
-  const unsigned int Dimension = 2;
-  typedef unsigned char                    PixelType;
-  typedef otb::Image<PixelType, Dimension> InputGImageType;
-  typedef otb::Image<PixelType, Dimension> InputRImageType;
-  typedef otb::Image<PixelType, Dimension> OutputImageType;
-
-  typedef otb::GAndRIndexImageFilter<InputGImageType, InputRImageType, OutputImageType> GAndRIndexImageFilterType;
-
-  // Instantiating object
-  GAndRIndexImageFilterType::Pointer filter = GAndRIndexImageFilterType::New();
-
-  std::cout << filter << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Radiometry/Indices/test/otbMultiChannelGAndRIndexImageFilterNew.cxx b/Modules/Radiometry/Indices/test/otbMultiChannelGAndRIndexImageFilterNew.cxx
deleted file mode 100644
index 1a2d63e750..0000000000
--- a/Modules/Radiometry/Indices/test/otbMultiChannelGAndRIndexImageFilterNew.cxx
+++ /dev/null
@@ -1,40 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#include "itkMacro.h"
-
-#include "otbMultiChannelGAndRIndexImageFilter.h"
-#include "otbImage.h"
-#include "otbVectorImage.h"
-
-int otbMultiChannelGAndRIndexImageFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv)[])
-{
-  const unsigned int Dimension = 2;
-  typedef otb::VectorImage<unsigned char, Dimension>                              InputImageType;
-  typedef otb::Image<float, Dimension>                                            OutputImageType;
-  typedef otb::MultiChannelGAndRIndexImageFilter<InputImageType, OutputImageType> MultiChannelGAndRIndexImageFilterType;
-
-  // Instantiating object
-  MultiChannelGAndRIndexImageFilterType::Pointer filter = MultiChannelGAndRIndexImageFilterType::New();
-
-  std::cout << filter << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Radiometry/Indices/test/otbMultiChannelRAndBAndNIRVegetationIndexImageFilterNew.cxx b/Modules/Radiometry/Indices/test/otbMultiChannelRAndBAndNIRVegetationIndexImageFilterNew.cxx
deleted file mode 100644
index a7cd686f23..0000000000
--- a/Modules/Radiometry/Indices/test/otbMultiChannelRAndBAndNIRVegetationIndexImageFilterNew.cxx
+++ /dev/null
@@ -1,41 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#include "itkMacro.h"
-
-#include "otbMultiChannelRAndBAndNIRIndexImageFilter.h"
-#include "otbImage.h"
-#include "otbVectorImage.h"
-
-int otbMultiChannelRAndBAndNIRVegetationIndexImageFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv)[])
-{
-  const unsigned int Dimension = 2;
-  typedef otb::VectorImage<unsigned char, Dimension> InputImageType;
-  typedef otb::Image<float, Dimension>               OutputImageType;
-  typedef otb::MultiChannelRAndBAndNIRIndexImageFilter<InputImageType,
-      OutputImageType> MultiChannelRAndBAndNIRIndexImageFilterType;
-
-  // Instantiating object
-  MultiChannelRAndBAndNIRIndexImageFilterType::Pointer filter = MultiChannelRAndBAndNIRIndexImageFilterType::New();
-
-  std::cout << filter << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Radiometry/Indices/test/otbMultiChannelRAndGAndNIRIndexImageFilterNew.cxx b/Modules/Radiometry/Indices/test/otbMultiChannelRAndGAndNIRIndexImageFilterNew.cxx
deleted file mode 100644
index 4894caf681..0000000000
--- a/Modules/Radiometry/Indices/test/otbMultiChannelRAndGAndNIRIndexImageFilterNew.cxx
+++ /dev/null
@@ -1,41 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#include "itkMacro.h"
-
-#include "otbMultiChannelRAndGAndNIRIndexImageFilter.h"
-#include "otbImage.h"
-#include "otbVectorImage.h"
-
-int otbMultiChannelRAndGAndNIRIndexImageFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv)[])
-{
-  const unsigned int Dimension = 2;
-  typedef otb::VectorImage<unsigned char, Dimension> InputImageType;
-  typedef otb::Image<float, Dimension>               OutputImageType;
-  typedef otb::MultiChannelRAndGAndNIRIndexImageFilter<InputImageType,
-      OutputImageType> MultiChannelRAndGAndNIRIndexImageFilterType;
-
-  // Instantiating object
-  MultiChannelRAndGAndNIRIndexImageFilterType::Pointer filter = MultiChannelRAndGAndNIRIndexImageFilterType::New();
-
-  std::cout << filter << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Radiometry/Indices/test/otbMultiChannelRAndNIRVegetationIndexImageFilterNew.cxx b/Modules/Radiometry/Indices/test/otbMultiChannelRAndNIRVegetationIndexImageFilterNew.cxx
deleted file mode 100644
index 4f2522eba8..0000000000
--- a/Modules/Radiometry/Indices/test/otbMultiChannelRAndNIRVegetationIndexImageFilterNew.cxx
+++ /dev/null
@@ -1,41 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#include "itkMacro.h"
-
-#include "otbMultiChannelRAndNIRIndexImageFilter.h"
-#include "otbImage.h"
-#include "otbVectorImage.h"
-
-int otbMultiChannelRAndNIRVegetationIndexImageFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv)[])
-{
-  const unsigned int Dimension = 2;
-  typedef otb::VectorImage<unsigned char, Dimension> InputImageType;
-  typedef otb::Image<float, Dimension>               OutputImageType;
-  typedef otb::MultiChannelRAndNIRIndexImageFilter<InputImageType,
-      OutputImageType> MultiChannelRAndNIRIndexImageFilterType;
-
-  // Instantiating object
-  MultiChannelRAndNIRIndexImageFilterType::Pointer filter = MultiChannelRAndNIRIndexImageFilterType::New();
-
-  std::cout << filter << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Radiometry/Indices/test/otbRAndBAndNIRVegetationIndexImageFilterNew.cxx b/Modules/Radiometry/Indices/test/otbRAndBAndNIRVegetationIndexImageFilterNew.cxx
deleted file mode 100644
index 2ccfc44039..0000000000
--- a/Modules/Radiometry/Indices/test/otbRAndBAndNIRVegetationIndexImageFilterNew.cxx
+++ /dev/null
@@ -1,46 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-
-
-#include "itkMacro.h"
-
-#include "otbRAndBAndNIRIndexImageFilter.h"
-#include "otbImage.h"
-
-int otbRAndBAndNIRVegetationIndexImageFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv)[])
-{
-  const unsigned int Dimension = 2;
-  typedef unsigned char                    PixelType;
-  typedef otb::Image<PixelType, Dimension> InputRImageType;
-  typedef otb::Image<PixelType, Dimension> InputBImageType;
-  typedef otb::Image<PixelType, Dimension> InputNIRImageType;
-  typedef otb::Image<PixelType, Dimension> OutputImageType;
-
-  typedef otb::RAndBAndNIRIndexImageFilter<InputRImageType, InputBImageType, InputNIRImageType,
-      OutputImageType> RAndBAndNIRIndexImageFilterType;
-
-  // Instantiating object
-  RAndBAndNIRIndexImageFilterType::Pointer filter = RAndBAndNIRIndexImageFilterType::New();
-
-  std::cout << filter << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Radiometry/Indices/test/otbRAndGAndNIRVegetationIndexImageFilterNew.cxx b/Modules/Radiometry/Indices/test/otbRAndGAndNIRVegetationIndexImageFilterNew.cxx
deleted file mode 100644
index eb83caa75b..0000000000
--- a/Modules/Radiometry/Indices/test/otbRAndGAndNIRVegetationIndexImageFilterNew.cxx
+++ /dev/null
@@ -1,46 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-
-
-#include "itkMacro.h"
-
-#include "otbRAndGAndNIRIndexImageFilter.h"
-#include "otbImage.h"
-
-int otbRAndGAndNIRVegetationIndexImageFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv)[])
-{
-  const unsigned int Dimension = 2;
-  typedef unsigned char                    PixelType;
-  typedef otb::Image<PixelType, Dimension> InputRImageType;
-  typedef otb::Image<PixelType, Dimension> InputGImageType;
-  typedef otb::Image<PixelType, Dimension> InputNIRImageType;
-  typedef otb::Image<PixelType, Dimension> OutputImageType;
-
-  typedef otb::RAndGAndNIRIndexImageFilter<InputRImageType, InputGImageType, InputNIRImageType,
-      OutputImageType> RAndGAndNIRIndexImageFilterType;
-
-  // Instantiating object
-  RAndGAndNIRIndexImageFilterType::Pointer filter = RAndGAndNIRIndexImageFilterType::New();
-
-  std::cout << filter << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Radiometry/Indices/test/otbRAndNIRVegetationIndexImageFilterNew.cxx b/Modules/Radiometry/Indices/test/otbRAndNIRVegetationIndexImageFilterNew.cxx
deleted file mode 100644
index 35fdc00d7b..0000000000
--- a/Modules/Radiometry/Indices/test/otbRAndNIRVegetationIndexImageFilterNew.cxx
+++ /dev/null
@@ -1,45 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-
-
-#include "itkMacro.h"
-
-#include "otbRAndNIRIndexImageFilter.h"
-#include "otbImage.h"
-#include "otbImage.h"
-
-int otbRAndNIRVegetationIndexImageFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv)[])
-{
-  const unsigned int Dimension = 2;
-  typedef unsigned char                    PixelType;
-  typedef otb::Image<PixelType, Dimension> InputRImageType;
-  typedef otb::Image<PixelType, Dimension> InputNIRImageType;
-  typedef otb::Image<PixelType, Dimension> OutputImageType;
-
-  typedef otb::RAndNIRIndexImageFilter<InputRImageType, InputNIRImageType, OutputImageType> RAndNIRIndexImageFilterType;
-
-  // Instantiating object
-  RAndNIRIndexImageFilterType::Pointer filter = RAndNIRIndexImageFilterType::New();
-
-  std::cout << filter << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Radiometry/OpticalCalibration/test/CMakeLists.txt b/Modules/Radiometry/OpticalCalibration/test/CMakeLists.txt
index a835c8048c..c127a9adc2 100644
--- a/Modules/Radiometry/OpticalCalibration/test/CMakeLists.txt
+++ b/Modules/Radiometry/OpticalCalibration/test/CMakeLists.txt
@@ -24,35 +24,24 @@ set(OTBOpticalCalibrationTests
 otbOpticalCalibrationTestDriver.cxx
 otbSpectralSensitivityReaderTest.cxx
 otbReflectanceToImageImageFilter.cxx
-otbReflectanceToRadianceImageFilterNew.cxx
-otbRadianceToReflectanceImageFilterNew.cxx
 otbRadianceToReflectanceImageFilterAuto.cxx
-otbImageToRadianceImageFilterNew.cxx
-otbRadiometryCorrectionParametersToAtmosphericRadiativeTermsNew.cxx
 otbRadianceToImageImageFilterAuto.cxx
-otbRadianceToImageImageFilterNew.cxx
 otbReflectanceToRadianceImageFilterAuto.cxx
 otbAeronetExtractDataBadData.cxx
 otbRomaniaReflectanceToRomaniaSurfaceReflectanceImageFilter.cxx
 otbRadiometryCorrectionParametersToAtmosphericRadiativeTerms.cxx
-otbSurfaceAdjacencyEffectCorrectionSchemeFilterNew.cxx
 otbImageToReflectanceImageFilterAuto.cxx
-otbAtmosphericCorrectionParametersNew.cxx
-otbImageToReflectanceImageFilterNew.cxx
 otbWavelengthSpectralBandsTest.cxx
 otbAtmosphericRadiativeTermsTest.cxx
 otbImageToReflectanceImageFilter.cxx
 otbRadianceToReflectanceImageFilter.cxx
 otbReflectanceToImageImageFilterAuto.cxx
-otbAeronetNew.cxx
 otbAeronetExtractData.cxx
 otbReflectanceToSurfaceReflectanceImageFilterTest.cxx
-otbImageMetadataCorrectionParametersNew.cxx
 otbImageToRadianceImageFilterAuto.cxx
 otbAtmosphericCorrectionSequencement.cxx
 otbSIXSTraitsTest.cxx
 otbSIXSTraitsComputeAtmosphericParameters.cxx
-otbReflectanceToImageImageFilterNew.cxx
 otbSurfaceAdjacencyEffectCorrectionSchemeFilter.cxx
 otbRadianceToImageImageFilter.cxx
 otbReflectanceToRadianceImageFilter.cxx
@@ -65,9 +54,6 @@ otb_module_target_label(otbOpticalCalibrationTestDriver)
 set_linker_stack_size_flag(otbOpticalCalibrationTestDriver 10000000)
 
 # Tests Declaration
-otb_add_test(NAME raTuSpectralSensitivityReaderNew COMMAND otbOpticalCalibrationTestDriver
-  otbSpectralSensitivityReaderNew
-  )
 
 otb_add_test(NAME raTvSpectralSensitivityReaderSpot4Test COMMAND otbOpticalCalibrationTestDriver
   --compare-ascii ${EPSILON_5}
@@ -170,13 +156,7 @@ otb_add_test(NAME raTvRomaniaReflectanceToImage COMMAND otbOpticalCalibrationTes
   0.9889145564708814   #= sqrt(0.977952) d/d0 corresponding to the date 03/05
   )
 
-otb_add_test(NAME raTuReflectanceToRadianceImageFilterNew COMMAND otbOpticalCalibrationTestDriver
-  otbReflectanceToRadianceImageFilterNew
-  )
 
-otb_add_test(NAME raTuRadianceToReflectanceImageFilterNew COMMAND otbOpticalCalibrationTestDriver
-  otbRadianceToReflectanceImageFilterNew
-  )
 
 otb_add_test(NAME raTvRadianceToReflectanceImageFilterAutoQuickbirdPAN COMMAND otbOpticalCalibrationTestDriver
   --compare-image ${EPSILON_12}  ${BASELINE}/raTvRadianceToReflectanceImageFilterAutoQuickbirdPAN.tif
@@ -234,17 +214,8 @@ otb_add_test(NAME raTvRadianceToReflectanceImageFilterAutoFORMOSAT COMMAND otbOp
   ${TEMP}/raTvRadianceToReflectanceImageFilterAutoFormosat.img
   )
 
-otb_add_test(NAME raTuImageToRadianceImageFilterNew COMMAND otbOpticalCalibrationTestDriver
-  otbImageToRadianceImageFilterNew
-  )
 
 
-otb_add_test(NAME raTuRadiometryCorrectionParametersToAtmosphericRadiativeTermsNew COMMAND otbOpticalCalibrationTestDriver
-  otbRadiometryCorrectionParametersToAtmosphericRadiativeTermsNew)
-
-otb_add_test(NAME raTuRadianceToImageImageFilterNew COMMAND otbOpticalCalibrationTestDriver
-  otbRadianceToImageImageFilterNew
-  )
 
 #FIXME Those tests have performing local copies of header, baselines...They were migrate "as it" for now in version 5.0 but
 # something cleaner could be done in the future.
@@ -504,9 +475,6 @@ otb_add_test(NAME raTvRadiometryCorrectionParametersToAtmosphericRadiativeTerms
   ${TEMP}/raTvCorrectionTo6SRadiative.txt
   )
 
-otb_add_test(NAME raTuSurfaceAdjacencyEffectCorrectionSchemeFilterNew COMMAND otbOpticalCalibrationTestDriver
-  otbSurfaceAdjacencyEffectCorrectionSchemeFilterNew
-  )
 
 otb_add_test(NAME raTvImageToReflectanceImageFilterAuto COMMAND otbOpticalCalibrationTestDriver
   --compare-image ${EPSILON_12}  ${BASELINE}/raTvImageToReflectanceImageFilterAuto.tif
@@ -522,21 +490,9 @@ otb_add_test(NAME raTuImageToReflectanceImageFilterAutoFORMOSAT2 COMMAND otbOpti
   ${TEMP}/raTvImageToReflectanceImageFilterAutoFORMOSAT2.tif
   )
 
-otb_add_test(NAME raTuAtmosphericCorrectionParametersNew COMMAND otbOpticalCalibrationTestDriver
-  otbAtmosphericCorrectionParametersNew
-  )
 
-otb_add_test(NAME raTuImageToReflectanceImageFilterNew COMMAND otbOpticalCalibrationTestDriver
-  otbImageToReflectanceImageFilterNew
-  )
 
-otb_add_test(NAME raTuWavelengthSpectralBandsNew COMMAND otbOpticalCalibrationTestDriver
-  otbWavelengthSpectralBandsNew
-  )
 
-otb_add_test(NAME raTuFilterFunctionValuesNew COMMAND otbOpticalCalibrationTestDriver
-  otbFilterFunctionValuesNew
-  )
 
 otb_add_test(NAME raTvAtmosphericRadiativeTermsTest COMMAND otbOpticalCalibrationTestDriver
   --compare-ascii ${NOTOL}  ${BASELINE_FILES}/raTvAtmosphericRadiativeTermsTest.txt
@@ -545,13 +501,7 @@ otb_add_test(NAME raTvAtmosphericRadiativeTermsTest COMMAND otbOpticalCalibratio
   ${TEMP}/raTvAtmosphericRadiativeTermsTest.txt
   )
 
-otb_add_test(NAME raTuAtmosphericRadiativeTermsNew COMMAND otbOpticalCalibrationTestDriver
-  otbAtmosphericRadiativeTermsNew
-  )
 
-otb_add_test(NAME raTuAtmosphericRadiativeTermsSingleChannelNew COMMAND otbOpticalCalibrationTestDriver
-  otbAtmosphericRadiativeTermsSingleChannelNew
-  )
 
 otb_add_test(NAME raTvImageToReflectanceImageFilterDayMonth COMMAND otbOpticalCalibrationTestDriver
   --compare-image ${EPSILON_12}  ${BASELINE}/raTvImageToReflectanceImageFilter.tif
@@ -668,9 +618,6 @@ otb_add_test(NAME raTvReflectanceToImageImageFilterAutoSpot5 COMMAND otbOpticalC
   ${TEHERANSPOT5DIR}/raTvSMALLTEHERANReflectanceToImageImageFilterAutoSpot5.img
   )
 
-otb_add_test(NAME raTuAeronetNew COMMAND otbOpticalCalibrationTestDriver
-  otbAeronetNew
-  )
 
 otb_add_test(NAME raTvAeronet_ToulouseLevel20_ExtractData COMMAND otbOpticalCalibrationTestDriver
   --compare-ascii ${EPSILON_6} ${BASELINE_FILES}/raAeronetExtractData_ToulouseLevel20_31_08_1999_16_30_epsilon_2.txt
@@ -714,9 +661,6 @@ otb_add_test(NAME raTvAeronet_SeyssesLevel15_ExtractData COMMAND otbOpticalCalib
   ${TEMP}/raAeronetExtractData_SeyssesLevel15_23_03_2009_11_00_00_epsilon_0dot4.txt
   )
 
-otb_add_test(NAME raTuReflectanceToSurfaceReflectanceImageFilterNew COMMAND otbOpticalCalibrationTestDriver
-  otbReflectanceToSurfaceReflectanceImageFilterNew
-  )
 
 otb_add_test(NAME raTvReflectanceToSurfaceReflectanceImageFilter2 COMMAND otbOpticalCalibrationTestDriver
   --compare-image ${EPSILON_12}  ${BASELINE}/raTvReflectanceToSurfaceReflectanceImageFilter2.tif
@@ -744,9 +688,6 @@ otb_add_test(NAME raTvReflectanceToSurfaceReflectanceImageFilter COMMAND otbOpti
   3 3 3 3 # upward transmittance
   )
 
-otb_add_test(NAME raTuImageMetadataCorrectionParametersNew COMMAND otbOpticalCalibrationTestDriver
-  otbImageMetadataCorrectionParametersNew
-  )
 
 otb_add_test(NAME raTvImageToRadianceImageFilterAutoFORMOSAT COMMAND otbOpticalCalibrationTestDriver
   --compare-image ${EPSILON_12}  ${BASELINE}/raTvImageToRadianceImageFilterAutoFormosat.tif
@@ -840,9 +781,6 @@ otb_add_test(NAME raTvSIXSTraitsComputeAtmosphericParametersTest COMMAND otbOpti
   ${TEMP}/raTvSIXSTraitsComputeAtmosphericParametersTest.txt
   )
 
-otb_add_test(NAME raTuReflectanceToImageImageFilterNew COMMAND otbOpticalCalibrationTestDriver
-  otbReflectanceToImageImageFilterNew
-  )
 
 otb_add_test(NAME raTvSurfaceAdjacencyEffectCorrectionSchemeFilter COMMAND otbOpticalCalibrationTestDriver
   --compare-image ${EPSILON_12}  ${BASELINE}/raTvSurfaceAdjacencyEffect6SCorrectionSchemeFilter.tif
diff --git a/Modules/Radiometry/OpticalCalibration/test/otbAeronetNew.cxx b/Modules/Radiometry/OpticalCalibration/test/otbAeronetNew.cxx
deleted file mode 100644
index 3e070d2c9c..0000000000
--- a/Modules/Radiometry/OpticalCalibration/test/otbAeronetNew.cxx
+++ /dev/null
@@ -1,33 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#include "otbAeronetData.h"
-#include "otbAeronetFileReader.h"
-
-int otbAeronetNew(int itkNotUsed(argc), char * itkNotUsed(argv)[])
-{
-  otb::AeronetData::Pointer       data = otb::AeronetData::New();
-  otb::AeronetFileReader::Pointer reader = otb::AeronetFileReader::New();
-
-  std::cout << data << std::endl;
-  std::cout << reader << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Radiometry/OpticalCalibration/test/otbAtmosphericCorrectionParametersNew.cxx b/Modules/Radiometry/OpticalCalibration/test/otbAtmosphericCorrectionParametersNew.cxx
deleted file mode 100644
index e6a42140ac..0000000000
--- a/Modules/Radiometry/OpticalCalibration/test/otbAtmosphericCorrectionParametersNew.cxx
+++ /dev/null
@@ -1,39 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-
-
-#include "otbAtmosphericCorrectionParameters.h"
-
-#include <cstdlib>
-
-int otbAtmosphericCorrectionParametersNew(int itkNotUsed(argc), char * itkNotUsed(argv)[])
-{
-  typedef otb::AtmosphericCorrectionParameters AtmosphericCorrectionParametersType;
-  typedef otb::FilterFunctionValues            FilterFunctionValuesType;
-  // Instantiating object
-  AtmosphericCorrectionParametersType::Pointer objectAtmo = AtmosphericCorrectionParametersType::New();
-  FilterFunctionValuesType::Pointer            objectFilter = FilterFunctionValuesType::New();
-
-  std::cout << objectAtmo << std::endl;
-  std::cout << objectFilter << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Radiometry/OpticalCalibration/test/otbImageMetadataCorrectionParametersNew.cxx b/Modules/Radiometry/OpticalCalibration/test/otbImageMetadataCorrectionParametersNew.cxx
deleted file mode 100644
index bf58bcf81f..0000000000
--- a/Modules/Radiometry/OpticalCalibration/test/otbImageMetadataCorrectionParametersNew.cxx
+++ /dev/null
@@ -1,34 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-
-#include "otbImageMetadataCorrectionParameters.h"
-
-int otbImageMetadataCorrectionParametersNew(int itkNotUsed(argc), char * itkNotUsed(argv)[])
-{
-  typedef otb::ImageMetadataCorrectionParameters CorrectionParametersType;
-  
-  // Instantiating object
-  CorrectionParametersType::Pointer objectAtmo = CorrectionParametersType::New();
-  
-  std::cout << objectAtmo << std::endl;
-  
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Radiometry/OpticalCalibration/test/otbImageToRadianceImageFilterNew.cxx b/Modules/Radiometry/OpticalCalibration/test/otbImageToRadianceImageFilterNew.cxx
deleted file mode 100644
index 83086a2c3c..0000000000
--- a/Modules/Radiometry/OpticalCalibration/test/otbImageToRadianceImageFilterNew.cxx
+++ /dev/null
@@ -1,39 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#include "itkMacro.h"
-
-#include "otbImageToRadianceImageFilter.h"
-
-int otbImageToRadianceImageFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv)[])
-{
-  const unsigned int Dimension = 2;
-  typedef double                                 PixelType;
-  typedef otb::VectorImage<PixelType, Dimension> InputImageType;
-
-  typedef otb::ImageToRadianceImageFilter<InputImageType, InputImageType> ImageToRadianceImageFilterType;
-
-  // Instantiating object
-  ImageToRadianceImageFilterType::Pointer filter = ImageToRadianceImageFilterType::New();
-
-  std::cout << filter << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Radiometry/OpticalCalibration/test/otbImageToReflectanceImageFilterNew.cxx b/Modules/Radiometry/OpticalCalibration/test/otbImageToReflectanceImageFilterNew.cxx
deleted file mode 100644
index 851bbdce8c..0000000000
--- a/Modules/Radiometry/OpticalCalibration/test/otbImageToReflectanceImageFilterNew.cxx
+++ /dev/null
@@ -1,39 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#include "itkMacro.h"
-
-#include "otbImageToReflectanceImageFilter.h"
-
-int otbImageToReflectanceImageFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv)[])
-{
-  const unsigned int Dimension = 2;
-  typedef double                                 PixelType;
-  typedef otb::VectorImage<PixelType, Dimension> InputImageType;
-
-  typedef otb::ImageToReflectanceImageFilter<InputImageType, InputImageType> ImageToReflectanceImageFilterType;
-
-  // Instantiating object
-  ImageToReflectanceImageFilterType::Pointer filter = ImageToReflectanceImageFilterType::New();
-
-  std::cout << filter << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Radiometry/OpticalCalibration/test/otbRadianceToImageImageFilterNew.cxx b/Modules/Radiometry/OpticalCalibration/test/otbRadianceToImageImageFilterNew.cxx
deleted file mode 100644
index ca4a7be9fa..0000000000
--- a/Modules/Radiometry/OpticalCalibration/test/otbRadianceToImageImageFilterNew.cxx
+++ /dev/null
@@ -1,40 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#include "itkMacro.h"
-
-#include "otbRadianceToImageImageFilter.h"
-#include "otbVectorImage.h"
-
-int otbRadianceToImageImageFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv)[])
-{
-  const unsigned int Dimension = 2;
-  typedef double                                 PixelType;
-  typedef otb::VectorImage<PixelType, Dimension> InputImageType;
-
-  typedef otb::RadianceToImageImageFilter<InputImageType, InputImageType> RadianceToImageImageFilterType;
-
-  // Instantiating object
-  RadianceToImageImageFilterType::Pointer filter = RadianceToImageImageFilterType::New();
-
-  std::cout << filter << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Radiometry/OpticalCalibration/test/otbRadianceToReflectanceImageFilterNew.cxx b/Modules/Radiometry/OpticalCalibration/test/otbRadianceToReflectanceImageFilterNew.cxx
deleted file mode 100644
index 2d208d1271..0000000000
--- a/Modules/Radiometry/OpticalCalibration/test/otbRadianceToReflectanceImageFilterNew.cxx
+++ /dev/null
@@ -1,40 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#include "itkMacro.h"
-
-#include "otbRadianceToReflectanceImageFilter.h"
-#include "otbVectorImage.h"
-
-int otbRadianceToReflectanceImageFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv)[])
-{
-  const unsigned int Dimension = 2;
-  typedef double                                 PixelType;
-  typedef otb::VectorImage<PixelType, Dimension> InputImageType;
-
-  typedef otb::RadianceToReflectanceImageFilter<InputImageType, InputImageType> RadianceToReflectanceImageFilterType;
-
-  // Instantiating object
-  RadianceToReflectanceImageFilterType::Pointer filter = RadianceToReflectanceImageFilterType::New();
-
-  std::cout << filter << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Radiometry/OpticalCalibration/test/otbRadiometryCorrectionParametersToAtmosphericRadiativeTermsNew.cxx b/Modules/Radiometry/OpticalCalibration/test/otbRadiometryCorrectionParametersToAtmosphericRadiativeTermsNew.cxx
deleted file mode 100644
index d56939da37..0000000000
--- a/Modules/Radiometry/OpticalCalibration/test/otbRadiometryCorrectionParametersToAtmosphericRadiativeTermsNew.cxx
+++ /dev/null
@@ -1,38 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-
-#include "otbRadiometryCorrectionParametersToAtmosphericRadiativeTerms.h"
-#include <cstdlib>
-
-int otbRadiometryCorrectionParametersToAtmosphericRadiativeTermsNew(int itkNotUsed(argc), char * itkNotUsed(argv)[])
-{
-  typedef otb::RadiometryCorrectionParametersToAtmosphericRadiativeTerms
-  RadiometryCorrectionParametersToAtmosphericRadiativeTermsType;
-  // Instantiating object
-  //RadiometryCorrectionParametersToAtmosphericRadiativeTermsType::Pointer object =
-  //  RadiometryCorrectionParametersToAtmosphericRadiativeTermsType::New();
-
-  RadiometryCorrectionParametersToAtmosphericRadiativeTermsType* object = new RadiometryCorrectionParametersToAtmosphericRadiativeTermsType;
-
-  std::cout << object << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Radiometry/OpticalCalibration/test/otbReflectanceToImageImageFilterNew.cxx b/Modules/Radiometry/OpticalCalibration/test/otbReflectanceToImageImageFilterNew.cxx
deleted file mode 100644
index a1e221d46a..0000000000
--- a/Modules/Radiometry/OpticalCalibration/test/otbReflectanceToImageImageFilterNew.cxx
+++ /dev/null
@@ -1,39 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#include "itkMacro.h"
-
-#include "otbReflectanceToImageImageFilter.h"
-
-int otbReflectanceToImageImageFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv)[])
-{
-  const unsigned int Dimension = 2;
-  typedef double                                 PixelType;
-  typedef otb::VectorImage<PixelType, Dimension> InputImageType;
-
-  typedef otb::ReflectanceToImageImageFilter<InputImageType, InputImageType> ReflectanceToImageImageFilterType;
-
-  // Instantiating object
-  ReflectanceToImageImageFilterType::Pointer filter = ReflectanceToImageImageFilterType::New();
-
-  std::cout << filter << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Radiometry/OpticalCalibration/test/otbReflectanceToRadianceImageFilterNew.cxx b/Modules/Radiometry/OpticalCalibration/test/otbReflectanceToRadianceImageFilterNew.cxx
deleted file mode 100644
index c6eb5895ad..0000000000
--- a/Modules/Radiometry/OpticalCalibration/test/otbReflectanceToRadianceImageFilterNew.cxx
+++ /dev/null
@@ -1,39 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#include "itkMacro.h"
-
-#include "otbReflectanceToRadianceImageFilter.h"
-
-int otbReflectanceToRadianceImageFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv)[])
-{
-  const unsigned int Dimension = 2;
-  typedef double                                 PixelType;
-  typedef otb::VectorImage<PixelType, Dimension> InputImageType;
-
-  typedef otb::ReflectanceToRadianceImageFilter<InputImageType, InputImageType> ReflectanceToRadianceImageFilterType;
-
-  // Instantiating object
-  ReflectanceToRadianceImageFilterType::Pointer filter = ReflectanceToRadianceImageFilterType::New();
-
-  std::cout << filter << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Radiometry/OpticalCalibration/test/otbSpectralSensitivityReaderNew.cxx b/Modules/Radiometry/OpticalCalibration/test/otbSpectralSensitivityReaderNew.cxx
deleted file mode 100644
index 583f5cdd58..0000000000
--- a/Modules/Radiometry/OpticalCalibration/test/otbSpectralSensitivityReaderNew.cxx
+++ /dev/null
@@ -1,34 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-
-#include "otbSpectralSensitivityReader.h"
-
-using namespace otb;
-
-int otbSpectralSensitivityReaderNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-
-  SpectralSensitivityReader::Pointer spectSen = SpectralSensitivityReader::New();
-
-  std::cout << spectSen << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Radiometry/OpticalCalibration/test/otbSurfaceAdjacencyEffectCorrectionSchemeFilterNew.cxx b/Modules/Radiometry/OpticalCalibration/test/otbSurfaceAdjacencyEffectCorrectionSchemeFilterNew.cxx
deleted file mode 100644
index 95e3ab5957..0000000000
--- a/Modules/Radiometry/OpticalCalibration/test/otbSurfaceAdjacencyEffectCorrectionSchemeFilterNew.cxx
+++ /dev/null
@@ -1,43 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#include "itkMacro.h"
-
-#include "otbSurfaceAdjacencyEffectCorrectionSchemeFilter.h"
-#include "otbVectorImage.h"
-#include "otbImage.h"
-
-int otbSurfaceAdjacencyEffectCorrectionSchemeFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv)[])
-{
-  const unsigned int Dimension = 2;
-  typedef double                                 PixelType;
-  typedef otb::VectorImage<PixelType, Dimension> InputImageType;
-  typedef otb::SurfaceAdjacencyEffectCorrectionSchemeFilter<InputImageType,
-      InputImageType>
-  SurfaceAdjacencyEffectCorrectionSchemeFilterType;
-
-  // Instantiating object
-  SurfaceAdjacencyEffectCorrectionSchemeFilterType::Pointer filter =
-    SurfaceAdjacencyEffectCorrectionSchemeFilterType::New();
-
-  std::cout << filter << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Radiometry/SARCalibration/test/CMakeLists.txt b/Modules/Radiometry/SARCalibration/test/CMakeLists.txt
index b62c7863c5..1c8f86f426 100644
--- a/Modules/Radiometry/SARCalibration/test/CMakeLists.txt
+++ b/Modules/Radiometry/SARCalibration/test/CMakeLists.txt
@@ -26,7 +26,6 @@ otbSarBrightnessFunction.cxx
 otbSarBrightnessToImageFilterTestWithoutNoise.cxx
 otbTerraSarBrightnessImageFilterTest.cxx
 otbSarRadiometricCalibrationToImageFilterWithRealPixelTest.cxx
-otbTerraSarBrightnessImageFilterNew.cxx
 otbSarParametricMapFunctionToImageFilter.cxx
 otbSarRadiometricCalibrationToImageFilterWithExtractROIBeforeTest.cxx
 otbSarRadiometricCalibrationToImageFilterWithComplexPixelTestWithoutNoise.cxx
@@ -113,9 +112,6 @@ otb_add_test(NAME raTvSarRadiometricCalibrationToImageWithRealPixelFilter_TSX_PA
   #2000 2000 250 250 # Extract
   #)
 
-otb_add_test(NAME raTuTerraSarBrightnessImageFilterNew COMMAND otbSARCalibrationTestDriver
-  otbTerraSarBrightnessImageFilterNew
-  )
 
 otb_add_test(NAME raTvSarParametricMapFunctionToImageFilter COMMAND  otbSARCalibrationTestDriver
   --compare-image ${EPSILON_12}
diff --git a/Modules/Radiometry/SARCalibration/test/otbTerraSarBrightnessImageFilterNew.cxx b/Modules/Radiometry/SARCalibration/test/otbTerraSarBrightnessImageFilterNew.cxx
deleted file mode 100644
index 093b8c43d1..0000000000
--- a/Modules/Radiometry/SARCalibration/test/otbTerraSarBrightnessImageFilterNew.cxx
+++ /dev/null
@@ -1,41 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#include "itkMacro.h"
-
-#include "otbTerraSarBrightnessImageFilter.h"
-#include "otbImage.h"
-
-int otbTerraSarBrightnessImageFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv)[])
-{
-  typedef otb::Image<double, 2>               ImageType;
-  typedef otb::Image<std::complex<double>, 2> ComplexImageType;
-
-  typedef otb::TerraSarBrightnessImageFilter<ImageType, ImageType>               FilterType;
-  typedef otb::TerraSarBrightnessImageFilter<ComplexImageType, ComplexImageType> ComplexFilterType;
-
-  FilterType::Pointer        filter = FilterType::New();
-  ComplexFilterType::Pointer complexFilter = ComplexFilterType::New();
-
-  std::cout << filter << std::endl;
-  std::cout << complexFilter << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Radiometry/Simulation/test/CMakeLists.txt b/Modules/Radiometry/Simulation/test/CMakeLists.txt
index bcb0733728..6503cc74e5 100644
--- a/Modules/Radiometry/Simulation/test/CMakeLists.txt
+++ b/Modules/Radiometry/Simulation/test/CMakeLists.txt
@@ -33,16 +33,12 @@ otbSimulationTestDriver.cxx
 otbReduceSpectralResponseSVMClassifier.cxx
 otbProspectTransTest.cxx
 otbReduceSpectralResponseClassifierRAndNIR.cxx
-otbSpectralResponseNew.cxx
 otbSatelliteRSR.cxx
-otbSurfaceReflectanceToReflectanceFilterNew.cxx
 otbImageSimulationMethodWithSpatialisationTest.cxx
 otbImageSimulationMethodSVMClassif.cxx
-otbReduceSpectralResponseNew.cxx
 otbReduceSpectralResponse.cxx
 otbAtmosphericEffects.cxx
 otbProspectReflTest.cxx
-otbSpatialisationTestNew.cxx
 otbLabelMapToSimulatedImageFilterTest.cxx
 otbImageSimulationMethodKMeansClassif.cxx
 otbSpectralResponse.cxx
@@ -50,7 +46,6 @@ otbAtmosphericCorrectionsRSRSVMClassifier.cxx
 otbSpatialisationTest.cxx
 otbImageSimulationMethodWithVectorDataTest.cxx
 otbSailReflVTest.cxx
-otbSatelliteRSRNew.cxx
 otbSailReflHTest.cxx
 otbFilterFunctionValues.cxx
 otbSoilDBTest.cxx
@@ -96,9 +91,6 @@ otb_add_test(NAME siTuReduceSpectralResponseClassifierRAndNIR COMMAND otbSimulat
   2 #NIR index
   )
 
-otb_add_test(NAME siTuSpectralResponseNew COMMAND otbSimulationTestDriver
-  otbSpectralResponseNew
-  )
 
 otb_add_test(NAME siTuSatelliteRSRCheckValue COMMAND otbSimulationTestDriver
   otbSatelliteRSRCheckValue
@@ -142,9 +134,6 @@ otb_add_test(NAME siTuSatelliteRSRCheckValue2 COMMAND otbSimulationTestDriver
   0.717 #expected
   )            
 
-otb_add_test(NAME siTuReflectanceToSurfaceReflectanceFilterNew COMMAND otbSimulationTestDriver
-  otbSurfaceReflectanceToReflectanceFilterNew )
-
 otb_add_test(NAME siTuImageSimulationMethodWithSpatialisationTest COMMAND otbSimulationTestDriver
   otbImageSimulationMethodWithSpatialisationTest
   ${INPUTDATA}/Radiometry/SPOT5/HRG2/rep6S.dat
@@ -155,9 +144,6 @@ otb_add_test(NAME siTuImageSimulationMethodWithSpatialisationTest COMMAND otbSim
   ${TEMP}/LabelImageSimulationMethodWithSpatialisationTest.tif
   )
 
-otb_add_test(NAME siTuReduceSpectralResponseNew COMMAND otbSimulationTestDriver
-  otbReduceSpectralResponseNew
-  )
 
 otb_add_test(NAME siTuReduceSpectralResponseReflectanceMode COMMAND otbSimulationTestDriver
   otbReduceSpectralResponse
@@ -209,9 +195,6 @@ otb_add_test(NAME siTvProspectReflTest COMMAND otbSimulationTestDriver
   ${TEMP}/siTvProspectReflTest.txt
   )
 
-otb_add_test(NAME siTuSpatialisationTestNew COMMAND otbSimulationTestDriver
-  otbSpatialisationTestNew
-  )
 
 otb_add_test(NAME siTuLabelMapToSimulatedImageFilterTest COMMAND otbSimulationTestDriver
   otbLabelMapToSimulatedImageFilterTest
@@ -277,9 +260,6 @@ otb_add_test(NAME siTvSailReflVTest COMMAND otbSimulationTestDriver
   ${TEMP}/siTvSailReflVTest.txt
   )
 
-otb_add_test(NAME siTuSatelliteRSRNew COMMAND otbSimulationTestDriver
-  otbSatelliteRSRNew
-  )
 
 otb_add_test(NAME siTvSailReflHTest COMMAND otbSimulationTestDriver
   --compare-ascii ${EPSILON_3} ${BASELINE_FILES}/Simulation/siTvSailReflHTest.txt
diff --git a/Modules/Radiometry/Simulation/test/otbReduceSpectralResponseNew.cxx b/Modules/Radiometry/Simulation/test/otbReduceSpectralResponseNew.cxx
deleted file mode 100644
index e60e6e0ad4..0000000000
--- a/Modules/Radiometry/Simulation/test/otbReduceSpectralResponseNew.cxx
+++ /dev/null
@@ -1,41 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-
-#include "otbMacro.h"
-
-#include "otbSatelliteRSR.h"
-#include "otbReduceSpectralResponse.h"
-
-int otbReduceSpectralResponseNew(int itkNotUsed(argc), char * itkNotUsed(argv)[])
-{
-  typedef otb::SpectralResponse< double, double>  ResponseType;
-  //typedef ResponseType::Pointer  ResponsePointerType;
-
-  typedef otb::SatelliteRSR< double, double>  SatRSRType;
-  //typedef SatRSRType::Pointer  SatRSRPointerType;
-
-  typedef otb::ReduceSpectralResponse < ResponseType, SatRSRType>  ReduceResponseType;
-  typedef ReduceResponseType::Pointer  ReduceResponseTypePointerType;
-  //Instantiation
-  ReduceResponseTypePointerType  myResponse=ReduceResponseType::New();
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Radiometry/Simulation/test/otbSatelliteRSRNew.cxx b/Modules/Radiometry/Simulation/test/otbSatelliteRSRNew.cxx
deleted file mode 100644
index 713d03941c..0000000000
--- a/Modules/Radiometry/Simulation/test/otbSatelliteRSRNew.cxx
+++ /dev/null
@@ -1,36 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-
-#include "otbMacro.h"
-
-#include "otbSatelliteRSR.h"
-
-int otbSatelliteRSRNew(int itkNotUsed(argc), char * itkNotUsed(argv)[])
-{
-  typedef otb::SatelliteRSR< double, double>  ResponseType;
-  typedef ResponseType::Pointer  ResponsePointerType;
-
-
-  //Instantiation
-  ResponsePointerType  myResponse=ResponseType::New();
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Radiometry/Simulation/test/otbSpatialisationTestNew.cxx b/Modules/Radiometry/Simulation/test/otbSpatialisationTestNew.cxx
deleted file mode 100644
index 7a66b3565b..0000000000
--- a/Modules/Radiometry/Simulation/test/otbSpatialisationTestNew.cxx
+++ /dev/null
@@ -1,39 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-
-#include "otbMacro.h"
-
-
-#include "otbSpatialisationFilter.h"
-#include "otbAttributesMapLabelObject.h"
-
-int otbSpatialisationTestNew(int itkNotUsed(argc), char * itkNotUsed(argv)[])
-{
-  typedef unsigned short LabelType;
-  const unsigned int Dimension = 2;
-  typedef otb::AttributesMapLabelObject<LabelType, Dimension, std::string>    LabelObjectType;
-  typedef itk::LabelMap<LabelObjectType>                                      LabelMapType;
-  typedef otb::SpatialisationFilter<LabelMapType>                             FilterType;
-
-  FilterType::Pointer filter = FilterType::New();
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Radiometry/Simulation/test/otbSpectralResponseNew.cxx b/Modules/Radiometry/Simulation/test/otbSpectralResponseNew.cxx
deleted file mode 100644
index 347dc94571..0000000000
--- a/Modules/Radiometry/Simulation/test/otbSpectralResponseNew.cxx
+++ /dev/null
@@ -1,36 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-
-#include "otbMacro.h"
-
-#include "otbSpectralResponse.h"
-
-int otbSpectralResponseNew(int itkNotUsed(argc), char * itkNotUsed(argv)[])
-{
-  typedef otb::SpectralResponse< double, double>  ResponseType;
-  typedef ResponseType::Pointer  ResponsePointerType;
-
-
-  //Instantiation
-  ResponsePointerType  myResponse=ResponseType::New();
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Radiometry/Simulation/test/otbSurfaceReflectanceToReflectanceFilterNew.cxx b/Modules/Radiometry/Simulation/test/otbSurfaceReflectanceToReflectanceFilterNew.cxx
deleted file mode 100644
index 022298a36b..0000000000
--- a/Modules/Radiometry/Simulation/test/otbSurfaceReflectanceToReflectanceFilterNew.cxx
+++ /dev/null
@@ -1,151 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-
-#include "otbMacro.h"
-#include "otbSpectralResponse.h"
-
-#include "otbSurfaceReflectanceToReflectanceFilter.h"
-
-int otbSurfaceReflectanceToReflectanceFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv)[])
-{
-  const unsigned int                            Dimension = 2;
-  typedef double                                PixelType;
-  typedef otb::VectorImage<PixelType, Dimension> ImageType;
-  typedef otb::SurfaceReflectanceToReflectanceFilter< ImageType, ImageType>  SurfaceReflectanceToReflectanceFilterType;
-  typedef SurfaceReflectanceToReflectanceFilterType::Pointer  SurfaceReflectanceToReflectanceFilterPointerType;
-
-  //Instantiation
-  SurfaceReflectanceToReflectanceFilterPointerType  object=SurfaceReflectanceToReflectanceFilterType::New();
-
-  std::cout << object << std::endl;
-
-  return EXIT_SUCCESS;
-}
-int otbSurfaceReflectanceToReflectanceFilterTest(int argc, char * argv[])
-{
-  if ( argc != 7 )
-    {
-    std::cout << argv[0] << std::endl << "\t" << "<RSR_filename>" << "\t" << "<intrinsic>"  << "\t" << "<albedeo>"  << "\t" << "<gaseous>"  << "\t" << "<downTrans>"  << "\t" << "<upTrans>"   << std::endl;
-    return EXIT_FAILURE;
-    }
-
-  const unsigned int                            Dimension = 2;
-  typedef double                                PixelType;
-  typedef otb::VectorImage<PixelType, Dimension> ImageType;
-
-//  typedef itk::ImageRegionIterator< ImageType > IteratorType;
-  //typedef ResponseType::PairType    PairType;
-  //typedef otb::ObjectList< PairType > PairListType;
-  //   PairListType::Pointer pairList = PairListType::New();
-
-  typedef otb::SurfaceReflectanceToReflectanceFilter< ImageType, ImageType>  SurfaceReflectanceToReflectanceFilterType;
-  typedef SurfaceReflectanceToReflectanceFilterType::Pointer  SurfaceReflectanceToReflectanceFilterPointerType;
-
-  typedef otb::SpectralResponse< PixelType, PixelType>  ResponseType;
-  typedef ResponseType::Pointer  ResponsePointerType;
-  //
-  ResponsePointerType  myResponse=ResponseType::New();
-  //Load file into vector
-  const std::string file(argv[1]);
-  myResponse->Load(file, 100.0);
-
-  std::cout << "Input SpectResponse " << myResponse << std::endl;
-  //rsr to image
-  ImageType::IndexType start;
-  start[0] =  0;
-  start[1] =  0;
-
-  ImageType::SizeType  size;
-  size[0] = 1;
-  size[1] = 1;
-
-  std::cout << "Image size: " << size << std::endl;
-
-  ImageType::PointType origin;
-  origin[0] = 0;
-  origin[1] = 0;
-  //origin[1] = -90;
-
-  ImageType::SpacingType spacing;
-  spacing[0] = 1;
-  spacing[1] = 1;
-  //spacing[1] = -resolution;
-
-  ImageType::RegionType region;
-  region.SetSize( size );
-  region.SetIndex( start );
-
-  ImageType::Pointer image = ImageType::New();
-  image->SetRegions( region );
-  image->SetNumberOfComponentsPerPixel( (myResponse)->Size() );
-  image->Allocate();
-
-  ImageType::PixelType pixel;
-  pixel.SetSize((myResponse)->Size());
-
-  for ( unsigned int i = 0; i<(myResponse)->Size(); ++i )
-    {
-    pixel[i] = myResponse->GetResponse()[i].second;
-    }
-  image->SetPixel(start, pixel);
-
-  //Instantiation
-  SurfaceReflectanceToReflectanceFilterPointerType  myFilter=SurfaceReflectanceToReflectanceFilterType::New();
-
-  //   myFilter->SetInput(image);
-  //
-  //   typedef otb::AtmosphericRadiativeTerms::DataVectorType DataVectorType;
-  //   otb::AtmosphericRadiativeTerms::Pointer atmo = otb::AtmosphericRadiativeTerms::New();
-  //
-  //   DataVectorType intrinsic;
-  //   DataVectorType albedo;
-  //   DataVectorType gaseous;
-  //   DataVectorType downTrans;
-  //   DataVectorType upTrans;
-  //
-  //
-  //   intrinsic.push_back(static_cast<double>(atof(argv[2])));
-  //   albedo.push_back(static_cast<double>(atof(argv[3])));
-  //   gaseous.push_back(static_cast<double>(atof(argv[4])));
-  //   downTrans.push_back(static_cast<double>(atof(argv[5])));
-  //   upTrans.push_back(static_cast<double>(atof(argv[6])));
-  //
-  //
-  //   atmo->SetIntrinsicAtmosphericReflectances(intrinsic);
-  //   atmo->SetSphericalAlbedos(albedo);
-  //   atmo->SetTotalGaseousTransmissions(gaseous);
-  //   atmo->SetDownwardTransmittances(downTrans);
-  //   atmo->SetUpwardTransmittances(upTrans);
-  //
-  //   myFilter->SetAtmosphericRadiativeTerms(atmo);
-  //   myFilter->Update();
-  //
-  //   i = 0;
-  //   IteratorType iterator2( myFilter->GetOutput(), myFilter->GetOutput()->GetRequestedRegion() );
-  //   for ( iterator2.GoToBegin(); !iterator2.IsAtEnd(); ++iterator2 )
-  //   {
-  //     myResponse->GetResponse()[i]->second = iterator2.Get()[];
-  //     ++i;
-  //   }
-  //
-  //   std::cout << "Output SpectResponse " << myResponse << std::endl;
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Registration/DisparityMap/test/CMakeLists.txt b/Modules/Registration/DisparityMap/test/CMakeLists.txt
index 46f14ce443..76a5a67363 100644
--- a/Modules/Registration/DisparityMap/test/CMakeLists.txt
+++ b/Modules/Registration/DisparityMap/test/CMakeLists.txt
@@ -27,13 +27,10 @@ otbDisparityMapToDEMFilter.cxx
 otbDisparityMapMedianFilter.cxx
 otbDisparityTranslateFilter.cxx
 otbSubPixelDisparityImageFilter.cxx
-otbDisparityMapEstimationMethodNew.cxx
 otbDisparityMapTo3DFilter.cxx
 otbMultiDisparityMapTo3DFilter.cxx
-otbFineRegistrationImageFilterNew.cxx
 otbFineRegistrationImageFilterTest.cxx
 otbNCCRegistrationFilter.cxx
-otbNCCRegistrationFilterNew.cxx
 otbPixelWiseBlockMatchingImageFilter.cxx
 )
 
@@ -73,12 +70,6 @@ otb_add_test(NAME dmTvDisparityMapEstimationMethod COMMAND otbDisparityMapTestDr
   #${INPUTDATA}/sensor_stereo_dmap_mask.tif
   #)
 
-otb_add_test(NAME dmTuDisparityMapToDEMFilterNew COMMAND otbDisparityMapTestDriver
-  otbDisparityMapToDEMFilterNew)
-
-otb_add_test(NAME dmTuDisparityMapMedianFilterNew COMMAND otbDisparityMapTestDriver
-  otbDisparityMapMedianFilterNew)
-
 otb_add_test(NAME dmTvDisparityMapMedianFilter COMMAND otbDisparityMapTestDriver
   --compare-image ${NOTOL}
   ${BASELINE}/dmTvDisparityMapMedianFilterOutput.tif
@@ -102,9 +93,6 @@ otb_add_test(NAME dmTvDisparityTranslateFilter COMMAND otbDisparityMapTestDriver
   ${TEMP}/dmTvDisparityTranslateFilterOutput.tif
   )
 
-otb_add_test(NAME dmTuDisparityTranslateFilterNew COMMAND otbDisparityMapTestDriver
-  otbDisparityTranslateFilterNew)
-
 otb_add_test(NAME dmTvSubPixelDisparityImageFilterNCC COMMAND otbDisparityMapTestDriver
   --compare-n-images ${NOTOL} 3
   ${BASELINE}/dmTvSubPixelWiseBlockMatchingImageFilterNCCOutputHDisparity.tif
@@ -128,12 +116,6 @@ otb_add_test(NAME dmTvSubPixelDisparityImageFilterNCC COMMAND otbDisparityMapTes
   -2 2 # vdisp threshold
   )
 
-otb_add_test(NAME dmTuSubPixelDisparityImageFilterNew COMMAND otbDisparityMapTestDriver
-  otbSubPixelDisparityImageFilterNew)
-
-otb_add_test(NAME dmTuDisparityMapEstimationMethodNew COMMAND otbDisparityMapTestDriver
-  otbDisparityMapEstimationMethodNew)
-
 #otb_add_test(NAME dmTvDisparityMapTo3DFilter COMMAND otbDisparityMapTestDriver
   #--compare-image ${EPSILON_6}
   #${BASELINE}/dmTvDisparityMapTo3DFilterOutput.tif
@@ -148,12 +130,6 @@ otb_add_test(NAME dmTuDisparityMapEstimationMethodNew COMMAND otbDisparityMapTes
   #${INPUTDATA}/sensor_stereo_dmap_mask.tif
   #)
 
-otb_add_test(NAME dmTuDisparityMapTo3DFilterNew COMMAND otbDisparityMapTestDriver
-  otbDisparityMapTo3DFilterNew)
-
-otb_add_test(NAME dmTuMultiDisparityMapTo3DFilterNew COMMAND otbDisparityMapTestDriver
-  otbMultiDisparityMapTo3DFilterNew)
-
 otb_add_test(NAME dmTvMultiDisparityMapTo3DFilter COMMAND otbDisparityMapTestDriver
   --compare-n-images ${EPSILON_6} 2
   ${BASELINE}/dmTvMultiDisparityMapTo3DFilterOutput.tif
@@ -172,9 +148,6 @@ otb_add_test(NAME dmTvMultiDisparityMapTo3DFilter COMMAND otbDisparityMapTestDri
   ${TEMP}/dmTvMultiDisparityMapTo3DFilterResidue.tif
   )
 
-otb_add_test(NAME dmTuFineRegistrationImageFilterNew COMMAND otbDisparityMapTestDriver
-  otbFineRegistrationImageFilterNew
-  )
 otb_add_test(NAME dmTvFineRegistrationImageFilterTestWithMeanSquare COMMAND otbDisparityMapTestDriver
   --compare-n-images ${EPSILON_10} 2
   ${BASELINE}/feTvFineRegistrationImageFilterTestWithMeanSquareMetric.tif
@@ -264,9 +237,6 @@ otb_add_test(NAME dmTvNCCRegistrationFilter COMMAND otbDisparityMapTestDriver
   ${INPUTDATA}/ROI_IKO_PAN_LesHalles_sub_warped_sinus.tif
   ${TEMP}/dmNCCRegistrationFilterOutput.tif
   5 1.0 2)
-otb_add_test(NAME dmTuNCCRegistrationFilterNew COMMAND otbDisparityMapTestDriver
-  otbNCCRegistrationFilterNew)
-otb_add_test(NAME dmTuPixelWiseBlockMatchingImageFilterNew COMMAND otbDisparityMapTestDriver
   otbPixelWiseBlockMatchingImageFilterNew)
 otb_add_test(NAME dmTvPixelWiseBlockMatchingImageFilterNCC COMMAND otbDisparityMapTestDriver
   --compare-n-images ${NOTOL} 2
diff --git a/Modules/Registration/DisparityMap/test/otbDisparityMapEstimationMethodNew.cxx b/Modules/Registration/DisparityMap/test/otbDisparityMapEstimationMethodNew.cxx
deleted file mode 100644
index 0cf77a437d..0000000000
--- a/Modules/Registration/DisparityMap/test/otbDisparityMapEstimationMethodNew.cxx
+++ /dev/null
@@ -1,41 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#include "otbDisparityMapEstimationMethod.h"
-#include "otbImage.h"
-#include "itkTranslationTransform.h"
-
-int otbDisparityMapEstimationMethodNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  const unsigned int Dimension = 2;
-  typedef unsigned char                                                         PixelType;
-  typedef otb::Image<PixelType, Dimension>                                      ImageType;
-  typedef itk::TranslationTransform<double, Dimension>                          TransformType;
-  typedef TransformType::ParametersType                                         ParametersType;
-  typedef itk::PointSet<ParametersType, Dimension>                              PointSetType;
-  typedef otb::DisparityMapEstimationMethod<ImageType, ImageType, PointSetType> DMEstimationType;
-
-  // Instantiation
-  DMEstimationType::Pointer dmestimator = DMEstimationType::New();
-
-  std::cout << dmestimator << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Registration/DisparityMap/test/otbFineRegistrationImageFilterNew.cxx b/Modules/Registration/DisparityMap/test/otbFineRegistrationImageFilterNew.cxx
deleted file mode 100644
index cf0e59ff6f..0000000000
--- a/Modules/Registration/DisparityMap/test/otbFineRegistrationImageFilterNew.cxx
+++ /dev/null
@@ -1,43 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-
-
-#include "otbImage.h"
-#include "itkFixedArray.h"
-#include "otbFineRegistrationImageFilter.h"
-
-
-int otbFineRegistrationImageFilterNew( int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  typedef double      PixelType;
-  const unsigned int  Dimension = 2;
-
-  typedef itk::FixedArray<PixelType, Dimension>                                 DisplacementValueType;
-  typedef otb::Image< PixelType>                                               ImageType;
-  typedef otb::Image<DisplacementValueType, 2>                                   FieldImageType;
-  typedef otb::FineRegistrationImageFilter<ImageType, ImageType, FieldImageType> RegistrationFilterType;
-
-  RegistrationFilterType::Pointer filter = RegistrationFilterType::New();
-
-  std::cout << filter << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Registration/DisparityMap/test/otbNCCRegistrationFilterNew.cxx b/Modules/Registration/DisparityMap/test/otbNCCRegistrationFilterNew.cxx
deleted file mode 100644
index d723db37a3..0000000000
--- a/Modules/Registration/DisparityMap/test/otbNCCRegistrationFilterNew.cxx
+++ /dev/null
@@ -1,49 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#include "otbNCCRegistrationFilter.h"
-#include "otbImage.h"
-
-int otbNCCRegistrationFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  const unsigned int ImageDimension = 2;
-
-  typedef double                              PixelType;
-  typedef itk::Vector<double, ImageDimension> DisplacementPixelType;
-
-  //Allocate Images
-  typedef otb::Image<PixelType, ImageDimension> MovingImageType;
-  typedef otb::Image<PixelType, ImageDimension> FixedImageType;
-  typedef otb::Image<DisplacementPixelType,
-      ImageDimension>         DisplacementFieldType;
-
-  //Create the filter
-  typedef otb::NCCRegistrationFilter<FixedImageType,
-      MovingImageType,
-      DisplacementFieldType>
-  RegistrationFilterType;
-
-  // Instantiation
-  RegistrationFilterType::Pointer filter = RegistrationFilterType::New();
-
-  std::cout << filter << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Registration/DisplacementField/test/CMakeLists.txt b/Modules/Registration/DisplacementField/test/CMakeLists.txt
index 5eb7205b20..284c22e557 100644
--- a/Modules/Registration/DisplacementField/test/CMakeLists.txt
+++ b/Modules/Registration/DisplacementField/test/CMakeLists.txt
@@ -22,20 +22,12 @@ otb_module_test()
 
 set(OTBDisplacementFieldTests
 otbDisplacementFieldTestDriver.cxx
-otbNearestTransformDisplacementFieldGeneratorNew.cxx
 otbNNearestTransformsLinearInterpolateDisplacementFieldGenerator.cxx
 otbNNearestPointsLinearInterpolateDisplacementFieldGenerator.cxx
-otbNearestPointDisplacementFieldGeneratorNew.cxx
-otbPointSetToDisplacementFieldGeneratorNew.cxx
-otbPointSetWithTransformToDisplacementFieldGeneratorNew.cxx
-otbBSplinesInterpolateDisplacementFieldGeneratorNew.cxx
-otbNNearestTransformsLinearInterpolateDisplacementFieldGeneratorNew.cxx
-otbNNearestPointsLinearInterpolateDisplacementFieldGeneratorNew.cxx
 otbNearestTransformDisplacementFieldGenerator.cxx
 otbNearestPointDisplacementFieldGenerator.cxx
 otbBSplinesInterpolateTransformDisplacementFieldGenerator.cxx
 otbBSplinesInterpolateDisplacementFieldGenerator.cxx
-otbBSplinesInterpolateTransformDisplacementFieldGeneratorNew.cxx
 )
 
 add_executable(otbDisplacementFieldTestDriver ${OTBDisplacementFieldTests})
@@ -44,9 +36,6 @@ otb_module_target_label(otbDisplacementFieldTestDriver)
 
 # Tests Declaration
 
-otb_add_test(NAME dmTuNearestTransformDisplacementFieldGeneratorNew COMMAND otbDisplacementFieldTestDriver
-  otbNearestTransformDisplacementFieldGeneratorNew)
-
 otb_add_test(NAME dmTvNNearestTransformsLinearInterpolateDisplacementFieldGenerator COMMAND otbDisplacementFieldTestDriver
   --compare-image ${EPSILON_10}
   ${BASELINE}/dmTvNNearestTransformsLinearInterpolateDeformationField.hdr
@@ -63,24 +52,6 @@ otb_add_test(NAME dmTvNNearestPointsLinearInterpolateDisplacementFieldGenerator
   ${TEMP}/dmTvNNearestPointsLinearInterpolateDisplacementField.hdr
   )
 
-otb_add_test(NAME dmTuNearestPointDisplacementFieldGeneratorNew COMMAND otbDisplacementFieldTestDriver
-  otbNearestPointDisplacementFieldGeneratorNew)
-
-otb_add_test(NAME dmTuPointSetToDisplacementFieldGeneratorNew COMMAND otbDisplacementFieldTestDriver
-  otbPointSetToDisplacementFieldGeneratorNew)
-
-otb_add_test(NAME dmTuPointSetWithTransformToDisplacementFieldGeneratorNew COMMAND otbDisplacementFieldTestDriver
-  otbPointSetWithTransformToDisplacementFieldGeneratorNew)
-
-otb_add_test(NAME dmTuNNearestTransformsLinearInterpolateDisplacementFieldGeneratorNew COMMAND otbDisplacementFieldTestDriver
-  otbNNearestTransformsLinearInterpolateDisplacementFieldGeneratorNew)
-
-otb_add_test(NAME dmTuBSplinesInterpolateDisplacementFieldGeneratorNew COMMAND otbDisplacementFieldTestDriver
-  otbNNearestPointsLinearInterpolateDisplacementFieldGeneratorNew)
-
-otb_add_test(NAME dmTuNNearestPointsLinearInterpolateDisplacementFieldGeneratorNew COMMAND otbDisplacementFieldTestDriver
-  otbNNearestPointsLinearInterpolateDisplacementFieldGeneratorNew)
-
 
 
 otb_add_test(NAME dmTvNearestTransformDisplacementFieldGenerator COMMAND otbDisplacementFieldTestDriver
@@ -115,6 +86,3 @@ otb_add_test(NAME dmTvBSplinesInterpolateDisplacementFieldGenerator COMMAND otbD
   ${TEMP}/dmTvBSplinesInterpolateDisplacementField.hdr
   )
 
-otb_add_test(NAME dmTuBSplinesInterpolateTransformDisplacementFieldGeneratorNew COMMAND otbDisplacementFieldTestDriver
-  otbBSplinesInterpolateTransformDisplacementFieldGeneratorNew)
-
diff --git a/Modules/Registration/DisplacementField/test/otbBSplinesInterpolateDisplacementFieldGeneratorNew.cxx b/Modules/Registration/DisplacementField/test/otbBSplinesInterpolateDisplacementFieldGeneratorNew.cxx
deleted file mode 100644
index 6325bf8faa..0000000000
--- a/Modules/Registration/DisplacementField/test/otbBSplinesInterpolateDisplacementFieldGeneratorNew.cxx
+++ /dev/null
@@ -1,42 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#include "itkMacro.h"
-#include "itkPointSet.h"
-#include "otbVectorImage.h"
-#include "otbBSplinesInterpolateDisplacementFieldGenerator.h"
-
-int otbBSplinesInterpolateDisplacementFieldGeneratorNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  const unsigned int Dimension = 3;
-  typedef double                                                                     PixelType;
-  typedef otb::VectorImage<PixelType, 2>                                             ImageType;
-  typedef itk::FixedArray<double, Dimension>                                         PointType;
-  typedef itk::PointSet<PointType, Dimension>                                        PointSetType;
-
-  typedef otb::BSplinesInterpolateDisplacementFieldGenerator<PointSetType, ImageType> FilterType;
-
-  // Instantiating object
-  FilterType::Pointer filter = FilterType::New();
-
-  std::cout << filter << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Registration/DisplacementField/test/otbBSplinesInterpolateTransformDisplacementFieldGeneratorNew.cxx b/Modules/Registration/DisplacementField/test/otbBSplinesInterpolateTransformDisplacementFieldGeneratorNew.cxx
deleted file mode 100644
index 6997388caa..0000000000
--- a/Modules/Registration/DisplacementField/test/otbBSplinesInterpolateTransformDisplacementFieldGeneratorNew.cxx
+++ /dev/null
@@ -1,41 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#include "itkMacro.h"
-#include "itkPointSet.h"
-#include "otbVectorImage.h"
-#include "otbBSplinesInterpolateTransformDisplacementFieldGenerator.h"
-
-int otbBSplinesInterpolateTransformDisplacementFieldGeneratorNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  const unsigned int Dimension = 2;
-  typedef double                                                                              PixelType;
-  typedef otb::VectorImage<PixelType, Dimension>                                              ImageType;
-  typedef itk::Array<double>                                                                  ParametersType;
-  typedef itk::PointSet<ParametersType, Dimension>                                            PointSetType;
-  typedef otb::BSplinesInterpolateTransformDisplacementFieldGenerator<PointSetType, ImageType> FilterType;
-
-  // Instantiating object
-  FilterType::Pointer filter = FilterType::New();
-
-  std::cout << filter << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Registration/DisplacementField/test/otbNNearestPointsLinearInterpolateDisplacementFieldGeneratorNew.cxx b/Modules/Registration/DisplacementField/test/otbNNearestPointsLinearInterpolateDisplacementFieldGeneratorNew.cxx
deleted file mode 100644
index ebb9423bba..0000000000
--- a/Modules/Registration/DisplacementField/test/otbNNearestPointsLinearInterpolateDisplacementFieldGeneratorNew.cxx
+++ /dev/null
@@ -1,41 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#include "itkMacro.h"
-#include "itkPointSet.h"
-#include "otbVectorImage.h"
-#include "otbNNearestPointsLinearInterpolateDisplacementFieldGenerator.h"
-
-int otbNNearestPointsLinearInterpolateDisplacementFieldGeneratorNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  const unsigned int Dimension = 2;
-  typedef double                                                                                 PixelType;
-  typedef otb::VectorImage<PixelType, Dimension>                                                 ImageType;
-  typedef ImageType::PointType                                                                   PointType;
-  typedef itk::PointSet<PointType, Dimension>                                                    PointSetType;
-  typedef otb::NNearestPointsLinearInterpolateDisplacementFieldGenerator<PointSetType, ImageType> FilterType;
-
-  // Instantiating object
-  FilterType::Pointer filter = FilterType::New();
-
-  std::cout << filter << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Registration/DisplacementField/test/otbNNearestTransformsLinearInterpolateDisplacementFieldGeneratorNew.cxx b/Modules/Registration/DisplacementField/test/otbNNearestTransformsLinearInterpolateDisplacementFieldGeneratorNew.cxx
deleted file mode 100644
index 7c8f410b2e..0000000000
--- a/Modules/Registration/DisplacementField/test/otbNNearestTransformsLinearInterpolateDisplacementFieldGeneratorNew.cxx
+++ /dev/null
@@ -1,41 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#include "itkMacro.h"
-#include "itkPointSet.h"
-#include "otbVectorImage.h"
-#include "otbNNearestTransformsLinearInterpolateDisplacementFieldGenerator.h"
-
-int otbNNearestTransformsLinearInterpolateDisplacementFieldGeneratorNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  const unsigned int Dimension = 2;
-  typedef double                                                                                     PixelType;
-  typedef otb::VectorImage<PixelType, Dimension>                                                     ImageType;
-  typedef ImageType::PointType                                                                       PointType;
-  typedef itk::PointSet<PointType, Dimension>                                                        PointSetType;
-  typedef otb::NNearestTransformsLinearInterpolateDisplacementFieldGenerator<PointSetType, ImageType> FilterType;
-
-  // Instantiating object
-  FilterType::Pointer filter = FilterType::New();
-
-  std::cout << filter << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Registration/DisplacementField/test/otbNearestPointDisplacementFieldGeneratorNew.cxx b/Modules/Registration/DisplacementField/test/otbNearestPointDisplacementFieldGeneratorNew.cxx
deleted file mode 100644
index 443629db1f..0000000000
--- a/Modules/Registration/DisplacementField/test/otbNearestPointDisplacementFieldGeneratorNew.cxx
+++ /dev/null
@@ -1,42 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#include "itkMacro.h"
-#include "itkPointSet.h"
-#include "otbVectorImage.h"
-#include "otbNearestPointDisplacementFieldGenerator.h"
-
-int otbNearestPointDisplacementFieldGeneratorNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  const unsigned int Dimension = 2;
-  typedef double                                           PixelType;
-  typedef otb::VectorImage<PixelType, Dimension>           ImageType;
-  typedef itk::FixedArray<double,3>                        PointDataType;
-  typedef itk::PointSet<PointDataType, Dimension>          PointSetType;
-  typedef otb::NearestPointDisplacementFieldGenerator
-    <PointSetType, ImageType>                              FilterType;
-
-  // Instantiating object
-  FilterType::Pointer filter = FilterType::New();
-
-  std::cout << filter << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Registration/DisplacementField/test/otbNearestTransformDisplacementFieldGeneratorNew.cxx b/Modules/Registration/DisplacementField/test/otbNearestTransformDisplacementFieldGeneratorNew.cxx
deleted file mode 100644
index 405acbabec..0000000000
--- a/Modules/Registration/DisplacementField/test/otbNearestTransformDisplacementFieldGeneratorNew.cxx
+++ /dev/null
@@ -1,41 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#include "itkMacro.h"
-#include "itkPointSet.h"
-#include "otbVectorImage.h"
-#include "otbNearestTransformDisplacementFieldGenerator.h"
-
-int otbNearestTransformDisplacementFieldGeneratorNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  const unsigned int Dimension = 2;
-  typedef double                                                                  PixelType;
-  typedef otb::VectorImage<PixelType, Dimension>                                  ImageType;
-  typedef ImageType::PointType                                                    PointType;
-  typedef itk::PointSet<PointType, Dimension>                                     PointSetType;
-  typedef otb::NearestTransformDisplacementFieldGenerator<PointSetType, ImageType> FilterType;
-
-  // Instantiating object
-  FilterType::Pointer filter = FilterType::New();
-
-  std::cout << filter << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Registration/DisplacementField/test/otbPointSetToDisplacementFieldGeneratorNew.cxx b/Modules/Registration/DisplacementField/test/otbPointSetToDisplacementFieldGeneratorNew.cxx
deleted file mode 100644
index 17b121ce80..0000000000
--- a/Modules/Registration/DisplacementField/test/otbPointSetToDisplacementFieldGeneratorNew.cxx
+++ /dev/null
@@ -1,41 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#include "itkMacro.h"
-#include "itkPointSet.h"
-#include "otbVectorImage.h"
-#include "otbPointSetToDisplacementFieldGenerator.h"
-
-int otbPointSetToDisplacementFieldGeneratorNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  const unsigned int Dimension = 2;
-  typedef double                                                            PixelType;
-  typedef otb::VectorImage<PixelType, Dimension>                            ImageType;
-  typedef ImageType::PointType                                              PointType;
-  typedef itk::PointSet<PointType, Dimension>                               PointSetType;
-  typedef otb::PointSetToDisplacementFieldGenerator<PointSetType, ImageType> FilterType;
-
-  // Instantiating object
-  FilterType::Pointer filter = FilterType::New();
-
-  std::cout << filter << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Registration/DisplacementField/test/otbPointSetWithTransformToDisplacementFieldGeneratorNew.cxx b/Modules/Registration/DisplacementField/test/otbPointSetWithTransformToDisplacementFieldGeneratorNew.cxx
deleted file mode 100644
index 93e65fe8af..0000000000
--- a/Modules/Registration/DisplacementField/test/otbPointSetWithTransformToDisplacementFieldGeneratorNew.cxx
+++ /dev/null
@@ -1,41 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#include "itkMacro.h"
-#include "itkPointSet.h"
-#include "otbVectorImage.h"
-#include "otbPointSetWithTransformToDisplacementFieldGenerator.h"
-
-int otbPointSetWithTransformToDisplacementFieldGeneratorNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  const unsigned int Dimension = 2;
-  typedef double                                                                         PixelType;
-  typedef otb::VectorImage<PixelType, Dimension>                                         ImageType;
-  typedef ImageType::PointType                                                           PointType;
-  typedef itk::PointSet<PointType, Dimension>                                            PointSetType;
-  typedef otb::PointSetWithTransformToDisplacementFieldGenerator<PointSetType, ImageType> FilterType;
-
-  // Instantiating object
-  FilterType::Pointer filter = FilterType::New();
-
-  std::cout << filter << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Registration/Stereo/test/CMakeLists.txt b/Modules/Registration/Stereo/test/CMakeLists.txt
index 819830d089..88e6076674 100644
--- a/Modules/Registration/Stereo/test/CMakeLists.txt
+++ b/Modules/Registration/Stereo/test/CMakeLists.txt
@@ -36,9 +36,6 @@ otb_module_target_label(otbStereoTestDriver)
 # Tests Declaration
 
 
-otb_add_test(NAME dmTuBijectionCoherencyFilterNew COMMAND otbStereoTestDriver
-  otbBijectionCoherencyFilterNew)
-
 otb_add_test(NAME dmTvBijectionCoherencyFilter COMMAND otbStereoTestDriver
   --compare-image ${EPSILON_6}
   ${BASELINE}/dmTvBijectionCoherencyFilterOutput.tif
@@ -179,9 +176,6 @@ otb_add_test(NAME dmTuMulti3DMapToDEMFilterMeanMultiThreadMultiStream COMMAND ot
   8
   4)
 
-otb_add_test(NAME dmTuMulti3DMapTo3DEMFilterNew COMMAND otbStereoTestDriver
-  otbMulti3DMapToDEMFilterNew)
-
 otb_add_test(NAME dmTvMulti3DMapToDEMFilterStadiumMeanNoData COMMAND otbStereoTestDriver
   --compare-image ${EPSILON_6}
   ${BASELINE}/dmTvMulti3DMapToDEMFilterOutputStadiumMeanNoData.tif
@@ -286,12 +280,6 @@ otb_add_test(NAME dmTvAdhesionCorrectionFilter COMMAND otbStereoTestDriver
   ${TEMP}/dmTuAdhesionCorrectionMethod_RiskEdges.tif
   )
 
-otb_add_test(NAME dmTuAdhesionCorrectionFilterNew COMMAND otbStereoTestDriver
-  otbAdhesionCorrectionFilterNew)
-
-otb_add_test(NAME dmTuStereoSensorModelToElevationFilterNew COMMAND otbStereoTestDriver
-  otbStereoSensorModelToElevationMapFilterNew)
-
 #otb_add_test(NAME dmTvStereoSensorModelToElevationFilter COMMAND otbStereoTestDriver
   #--compare-image ${EPSILON_10}
   #${BASELINE}/feTvStereoSensorModelToElevationFilterOutput.tif
@@ -323,5 +311,3 @@ otb_add_test(NAME dmTvStereorectificationDisplacementFieldSource COMMAND otbSter
   0.5
   5
   )
-otb_add_test(NAME dmTuStereorectificationDisplacementFieldSourceNew COMMAND otbStereoTestDriver
-  otbStereorectificationDisplacementFieldSourceNew)
diff --git a/Modules/Segmentation/CCOBIA/test/CMakeLists.txt b/Modules/Segmentation/CCOBIA/test/CMakeLists.txt
index 8f44da8b0f..188266eccf 100644
--- a/Modules/Segmentation/CCOBIA/test/CMakeLists.txt
+++ b/Modules/Segmentation/CCOBIA/test/CMakeLists.txt
@@ -25,7 +25,6 @@ otbCCOBIATestDriver.cxx
 otbStreamingConnectedComponentOBIATest.cxx
 otbConnectedComponentMuParserFunctorTest.cxx
 otbMeanShiftStreamingConnectedComponentOBIATest.cxx
-otbLabelObjectOpeningMuParserFilterNew.cxx
 otbLabelObjectOpeningMuParserFilterTest.cxx
 )
 
@@ -35,9 +34,6 @@ otb_module_target_label(otbCCOBIATestDriver)
 
 # Tests Declaration
 
-otb_add_test(NAME obTuStreamingConnectedComponentSegmentationOBIAToVectorDataFilterNew COMMAND otbCCOBIATestDriver
-  otbStreamingConnectedComponentSegmentationOBIAToVectorDataFilterNew)
-
 otb_add_test(NAME obTvStreamingConnectedComponentSegmentationOBIAToVectorDataFilter COMMAND otbCCOBIATestDriver
   --compare-ogr ${NOTOL}
   ${BASELINE_FILES}/obTvStreamingConnectedComponentSegmentationOBIAToVectorDataFilter.shp
@@ -84,9 +80,6 @@ otb_add_test(NAME obTuMeanShiftStreamingConnectedComponentSegmentationOBIAToVect
   "SHAPE_Elongation>10"
   5)
 
-otb_add_test(NAME bfTuLabelObjectOpeningMuParserFilterNew COMMAND otbCCOBIATestDriver
-  otbLabelObjectOpeningMuParserFilterNew
-  )
 
 otb_add_test(NAME bfTvLabelObjectOpeningMuParserFilterTest COMMAND otbCCOBIATestDriver
   --compare-image ${NOTOL}
diff --git a/Modules/Segmentation/CCOBIA/test/otbLabelObjectOpeningMuParserFilterNew.cxx b/Modules/Segmentation/CCOBIA/test/otbLabelObjectOpeningMuParserFilterNew.cxx
deleted file mode 100644
index affb5f5a71..0000000000
--- a/Modules/Segmentation/CCOBIA/test/otbLabelObjectOpeningMuParserFilterNew.cxx
+++ /dev/null
@@ -1,39 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-
-#include "itkLabelMap.h"
-#include "otbAttributesMapLabelObject.h"
-#include "otbLabelObjectOpeningMuParserFilter.h"
-
-int otbLabelObjectOpeningMuParserFilterNew( int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-
-  const unsigned int     Dimension = 2;
-
-  typedef otb::AttributesMapLabelObject<unsigned int, Dimension, double>     AttributesMapLabelObjectType;
-  typedef itk::LabelMap<AttributesMapLabelObjectType>                        AttributesLabelMapType;
-  typedef otb::LabelObjectOpeningMuParserFilter<AttributesLabelMapType>      FilterType;
-
-  FilterType::Pointer   filter       = FilterType::New();
-
-  return EXIT_SUCCESS;
-
-}
diff --git a/Modules/Segmentation/Conversion/test/CMakeLists.txt b/Modules/Segmentation/Conversion/test/CMakeLists.txt
index 6cbb528c50..0c4244e578 100644
--- a/Modules/Segmentation/Conversion/test/CMakeLists.txt
+++ b/Modules/Segmentation/Conversion/test/CMakeLists.txt
@@ -24,8 +24,6 @@ set(OTBConversionTests
 otbConversionTestDriver.cxx
 otbVectorDataToLabelMapFilter.cxx
 otbOGRDataSourceToLabelImageFilter.cxx
-otbVectorDataToLabelMapFilterNew.cxx
-otbLabelImageToVectorDataFilterNew.cxx
 otbLabelImageToVectorDataFilter.cxx
 otbLabelImageToOGRDataSourceFilter.cxx
 otbVectorDataToLabelImageFilter.cxx
@@ -34,7 +32,6 @@ otbVectorDataRasterizeFilter.cxx
 otbLabelImageRegionPruningFilter.cxx
 otbLabelImageRegionMergingFilter.cxx
 otbLabelMapToVectorDataFilter.cxx
-otbLabelMapToVectorDataFilterNew.cxx
 )
 
 add_executable(otbConversionTestDriver ${OTBConversionTests})
@@ -48,9 +45,6 @@ otb_add_test(NAME obTvVectorDataToLabelMapFilter COMMAND otbConversionTestDriver
   ${INPUTDATA}/vectorIOexample_gis_to_vec.shp
   ${TEMP}/vectordataToLabelMap.png)
 
-otb_add_test(NAME coTuOGRDataSourceToLabelImageFilterNew COMMAND otbConversionTestDriver
-  otbOGRDataSourceToLabelImageFilterNew
-  )
 
 otb_add_test(NAME coTvOGRDataSourceToLabelImageFilterSHP COMMAND otbConversionTestDriver
   --compare-image 0.0
@@ -74,12 +68,6 @@ otb_add_test(NAME bfTvOGRDataSourceToLabelImageFilterSHPForegroundMode COMMAND o
   0 0 255
   )
 
-otb_add_test(NAME obTuVectorDataToLabelMapFilterNew COMMAND otbConversionTestDriver
-  otbVectorDataToLabelMapFilterNew)
-
-otb_add_test(NAME obTuLabelImageToVectorDataFilterNew COMMAND otbConversionTestDriver
-  otbLabelImageToVectorDataFilterNew)
-
 otb_add_test(NAME obTvLabelImageToVectorDataFilter COMMAND otbConversionTestDriver
   --compare-ogr ${NOTOL}
   ${BASELINE_FILES}/obTuLabelImageToVectorDataFilter.shp
@@ -89,17 +77,11 @@ otb_add_test(NAME obTvLabelImageToVectorDataFilter COMMAND otbConversionTestDriv
   ${TEMP}/obTuLabelImageToVectorDataFilter.shp
   )
 
-otb_add_test(NAME obTuLabelImageToOGRDataSourceFilterNew COMMAND otbConversionTestDriver
-  otbLabelImageToOGRDataSourceFilterNew)
-
 otb_add_test(NAME obTvLabelImageToOGRDataSourceFilter COMMAND otbConversionTestDriver
   otbLabelImageToOGRDataSourceFilter
   ${INPUTDATA}/labelImage_UnsignedChar.tif
   )
 
-otb_add_test(NAME bfTuVectorDataToLabelImageFilterNew COMMAND otbConversionTestDriver
-  otbVectorDataToLabelImageFilterNew
-  )
 
 otb_add_test(NAME bfTvVectorDataToLabelImageFilterSHP COMMAND otbConversionTestDriver
   --compare-image 0.0
@@ -141,9 +123,6 @@ otb_add_test(NAME bfTvVectorDataRasterizeFilterKML COMMAND otbConversionTestDriv
   ${TEMP}/bfTvVectorDataRasterizeFilter_OutputKML.tif
   )
 
-otb_add_test(NAME bfTuVectorDataRasterizeFilterNew COMMAND otbConversionTestDriver
-  otbVectorDataRasterizeFilterNew
-  )
 
 otb_add_test(NAME bfTvVectorDataRasterizeFilterSHP COMMAND otbConversionTestDriver
   --compare-image 0.0001
@@ -231,6 +210,3 @@ otb_add_test(NAME obTvLabelMapToVectorDataFilter COMMAND otbConversionTestDriver
   ${INPUTDATA}/rcc8_mire1.png
   ${TEMP}/obTvLabelMapToVectorDataFilter.shp)
 
-otb_add_test(NAME obTuLabelMapToVectorDataFilterNew COMMAND otbConversionTestDriver
-  otbLabelMapToVectorDataFilterNew)
-
diff --git a/Modules/Segmentation/Conversion/test/otbLabelImageToVectorDataFilterNew.cxx b/Modules/Segmentation/Conversion/test/otbLabelImageToVectorDataFilterNew.cxx
deleted file mode 100644
index cc2de65820..0000000000
--- a/Modules/Segmentation/Conversion/test/otbLabelImageToVectorDataFilterNew.cxx
+++ /dev/null
@@ -1,38 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-
-
-#include "otbLabelImageToVectorDataFilter.h"
-#include "otbImage.h"
-
-int otbLabelImageToVectorDataFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  const unsigned int Dimension = 2;
-  typedef unsigned short LabelType;
-  typedef otb::Image<LabelType, Dimension> InputLabelImageType;
-
-  typedef otb::LabelImageToVectorDataFilter<InputLabelImageType>  FilterType;
-
-  FilterType::Pointer filter = FilterType::New();
-
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Segmentation/Conversion/test/otbLabelMapToVectorDataFilterNew.cxx b/Modules/Segmentation/Conversion/test/otbLabelMapToVectorDataFilterNew.cxx
deleted file mode 100644
index 75b4981af8..0000000000
--- a/Modules/Segmentation/Conversion/test/otbLabelMapToVectorDataFilterNew.cxx
+++ /dev/null
@@ -1,42 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-
-#include "otbLabelMapToVectorDataFilter.h"
-#include "otbVectorData.h"
-#include "itkAttributeLabelObject.h"
-
-int otbLabelMapToVectorDataFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv)[])
-{
-  const int dim = 2;
-  typedef otb::VectorData<> VectorDataType;
-
-  typedef itk::AttributeLabelObject<unsigned long, dim, double> LabelObjectType;
-
-  typedef itk::LabelMap<LabelObjectType> LabelMapType;
-
-  typedef otb::LabelMapToVectorDataFilter<LabelMapType, VectorDataType> LabelMapToVectorDataFilterType;
-
-  LabelMapToVectorDataFilterType::Pointer filter = LabelMapToVectorDataFilterType::New();
-
-  std::cout << filter << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Segmentation/Conversion/test/otbVectorDataToLabelMapFilterNew.cxx b/Modules/Segmentation/Conversion/test/otbVectorDataToLabelMapFilterNew.cxx
deleted file mode 100644
index eac3bb8736..0000000000
--- a/Modules/Segmentation/Conversion/test/otbVectorDataToLabelMapFilterNew.cxx
+++ /dev/null
@@ -1,43 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-
-#include "otbMacro.h"
-
-#include "otbVectorDataToLabelMapFilter.h"
-#include "otbAttributesMapLabelObject.h"
-
-int otbVectorDataToLabelMapFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv)[])
-{
-  typedef unsigned short LabelType;
-  const unsigned int Dimension = 2;
-  typedef otb::VectorData<double, Dimension>                          VectorDataType;
-  typedef otb::AttributesMapLabelObject<LabelType, Dimension, double> LabelObjectType;
-  typedef itk::LabelMap<LabelObjectType>                              OutputLabelMapType;
-
-  typedef otb::VectorDataToLabelMapFilter<VectorDataType, OutputLabelMapType> VectorDataToLabelMapFilterType;
-
-  //Instantiation
-  VectorDataToLabelMapFilterType::Pointer filter = VectorDataToLabelMapFilterType::New();
-
-  std::cout << filter << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Segmentation/Labelling/test/CMakeLists.txt b/Modules/Segmentation/Labelling/test/CMakeLists.txt
index b56ecb727f..9b3b21b891 100644
--- a/Modules/Segmentation/Labelling/test/CMakeLists.txt
+++ b/Modules/Segmentation/Labelling/test/CMakeLists.txt
@@ -24,11 +24,7 @@ set(OTBLabellingTests
 otbLabellingTestDriver.cxx
 otbLabelizeConfidenceConnectedImageFilter.cxx
 otbLabelizeConnectedThresholdImageFilter.cxx
-otbLabelizeConnectedThresholdImageFilterNew.cxx
-otbLabelizeNeighborhoodConnectedImageFilterNew.cxx
 otbLabelizeNeighborhoodConnectedImageFilter.cxx
-otbLabelizeConfidenceConnectedImageFilterNew.cxx
-otbLabelToBoundaryImageFilterNew.cxx
 otbLabelToBoundaryImageFilter.cxx
 )
 
@@ -59,12 +55,6 @@ otb_add_test(NAME bfTvLabelizeConnectedThresholdImageFilter COMMAND otbLabelling
   80 80
   )
 
-otb_add_test(NAME bfTuLabelizeConnectedThresholdImageFilterNew COMMAND otbLabellingTestDriver
-  otbLabelizeConnectedThresholdImageFilterNew)
-
-otb_add_test(NAME bfTuLabelizeNeighborhoodConnectedImageFilterNew COMMAND otbLabellingTestDriver
-  otbLabelizeNeighborhoodConnectedImageFilterNew)
-
 otb_add_test(NAME bfTvLabelizeNeighborhoodConnectedImageFilter COMMAND otbLabellingTestDriver
   --compare-image ${EPSILON_7}
   ${BASELINE}/bfTvLabelizeNeighborhoodConnectedImageFilterOutput.png
@@ -76,12 +66,6 @@ otb_add_test(NAME bfTvLabelizeNeighborhoodConnectedImageFilter COMMAND otbLabell
   80 80
   )
 
-otb_add_test(NAME bfTuLabelizeConfidenceConnectedImageFilterNew COMMAND otbLabellingTestDriver
-  otbLabelizeConfidenceConnectedImageFilterNew)
-
-otb_add_test(NAME bfTuLabelToBoundaryImageFilterNew COMMAND otbLabellingTestDriver
-  otbLabelToBoundaryImageFilterNew)
-
 otb_add_test(NAME bfTvLabelToBoundaryImageFilter COMMAND otbLabellingTestDriver
   --compare-image ${EPSILON_7}
   ${BASELINE}/bfTvLabelToBoundaryImageFilterOutput.tif
diff --git a/Modules/Segmentation/Labelling/test/otbLabelToBoundaryImageFilterNew.cxx b/Modules/Segmentation/Labelling/test/otbLabelToBoundaryImageFilterNew.cxx
deleted file mode 100644
index 06b5f07666..0000000000
--- a/Modules/Segmentation/Labelling/test/otbLabelToBoundaryImageFilterNew.cxx
+++ /dev/null
@@ -1,43 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-
-#include "otbLabelToBoundaryImageFilter.h"
-#include "otbImage.h"
-
-int otbLabelToBoundaryImageFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  typedef unsigned int InputPixelType;
-  typedef unsigned char OutputPixelType;
-  const unsigned int Dimension = 2;
-
-  typedef otb::Image<InputPixelType, Dimension>  InputImageType;
-  typedef otb::Image<OutputPixelType, Dimension> OutputImageType;
-
-  typedef otb::LabelToBoundaryImageFilter
-  <InputImageType, OutputImageType> BoundaryFilterType;
-  typedef BoundaryFilterType::Pointer BoundaryFilterPointerType;
-
-  BoundaryFilterPointerType filter = BoundaryFilterType::New();
-
-  std::cout << filter << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Segmentation/Labelling/test/otbLabelizeConfidenceConnectedImageFilterNew.cxx b/Modules/Segmentation/Labelling/test/otbLabelizeConfidenceConnectedImageFilterNew.cxx
deleted file mode 100644
index 77f46b49e3..0000000000
--- a/Modules/Segmentation/Labelling/test/otbLabelizeConfidenceConnectedImageFilterNew.cxx
+++ /dev/null
@@ -1,44 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-
-
-#include "otbLabelizeConfidenceConnectedImageFilter.h"
-#include "otbImage.h"
-
-int otbLabelizeConfidenceConnectedImageFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  typedef unsigned char InputPixelType;
-  typedef unsigned char OutputPixelType;
-  const unsigned int Dimension = 2;
-
-  typedef otb::Image<InputPixelType, Dimension>  InputImageType;
-  typedef otb::Image<OutputPixelType, Dimension> OutputImageType;
-
-  typedef otb::LabelizeConfidenceConnectedImageFilter
-  <InputImageType, OutputImageType> LabelizeFilterType;
-  typedef LabelizeFilterType::Pointer LabelizeFilterPointerType;
-
-  LabelizeFilterPointerType filter = LabelizeFilterType::New();
-
-  std::cout << filter << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Segmentation/Labelling/test/otbLabelizeConnectedThresholdImageFilterNew.cxx b/Modules/Segmentation/Labelling/test/otbLabelizeConnectedThresholdImageFilterNew.cxx
deleted file mode 100644
index 23aff18310..0000000000
--- a/Modules/Segmentation/Labelling/test/otbLabelizeConnectedThresholdImageFilterNew.cxx
+++ /dev/null
@@ -1,44 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-
-
-#include "otbLabelizeConnectedThresholdImageFilter.h"
-#include "otbImage.h"
-
-int otbLabelizeConnectedThresholdImageFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  typedef unsigned char InputPixelType;
-  typedef unsigned char OutputPixelType;
-  const unsigned int Dimension = 2;
-
-  typedef otb::Image<InputPixelType, Dimension>  InputImageType;
-  typedef otb::Image<OutputPixelType, Dimension> OutputImageType;
-
-  typedef otb::LabelizeConnectedThresholdImageFilter
-  <InputImageType, OutputImageType> LabelizeFilterType;
-  typedef LabelizeFilterType::Pointer LabelizeFilterPointerType;
-
-  LabelizeFilterPointerType filter = LabelizeFilterType::New();
-
-  std::cout << filter << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Segmentation/Labelling/test/otbLabelizeNeighborhoodConnectedImageFilterNew.cxx b/Modules/Segmentation/Labelling/test/otbLabelizeNeighborhoodConnectedImageFilterNew.cxx
deleted file mode 100644
index db1da3bf1e..0000000000
--- a/Modules/Segmentation/Labelling/test/otbLabelizeNeighborhoodConnectedImageFilterNew.cxx
+++ /dev/null
@@ -1,44 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-
-
-#include "otbLabelizeNeighborhoodConnectedImageFilter.h"
-#include "otbImage.h"
-
-int otbLabelizeNeighborhoodConnectedImageFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  typedef unsigned char InputPixelType;
-  typedef unsigned char OutputPixelType;
-  const unsigned int Dimension = 2;
-
-  typedef otb::Image<InputPixelType, Dimension>  InputImageType;
-  typedef otb::Image<OutputPixelType, Dimension> OutputImageType;
-
-  typedef otb::LabelizeNeighborhoodConnectedImageFilter
-  <InputImageType, OutputImageType> LabelizeFilterType;
-  typedef LabelizeFilterType::Pointer LabelizeFilterPointerType;
-
-  LabelizeFilterPointerType filter = LabelizeFilterType::New();
-
-  std::cout << filter << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Segmentation/Metrics/test/CMakeLists.txt b/Modules/Segmentation/Metrics/test/CMakeLists.txt
index 17579f8488..b61ebeee94 100644
--- a/Modules/Segmentation/Metrics/test/CMakeLists.txt
+++ b/Modules/Segmentation/Metrics/test/CMakeLists.txt
@@ -22,8 +22,6 @@ otb_module_test()
 
 set(OTBMetricsTests
 otbMetricsTestDriver.cxx
-otbHooverMatrixFilterNew.cxx
-otbHooverInstanceFilterNew.cxx
 otbHooverInstanceFilterToAttributeImage.cxx
 otbHooverMatrixFilter.cxx
 )
@@ -34,12 +32,6 @@ otb_module_target_label(otbMetricsTestDriver)
 
 # Tests Declaration
 
-otb_add_test(NAME obTuHooverMatrixFilterNew COMMAND otbMetricsTestDriver
-  otbHooverMatrixFilterNew)
-
-otb_add_test(NAME obTuHooverInstanceFilterNew COMMAND otbMetricsTestDriver
-  otbHooverInstanceFilterNew)
-
 otb_add_test(NAME obTvHooverInstanceFilterToAttributeImage COMMAND otbMetricsTestDriver
   --compare-image ${EPSILON_9}
   ${BASELINE}/obTvHooverInstanceFilterToAttributeImage.tif
diff --git a/Modules/Segmentation/Metrics/test/otbHooverInstanceFilterNew.cxx b/Modules/Segmentation/Metrics/test/otbHooverInstanceFilterNew.cxx
deleted file mode 100644
index 8ff6f8cab9..0000000000
--- a/Modules/Segmentation/Metrics/test/otbHooverInstanceFilterNew.cxx
+++ /dev/null
@@ -1,39 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-
-#include "otbHooverInstanceFilter.h"
-
-#include "itkLabelMap.h"
-#include "otbAttributesMapLabelObject.h"
-
-int otbHooverInstanceFilterNew(int itkNotUsed(argc), char* itkNotUsed(argv)[])
-{
-  typedef otb::AttributesMapLabelObject<unsigned int, 2, float> LabelObjectType;
-  typedef itk::LabelMap<LabelObjectType>                      LabelMapType;
-  typedef otb::HooverInstanceFilter<LabelMapType>      HooverInstanceFilterType;
-
-  // instantiation
-  HooverInstanceFilterType::Pointer object = HooverInstanceFilterType::New();
-
-  std::cout << object << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Segmentation/Metrics/test/otbHooverMatrixFilterNew.cxx b/Modules/Segmentation/Metrics/test/otbHooverMatrixFilterNew.cxx
deleted file mode 100644
index e9c2336a98..0000000000
--- a/Modules/Segmentation/Metrics/test/otbHooverMatrixFilterNew.cxx
+++ /dev/null
@@ -1,39 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-
-#include "otbHooverMatrixFilter.h"
-
-#include "itkLabelMap.h"
-#include "itkLabelObject.h"
-
-int otbHooverMatrixFilterNew(int itkNotUsed(argc), char* itkNotUsed(argv)[])
-{
-  typedef itk::LabelObject<unsigned int, 2>          LabelObjectType;
-  typedef itk::LabelMap<LabelObjectType>            LabelMapType;
-  typedef otb::HooverMatrixFilter<LabelMapType>  HooverMatrixFilterType;
-
-  // instantiation
-  HooverMatrixFilterType::Pointer object = HooverMatrixFilterType::New();
-
-  std::cout << object << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Segmentation/MorphologicalProfiles/test/CMakeLists.txt b/Modules/Segmentation/MorphologicalProfiles/test/CMakeLists.txt
index ca15ae150f..4a800172d7 100644
--- a/Modules/Segmentation/MorphologicalProfiles/test/CMakeLists.txt
+++ b/Modules/Segmentation/MorphologicalProfiles/test/CMakeLists.txt
@@ -23,26 +23,15 @@ otb_module_test()
 set(OTBMorphologicalProfilesTests
 otbMorphologicalProfilesTestDriver.cxx
 otbMorphologicalProfilesSegmentationFilter.cxx
-otbProfileToProfileDerivativeFilterNew.cxx
 otbGeodesicMorphologyDecompositionImageFilter.cxx
-otbMorphologicalClosingProfileFilterNew.cxx
 otbConvexOrConcaveClassificationFilter.cxx
 otbGeodesicMorphologyLevelingFilter.cxx
-otbConvexOrConcaveClassificationFilterNew.cxx
 otbMultiScaleConvexOrConcaveClassificationFilter.cxx
 otbMorphologicalOpeningProfileFilter.cxx
 otbGeodesicMorphologyIterativeDecompositionImageFilter.cxx
-otbGeodesicMorphologyIterativeDecompositionImageFilterNew.cxx
-otbGeodesicMorphologyLevelingFilterNew.cxx
 otbClosingOpeningMorphologicalFilter.cxx
-otbProfileDerivativeToMultiScaleCharacteristicsFilterNew.cxx
 otbProfileToProfileDerivativeFilter.cxx
-otbOpeningClosingMorphologicalFilterNew.cxx
-otbGeodesicMorphologyDecompositionImageFilterNew.cxx
-otbMorphologicalOpeningProfileFilterNew.cxx
 otbProfileDerivativeToMultiScaleCharacteristicsFilter.cxx
-otbMultiScaleConvexOrConcaveClassificationFilterNew.cxx
-otbClosingOpeningMorphologicalFilterNew.cxx
 otbOpeningClosingMorphologicalFilter.cxx
 otbMorphologicalClosingProfileFilter.cxx
 )
@@ -65,9 +54,6 @@ otb_add_test(NAME obTvMorphologicalProfilesSegmentationFilter COMMAND otbMorphol
   5
   )
 
-otb_add_test(NAME msTuProfileToProfileDerivativeFilterNew COMMAND otbMorphologicalProfilesTestDriver
-  otbProfileToProfileDerivativeFilterNew)
-
 otb_add_test(NAME msTvGeodesicMorphologyDecompositionImageFilter COMMAND otbMorphologicalProfilesTestDriver
   --compare-n-images ${NOTOL} 3
   ${BASELINE}/msGeodesicMorphologyDecompositionImageFilterConvexOutput.tif
@@ -84,9 +70,6 @@ otb_add_test(NAME msTvGeodesicMorphologyDecompositionImageFilter COMMAND otbMorp
   4
   )
 
-otb_add_test(NAME msTuMorphologicalClosingProfileFilterNew COMMAND otbMorphologicalProfilesTestDriver
-  otbMorphologicalClosingProfileFilterNew)
-
 otb_add_test(NAME msTvConvexOrConcaveClassificationFilter COMMAND otbMorphologicalProfilesTestDriver
   --compare-image ${NOTOL}
   ${BASELINE}/msConvexOrConcaveClassificationFilterOutput.png
@@ -109,9 +92,6 @@ otb_add_test(NAME msTvGeodesicMorphologyLevelingFilter COMMAND otbMorphologicalP
   ${TEMP}/msGeodesicMorphologyLevelingFilterOutput.tif
   )
 
-otb_add_test(NAME msTuConvexOrConcaveClassificationFilterNew COMMAND otbMorphologicalProfilesTestDriver
-  otbConvexOrConcaveClassificationFilterNew)
-
 otb_add_test(NAME msTvMultiScaleConvexOrConcaveClassificationFilter COMMAND otbMorphologicalProfilesTestDriver
   --compare-image ${NOTOL}
   ${BASELINE}/msMultiScaleConvexOrConcaveClassificationFilterOutput.tif
@@ -167,12 +147,6 @@ otb_add_test(NAME msTvGeodesicMorphologyIterativeDecompositionImageFilter COMMAN
   2
   )
 
-otb_add_test(NAME msTuGeodesicMorphologyIterativeDecompositionImageFilterNew COMMAND otbMorphologicalProfilesTestDriver
-  otbGeodesicMorphologyIterativeDecompositionImageFilterNew)
-
-otb_add_test(NAME msTuGeodesicMorphologyLevelingFilterNew COMMAND otbMorphologicalProfilesTestDriver
-  otbGeodesicMorphologyLevelingFilterNew)
-
 otb_add_test(NAME bfTvClosingOpeningFilter COMMAND otbMorphologicalProfilesTestDriver
   --compare-image ${NOTOL}  ${BASELINE}/bfFiltreClosingOpening_1.tif
   ${TEMP}/bfFiltreClosingOpening_1.tif
@@ -181,9 +155,6 @@ otb_add_test(NAME bfTvClosingOpeningFilter COMMAND otbMorphologicalProfilesTestD
   ${TEMP}/bfFiltreClosingOpening_1.tif
   1)
 
-otb_add_test(NAME msTuProfileDerivativeToMultiScaleCharacteristicsFilterNew COMMAND otbMorphologicalProfilesTestDriver
-  otbProfileDerivativeToMultiScaleCharacteristicsFilterNew)
-
 otb_add_test(NAME msTvProfileToProfileDerivativeFilter COMMAND otbMorphologicalProfilesTestDriver
   --compare-n-images ${NOTOL} 4
   ${BASELINE}/msProfileToProfileDerivativeFilterOutput1.tif
@@ -203,15 +174,6 @@ otb_add_test(NAME msTvProfileToProfileDerivativeFilter COMMAND otbMorphologicalP
   1
   )
 
-otb_add_test(NAME bfTuOpeningClosingFilterNew COMMAND otbMorphologicalProfilesTestDriver
-  otbOpeningClosingMorphologicalFilterNew )
-
-otb_add_test(NAME msTuGeodesicMorphologyDecompositionImageFilterNew COMMAND otbMorphologicalProfilesTestDriver
-  otbGeodesicMorphologyDecompositionImageFilterNew)
-
-otb_add_test(NAME msTuMorphologicalOpeningProfileFilterNew COMMAND otbMorphologicalProfilesTestDriver
-  otbMorphologicalOpeningProfileFilterNew)
-
 otb_add_test(NAME msTvProfileDerivativeToMultiScaleCharacteristicsFilter COMMAND otbMorphologicalProfilesTestDriver
   --compare-n-images ${NOTOL} 2
   ${BASELINE}/msProfileDerivativeToMultiScaleCharacteristicsFilterOutput.tif
@@ -227,12 +189,6 @@ otb_add_test(NAME msTvProfileDerivativeToMultiScaleCharacteristicsFilter COMMAND
   1
   )
 
-otb_add_test(NAME msTuMultiScaleConvexOrConcaveClassificationFilterNew COMMAND otbMorphologicalProfilesTestDriver
-  otbMultiScaleConvexOrConcaveClassificationFilterNew)
-
-otb_add_test(NAME bfTuClosingOpeningFilterNew COMMAND otbMorphologicalProfilesTestDriver
-  otbClosingOpeningMorphologicalFilterNew )
-
 otb_add_test(NAME bfTvOpeningClosingFilter COMMAND otbMorphologicalProfilesTestDriver
   --compare-image ${NOTOL}  ${BASELINE}/bfFiltreOpeningClosing_1.tif
   ${TEMP}/bfFiltreOpeningClosing_1.tif
diff --git a/Modules/Segmentation/MorphologicalProfiles/test/otbClosingOpeningMorphologicalFilterNew.cxx b/Modules/Segmentation/MorphologicalProfiles/test/otbClosingOpeningMorphologicalFilterNew.cxx
deleted file mode 100644
index 3a984f20a7..0000000000
--- a/Modules/Segmentation/MorphologicalProfiles/test/otbClosingOpeningMorphologicalFilterNew.cxx
+++ /dev/null
@@ -1,44 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#include "itkMacro.h"
-
-#include "otbClosingOpeningMorphologicalFilter.h"
-#include "itkBinaryBallStructuringElement.h"
-#include "otbImage.h"
-
-int otbClosingOpeningMorphologicalFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  const unsigned int Dimension = 2;
-  typedef unsigned char                                                InputPixelType;
-  typedef unsigned char                                                OutputPixelType;
-  typedef otb::Image<InputPixelType, Dimension>                        InputImageType;
-  typedef otb::Image<OutputPixelType, Dimension>                       OutputImageType;
-  typedef itk::BinaryBallStructuringElement<InputPixelType, Dimension> StructuringElementType;
-  typedef otb::ClosingOpeningMorphologicalFilter<InputImageType, OutputImageType,
-      StructuringElementType> ClosingOpeningFilterType;
-
-  // instantiating the opening closing filter
-  ClosingOpeningFilterType::Pointer openingClosing = ClosingOpeningFilterType::New();
-
-  std::cout << openingClosing << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Segmentation/MorphologicalProfiles/test/otbConvexOrConcaveClassificationFilterNew.cxx b/Modules/Segmentation/MorphologicalProfiles/test/otbConvexOrConcaveClassificationFilterNew.cxx
deleted file mode 100644
index 0764f9c8cc..0000000000
--- a/Modules/Segmentation/MorphologicalProfiles/test/otbConvexOrConcaveClassificationFilterNew.cxx
+++ /dev/null
@@ -1,37 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#include "otbConvexOrConcaveClassificationFilter.h"
-#include "otbImage.h"
-
-int otbConvexOrConcaveClassificationFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  typedef otb::Image<double, 2>        InputImageType;
-  typedef otb::Image<unsigned char, 2> OutputImageType;
-
-  typedef otb::ConvexOrConcaveClassificationFilter<InputImageType, OutputImageType> ClassificationFilterType;
-
-  // Instantiating object
-  ClassificationFilterType::Pointer filter = ClassificationFilterType::New();
-
-  std::cout << filter << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Segmentation/MorphologicalProfiles/test/otbGeodesicMorphologyDecompositionImageFilterNew.cxx b/Modules/Segmentation/MorphologicalProfiles/test/otbGeodesicMorphologyDecompositionImageFilterNew.cxx
deleted file mode 100644
index bea71ca208..0000000000
--- a/Modules/Segmentation/MorphologicalProfiles/test/otbGeodesicMorphologyDecompositionImageFilterNew.cxx
+++ /dev/null
@@ -1,40 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#include "otbGeodesicMorphologyDecompositionImageFilter.h"
-#include "otbImage.h"
-#include "itkBinaryBallStructuringElement.h"
-
-int otbGeodesicMorphologyDecompositionImageFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  typedef otb::Image<double, 2> ImageType;
-  typedef itk::BinaryBallStructuringElement<double,
-      2>                                                  StructuringElementType;
-  typedef otb::GeodesicMorphologyDecompositionImageFilter<ImageType, ImageType,
-      StructuringElementType>
-  GeodesicMorphologyDecompositionImageFilterType;
-
-  // Instantiating object
-  GeodesicMorphologyDecompositionImageFilterType::Pointer filter = GeodesicMorphologyDecompositionImageFilterType::New();
-
-  std::cout << filter << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Segmentation/MorphologicalProfiles/test/otbGeodesicMorphologyIterativeDecompositionImageFilterNew.cxx b/Modules/Segmentation/MorphologicalProfiles/test/otbGeodesicMorphologyIterativeDecompositionImageFilterNew.cxx
deleted file mode 100644
index 9a46c070a6..0000000000
--- a/Modules/Segmentation/MorphologicalProfiles/test/otbGeodesicMorphologyIterativeDecompositionImageFilterNew.cxx
+++ /dev/null
@@ -1,45 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#include "otbGeodesicMorphologyIterativeDecompositionImageFilter.h"
-#include "itkBinaryBallStructuringElement.h"
-#include "otbImage.h"
-
-#include "itkMacro.h"
-
-int otbGeodesicMorphologyIterativeDecompositionImageFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  const unsigned int Dimension = 2;
-  typedef double InputPixelType;
-
-  typedef otb::Image<InputPixelType, Dimension> InputImageType;
-
-  typedef itk::BinaryBallStructuringElement<InputPixelType,
-      Dimension>                                     StructuringElementType;
-  typedef otb::GeodesicMorphologyIterativeDecompositionImageFilter<InputImageType,
-      StructuringElementType> DecompositionFilterType;
-
-  // Instantiation
-  DecompositionFilterType::Pointer decomposition = DecompositionFilterType::New();
-
-  std::cout << decomposition << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Segmentation/MorphologicalProfiles/test/otbGeodesicMorphologyLevelingFilterNew.cxx b/Modules/Segmentation/MorphologicalProfiles/test/otbGeodesicMorphologyLevelingFilterNew.cxx
deleted file mode 100644
index 2c8d0138f2..0000000000
--- a/Modules/Segmentation/MorphologicalProfiles/test/otbGeodesicMorphologyLevelingFilterNew.cxx
+++ /dev/null
@@ -1,34 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#include "otbGeodesicMorphologyLevelingFilter.h"
-#include "otbImage.h"
-
-int otbGeodesicMorphologyLevelingFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  typedef otb::Image<double, 2>                                                  ImageType;
-  typedef otb::GeodesicMorphologyLevelingFilter<ImageType, ImageType, ImageType> FilterType;
-
-  FilterType::Pointer filter = FilterType::New();
-
-  std::cout << filter << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Segmentation/MorphologicalProfiles/test/otbMorphologicalClosingProfileFilterNew.cxx b/Modules/Segmentation/MorphologicalProfiles/test/otbMorphologicalClosingProfileFilterNew.cxx
deleted file mode 100644
index ba2cc795b4..0000000000
--- a/Modules/Segmentation/MorphologicalProfiles/test/otbMorphologicalClosingProfileFilterNew.cxx
+++ /dev/null
@@ -1,43 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#include "otbMorphologicalClosingProfileFilter.h"
-#include "itkBinaryBallStructuringElement.h"
-#include "otbImage.h"
-
-#include "itkMacro.h"
-
-int otbMorphologicalClosingProfileFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  const unsigned int Dimension = 2;
-  typedef double InputPixelType;
-
-  typedef otb::Image<InputPixelType, Dimension>  InputImageType;
-  typedef itk::BinaryBallStructuringElement<InputPixelType, Dimension> StructuringElementType;
-  typedef otb::MorphologicalClosingProfileFilter<InputImageType, InputImageType, StructuringElementType>
-  ClosingProfileFilterType;
-
-  // Instantiation
-  ClosingProfileFilterType::Pointer filter = ClosingProfileFilterType::New();
-
-  std::cout << filter << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Segmentation/MorphologicalProfiles/test/otbMorphologicalOpeningProfileFilterNew.cxx b/Modules/Segmentation/MorphologicalProfiles/test/otbMorphologicalOpeningProfileFilterNew.cxx
deleted file mode 100644
index cb3ea1cc51..0000000000
--- a/Modules/Segmentation/MorphologicalProfiles/test/otbMorphologicalOpeningProfileFilterNew.cxx
+++ /dev/null
@@ -1,44 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#include "otbMorphologicalOpeningProfileFilter.h"
-#include "itkBinaryBallStructuringElement.h"
-#include "otbImage.h"
-
-#include "itkMacro.h"
-
-int otbMorphologicalOpeningProfileFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  const unsigned int Dimension = 2;
-  typedef double InputPixelType;
-
-  typedef otb::Image<InputPixelType, Dimension>  InputImageType;
-
-  typedef itk::BinaryBallStructuringElement<InputPixelType, Dimension> StructuringElementType;
-  typedef otb::MorphologicalOpeningProfileFilter<InputImageType, InputImageType, StructuringElementType>
-  OpeningProfileFilterType;
-
-  // Instantiation
-  OpeningProfileFilterType::Pointer filter = OpeningProfileFilterType::New();
-
-  std::cout << filter << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Segmentation/MorphologicalProfiles/test/otbMultiScaleConvexOrConcaveClassificationFilterNew.cxx b/Modules/Segmentation/MorphologicalProfiles/test/otbMultiScaleConvexOrConcaveClassificationFilterNew.cxx
deleted file mode 100644
index 697f34dece..0000000000
--- a/Modules/Segmentation/MorphologicalProfiles/test/otbMultiScaleConvexOrConcaveClassificationFilterNew.cxx
+++ /dev/null
@@ -1,45 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#include "itkUnaryFunctorImageFilter.h"
-#include "itkBinaryBallStructuringElement.h"
-#include "otbMultiScaleConvexOrConcaveClassificationFilter.h"
-#include "otbImage.h"
-#include "itkMacro.h"
-
-int otbMultiScaleConvexOrConcaveClassificationFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  const unsigned int Dimension = 2;
-  typedef double         InputPixelType;
-  typedef unsigned short LabeledPixelType;
-
-  typedef otb::Image<InputPixelType, Dimension>  InputImageType;
-  typedef otb::Image<LabeledPixelType, 2>        LabeledImageType;
-
-  typedef otb::MultiScaleConvexOrConcaveClassificationFilter<InputImageType,
-      LabeledImageType> MultiScaleClassificationFilterType;
-
-  // Instantiation
-  MultiScaleClassificationFilterType::Pointer filter = MultiScaleClassificationFilterType::New();
-
-  std::cout << filter << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Segmentation/MorphologicalProfiles/test/otbOpeningClosingMorphologicalFilterNew.cxx b/Modules/Segmentation/MorphologicalProfiles/test/otbOpeningClosingMorphologicalFilterNew.cxx
deleted file mode 100644
index e9b81b6079..0000000000
--- a/Modules/Segmentation/MorphologicalProfiles/test/otbOpeningClosingMorphologicalFilterNew.cxx
+++ /dev/null
@@ -1,44 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#include "itkMacro.h"
-
-#include "otbOpeningClosingMorphologicalFilter.h"
-#include "itkBinaryBallStructuringElement.h"
-#include "otbImage.h"
-
-int otbOpeningClosingMorphologicalFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  const unsigned int Dimension = 2;
-  typedef unsigned char                                                InputPixelType;
-  typedef unsigned char                                                OutputPixelType;
-  typedef otb::Image<InputPixelType, Dimension>                        InputImageType;
-  typedef otb::Image<OutputPixelType, Dimension>                       OutputImageType;
-  typedef itk::BinaryBallStructuringElement<InputPixelType, Dimension> StructuringElementType;
-  typedef otb::OpeningClosingMorphologicalFilter<InputImageType, OutputImageType,
-      StructuringElementType> OpeningClosingFilterType;
-
-  // instantiating the opening closing filter
-  OpeningClosingFilterType::Pointer openingClosing = OpeningClosingFilterType::New();
-
-  std::cout << openingClosing << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Segmentation/MorphologicalProfiles/test/otbProfileDerivativeToMultiScaleCharacteristicsFilterNew.cxx b/Modules/Segmentation/MorphologicalProfiles/test/otbProfileDerivativeToMultiScaleCharacteristicsFilterNew.cxx
deleted file mode 100644
index da63f37cc7..0000000000
--- a/Modules/Segmentation/MorphologicalProfiles/test/otbProfileDerivativeToMultiScaleCharacteristicsFilterNew.cxx
+++ /dev/null
@@ -1,44 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#include "otbProfileDerivativeToMultiScaleCharacteristicsFilter.h"
-#include "otbImage.h"
-#include "itkMacro.h"
-
-int otbProfileDerivativeToMultiScaleCharacteristicsFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  const unsigned int Dimension = 2;
-  typedef double         InputPixelType;
-  typedef double         OutputPixelType;
-  typedef unsigned short LabeledPixelType;
-
-  typedef otb::Image<InputPixelType, Dimension>  InputImageType;
-  typedef otb::Image<OutputPixelType, Dimension> OutputImageType;
-  typedef otb::Image<LabeledPixelType, 2>        LabeledImageType;
-
-  typedef otb::ProfileDerivativeToMultiScaleCharacteristicsFilter<InputImageType, OutputImageType, LabeledImageType>
-  MultiScaleCharacteristicsFilterType;
-
-  MultiScaleCharacteristicsFilterType::Pointer filter = MultiScaleCharacteristicsFilterType::New();
-
-  std::cout << filter << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Segmentation/MorphologicalProfiles/test/otbProfileToProfileDerivativeFilterNew.cxx b/Modules/Segmentation/MorphologicalProfiles/test/otbProfileToProfileDerivativeFilterNew.cxx
deleted file mode 100644
index 9dd84d6aef..0000000000
--- a/Modules/Segmentation/MorphologicalProfiles/test/otbProfileToProfileDerivativeFilterNew.cxx
+++ /dev/null
@@ -1,41 +0,0 @@
-/*
- * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
- *
- * This file is part of Orfeo Toolbox
- *
- *     https://www.orfeo-toolbox.org/
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#include "otbProfileToProfileDerivativeFilter.h"
-#include "otbImage.h"
-
-#include "itkMacro.h"
-
-int otbProfileToProfileDerivativeFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  const unsigned int Dimension = 2;
-  typedef double InputPixelType;
-  typedef double OutputPixelType;
-
-  typedef otb::Image<InputPixelType, Dimension>                                  InputImageType;
-  typedef otb::Image<OutputPixelType, Dimension>                                 OutputImageType;
-  typedef otb::ProfileToProfileDerivativeFilter<InputImageType, OutputImageType> DerivativeFilterType;
-
-  DerivativeFilterType::Pointer filter = DerivativeFilterType::New();
-
-  std::cout << filter << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Wrappers/ApplicationEngine/test/CMakeLists.txt b/Modules/Wrappers/ApplicationEngine/test/CMakeLists.txt
index e92b69dc03..debd0c8350 100644
--- a/Modules/Wrappers/ApplicationEngine/test/CMakeLists.txt
+++ b/Modules/Wrappers/ApplicationEngine/test/CMakeLists.txt
@@ -152,9 +152,6 @@ otb_add_test(NAME owTvApplicationHtmlDocGeneratorTest
   0 # don't show key in the parameterdescription
   )
 
-otb_add_test(NAME owTvApplicationHtmlDocGeneratorNew COMMAND otbApplicationEngineTestDriver
-  otbWrapperApplicationHtmlDocGeneratorNew
-  )
 
 otb_add_test(NAME owTuInputVectorDataParameter COMMAND otbApplicationEngineTestDriver
   otbWrapperInputVectorDataParameterNew
@@ -186,9 +183,6 @@ otb_add_test(NAME owTvDocExampleStructureTest COMMAND otbApplicationEngineTestDr
   ${TEMP}/owTuDocExampleStructureTest.txt
   )
 
-otb_add_test(NAME owTuDocExampleStructureNew COMMAND otbApplicationEngineTestDriver
-  otbWrapperDocExampleStructureNew
-  )
 
 # Warning this test require otbapp_Smoothing and otbapp_ConcatenateImages to be built
 otb_add_test(NAME owTvApplicationMemoryConnectTest COMMAND otbApplicationEngineTestDriver otbApplicationMemoryConnectTest
diff --git a/Modules/Wrappers/CommandLine/test/CMakeLists.txt b/Modules/Wrappers/CommandLine/test/CMakeLists.txt
index 2ab3bf07bc..d5801eff5e 100644
--- a/Modules/Wrappers/CommandLine/test/CMakeLists.txt
+++ b/Modules/Wrappers/CommandLine/test/CMakeLists.txt
@@ -32,9 +32,6 @@ otb_module_target_label(otbCommandLineTestDriver)
 
 # Tests Declaration
 
-otb_add_test(NAME clTuWrapperCommandLineLauncherNew
-  COMMAND otbCommandLineTestDriver otbWrapperCommandLineLauncherNew )
-
 otb_add_test(NAME clTvWrapperCommandLineLauncherTest_WrongParam
   COMMAND otbCommandLineTestDriver otbWrapperCommandLineLauncherTest
   "Rescale" $<TARGET_FILE_DIR:otbapp_Rescale> -inn image)
@@ -97,9 +94,6 @@ otb_add_test(NAME clTvWrapperCommandLineParserTest_IsAttExistsEndNoParam
   "-m"
   "TrainImagesClassifier" "test" "-il" "QB_1_ortho.tif" "-vd" "vd" ".shape" "test" "-m")
 
-otb_add_test(NAME clTuWrapperCommandLineParserNew
-  COMMAND otbCommandLineTestDriver otbWrapperCommandLineParserNew )
-
 otb_add_test(NAME clTvWrapperCommandLineParserTest_MultiplePathOneWrong
   COMMAND otbCommandLineTestDriver otbWrapperCommandLineParserTest2
   "Rescale" $<TARGET_FILE_DIR:otbapp_Rescale> "FakePath")
diff --git a/Modules/Wrappers/QtWidget/test/CMakeLists.txt b/Modules/Wrappers/QtWidget/test/CMakeLists.txt
index 7684b4eb6e..8fa370d681 100644
--- a/Modules/Wrappers/QtWidget/test/CMakeLists.txt
+++ b/Modules/Wrappers/QtWidget/test/CMakeLists.txt
@@ -33,9 +33,6 @@ otb_module_target_label(otbQtWidgetTestDriver)
 
 # Tests Declaration
 
-otb_add_test(NAME owTvQtLogOutputNew COMMAND otbQtWidgetTestDriver
-  otbQtLogOutputNew)
-
 otb_add_test(NAME owTvQtWidgetParameterGroup COMMAND otbQtWidgetTestDriver
   otbWrapperQtWidgetParameterGroup)
 
-- 
GitLab