From a534ee8749fb62ea95d5a5742ed1719fefd61ae1 Mon Sep 17 00:00:00 2001
From: Julien Michel <julien.michel@cnes.fr>
Date: Wed, 25 Jul 2018 15:29:18 +0200
Subject: [PATCH] TEST: Remove all new tests embedded in cxx files that were
 not named *New.cxx

---
 .../Cookbook/rst/recipes/bandmathx.rst        | 10 ----
 .../test/otbImageRegionAdaptativeSplitter.cxx |  8 ---
 .../test/otbImageRegionSquareTileSplitter.cxx |  8 ---
 .../Common/test/otbRGBAPixelConverter.cxx     | 25 --------
 .../test/otbStandardFilterWatcherNew.cxx      | 28 ---------
 .../test/otbVariableLengthVectorConverter.cxx | 31 ----------
 .../otbComplexToVectorImageCastFilter.cxx     | 14 -----
 .../test/otbImageFunctionAdaptor.cxx          | 42 -------------
 .../ImageBase/test/otbMetaImageFunction.cxx   |  6 --
 .../test/otbBCOInterpolateImageFunction.cxx   | 22 -------
 ...andsStatisticsAttributesLabelMapFilter.cxx |  5 --
 .../otbKMeansAttributesLabelMapFilter.cxx     |  5 --
 ...abelImageToLabelMapWithAdjacencyFilter.cxx |  7 ---
 .../otbMinMaxAttributesLabelMapFilter.cxx     |  5 --
 .../otbNormalizeAttributesLabelMapFilter.cxx  |  5 --
 .../otbPipelineMemoryPrintCalculatorTest.cxx  |  6 --
 .../Streaming/test/otbStreamingManager.cxx    | 19 ------
 .../test/otbVectorDataKeywordlistTest.cxx     |  6 --
 .../otbDescriptorsListSampleGenerator.cxx     |  9 ---
 .../otbLabeledSampleLocalizationGenerator.cxx | 12 ----
 .../test/otbObjectDetectionClassifier.cxx     |  6 --
 .../otbStandardMetaImageFunctionBuilder.cxx   | 12 ----
 .../otbVectorDataToRoadDescriptionFilter.cxx  | 16 -----
 ...VectorDataToRightAngleVectorDataFilter.cxx | 13 ----
 .../test/otbFourierMellinDescriptors.cxx      | 15 -----
 ...OrientedGradientCovariantImageFunction.cxx |  9 ---
 .../Edge/test/otbLineSegmentDetector.cxx      | 16 -----
 .../test/otbStreamingLineSegmentDetector.cxx  | 15 -----
 .../test/otbComplexMomentsImageFunction.cxx   | 15 -----
 .../test/otbFlusserMomentsImageFunction.cxx   | 15 -----
 .../test/otbHuMomentsImageFunction.cxx        | 15 -----
 .../test/otbRadiometricMomentsImageFilter.cxx | 17 ------
 .../otbRadiometricMomentsImageFunction.cxx    | 15 -----
 .../test/otbRealMomentsImageFunction.cxx      | 15 -----
 .../test/otbHaralickTexturesImageFunction.cxx |  6 --
 ...ScalarImageToHigherOrderTexturesFilter.cxx |  8 ---
 ...tivariateAlterationDetectorImageFilter.cxx |  6 --
 ...aximumAutocorrelationFactorImageFilter.cxx |  6 --
 .../test/otbClampImageFilter.cxx              |  7 ---
 .../test/otbClampVectorImageFilter.cxx        |  7 ---
 ...bConcatenateScalarValueImageFilterTest.cxx |  6 --
 .../test/otbMaskedIteratorDecorator.cxx       | 10 ----
 .../test/otbMatrixImageFilterTest.cxx         | 11 ----
 .../test/otbThresholdVectorImageFilter.cxx    |  7 ---
 .../test/otbTileImageFilter.cxx               |  7 ---
 .../test/otbBandMathImageFilter.cxx           | 11 ----
 .../otbImageListToSingleImageFilterTest.cxx   | 17 ------
 ...ParserConditionDataNodeFeatureFunction.cxx | 15 -----
 .../MathParser/test/otbParserTest.cxx         |  7 ---
 .../test/otbBandMathXImageFilter.cxx          | 10 ----
 .../Polarimetry/test/otbPolarimetricData.cxx  |  6 --
 .../test/otbReciprocalBarnesDecomp.cxx        | 13 ----
 .../test/otbReciprocalHuynenDecomp.cxx        | 13 ----
 .../test/otbReciprocalPauliDecomp.cxx         | 13 ----
 .../test/otbSinclairImageFilter.cxx           | 14 -----
 .../test/otbSinclairReciprocalImageFilter.cxx | 14 -----
 .../test/otbGenericRSResampleImageFilter.cxx  |  7 ---
 .../test/otbGeographicalDistance.cxx          | 10 ----
 .../otbImageToEnvelopeVectorDataFilter.cxx    |  7 ---
 .../otbImageToGenericRSOutputParameters.cxx   |  7 ---
 .../Projection/test/otbMapProjectionsNew.cxx  | 29 ---------
 .../Projection/test/otbRationalTransform.cxx  |  9 ---
 ...tbSpectralAngleDataNodeFeatureFunction.cxx | 14 -----
 .../test/otbVectorDataTransformFilter.cxx     |  6 --
 .../test/otbConcatenateSampleListFilter.cxx   |  6 --
 ...bGaussianAdditiveNoiseSampleListFilter.cxx |  5 --
 .../test/otbListSampleGeneratorTest.cxx       | 11 ----
 ...tbListSampleToBalancedListSampleFilter.cxx |  5 --
 .../test/otbProjectiveProjection.cxx          |  6 --
 .../test/otbShiftScaleSampleListFilter.cxx    |  6 --
 .../test/otbStreamingCompareImageFilter.cxx   | 15 -----
 ...otbStreamingHistogramVectorImageFilter.cxx |  9 ---
 .../test/otbConcatenateVectorDataFilter.cxx   |  6 --
 .../otbDBOverlapDataNodeFeatureFunction.cxx   | 13 ----
 ...ithNeighborhoodDataNodeFeatureFunction.cxx | 14 -----
 .../otbVectorDataToRandomLineGenerator.cxx    | 12 ----
 ...torDataToSpecificDescriptionFilterBase.cxx | 14 -----
 .../test/otbFuzzyDescriptorsModelManager.cxx  |  5 --
 .../test/otbVCAImageFilter.cxx                |  6 --
 .../test/otbImageToOSMVectorDataGenerator.cxx |  7 ---
 .../test/otbOSMDataToVectorDataTests.cxx      |  7 ---
 .../IOGDAL/test/otbGDALOverviewsBuilder.cxx   |  9 ---
 .../test/otbTileMapImageIOHelperTest.cxx      |  7 ---
 .../IO/ImageIO/test/otbComplexImageTests.cxx  |  9 ---
 .../IO/KMZWriter/test/otbKmzProductWriter.cxx |  5 --
 .../otbConfusionMatrixToMassOfBeliefTest.cxx  | 29 ---------
 ...tbDSFusionOfClassifiersImageFilterTest.cxx | 27 ---------
 .../test/otbStandardDSCostFunction.cxx        | 15 -----
 ...ectorDataToDSValidatedVectorDataFilter.cxx | 15 -----
 .../test/otbAutoencoderModelTest.cxx          |  6 --
 .../test/otbPCAModelTest.cxx                  |  6 --
 .../test/otbSOMModelTest.cxx                  |  9 ---
 .../test/otbGaussianModelComponent.cxx        | 12 ----
 .../test/otbMRFEnergyFisherClassification.cxx | 15 -----
 .../otbImageSampleExtractorFilterTest.cxx     |  9 ---
 .../otbOGRDataToClassStatisticsFilterTest.cxx | 10 ----
 .../otbOGRDataToSamplePositionFilterTest.cxx  | 10 ----
 .../otbSamplingRateCalculatorListTest.cxx     |  8 ---
 .../test/otbSamplingRateCalculatorTest.cxx    |  8 ---
 .../test/otbConfusionMatrixCalculatorTest.cxx | 16 -----
 .../otbConfusionMatrixMeasurementsTest.cxx    | 28 ---------
 .../test/otbImageClassificationFilter.cxx     |  5 --
 .../Supervised/test/otbLabelMapClassifier.cxx |  5 --
 .../Supervised/test/otbSVMMarginSampler.cxx   | 13 ----
 .../test/otbTrainMachineLearningModel.cxx     | 60 -------------------
 .../otbContingencyTableCalculatorTest.cxx     | 10 ----
 ...bTrainMachineLearningUnsupervisedModel.cxx |  6 --
 .../test/otbNDVIDataNodeFeatureFunction.cxx   | 14 -----
 .../test/otbAtmosphericRadiativeTermsTest.cxx | 19 ------
 ...nceToSurfaceReflectanceImageFilterTest.cxx | 16 -----
 .../test/otbSpectralSensitivityReaderTest.cxx |  9 ---
 .../test/otbWavelengthSpectralBandsTest.cxx   | 14 -----
 ...rfaceReflectanceToReflectanceFilterNew.cxx | 15 -----
 .../test/otbDisparityMapMedianFilter.cxx      |  7 ---
 .../test/otbDisparityMapTo3DFilter.cxx        |  7 ---
 .../test/otbDisparityMapToDEMFilter.cxx       |  8 ---
 .../test/otbDisparityTranslateFilter.cxx      |  6 --
 .../test/otbMultiDisparityMapTo3DFilter.cxx   |  7 ---
 .../otbPixelWiseBlockMatchingImageFilter.cxx  |  7 ---
 .../test/otbSubPixelDisparityImageFilter.cxx  |  8 ---
 .../test/otbAdhesionCorrectionFilter.cxx      |  8 ---
 .../test/otbBijectionCoherencyFilter.cxx      |  7 ---
 .../Stereo/test/otbMulti3DMapToDEMFilter.cxx  |  7 ---
 ...bStereoSensorModelToElevationMapFilter.cxx |  8 ---
 ...eorectificationDisplacementFieldSource.cxx |  7 ---
 ...otbStreamingConnectedComponentOBIATest.cxx |  8 ---
 .../otbLabelImageToOGRDataSourceFilter.cxx    | 13 ----
 .../otbOGRDataSourceToLabelImageFilter.cxx    |  5 --
 .../test/otbVectorDataRasterizeFilter.cxx     |  5 --
 .../test/otbVectorDataToLabelImageFilter.cxx  |  5 --
 ...WrapperApplicationHtmlDocGeneratorTest.cxx |  7 ---
 .../test/otbWrapperApplicationTest.cxx        |  6 --
 .../test/otbWrapperChoiceParameterTest.cxx    |  7 ---
 .../otbWrapperDocExampleStructureTest.cxx     |  7 ---
 .../test/otbWrapperEmptyParameterTest.cxx     |  9 ---
 .../otbWrapperInputImageListParameterTest.cxx |  7 ---
 .../otbWrapperInputImageParameterTest.cxx     |  7 ---
 ...rapperInputVectorDataListParameterTest.cxx |  7 ---
 ...otbWrapperInputVectorDataParameterTest.cxx |  7 ---
 .../test/otbWrapperNumericalParameterTest.cxx |  7 ---
 .../otbWrapperOutputImageParameterTest.cxx    |  7 ---
 .../test/otbWrapperParameterListTest.cxx      |  9 ---
 .../otbWrapperStringListParameterTest.cxx     |  7 ---
 .../test/otbWrapperStringParameterTest.cxx    |  7 ---
 .../otbWrapperCommandLineLauncherTests.cxx    |  7 ---
 .../test/otbWrapperCommandLineParserTests.cxx |  6 --
 .../QtWidget/test/otbQtLogOutputTests.cxx     |  5 --
 147 files changed, 1598 deletions(-)

diff --git a/Documentation/Cookbook/rst/recipes/bandmathx.rst b/Documentation/Cookbook/rst/recipes/bandmathx.rst
index dbe74dc2df..d1036da139 100644
--- a/Documentation/Cookbook/rst/recipes/bandmathx.rst
+++ b/Documentation/Cookbook/rst/recipes/bandmathx.rst
@@ -16,16 +16,6 @@ A simple example is given below:
     #include "otbBandMathImageFilterX.h"
     #include "otbVectorImage.h"
 
-    int otbBandMathImageFilterXNew( int itkNotUsed(argc), char* itkNotUsed(argv) [])
-    {
-        typedef double                                                      PixelType;
-        typedef otb::VectorImage<PixelType, 2>                      ImageType;
-        typedef otb::BandMathImageFilterX<ImageType>                FilterType;
-
-        FilterType::Pointer         filter       = FilterType::New();
-
-        return EXIT_SUCCESS;
-    }
 
 As we can see, the new band math filter works with the class
 otb::VectorImage.
diff --git a/Modules/Core/Common/test/otbImageRegionAdaptativeSplitter.cxx b/Modules/Core/Common/test/otbImageRegionAdaptativeSplitter.cxx
index 4cbb881ffe..20f13f5ddd 100644
--- a/Modules/Core/Common/test/otbImageRegionAdaptativeSplitter.cxx
+++ b/Modules/Core/Common/test/otbImageRegionAdaptativeSplitter.cxx
@@ -27,14 +27,6 @@ typedef SplitterType::RegionType                      RegionType;
 typedef RegionType::SizeType                          SizeType;
 typedef RegionType::IndexType                         IndexType;
 
-int otbImageRegionAdaptativeSplitterNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  SplitterType::Pointer splitter = SplitterType::New();
-
-  std::cout<<splitter<<std::endl;
-
-  return EXIT_SUCCESS;
-}
 
 int otbImageRegionAdaptativeSplitter(int itkNotUsed(argc), char * argv[])
 {
diff --git a/Modules/Core/Common/test/otbImageRegionSquareTileSplitter.cxx b/Modules/Core/Common/test/otbImageRegionSquareTileSplitter.cxx
index 938364d04e..9e02b3ccc3 100644
--- a/Modules/Core/Common/test/otbImageRegionSquareTileSplitter.cxx
+++ b/Modules/Core/Common/test/otbImageRegionSquareTileSplitter.cxx
@@ -28,14 +28,6 @@ typedef SquareTileSplitterType::SizeType                        SizeType;
 typedef SquareTileSplitterType::RegionType                      RegionType;
 
 
-int otbImageRegionSquareTileSplitterNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  SquareTileSplitterType::Pointer splitter = SquareTileSplitterType::New();
-
-  std::cout << splitter << std::endl;
-
-  return EXIT_SUCCESS;
-}
 
 int TestSplitter(const RegionType& region, unsigned int PixelSize, unsigned int MaxTileSize, std::ostream& os)
 {
diff --git a/Modules/Core/Common/test/otbRGBAPixelConverter.cxx b/Modules/Core/Common/test/otbRGBAPixelConverter.cxx
index 83e148a164..2acd9766e5 100644
--- a/Modules/Core/Common/test/otbRGBAPixelConverter.cxx
+++ b/Modules/Core/Common/test/otbRGBAPixelConverter.cxx
@@ -24,31 +24,6 @@
 
 #include "otbRGBAPixelConverter.h"
 
-int otbRGBAPixelConverterNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  typedef unsigned char                                          PixelType0;
-  typedef double                                                 PixelType1;
-  typedef itk::RGBAPixel<unsigned char>                          PixelType2;
-  typedef itk::RGBPixel<double>                                  PixelType3;
-
-  typedef otb::RGBAPixelConverter<PixelType0, PixelType0>        ConverterType0;
-  typedef otb::RGBAPixelConverter<PixelType1, PixelType1>        ConverterType1;
-  typedef otb::RGBAPixelConverter<PixelType0, PixelType2>        ConverterType2;
-  typedef otb::RGBAPixelConverter<PixelType0, PixelType3>        ConverterType3;
-
-  // Instantiating object
-  ConverterType0::Pointer converter0 = ConverterType0::New();
-  ConverterType1::Pointer converter1 = ConverterType1::New();
-  ConverterType2::Pointer converter2 = ConverterType2::New();
-  ConverterType3::Pointer converter3 = ConverterType3::New();
-
-  std::cout << converter0 << std::endl;
-  std::cout << converter1 << std::endl;
-  std::cout << converter2 << std::endl;
-  std::cout << converter3 << std::endl;
-
-  return EXIT_SUCCESS;
-}
 
 int otbRGBAPixelConverter(int itkNotUsed(argc), char * itkNotUsed(argv) [])
 {
diff --git a/Modules/Core/Common/test/otbStandardFilterWatcherNew.cxx b/Modules/Core/Common/test/otbStandardFilterWatcherNew.cxx
index 855e28466b..5cf0bb1327 100644
--- a/Modules/Core/Common/test/otbStandardFilterWatcherNew.cxx
+++ b/Modules/Core/Common/test/otbStandardFilterWatcherNew.cxx
@@ -25,34 +25,6 @@
 #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;
diff --git a/Modules/Core/Common/test/otbVariableLengthVectorConverter.cxx b/Modules/Core/Common/test/otbVariableLengthVectorConverter.cxx
index ebfbd62caf..4b35734a9a 100644
--- a/Modules/Core/Common/test/otbVariableLengthVectorConverter.cxx
+++ b/Modules/Core/Common/test/otbVariableLengthVectorConverter.cxx
@@ -23,34 +23,3 @@
 
 #include "otbVariableLengthVectorConverter.h"
 
-int otbVariableLengthVectorConverterNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  typedef itk::VariableLengthVector<double>                      InputType0;
-  typedef std::vector< std::vector< double > >                   InputType1;
-  typedef std::vector< std::vector< std::complex< double > > >   InputType2;
-  typedef itk::FixedArray<double>                                InputType3;
-
-  typedef float                                                  PrecisionType;
-
-  typedef otb::VariableLengthVectorConverter<InputType0, PrecisionType>
-                                                                 ConverterType0;
-  typedef otb::VariableLengthVectorConverter<InputType1, PrecisionType>
-                                                                 ConverterType1;
-  typedef otb::VariableLengthVectorConverter<InputType2, PrecisionType>
-                                                                 ConverterType2;
-  typedef otb::VariableLengthVectorConverter<InputType3, PrecisionType>
-                                                                 ConverterType3;
-
-  // Instantiating object
-  ConverterType0::Pointer converter0 = ConverterType0::New();
-  ConverterType1::Pointer converter1 = ConverterType1::New();
-  ConverterType2::Pointer converter2 = ConverterType2::New();
-  ConverterType3::Pointer converter3 = ConverterType3::New();
-
-  std::cout << converter0 << std::endl;
-  std::cout << converter1 << std::endl;
-  std::cout << converter2 << std::endl;
-  std::cout << converter3 << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Core/ImageBase/test/otbComplexToVectorImageCastFilter.cxx b/Modules/Core/ImageBase/test/otbComplexToVectorImageCastFilter.cxx
index 20ed6d37a4..8d1db89e3f 100644
--- a/Modules/Core/ImageBase/test/otbComplexToVectorImageCastFilter.cxx
+++ b/Modules/Core/ImageBase/test/otbComplexToVectorImageCastFilter.cxx
@@ -27,20 +27,6 @@
 #include "otbImageFileWriter.h"
 
 
-int otbComplexToVectorImageCastFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  typedef std::complex<float>        ComplexType;
-  typedef otb::VectorImage<ComplexType, 2> CplxImageType;
-  typedef otb::VectorImage<float, 2> VectorImageType;
-
-  typedef otb::ComplexToVectorImageCastFilter<CplxImageType, VectorImageType> FilterType;
-
-  // Instantiating object
-  FilterType::Pointer caster = FilterType::New();
-
-
-  return EXIT_SUCCESS;
-}
 
 int otbComplexToVectorImageCastFilterTest(int itkNotUsed(argc), char * argv[])
 {
diff --git a/Modules/Core/ImageBase/test/otbImageFunctionAdaptor.cxx b/Modules/Core/ImageBase/test/otbImageFunctionAdaptor.cxx
index a24f75cc92..2680041506 100644
--- a/Modules/Core/ImageBase/test/otbImageFunctionAdaptor.cxx
+++ b/Modules/Core/ImageBase/test/otbImageFunctionAdaptor.cxx
@@ -35,48 +35,6 @@
 #include "otbLocalHistogramImageFunction.h"
 
 
-int otbImageFunctionAdaptorNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  typedef double InputPixelType;
-  typedef double PrecisionType;
-  const unsigned int Dimension = 2;
-
-  typedef otb::Image<InputPixelType,  Dimension>                        InputImageType;
-
-  typedef otb::FourierMellinDescriptorsImageFunction<InputImageType>    FMDFunctionType;
-  typedef otb::RealMomentsImageFunction<InputImageType>                 RMFunctionType;
-  typedef otb::ComplexMomentsImageFunction<InputImageType>              CMFunctionType;
-  typedef otb::FlusserMomentsImageFunction<InputImageType>              FMFunctionType;
-  typedef otb::HuMomentsImageFunction<InputImageType>                   HMFunctionType;
-  typedef otb::RadiometricMomentsImageFunction<InputImageType>          RaMFunctionType;
-  typedef otb::LocalHistogramImageFunction<InputImageType>              LHFunctionType;
-
-  typedef otb::ImageFunctionAdaptor<FMDFunctionType, PrecisionType>                    FMDImageFunctionAdaptorType;
-  typedef otb::ImageFunctionAdaptor<RMFunctionType, PrecisionType>                     RMImageFunctionAdaptorType;
-  typedef otb::ImageFunctionAdaptor<CMFunctionType, PrecisionType>                     CMImageFunctionAdaptorType;
-  typedef otb::ImageFunctionAdaptor<FMFunctionType, PrecisionType>                     FMImageFunctionAdaptorType;
-  typedef otb::ImageFunctionAdaptor<HMFunctionType, PrecisionType>                     HMImageFunctionAdaptorType;
-  typedef otb::ImageFunctionAdaptor<RaMFunctionType, PrecisionType>                    RaMImageFunctionAdaptorType;
-  typedef otb::ImageFunctionAdaptor<LHFunctionType, PrecisionType>                     LHImageFunctionAdaptorType;
-
-  // Instantiating objects
-  FMDImageFunctionAdaptorType::Pointer FMDadaptedFunction = FMDImageFunctionAdaptorType::New();
-  std::cout << FMDadaptedFunction << std::endl;
-  RMImageFunctionAdaptorType::Pointer RMadaptedFunction = RMImageFunctionAdaptorType::New();
-  std::cout << RMadaptedFunction << std::endl;
-  CMImageFunctionAdaptorType::Pointer CMadaptedFunction = CMImageFunctionAdaptorType::New();
-  std::cout << CMadaptedFunction << std::endl;
-  FMImageFunctionAdaptorType::Pointer FMadaptedFunction = FMImageFunctionAdaptorType::New();
-  std::cout << FMadaptedFunction << std::endl;
-  HMImageFunctionAdaptorType::Pointer HMadaptedFunction = HMImageFunctionAdaptorType::New();
-  std::cout << HMadaptedFunction << std::endl;
-  RaMImageFunctionAdaptorType::Pointer RaMadaptedFunction = RaMImageFunctionAdaptorType::New();
-  std::cout << RaMadaptedFunction << std::endl;
-  LHImageFunctionAdaptorType::Pointer LHadaptedFunction = LHImageFunctionAdaptorType::New();
-  std::cout << LHadaptedFunction << std::endl;
-
-  return EXIT_SUCCESS;
-}
 
 int otbImageFunctionAdaptor(int itkNotUsed(argc), char * argv[])
 {
diff --git a/Modules/Core/ImageBase/test/otbMetaImageFunction.cxx b/Modules/Core/ImageBase/test/otbMetaImageFunction.cxx
index aeaebea937..442fddb88c 100644
--- a/Modules/Core/ImageBase/test/otbMetaImageFunction.cxx
+++ b/Modules/Core/ImageBase/test/otbMetaImageFunction.cxx
@@ -39,12 +39,6 @@ typedef otb::MetaImageFunction<PrecisionType, double>                 MetaImageF
 typedef MetaImageFunctionType::PointType                              PointType;
 typedef MetaImageFunctionType::OutputType                             OutputType;
 
-int otbMetaImageFunctionNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  MetaImageFunctionType::Pointer function = MetaImageFunctionType::New();
-
-  return EXIT_SUCCESS;
-}
 
 int otbMetaImageFunction(int itkNotUsed(argc), char * argv[])
 {
diff --git a/Modules/Core/Interpolation/test/otbBCOInterpolateImageFunction.cxx b/Modules/Core/Interpolation/test/otbBCOInterpolateImageFunction.cxx
index a99e8d8931..7cf139fef5 100644
--- a/Modules/Core/Interpolation/test/otbBCOInterpolateImageFunction.cxx
+++ b/Modules/Core/Interpolation/test/otbBCOInterpolateImageFunction.cxx
@@ -27,18 +27,6 @@
 #include "otbStreamingResampleImageFilter.h"
 
 
-int otbBCOInterpolateImageFunctionNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  typedef otb::Image<double, 2>                                           ImageType;
-  typedef otb::BCOInterpolateImageFunction<ImageType, double>             InterpolatorType;
-
-  // Instantiating object
-  InterpolatorType::Pointer interp = InterpolatorType::New();
-
-  std::cout << interp << std::endl;
-
-  return EXIT_SUCCESS;
-}
 
 int otbBCOInterpolateImageFunction(int argc, char * argv[])
 {
@@ -183,16 +171,6 @@ int otbBCOInterpolateImageFunction2(int argc, char * argv[])
 
 
 
-int otbBCOInterpolateImageFunctionOverVectorImageNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  typedef otb::VectorImage<double, 2>                                     ImageType;
-  typedef otb::BCOInterpolateImageFunction<ImageType, double>             InterpolatorType;
-
-  // Instantiating object
-  InterpolatorType::Pointer filter = InterpolatorType::New();
-
-  return EXIT_SUCCESS;
-}
 
 
 int otbBCOInterpolateImageFunctionOverVectorImage(int argc, char * argv[])
diff --git a/Modules/Core/LabelMap/test/otbBandsStatisticsAttributesLabelMapFilter.cxx b/Modules/Core/LabelMap/test/otbBandsStatisticsAttributesLabelMapFilter.cxx
index 08d63c20c8..a04335d90b 100644
--- a/Modules/Core/LabelMap/test/otbBandsStatisticsAttributesLabelMapFilter.cxx
+++ b/Modules/Core/LabelMap/test/otbBandsStatisticsAttributesLabelMapFilter.cxx
@@ -48,11 +48,6 @@ typedef itk::LabelImageToLabelMapFilter<LabeledImageType, LabelMapType>
 typedef otb::BandsStatisticsAttributesLabelMapFilter<LabelMapType, VectorImageType> BandsStatisticsFilterType;
 
 
-int otbBandsStatisticsAttributesLabelMapFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv)[])
-{
-  BandsStatisticsFilterType::Pointer object = BandsStatisticsFilterType::New();
-  return EXIT_SUCCESS;
-}
 
 int otbBandsStatisticsAttributesLabelMapFilter(int itkNotUsed(argc), char* argv[])
 {
diff --git a/Modules/Core/LabelMap/test/otbKMeansAttributesLabelMapFilter.cxx b/Modules/Core/LabelMap/test/otbKMeansAttributesLabelMapFilter.cxx
index c6e0f2ccbe..e3dca5e9aa 100644
--- a/Modules/Core/LabelMap/test/otbKMeansAttributesLabelMapFilter.cxx
+++ b/Modules/Core/LabelMap/test/otbKMeansAttributesLabelMapFilter.cxx
@@ -47,11 +47,6 @@ typedef itk::LabelImageToLabelMapFilter<LabeledImageType, LabelMapType>
 typedef otb::ShapeAttributesLabelMapFilter<LabelMapType>                            ShapeFilterType;
 typedef otb::KMeansAttributesLabelMapFilter<LabelMapType>                           KMeansAttributesLabelMapFilterType;
 
-int otbKMeansAttributesLabelMapFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv)[])
-{
-  KMeansAttributesLabelMapFilterType::Pointer radiometricLabelMapFilter = KMeansAttributesLabelMapFilterType::New();
-  return EXIT_SUCCESS;
-}
 
 int otbKMeansAttributesLabelMapFilter(int itkNotUsed(argc), char * argv[])
 {
diff --git a/Modules/Core/LabelMap/test/otbLabelImageToLabelMapWithAdjacencyFilter.cxx b/Modules/Core/LabelMap/test/otbLabelImageToLabelMapWithAdjacencyFilter.cxx
index 4d7c467de7..fe259ba3a5 100644
--- a/Modules/Core/LabelMap/test/otbLabelImageToLabelMapWithAdjacencyFilter.cxx
+++ b/Modules/Core/LabelMap/test/otbLabelImageToLabelMapWithAdjacencyFilter.cxx
@@ -37,13 +37,6 @@ typedef otb::LabelImageToLabelMapWithAdjacencyFilter
 < LabelImageType, LabelMapType>                     FilterType;
 
 
-int otbLabelImageToLabelMapWithAdjacencyFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv)[])
-{
-  // Instantiation
-  FilterType::Pointer filter = FilterType::New();
-
-  return EXIT_SUCCESS;
-}
 
 int otbLabelImageToLabelMapWithAdjacencyFilter(int itkNotUsed(argc), char * argv[])
 {
diff --git a/Modules/Core/LabelMap/test/otbMinMaxAttributesLabelMapFilter.cxx b/Modules/Core/LabelMap/test/otbMinMaxAttributesLabelMapFilter.cxx
index 51af227ee8..2f60b16825 100644
--- a/Modules/Core/LabelMap/test/otbMinMaxAttributesLabelMapFilter.cxx
+++ b/Modules/Core/LabelMap/test/otbMinMaxAttributesLabelMapFilter.cxx
@@ -45,11 +45,6 @@ typedef otb::LabelImageToLabelMapWithAdjacencyFilter<LabeledImageType, LabelMapT
 typedef otb::ShapeAttributesLabelMapFilter<LabelMapType>                        ShapeFilterType;
 typedef otb::MinMaxAttributesLabelMapFilter<LabelMapType>                       MinMaxAttributesLabelMapFilterType;
 
-int otbMinMaxAttributesLabelMapFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv)[])
-{
-  MinMaxAttributesLabelMapFilterType::Pointer radiometricLabelMapFilter = MinMaxAttributesLabelMapFilterType::New();
-  return EXIT_SUCCESS;
-}
 
 int otbMinMaxAttributesLabelMapFilter(int itkNotUsed(argc), char * argv[])
 {
diff --git a/Modules/Core/LabelMap/test/otbNormalizeAttributesLabelMapFilter.cxx b/Modules/Core/LabelMap/test/otbNormalizeAttributesLabelMapFilter.cxx
index fd325c980f..bd2ac5e7b0 100644
--- a/Modules/Core/LabelMap/test/otbNormalizeAttributesLabelMapFilter.cxx
+++ b/Modules/Core/LabelMap/test/otbNormalizeAttributesLabelMapFilter.cxx
@@ -47,11 +47,6 @@ typedef otb::ShapeAttributesLabelMapFilter<LabelMapType>
 typedef otb::MinMaxAttributesLabelMapFilter<LabelMapType>                       MinMaxAttributesLabelMapFilterType;
 typedef otb::NormalizeAttributesLabelMapFilter<LabelMapType>                    NormalizeAttributesLabelMapFilterType;
 
-int otbNormalizeAttributesLabelMapFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv)[])
-{
-  NormalizeAttributesLabelMapFilterType::Pointer normalizeLabelMapFilter = NormalizeAttributesLabelMapFilterType::New();
-  return EXIT_SUCCESS;
-}
 
 int otbNormalizeAttributesLabelMapFilter(int itkNotUsed(argc), char * argv[])
 {
diff --git a/Modules/Core/Streaming/test/otbPipelineMemoryPrintCalculatorTest.cxx b/Modules/Core/Streaming/test/otbPipelineMemoryPrintCalculatorTest.cxx
index b63893843f..21ce77e04f 100644
--- a/Modules/Core/Streaming/test/otbPipelineMemoryPrintCalculatorTest.cxx
+++ b/Modules/Core/Streaming/test/otbPipelineMemoryPrintCalculatorTest.cxx
@@ -25,12 +25,6 @@
 #include "otbImageFileReader.h"
 #include "otbVectorImageToIntensityImageFilter.h"
 
-int otbPipelineMemoryPrintCalculatorNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  otb::PipelineMemoryPrintCalculator::Pointer calculator = otb::PipelineMemoryPrintCalculator::New();
-
-  return EXIT_SUCCESS;
-}
 
 
 int otbPipelineMemoryPrintCalculatorTest(int itkNotUsed(argc), char * argv[])
diff --git a/Modules/Core/Streaming/test/otbStreamingManager.cxx b/Modules/Core/Streaming/test/otbStreamingManager.cxx
index b128f7fb13..3bb2259bfd 100644
--- a/Modules/Core/Streaming/test/otbStreamingManager.cxx
+++ b/Modules/Core/Streaming/test/otbStreamingManager.cxx
@@ -52,25 +52,6 @@ ImageType::Pointer makeImage(ImageType::RegionType region)
   return image;
 }
 
-int otbStreamingManagerNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  NbLinesStrippedStreamingManagerType::Pointer streamingManager1 = NbLinesStrippedStreamingManagerType::New();
-  std::cout << streamingManager1 << std::endl;
-
-  RAMDrivenStrippedStreamingManagerType::Pointer streamingManager2 = RAMDrivenStrippedStreamingManagerType::New();
-  std::cout << streamingManager2 << std::endl;
-
-  TileDimensionTiledStreamingManagerType::Pointer streamingManager3 = TileDimensionTiledStreamingManagerType::New();
-  std::cout << streamingManager3 << std::endl;
-
-  RAMDrivenTiledStreamingManagerType::Pointer streamingManager4 = RAMDrivenTiledStreamingManagerType::New();
-  std::cout << streamingManager4 << std::endl;
-
-  RAMDrivenAdaptativeStreamingManagerType::Pointer streamingManager5 = RAMDrivenAdaptativeStreamingManagerType::New();
-  std::cout<<streamingManager5<<std::endl;
-
-  return EXIT_SUCCESS;
-}
 
 
 int otbNumberOfLinesStrippedStreamingManager(int itkNotUsed(argc), char * argv[])
diff --git a/Modules/Core/VectorDataBase/test/otbVectorDataKeywordlistTest.cxx b/Modules/Core/VectorDataBase/test/otbVectorDataKeywordlistTest.cxx
index 1f3caf484e..6c4861bb27 100644
--- a/Modules/Core/VectorDataBase/test/otbVectorDataKeywordlistTest.cxx
+++ b/Modules/Core/VectorDataBase/test/otbVectorDataKeywordlistTest.cxx
@@ -26,12 +26,6 @@
 #include "otbVectorDataFileReader.h"
 #include "otbMetaDataKey.h"
 
-int otbVectorDataKeywordlistNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  otb::VectorDataKeywordlist kwl;
-  std::cout << kwl << std::endl;
-  return EXIT_SUCCESS;
-}
 
 int otbVectorDataKeywordlist(int itkNotUsed(argc), char * argv[])
 {
diff --git a/Modules/Detection/ObjectDetection/test/otbDescriptorsListSampleGenerator.cxx b/Modules/Detection/ObjectDetection/test/otbDescriptorsListSampleGenerator.cxx
index 2996c1ef79..e11050f4ac 100644
--- a/Modules/Detection/ObjectDetection/test/otbDescriptorsListSampleGenerator.cxx
+++ b/Modules/Detection/ObjectDetection/test/otbDescriptorsListSampleGenerator.cxx
@@ -100,15 +100,6 @@ std::ostream &operator<<(std::ostream &stream, SampleEntry entry)
   return stream;
 }
 
-int otbDescriptorsListSampleGeneratorNew(int itkNotUsed(argc), char* itkNotUsed(argv)[])
-{
-  // instantiation
-  DescriptorsListSampleGeneratorType::Pointer generator = DescriptorsListSampleGeneratorType::New();
-
-  std::cout << generator << std::endl;
-
-  return EXIT_SUCCESS;
-}
 
 int otbDescriptorsListSampleGenerator(int argc, char* argv[])
 {
diff --git a/Modules/Detection/ObjectDetection/test/otbLabeledSampleLocalizationGenerator.cxx b/Modules/Detection/ObjectDetection/test/otbLabeledSampleLocalizationGenerator.cxx
index 39165615ed..25e2124c1e 100644
--- a/Modules/Detection/ObjectDetection/test/otbLabeledSampleLocalizationGenerator.cxx
+++ b/Modules/Detection/ObjectDetection/test/otbLabeledSampleLocalizationGenerator.cxx
@@ -24,18 +24,6 @@
 #include "otbVectorDataFileWriter.h"
 #include "otbLabeledSampleLocalizationGenerator.h"
 
-int otbLabeledSampleLocalizationGeneratorNew(int itkNotUsed(argc), char* itkNotUsed(argv)[])
-{
-  typedef otb::VectorData<>                                        VectorDataType;
-  typedef otb::LabeledSampleLocalizationGenerator<VectorDataType>  GeneratorType;
-
-  // instantiation
-  GeneratorType::Pointer generator = GeneratorType::New();
-
-  std::cout << generator << std::endl;
-
-  return EXIT_SUCCESS;
-}
 
 int otbLabeledSampleLocalizationGenerator(int itkNotUsed(argc), char* argv[])
 {
diff --git a/Modules/Detection/ObjectDetection/test/otbObjectDetectionClassifier.cxx b/Modules/Detection/ObjectDetection/test/otbObjectDetectionClassifier.cxx
index 8d12d62a61..d196b53249 100644
--- a/Modules/Detection/ObjectDetection/test/otbObjectDetectionClassifier.cxx
+++ b/Modules/Detection/ObjectDetection/test/otbObjectDetectionClassifier.cxx
@@ -88,12 +88,6 @@ std::ostream &operator<<(std::ostream &stream, PointType p)
   return stream;
 }
 
-int otbObjectDetectionClassifierNew(int itkNotUsed(argc), char* itkNotUsed(argv)[])
-{
-  ObjectDetectionClassifierType::Pointer object = ObjectDetectionClassifierType::New();
-  std::cout << object << std::endl;
-  return EXIT_SUCCESS;
-}
 
 
 int otbObjectDetectionClassifier(int argc, char* argv[])
diff --git a/Modules/Detection/ObjectDetection/test/otbStandardMetaImageFunctionBuilder.cxx b/Modules/Detection/ObjectDetection/test/otbStandardMetaImageFunctionBuilder.cxx
index d27b3b46e8..8ee0029201 100644
--- a/Modules/Detection/ObjectDetection/test/otbStandardMetaImageFunctionBuilder.cxx
+++ b/Modules/Detection/ObjectDetection/test/otbStandardMetaImageFunctionBuilder.cxx
@@ -32,18 +32,6 @@
 #include "otbHaralickTexturesImageFunction.h"
 
 
-int otbStandardMetaImageFunctionBuilderNew(int itkNotUsed(argc), char* itkNotUsed(argv)[])
-{
-  typedef double                                                PrecisionType;
-  typedef otb::StandardMetaImageFunctionBuilder<PrecisionType>  BuilderType;
-
-  // instantiation
-  BuilderType::Pointer builder = BuilderType::New();
-
-  std::cout << builder << std::endl;
-
-  return EXIT_SUCCESS;
-}
 
 int otbStandardMetaImageFunctionBuilder(int itkNotUsed(argc), char* argv[])
 {
diff --git a/Modules/Detection/RoadExtraction/test/otbVectorDataToRoadDescriptionFilter.cxx b/Modules/Detection/RoadExtraction/test/otbVectorDataToRoadDescriptionFilter.cxx
index b670b92607..11648b341a 100644
--- a/Modules/Detection/RoadExtraction/test/otbVectorDataToRoadDescriptionFilter.cxx
+++ b/Modules/Detection/RoadExtraction/test/otbVectorDataToRoadDescriptionFilter.cxx
@@ -33,22 +33,6 @@
 
 
 
-int otbVectorDataToRoadDescriptionFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv)[])
-{
-  typedef double                          PrecisionType;
-  typedef otb::VectorData<PrecisionType>  VectorDataType;
-  typedef otb::VectorImage<PrecisionType> ImageType;
-
-  typedef otb::VectorDataToRoadDescriptionFilter<VectorDataType, ImageType>
-                                          VectorDataToRoadDescriptionFilterType;
-
-  VectorDataToRoadDescriptionFilterType::Pointer filter =
-    VectorDataToRoadDescriptionFilterType::New();
-
-  std::cout<<filter<<std::endl;
-
-  return EXIT_SUCCESS;
-}
 
 int otbVectorDataToRoadDescriptionFilter(int itkNotUsed(argc), char* argv[])
 {
diff --git a/Modules/Feature/Corner/test/otbVectorDataToRightAngleVectorDataFilter.cxx b/Modules/Feature/Corner/test/otbVectorDataToRightAngleVectorDataFilter.cxx
index f66f1dff14..6a91b54b26 100644
--- a/Modules/Feature/Corner/test/otbVectorDataToRightAngleVectorDataFilter.cxx
+++ b/Modules/Feature/Corner/test/otbVectorDataToRightAngleVectorDataFilter.cxx
@@ -29,19 +29,6 @@
 #include "otbImageFileWriter.h"
 
 
-int otbVectorDataToRightAngleVectorDataFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  /** Typedefs */
-  typedef otb::VectorData< >                    VectorDataType;
-  typedef otb::VectorDataToRightAngleVectorDataFilter<VectorDataType>
-                                                RightAngleFilterType;
-
-  RightAngleFilterType::Pointer filter  = RightAngleFilterType::New();
-
-  std::cout << filter << std::endl;
-
-  return EXIT_SUCCESS;
-}
 
 
 int otbVectorDataToRightAngleVectorDataFilter(int itkNotUsed(argc), char * argv[])
diff --git a/Modules/Feature/Descriptors/test/otbFourierMellinDescriptors.cxx b/Modules/Feature/Descriptors/test/otbFourierMellinDescriptors.cxx
index 5bfe656e02..42e0785daf 100644
--- a/Modules/Feature/Descriptors/test/otbFourierMellinDescriptors.cxx
+++ b/Modules/Feature/Descriptors/test/otbFourierMellinDescriptors.cxx
@@ -31,21 +31,6 @@
 #include "itkAffineTransform.h"
 
 
-int otbFourierMellinDescriptorsNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  const unsigned int Dimension = 2;
-  typedef double     InputPixelType;
-
-  typedef otb::Image<InputPixelType,  Dimension>                     ImageType;
-  typedef otb::FourierMellinDescriptorsImageFunction<ImageType>      FunctionType;
-
-  // Instantiating object
-  FunctionType::Pointer function = FunctionType::New();
-
-  std::cout << function << std::endl;
-
-  return EXIT_SUCCESS;
-}
 
 int otbFourierMellinDescriptors(int itkNotUsed(argc), char * argv[])
 {
diff --git a/Modules/Feature/Descriptors/test/otbHistogramOfOrientedGradientCovariantImageFunction.cxx b/Modules/Feature/Descriptors/test/otbHistogramOfOrientedGradientCovariantImageFunction.cxx
index 1732f66d59..0a26112ffa 100644
--- a/Modules/Feature/Descriptors/test/otbHistogramOfOrientedGradientCovariantImageFunction.cxx
+++ b/Modules/Feature/Descriptors/test/otbHistogramOfOrientedGradientCovariantImageFunction.cxx
@@ -41,15 +41,6 @@ typedef GradientFilterType::OutputImageType
 typedef otb::HistogramOfOrientedGradientCovariantImageFunction<CovariantImageType> FunctionType;
 
 
-int otbHistogramOfOrientedGradientCovariantImageFunctionNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  // Instantiating object
-  FunctionType::Pointer function       = FunctionType::New();
-
-  std::cout << function << std::endl;
-
-  return EXIT_SUCCESS;
-}
 
 
 int otbHistogramOfOrientedGradientCovariantImageFunction(int itkNotUsed(argc), char * argv[])
diff --git a/Modules/Feature/Edge/test/otbLineSegmentDetector.cxx b/Modules/Feature/Edge/test/otbLineSegmentDetector.cxx
index 88e3787a85..49ada8777e 100644
--- a/Modules/Feature/Edge/test/otbLineSegmentDetector.cxx
+++ b/Modules/Feature/Edge/test/otbLineSegmentDetector.cxx
@@ -25,22 +25,6 @@
 #include "otbVectorDataFileWriter.h"
 #include "otbImageFileWriter.h"
 
-int otbLineSegmentDetectorNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-
-  typedef float InputPixelType;
-  const unsigned int Dimension = 2;
-
-  /** Typedefs */
-  typedef otb::Image<InputPixelType,  Dimension>                   InputImageType;
-  typedef otb::LineSegmentDetector<InputImageType, InputPixelType> lsdFilterType;
-
-  lsdFilterType::Pointer filter = lsdFilterType::New();
-
-  std::cout << filter << std::endl;
-
-  return EXIT_SUCCESS;
-}
 
 int otbLineSegmentDetector(int argc, char * argv[])
 {
diff --git a/Modules/Feature/Edge/test/otbStreamingLineSegmentDetector.cxx b/Modules/Feature/Edge/test/otbStreamingLineSegmentDetector.cxx
index 32f8665269..3c3609ff3b 100644
--- a/Modules/Feature/Edge/test/otbStreamingLineSegmentDetector.cxx
+++ b/Modules/Feature/Edge/test/otbStreamingLineSegmentDetector.cxx
@@ -25,21 +25,6 @@
 #include "otbVectorDataFileWriter.h"
 
 
-int otbStreamingLineSegmentDetectorNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  typedef float InputPixelType;
-  const unsigned int Dimension = 2;
-
-  /** Typedefs */
-  typedef otb::Image<InputPixelType,  Dimension>       ImageType;
-  typedef otb::StreamingLineSegmentDetector<ImageType>::FilterType StreamingLSDFilterType;
-
-  StreamingLSDFilterType::Pointer lsdFilter = StreamingLSDFilterType::New();
-
-  std::cout << lsdFilter << std::endl;
-
-  return EXIT_SUCCESS;
-}
 
 int otbStreamingLineSegmentDetector(int itkNotUsed(argc), char * argv[])
 {
diff --git a/Modules/Feature/Moments/test/otbComplexMomentsImageFunction.cxx b/Modules/Feature/Moments/test/otbComplexMomentsImageFunction.cxx
index 32659c339f..040943a959 100644
--- a/Modules/Feature/Moments/test/otbComplexMomentsImageFunction.cxx
+++ b/Modules/Feature/Moments/test/otbComplexMomentsImageFunction.cxx
@@ -32,21 +32,6 @@
 #include "otbStreamingResampleImageFilter.h"
 
 
-int otbComplexMomentsImageFunctionNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  const unsigned int Dimension = 2;
-  typedef double     InputPixelType;
-
-  typedef otb::Image<InputPixelType,  Dimension>                    ImageType;
-  typedef otb::ComplexMomentsImageFunction<ImageType>               FunctionType;
-
-  // Instantiating object
-  FunctionType::Pointer function = FunctionType::New();
-
-  std::cout << function << std::endl;
-
-  return EXIT_SUCCESS;
-}
 
 int otbComplexMomentsImageFunction(int itkNotUsed(argc), char * argv[])
 {
diff --git a/Modules/Feature/Moments/test/otbFlusserMomentsImageFunction.cxx b/Modules/Feature/Moments/test/otbFlusserMomentsImageFunction.cxx
index 56648d1664..9ae98712c1 100644
--- a/Modules/Feature/Moments/test/otbFlusserMomentsImageFunction.cxx
+++ b/Modules/Feature/Moments/test/otbFlusserMomentsImageFunction.cxx
@@ -34,21 +34,6 @@
 #include "itkAffineTransform.h"
 
 
-int otbFlusserMomentsImageFunctionNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  typedef unsigned char InputPixelType;
-  const unsigned int Dimension = 2;
-
-  typedef otb::Image<InputPixelType,  Dimension>                  InputImageType;
-  typedef otb::FlusserMomentsImageFunction<InputImageType>        FunctionType;
-
-  // Instantiating object
-  FunctionType::Pointer function       = FunctionType::New();
-
-  std::cout << function << std::endl;
-
-  return EXIT_SUCCESS;
-}
 
 int otbFlusserMomentsImageFunction(int itkNotUsed(argc), char * argv[])
 {
diff --git a/Modules/Feature/Moments/test/otbHuMomentsImageFunction.cxx b/Modules/Feature/Moments/test/otbHuMomentsImageFunction.cxx
index f1a2f53d73..162d3e192a 100644
--- a/Modules/Feature/Moments/test/otbHuMomentsImageFunction.cxx
+++ b/Modules/Feature/Moments/test/otbHuMomentsImageFunction.cxx
@@ -34,21 +34,6 @@
 
 #include "itkAffineTransform.h"
 
-int otbHuMomentsImageFunctionNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  typedef unsigned char InputPixelType;
-  const unsigned int Dimension = 2;
-
-  typedef otb::Image<InputPixelType,  Dimension>                  InputImageType;
-  typedef otb::HuMomentsImageFunction<InputImageType>             FunctionType;
-
-  // Instantiating object
-  FunctionType::Pointer function       = FunctionType::New();
-
-  std::cout << function << std::endl;
-
-  return EXIT_SUCCESS;
-}
 
 int otbHuMomentsImageFunction(int itkNotUsed(argc), char * argv[])
 {
diff --git a/Modules/Feature/Moments/test/otbRadiometricMomentsImageFilter.cxx b/Modules/Feature/Moments/test/otbRadiometricMomentsImageFilter.cxx
index deabbe90f7..7f6413f62a 100644
--- a/Modules/Feature/Moments/test/otbRadiometricMomentsImageFilter.cxx
+++ b/Modules/Feature/Moments/test/otbRadiometricMomentsImageFilter.cxx
@@ -25,23 +25,6 @@
 #include "otbImageFileWriter.h"
 #include "otbRadiometricMomentsImageFilter.h"
 
-int otbRadiometricMomentsImageFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  typedef float InputPixelType;
-  const unsigned int Dimension = 2;
-
-  /** Typedefs */
-  typedef otb::Image<InputPixelType,  Dimension>       ImageType;
-  typedef otb::VectorImage<InputPixelType,  Dimension> VectorImageType;
-
-  typedef otb::RadiometricMomentsImageFilter<ImageType, VectorImageType> FilterType;
-
-  FilterType::Pointer filter = FilterType::New();
-
-  std::cout << filter << std::endl;
-
-  return EXIT_SUCCESS;
-}
 
 int otbRadiometricMomentsImageFilter(int itkNotUsed(argc), char * argv[])
 {
diff --git a/Modules/Feature/Moments/test/otbRadiometricMomentsImageFunction.cxx b/Modules/Feature/Moments/test/otbRadiometricMomentsImageFunction.cxx
index 3004cd1b19..738ba44a43 100644
--- a/Modules/Feature/Moments/test/otbRadiometricMomentsImageFunction.cxx
+++ b/Modules/Feature/Moments/test/otbRadiometricMomentsImageFunction.cxx
@@ -30,21 +30,6 @@
 #include "otbImageFileReader.h"
 #include "otbRadiometricMomentsImageFunction.h"
 
-int otbRadiometricMomentsImageFunctionNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  typedef unsigned char InputPixelType;
-  const unsigned int Dimension = 2;
-
-  typedef otb::Image<InputPixelType,  Dimension>                  InputImageType;
-  typedef otb::RadiometricMomentsImageFunction<InputImageType>    FunctionType;
-
-  // Instantiating object
-  FunctionType::Pointer function       = FunctionType::New();
-
-  std::cout << function << std::endl;
-
-  return EXIT_SUCCESS;
-}
 
 
 int otbRadiometricMomentsImageFunction(int itkNotUsed(argc), char * argv[])
diff --git a/Modules/Feature/Moments/test/otbRealMomentsImageFunction.cxx b/Modules/Feature/Moments/test/otbRealMomentsImageFunction.cxx
index 50ded7f2e1..9b560732c2 100644
--- a/Modules/Feature/Moments/test/otbRealMomentsImageFunction.cxx
+++ b/Modules/Feature/Moments/test/otbRealMomentsImageFunction.cxx
@@ -30,21 +30,6 @@
 #include "otbImageFileReader.h"
 #include "otbRealMomentsImageFunction.h"
 
-int otbRealMomentsImageFunctionNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  typedef unsigned char InputPixelType;
-  const unsigned int Dimension = 2;
-
-  typedef otb::Image<InputPixelType,  Dimension>          InputImageType;
-  typedef otb::RealMomentsImageFunction<InputImageType>   FunctionType;
-
-  // Instantiating object
-  FunctionType::Pointer  function       = FunctionType::New();
-
-  std::cout << function << std::endl;
-
-  return EXIT_SUCCESS;
-}
 
 int otbRealMomentsImageFunction(int itkNotUsed(argc), char * argv[])
 {
diff --git a/Modules/Feature/Textures/test/otbHaralickTexturesImageFunction.cxx b/Modules/Feature/Textures/test/otbHaralickTexturesImageFunction.cxx
index c7bccb0001..0cacbc884b 100644
--- a/Modules/Feature/Textures/test/otbHaralickTexturesImageFunction.cxx
+++ b/Modules/Feature/Textures/test/otbHaralickTexturesImageFunction.cxx
@@ -35,12 +35,6 @@ typedef otb::HaralickTexturesImageFunction<
 typedef HaralickTexturesImageFunctionType::PointType                  PointType;
 typedef HaralickTexturesImageFunctionType::OutputType                 OutputType;
 
-int otbHaralickTexturesImageFunctionNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  HaralickTexturesImageFunctionType::Pointer function = HaralickTexturesImageFunctionType::New();
-
-  return EXIT_SUCCESS;
-}
 
 int otbHaralickTexturesImageFunction(int itkNotUsed(argc), char * argv[])
 {
diff --git a/Modules/Feature/Textures/test/otbScalarImageToHigherOrderTexturesFilter.cxx b/Modules/Feature/Textures/test/otbScalarImageToHigherOrderTexturesFilter.cxx
index 8c6a7a2623..1cd9ba022c 100644
--- a/Modules/Feature/Textures/test/otbScalarImageToHigherOrderTexturesFilter.cxx
+++ b/Modules/Feature/Textures/test/otbScalarImageToHigherOrderTexturesFilter.cxx
@@ -38,14 +38,6 @@ typedef RunLengthFeaturesFilterType::OffsetType          OffsetType;
 typedef RunLengthFeaturesFilterType::OffsetVector        OffsetVector;
 typedef RunLengthFeaturesFilterType::OffsetVectorPointer OffsetVectorPointer;
 
-int otbScalarImageToHigherOrderTexturesFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  TexturesFilterType::Pointer filter = TexturesFilterType::New();
-
-  std::cout << filter << std::endl;
-
-  return EXIT_SUCCESS;
-}
 
 ImageType::Pointer ReadInputImage(const char *  filename)
 {
diff --git a/Modules/Filtering/ChangeDetection/test/otbMultivariateAlterationDetectorImageFilter.cxx b/Modules/Filtering/ChangeDetection/test/otbMultivariateAlterationDetectorImageFilter.cxx
index 7980a1a727..751a720970 100644
--- a/Modules/Filtering/ChangeDetection/test/otbMultivariateAlterationDetectorImageFilter.cxx
+++ b/Modules/Filtering/ChangeDetection/test/otbMultivariateAlterationDetectorImageFilter.cxx
@@ -30,12 +30,6 @@ typedef otb::ImageFileWriter<OutputImageType> WriterType;
 typedef otb::MultivariateAlterationDetectorImageFilter<ImageType, OutputImageType> MADFilterType;
 
 
-int otbMultivariateAlterationDetectorImageFilterNew(int itkNotUsed(argc), char* itkNotUsed(argv)[])
-{
-  MADFilterType::Pointer  madFilter = MADFilterType::New();
-
-  return EXIT_SUCCESS;
-}
 
 
 int otbMultivariateAlterationDetectorImageFilter(int itkNotUsed(argc), char* argv[])
diff --git a/Modules/Filtering/DimensionalityReduction/test/otbMaximumAutocorrelationFactorImageFilter.cxx b/Modules/Filtering/DimensionalityReduction/test/otbMaximumAutocorrelationFactorImageFilter.cxx
index 04e230cb84..a4d99a12b1 100644
--- a/Modules/Filtering/DimensionalityReduction/test/otbMaximumAutocorrelationFactorImageFilter.cxx
+++ b/Modules/Filtering/DimensionalityReduction/test/otbMaximumAutocorrelationFactorImageFilter.cxx
@@ -29,12 +29,6 @@ typedef otb::ImageFileReader<ImageType>    ReaderType;
 typedef otb::ImageFileWriter<OutputImageType> WriterType;
 typedef otb::MaximumAutocorrelationFactorImageFilter<ImageType, OutputImageType> MADFilterType;
 
-int otbMaximumAutocorrelationFactorImageFilterNew(int itkNotUsed(argc), char* itkNotUsed(argv) [])
-{
-  MADFilterType::Pointer  madFilter = MADFilterType::New();
-
-  return EXIT_SUCCESS;
-}
 
 
 int otbMaximumAutocorrelationFactorImageFilter(int itkNotUsed(argc), char* argv[])
diff --git a/Modules/Filtering/ImageManipulation/test/otbClampImageFilter.cxx b/Modules/Filtering/ImageManipulation/test/otbClampImageFilter.cxx
index 29ac5602ea..86697839c2 100644
--- a/Modules/Filtering/ImageManipulation/test/otbClampImageFilter.cxx
+++ b/Modules/Filtering/ImageManipulation/test/otbClampImageFilter.cxx
@@ -40,13 +40,6 @@ typedef otb::Image<OutputPixelType, Dimension> OutputImageType;
 
 typedef otb::ClampImageFilter<InputImageType, OutputImageType>    FilterType;
 
-int otbClampImageFilterNew(int itkNotUsed(argc), char* itkNotUsed(argv) [])
-{
-  /** instantiating the filter */
-  FilterType::Pointer filter = FilterType::New();
-
-  return EXIT_SUCCESS;
-}
 
 int otbClampImageFilterTest(int itkNotUsed(argc), char* argv[])
 {
diff --git a/Modules/Filtering/ImageManipulation/test/otbClampVectorImageFilter.cxx b/Modules/Filtering/ImageManipulation/test/otbClampVectorImageFilter.cxx
index 8f89a7ea20..9f58a11190 100644
--- a/Modules/Filtering/ImageManipulation/test/otbClampVectorImageFilter.cxx
+++ b/Modules/Filtering/ImageManipulation/test/otbClampVectorImageFilter.cxx
@@ -36,13 +36,6 @@ typedef otb::VectorImage<OutputPixelType, Dimension> OutputImageType;
 
 typedef otb::ClampVectorImageFilter<InputImageType, OutputImageType>  FilterType;
 
-int otbClampVectorImageFilterNew(int itkNotUsed(argc), char* itkNotUsed(argv) [])
-{
-  /** instantiating the filter */
-  FilterType::Pointer filter = FilterType::New();
-
-  return EXIT_SUCCESS;
-}
 
 int otbClampVectorImageFilterTest(int itkNotUsed(argc), char* argv[])
 {
diff --git a/Modules/Filtering/ImageManipulation/test/otbConcatenateScalarValueImageFilterTest.cxx b/Modules/Filtering/ImageManipulation/test/otbConcatenateScalarValueImageFilterTest.cxx
index 2914b87385..af25081092 100644
--- a/Modules/Filtering/ImageManipulation/test/otbConcatenateScalarValueImageFilterTest.cxx
+++ b/Modules/Filtering/ImageManipulation/test/otbConcatenateScalarValueImageFilterTest.cxx
@@ -32,12 +32,6 @@ typedef double PixelType;
 typedef otb::VectorImage<PixelType> ImageType;
 typedef otb::ConcatenateScalarValueImageFilter<ImageType, ImageType> FilterType;
 
-int otbConcatenateScalarValueImageFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  FilterType::Pointer filter = FilterType::New();
-  std::cout << filter << std::endl;
-  return EXIT_SUCCESS;
-}
 
 int otbConcatenateScalarValueImageFilterTest(int itkNotUsed(argc), char * itkNotUsed(argv) [])
 {
diff --git a/Modules/Filtering/ImageManipulation/test/otbMaskedIteratorDecorator.cxx b/Modules/Filtering/ImageManipulation/test/otbMaskedIteratorDecorator.cxx
index 9f3362d1d4..f0bdd1adeb 100644
--- a/Modules/Filtering/ImageManipulation/test/otbMaskedIteratorDecorator.cxx
+++ b/Modules/Filtering/ImageManipulation/test/otbMaskedIteratorDecorator.cxx
@@ -66,16 +66,6 @@ void FillHalf(typename ImageType::Pointer image, const typename ImageType::Regio
 }
 
 // Test template instantiation
-int otbMaskedIteratorDecoratorNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  typedef otb::Image<double, 2> ImageType;
-  ImageType::Pointer image = GetTestImage<ImageType>(10, 10);
-  ImageType::Pointer mask = GetTestImage<ImageType>(10, 0);
-  ImageType::RegionType region(image->GetLargestPossibleRegion());
-
-  otb::MaskedIteratorDecorator<itk::ImageRegionIterator<ImageType> > it(mask, image, region);
-  return EXIT_SUCCESS;
-}
 
 // ---------------------- Initialization code ----------------------------------
 template <typename IteratorType>
diff --git a/Modules/Filtering/ImageManipulation/test/otbMatrixImageFilterTest.cxx b/Modules/Filtering/ImageManipulation/test/otbMatrixImageFilterTest.cxx
index e6afc893cc..2aa9fffaec 100644
--- a/Modules/Filtering/ImageManipulation/test/otbMatrixImageFilterTest.cxx
+++ b/Modules/Filtering/ImageManipulation/test/otbMatrixImageFilterTest.cxx
@@ -27,17 +27,6 @@
 #include "otbImageFileWriter.h"
 #include <complex>
 
-int otbMatrixImageFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  typedef std::complex<double> PixelType;
-
-  typedef otb::VectorImage<PixelType> ImageType;
-  typedef otb::MatrixImageFilter<ImageType, ImageType> FilterType;
-
-  FilterType::Pointer filter = FilterType::New();
-
-  return EXIT_SUCCESS;
-}
 
 
 int otbMatrixImageFilterTest(int itkNotUsed(argc), char * argv[])
diff --git a/Modules/Filtering/ImageManipulation/test/otbThresholdVectorImageFilter.cxx b/Modules/Filtering/ImageManipulation/test/otbThresholdVectorImageFilter.cxx
index c7b584cfde..0dc1c83e58 100644
--- a/Modules/Filtering/ImageManipulation/test/otbThresholdVectorImageFilter.cxx
+++ b/Modules/Filtering/ImageManipulation/test/otbThresholdVectorImageFilter.cxx
@@ -36,13 +36,6 @@ typedef otb::VectorImage<OutputPixelType, Dimension> OutputImageType;
 
 typedef otb::ThresholdVectorImageFilter<InputImageType, OutputImageType>  FilterType;
 
-int otbThresholdVectorImageFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  /** instantiating the filter */
-  FilterType::Pointer filter = FilterType::New();
-
-  return EXIT_SUCCESS;
-}
 
 int otbThresholdVectorImageFilterTest(int itkNotUsed(argc), char* argv[])
 {
diff --git a/Modules/Filtering/ImageManipulation/test/otbTileImageFilter.cxx b/Modules/Filtering/ImageManipulation/test/otbTileImageFilter.cxx
index 1864f8fefd..9ac1d38d8c 100644
--- a/Modules/Filtering/ImageManipulation/test/otbTileImageFilter.cxx
+++ b/Modules/Filtering/ImageManipulation/test/otbTileImageFilter.cxx
@@ -32,13 +32,6 @@ typedef otb::ImageFileReader<VectorImageType>          VectorImageReaderType;
 typedef otb::ImageFileWriter<VectorImageType> VectorImageWriterType;
 
 
-int otbTileImageFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  TileImageFilterType::Pointer tileFilter = TileImageFilterType::New();
-  TileVectorImageFilterType::Pointer tileVectorFilter = TileVectorImageFilterType::New();
-
-  return EXIT_SUCCESS;
-}
 
 int otbTileImageFilter(int argc, char * argv[])
 {
diff --git a/Modules/Filtering/MathParser/test/otbBandMathImageFilter.cxx b/Modules/Filtering/MathParser/test/otbBandMathImageFilter.cxx
index 69d452b1f4..19f77c609d 100644
--- a/Modules/Filtering/MathParser/test/otbBandMathImageFilter.cxx
+++ b/Modules/Filtering/MathParser/test/otbBandMathImageFilter.cxx
@@ -29,17 +29,6 @@
 #include "otbBandMathImageFilter.h"
 #include "otbImageFileWriter.h"
 
-int otbBandMathImageFilterNew( int itkNotUsed(argc), char* itkNotUsed(argv) [])
-{
-  typedef double                                            PixelType;
-  //typedef float                                             PixelType;
-  typedef otb::Image<PixelType, 2>                          ImageType;
-  typedef otb::BandMathImageFilter<ImageType>               FilterType;
-
-   FilterType::Pointer         filter       = FilterType::New();
-
-   return EXIT_SUCCESS;
-}
 
 int otbBandMathImageFilter( int itkNotUsed(argc), char* itkNotUsed(argv) [])
 {
diff --git a/Modules/Filtering/MathParser/test/otbImageListToSingleImageFilterTest.cxx b/Modules/Filtering/MathParser/test/otbImageListToSingleImageFilterTest.cxx
index b6033f2201..5360bb2f57 100644
--- a/Modules/Filtering/MathParser/test/otbImageListToSingleImageFilterTest.cxx
+++ b/Modules/Filtering/MathParser/test/otbImageListToSingleImageFilterTest.cxx
@@ -28,23 +28,6 @@
 #include "otbImageFileWriter.h"
 #include "otbBandMathImageFilter.h"
 
-int otbImageListToSingleImageFilterNew(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 otb::ImageListToSingleImageFilter<ImageListType::ImageType> ImageListToSingleImageFilter;
-
-  // Instantiating object
-  ImageListToSingleImageFilter::Pointer filter = ImageListToSingleImageFilter::New();
-
-  std::cout << filter << std::endl;
-
-  return EXIT_SUCCESS;
-}
 
 
 
diff --git a/Modules/Filtering/MathParser/test/otbParserConditionDataNodeFeatureFunction.cxx b/Modules/Filtering/MathParser/test/otbParserConditionDataNodeFeatureFunction.cxx
index 5c0f0a8b3f..1d50eae99d 100644
--- a/Modules/Filtering/MathParser/test/otbParserConditionDataNodeFeatureFunction.cxx
+++ b/Modules/Filtering/MathParser/test/otbParserConditionDataNodeFeatureFunction.cxx
@@ -29,21 +29,6 @@
 #include "otbVectorDataFileWriter.h"
 #include "itkPreOrderTreeIterator.h"
 
-int otbParserConditionDataNodeFeatureFunctionNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  typedef double CoordRepType;
-  typedef double PrecisionType;
-  typedef otb::VectorImage<double, 2> ImageType;
-  typedef otb::ParserConditionDataNodeFeatureFunction<ImageType, CoordRepType, PrecisionType>
-      ParserConditionDataNodeFeaturefunctionType;
-
-  ParserConditionDataNodeFeaturefunctionType::Pointer
-      ParserConditionFeature = ParserConditionDataNodeFeaturefunctionType::New();
-
-  std::cout << ParserConditionFeature << std::endl;
-
-  return EXIT_SUCCESS;
-}
 
 int otbParserConditionDataNodeFeatureFunction(int itkNotUsed(argc), char* argv[])
 {
diff --git a/Modules/Filtering/MathParser/test/otbParserTest.cxx b/Modules/Filtering/MathParser/test/otbParserTest.cxx
index 256aa0368c..19198dbfe1 100644
--- a/Modules/Filtering/MathParser/test/otbParserTest.cxx
+++ b/Modules/Filtering/MathParser/test/otbParserTest.cxx
@@ -23,13 +23,6 @@
 
 typedef otb::Parser ParserType;
 
-int otbParserTestNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  // Instantiating object
-  ParserType::Pointer parser = ParserType::New();
-  std::cout << parser << std::endl;
-  return EXIT_SUCCESS;
-}
 
 void otbParserTest_ThrowIfNotEqual(double output, double ref, std::string testname, double epsilon = 1.0E-12)
 {
diff --git a/Modules/Filtering/MathParserX/test/otbBandMathXImageFilter.cxx b/Modules/Filtering/MathParserX/test/otbBandMathXImageFilter.cxx
index bc69c6b19f..ca031cb6aa 100644
--- a/Modules/Filtering/MathParserX/test/otbBandMathXImageFilter.cxx
+++ b/Modules/Filtering/MathParserX/test/otbBandMathXImageFilter.cxx
@@ -31,16 +31,6 @@
 
 #include "itkImageRegionIteratorWithIndex.h"
 
-int otbBandMathXImageFilterNew( int itkNotUsed(argc), char* itkNotUsed(argv) [])
-{
-  typedef double                                            PixelType;
-  typedef otb::VectorImage<PixelType, 2>                     ImageType;
-  typedef otb::BandMathXImageFilter<ImageType>               FilterType;
-
-   FilterType::Pointer         filter       = FilterType::New();
-
-   return EXIT_SUCCESS;
-}
 
 
 int otbBandMathXImageFilter( int itkNotUsed(argc), char* itkNotUsed(argv) [])
diff --git a/Modules/Filtering/Polarimetry/test/otbPolarimetricData.cxx b/Modules/Filtering/Polarimetry/test/otbPolarimetricData.cxx
index 39e012e28e..453f8803a8 100644
--- a/Modules/Filtering/Polarimetry/test/otbPolarimetricData.cxx
+++ b/Modules/Filtering/Polarimetry/test/otbPolarimetricData.cxx
@@ -24,12 +24,6 @@
 
 #include "otbPolarimetricData.h"
 
-int otbPolarimetricDataNew(int itkNotUsed(argc), char * itkNotUsed(argv)[])
-{
-  otb::PolarimetricData::Pointer  data = otb::PolarimetricData::New();
-
-  return EXIT_SUCCESS;
-}
 
 
 
diff --git a/Modules/Filtering/Polarimetry/test/otbReciprocalBarnesDecomp.cxx b/Modules/Filtering/Polarimetry/test/otbReciprocalBarnesDecomp.cxx
index db54c3e564..989d79ca36 100644
--- a/Modules/Filtering/Polarimetry/test/otbReciprocalBarnesDecomp.cxx
+++ b/Modules/Filtering/Polarimetry/test/otbReciprocalBarnesDecomp.cxx
@@ -32,19 +32,6 @@
 #include "otbSinclairReciprocalImageFilter.h"
 #include "otbSinclairToReciprocalCoherencyMatrixFunctor.h"
 
-int otbReciprocalBarnesDecompImageFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv)[])
-{
-  const unsigned int Dimension = 2;
-
-  typedef std::complex<double>   PixelType;
-  typedef otb::VectorImage<PixelType, Dimension> ImageType;
-
-  typedef otb::ReciprocalBarnesDecompImageFilter<ImageType, ImageType> FilterType;
-
-  FilterType::Pointer filter = FilterType::New();
-
-  return EXIT_SUCCESS;
-}
 
 
 int otbReciprocalBarnesDecompImageFilter(int itkNotUsed(argc), char * argv[])
diff --git a/Modules/Filtering/Polarimetry/test/otbReciprocalHuynenDecomp.cxx b/Modules/Filtering/Polarimetry/test/otbReciprocalHuynenDecomp.cxx
index 96c97e972c..9561c7b48c 100644
--- a/Modules/Filtering/Polarimetry/test/otbReciprocalHuynenDecomp.cxx
+++ b/Modules/Filtering/Polarimetry/test/otbReciprocalHuynenDecomp.cxx
@@ -32,19 +32,6 @@
 #include "otbSinclairReciprocalImageFilter.h"
 #include "otbSinclairToReciprocalCoherencyMatrixFunctor.h"
 
-int otbReciprocalHuynenDecompImageFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv)[])
-{
-  const unsigned int Dimension = 2;
-
-  typedef std::complex<double>   PixelType;
-  typedef otb::VectorImage<PixelType, Dimension> ImageType;
-
-  typedef otb::ReciprocalHuynenDecompImageFilter<ImageType, ImageType> FilterType;
-
-  FilterType::Pointer filter = FilterType::New();
-
-  return EXIT_SUCCESS;
-}
 
 
 int otbReciprocalHuynenDecompImageFilter(int itkNotUsed(argc), char * argv[])
diff --git a/Modules/Filtering/Polarimetry/test/otbReciprocalPauliDecomp.cxx b/Modules/Filtering/Polarimetry/test/otbReciprocalPauliDecomp.cxx
index b82622c51e..587a33ef65 100644
--- a/Modules/Filtering/Polarimetry/test/otbReciprocalPauliDecomp.cxx
+++ b/Modules/Filtering/Polarimetry/test/otbReciprocalPauliDecomp.cxx
@@ -29,19 +29,6 @@
 #include "otbReciprocalPauliDecompImageFilter.h"
 #include "otbNRIBandImagesToOneNComplexBandsImage.h"
 
-int otbReciprocalPauliDecompImageFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv)[])
-{
-  const unsigned int Dimension = 2;
-
-  typedef std::complex<double>   PixelType;
-  typedef otb::VectorImage<PixelType, Dimension> ImageType;
-
-  typedef otb::ReciprocalPauliDecompImageFilter<ImageType, ImageType> FilterType;
-
-  FilterType::Pointer filter = FilterType::New();
-
-  return EXIT_SUCCESS;
-}
 
 
 int otbReciprocalPauliDecompImageFilter(int itkNotUsed(argc), char * argv[])
diff --git a/Modules/Filtering/Polarimetry/test/otbSinclairImageFilter.cxx b/Modules/Filtering/Polarimetry/test/otbSinclairImageFilter.cxx
index 07e3fda0f1..2e2c24245c 100644
--- a/Modules/Filtering/Polarimetry/test/otbSinclairImageFilter.cxx
+++ b/Modules/Filtering/Polarimetry/test/otbSinclairImageFilter.cxx
@@ -33,20 +33,6 @@
 #include "otbMultiChannelExtractROI.h"
 
 
-int otbSinclairImageFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv)[])
-{
-  typedef std::complex<float>        ComplexType;
-  typedef otb::Image<ComplexType, 2> CplxImageType;
-  typedef otb::VectorImage<ComplexType, 2> VCplxImageType;
-
-  typedef otb::SinclairImageFilter<CplxImageType, CplxImageType, CplxImageType, CplxImageType, VCplxImageType> FilterType;
-
-  // Instantiating object
-  FilterType::Pointer filter = FilterType::New();
-
-
-  return EXIT_SUCCESS;
-}
 
 
 template<class TInputPixel, class TOutputPixel, class TFunction>
diff --git a/Modules/Filtering/Polarimetry/test/otbSinclairReciprocalImageFilter.cxx b/Modules/Filtering/Polarimetry/test/otbSinclairReciprocalImageFilter.cxx
index 9091c64726..471c300ecf 100644
--- a/Modules/Filtering/Polarimetry/test/otbSinclairReciprocalImageFilter.cxx
+++ b/Modules/Filtering/Polarimetry/test/otbSinclairReciprocalImageFilter.cxx
@@ -32,20 +32,6 @@
 #include "otbMultiChannelExtractROI.h"
 
 
-int otbSinclairReciprocalImageFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv)[])
-{
-  typedef std::complex<float>        ComplexType;
-  typedef otb::Image<ComplexType, 2> CplxImageType;
-  typedef otb::VectorImage<ComplexType, 2> VCplxImageType;
-
-  typedef otb::SinclairReciprocalImageFilter<CplxImageType, CplxImageType, CplxImageType, VCplxImageType> FilterType;
-
-  // Instantiating object
-  FilterType::Pointer filter = FilterType::New();
-
-
-  return EXIT_SUCCESS;
-}
 
 
 template<class TInputPixel, class TOutputPixel, class TFunction>
diff --git a/Modules/Filtering/Projection/test/otbGenericRSResampleImageFilter.cxx b/Modules/Filtering/Projection/test/otbGenericRSResampleImageFilter.cxx
index 0873af5c24..ae63c4d8ea 100644
--- a/Modules/Filtering/Projection/test/otbGenericRSResampleImageFilter.cxx
+++ b/Modules/Filtering/Projection/test/otbGenericRSResampleImageFilter.cxx
@@ -43,13 +43,6 @@ typedef ImageResamplerType::SpacingType             SpacingType;
 typedef otb::ImageFileReader<ImageType>             ReaderType;
 typedef otb::ImageFileWriter<ImageType>    WriterType;
 
-int otbGenericRSResampleImageFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv)[])
-{
-  // SmartPointer instantiation
-  ImageResamplerType::Pointer resampler = ImageResamplerType::New();
-  std::cout << resampler << std::endl;
-  return EXIT_SUCCESS;
-}
 
 int otbGenericRSResampleImageFilter(int itkNotUsed(argc), char* argv[])
 {
diff --git a/Modules/Filtering/Projection/test/otbGeographicalDistance.cxx b/Modules/Filtering/Projection/test/otbGeographicalDistance.cxx
index c22069156f..4ccce61ac5 100644
--- a/Modules/Filtering/Projection/test/otbGeographicalDistance.cxx
+++ b/Modules/Filtering/Projection/test/otbGeographicalDistance.cxx
@@ -21,16 +21,6 @@
 #include "itkPoint.h"
 #include "otbGeographicalDistance.h"
 
-int otbGeographicalDistanceNew(int itkNotUsed(argc), char * itkNotUsed(argv)[])
-{
-  typedef itk::Point<double, 2> PointType;
-  typedef otb::GeographicalDistance<PointType> DistanceType;
-
-  // Instantiation
-  DistanceType::Pointer distance = DistanceType::New();
-
-  return EXIT_SUCCESS;
-}
 
 int otbGeographicalDistance(int itkNotUsed(argc), char * argv[])
 {
diff --git a/Modules/Filtering/Projection/test/otbImageToEnvelopeVectorDataFilter.cxx b/Modules/Filtering/Projection/test/otbImageToEnvelopeVectorDataFilter.cxx
index e2b5ccb6f9..4969adf7ba 100644
--- a/Modules/Filtering/Projection/test/otbImageToEnvelopeVectorDataFilter.cxx
+++ b/Modules/Filtering/Projection/test/otbImageToEnvelopeVectorDataFilter.cxx
@@ -33,13 +33,6 @@ typedef otb::VectorDataFileWriter<VectorDataType> WriterType;
 typedef otb::ImageToEnvelopeVectorDataFilter
     <ImageType, VectorDataType>                    FilterType;
 
-int otbImageToEnvelopeVectorDataFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv)[])
-{
-  // Instantiation
-  FilterType::Pointer filter = FilterType::New();
-
-  return EXIT_SUCCESS;
-}
 
 int otbImageToEnvelopeVectorDataFilter(int itkNotUsed(argc), char* argv[])
 {
diff --git a/Modules/Filtering/Projection/test/otbImageToGenericRSOutputParameters.cxx b/Modules/Filtering/Projection/test/otbImageToGenericRSOutputParameters.cxx
index 465aa65bd1..913963df6e 100644
--- a/Modules/Filtering/Projection/test/otbImageToGenericRSOutputParameters.cxx
+++ b/Modules/Filtering/Projection/test/otbImageToGenericRSOutputParameters.cxx
@@ -31,13 +31,6 @@
 typedef otb::VectorImage<double, 2>       ImageType;
 typedef otb::ImageToGenericRSOutputParameters<ImageType>  FilterType;
 
-int otbImageToGenericRSOutputParametersNew (int itkNotUsed(argc), char * itkNotUsed(argv)[])
-{
-  FilterType::Pointer filter = FilterType::New();
-
-  return EXIT_SUCCESS;
-}
-
 int otbImageToGenericRSOutputParameters (int itkNotUsed(argc), char * argv[])
 {
   const char * infname = argv[1];
diff --git a/Modules/Filtering/Projection/test/otbMapProjectionsNew.cxx b/Modules/Filtering/Projection/test/otbMapProjectionsNew.cxx
index f29644125f..c88c9bbac8 100644
--- a/Modules/Filtering/Projection/test/otbMapProjectionsNew.cxx
+++ b/Modules/Filtering/Projection/test/otbMapProjectionsNew.cxx
@@ -27,35 +27,6 @@
 #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
diff --git a/Modules/Filtering/Projection/test/otbRationalTransform.cxx b/Modules/Filtering/Projection/test/otbRationalTransform.cxx
index 4838026e57..8126760ba7 100644
--- a/Modules/Filtering/Projection/test/otbRationalTransform.cxx
+++ b/Modules/Filtering/Projection/test/otbRationalTransform.cxx
@@ -23,15 +23,6 @@
 #include "otbRationalTransform.h"
 #include <fstream>
 
-int otbRationalTransformNew(int itkNotUsed(argc), char * itkNotUsed(argv)[])
-{
-  typedef otb::RationalTransform<> RationalTransformType;
-
-  // Instantiation
-  RationalTransformType::Pointer rt = RationalTransformType::New();
-
-  return EXIT_SUCCESS;
-}
 
 int otbRationalTransform(int argc, char* argv[])
 {
diff --git a/Modules/Filtering/Projection/test/otbSpectralAngleDataNodeFeatureFunction.cxx b/Modules/Filtering/Projection/test/otbSpectralAngleDataNodeFeatureFunction.cxx
index 011d5464c3..a38c74e55b 100644
--- a/Modules/Filtering/Projection/test/otbSpectralAngleDataNodeFeatureFunction.cxx
+++ b/Modules/Filtering/Projection/test/otbSpectralAngleDataNodeFeatureFunction.cxx
@@ -30,20 +30,6 @@
 #include "otbVectorDataFileWriter.h"
 #include "itkPreOrderTreeIterator.h"
 
-int otbSpectralAngleDataNodeFeatureFunctionNew(int itkNotUsed(argc), char* itkNotUsed(argv) [])
-{
-  typedef double CoordRepType;
-  typedef double PrecisionType;
-  typedef otb::VectorImage<double, 2>  ImageType;
-  typedef otb::SpectralAngleDataNodeFeatureFunction<ImageType, CoordRepType, PrecisionType>
-                                       DataNodeFeaturefunctionType;
-
-  DataNodeFeaturefunctionType::Pointer featureFunction = DataNodeFeaturefunctionType::New();
-
-  std::cout << featureFunction << std::endl;
-
-  return EXIT_SUCCESS;
-}
 
 int otbSpectralAngleDataNodeFeatureFunction(int itkNotUsed(argc), char* argv[])
 {
diff --git a/Modules/Filtering/Projection/test/otbVectorDataTransformFilter.cxx b/Modules/Filtering/Projection/test/otbVectorDataTransformFilter.cxx
index e0f5ee5ee8..7d6427ac44 100644
--- a/Modules/Filtering/Projection/test/otbVectorDataTransformFilter.cxx
+++ b/Modules/Filtering/Projection/test/otbVectorDataTransformFilter.cxx
@@ -34,12 +34,6 @@ typedef otb::VectorData<>                      VectorDataType;
 typedef otb::VectorDataTransformFilter
         <VectorDataType, VectorDataType>       VectorDataTransformType;
 
-int otbVectorDataTransformFilterNew (int itkNotUsed(argc), char * itkNotUsed(argv)[])
-{
-  VectorDataTransformType::Pointer transformFilter = VectorDataTransformType::New();
-  return EXIT_SUCCESS;
-}
-
 int otbVectorDataTransformFilter (int itkNotUsed(argc), char * argv[])
 {
   typedef otb::VectorImage<double, 2>             ImageType;
diff --git a/Modules/Filtering/Statistics/test/otbConcatenateSampleListFilter.cxx b/Modules/Filtering/Statistics/test/otbConcatenateSampleListFilter.cxx
index b089928fad..74ab3bdf80 100644
--- a/Modules/Filtering/Statistics/test/otbConcatenateSampleListFilter.cxx
+++ b/Modules/Filtering/Statistics/test/otbConcatenateSampleListFilter.cxx
@@ -30,12 +30,6 @@ typedef itk::Statistics::ListSample<DoubleSampleType> DoubleSampleListType;
 
 typedef otb::Statistics::ConcatenateSampleListFilter<DoubleSampleListType> ConcatenateFilterType;
 
-int otbConcatenateSampleListFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
- ConcatenateFilterType::Pointer instance = ConcatenateFilterType::New();
-
- return EXIT_SUCCESS;
-}
 
 int otbConcatenateSampleListFilter(int itkNotUsed(argc), char * argv[])
 {
diff --git a/Modules/Filtering/Statistics/test/otbGaussianAdditiveNoiseSampleListFilter.cxx b/Modules/Filtering/Statistics/test/otbGaussianAdditiveNoiseSampleListFilter.cxx
index 4bb03a7c99..69ed37c22b 100644
--- a/Modules/Filtering/Statistics/test/otbGaussianAdditiveNoiseSampleListFilter.cxx
+++ b/Modules/Filtering/Statistics/test/otbGaussianAdditiveNoiseSampleListFilter.cxx
@@ -34,11 +34,6 @@ typedef otb::Statistics::GaussianAdditiveNoiseSampleListFilter
 <FloatSampleListType, DoubleSampleListType> GaussianFilterType;
 
 
-int otbGaussianAdditiveNoiseSampleListFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  GaussianFilterType::Pointer filter = GaussianFilterType::New();
-  return EXIT_SUCCESS;
-}
 
 int otbGaussianAdditiveNoiseSampleListFilter(int argc, char * argv[])
 {
diff --git a/Modules/Filtering/Statistics/test/otbListSampleGeneratorTest.cxx b/Modules/Filtering/Statistics/test/otbListSampleGeneratorTest.cxx
index 9aa8097bfb..7ebb5c8cfe 100644
--- a/Modules/Filtering/Statistics/test/otbListSampleGeneratorTest.cxx
+++ b/Modules/Filtering/Statistics/test/otbListSampleGeneratorTest.cxx
@@ -27,17 +27,6 @@
 
 #include "otbListSampleGenerator.h"
 
-int otbListSampleGeneratorNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  typedef otb::VectorImage<float, 2>                          ImageType;
-  typedef otb::VectorData<double, 2>                          VectorDataType;
-  typedef otb::ListSampleGenerator<ImageType, VectorDataType> ListSampleGeneratorType;
-  ListSampleGeneratorType::Pointer generator = ListSampleGeneratorType::New();
-
-  std::cout << generator << std::endl;
-
-  return EXIT_SUCCESS;
-}
 
 int otbListSampleGenerator(int argc, char* argv[])
 {
diff --git a/Modules/Filtering/Statistics/test/otbListSampleToBalancedListSampleFilter.cxx b/Modules/Filtering/Statistics/test/otbListSampleToBalancedListSampleFilter.cxx
index e11ac63289..2c2565256a 100644
--- a/Modules/Filtering/Statistics/test/otbListSampleToBalancedListSampleFilter.cxx
+++ b/Modules/Filtering/Statistics/test/otbListSampleToBalancedListSampleFilter.cxx
@@ -38,11 +38,6 @@ typedef otb::Statistics::ListSampleToBalancedListSampleFilter
 <FloatSampleListType, IntegerSampleListType, DoubleSampleListType> BalancingFilterType;
 
 
-int otbListSampleToBalancedListSampleFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  BalancingFilterType::Pointer filter = BalancingFilterType::New();
-  return EXIT_SUCCESS;
-}
 
 int otbListSampleToBalancedListSampleFilter(int argc, char * argv[])
 {
diff --git a/Modules/Filtering/Statistics/test/otbProjectiveProjection.cxx b/Modules/Filtering/Statistics/test/otbProjectiveProjection.cxx
index 8c5ce35560..8d9354b5f4 100644
--- a/Modules/Filtering/Statistics/test/otbProjectiveProjection.cxx
+++ b/Modules/Filtering/Statistics/test/otbProjectiveProjection.cxx
@@ -47,12 +47,6 @@ typedef otb::StreamingStatisticsImageFilter<ImageType> StreamingStatisticsImageF
 
 typedef StreamingStatisticsVectorImageFilterType::MatrixType MatrixType;
 
-int otbProjectiveProjectionNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  ProjectiveProjectionImageFilterType::Pointer filter = ProjectiveProjectionImageFilterType::New();
-  std::cout << filter << std::endl;
-  return EXIT_SUCCESS;
-}
 
 int otbProjectiveProjectionTestHighSNR(int itkNotUsed(argc), char * argv[])
 {
diff --git a/Modules/Filtering/Statistics/test/otbShiftScaleSampleListFilter.cxx b/Modules/Filtering/Statistics/test/otbShiftScaleSampleListFilter.cxx
index 6e4f256778..bb9d44d2b7 100644
--- a/Modules/Filtering/Statistics/test/otbShiftScaleSampleListFilter.cxx
+++ b/Modules/Filtering/Statistics/test/otbShiftScaleSampleListFilter.cxx
@@ -35,12 +35,6 @@ typedef itk::Statistics::ListSample<FloatSampleType> FloatSampleListType;
 typedef otb::Statistics::ShiftScaleSampleListFilter<FloatSampleListType, DoubleSampleListType> ShiftScaleFilterType;
 
 
-int otbShiftScaleSampleListFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
- ShiftScaleFilterType::Pointer instance = ShiftScaleFilterType::New();
-
- return EXIT_SUCCESS;
-}
 
 int otbShiftScaleSampleListFilter(int argc, char * argv[])
 {
diff --git a/Modules/Filtering/Statistics/test/otbStreamingCompareImageFilter.cxx b/Modules/Filtering/Statistics/test/otbStreamingCompareImageFilter.cxx
index 69bdfbd9a3..45ff54a1c9 100644
--- a/Modules/Filtering/Statistics/test/otbStreamingCompareImageFilter.cxx
+++ b/Modules/Filtering/Statistics/test/otbStreamingCompareImageFilter.cxx
@@ -27,21 +27,6 @@
 #include <fstream>
 #include "otbStreamingTraits.h"
 
-int otbStreamingCompareImageFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  const unsigned int Dimension = 2;
-  typedef unsigned char PixelType;
-
-  typedef otb::Image<PixelType, Dimension>               ImageType;
-  typedef otb::StreamingCompareImageFilter<ImageType> StreamingCompareImageFilterType;
-
-  // Instantiating object
-  StreamingCompareImageFilterType::Pointer filter = StreamingCompareImageFilterType::New();
-
-  std::cout << filter << std::endl;
-
-  return EXIT_SUCCESS;
-}
 
 int otbStreamingCompareImageFilter(int itkNotUsed(argc), char * argv[])
 {
diff --git a/Modules/Filtering/Statistics/test/otbStreamingHistogramVectorImageFilter.cxx b/Modules/Filtering/Statistics/test/otbStreamingHistogramVectorImageFilter.cxx
index fed1199042..f5f9262988 100644
--- a/Modules/Filtering/Statistics/test/otbStreamingHistogramVectorImageFilter.cxx
+++ b/Modules/Filtering/Statistics/test/otbStreamingHistogramVectorImageFilter.cxx
@@ -33,15 +33,6 @@ typedef itk::Statistics::Histogram< MeasurementType > Histogram;
 typedef otb::ObjectList< Histogram > HistogramList;
 
 
-int otbStreamingHistogramVectorImageFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-
-  SHVIFType::Pointer SHVIFFilter = SHVIFType::New();
-
-  std::cout << SHVIFFilter << std::endl;
-
-  return EXIT_SUCCESS;
-}
 
 int otbStreamingHistogramVectorImageFilterTest(int itkNotUsed(argc), char * itkNotUsed(argv) [])
 {
diff --git a/Modules/Filtering/VectorDataManipulation/test/otbConcatenateVectorDataFilter.cxx b/Modules/Filtering/VectorDataManipulation/test/otbConcatenateVectorDataFilter.cxx
index 876adf4f72..15dc243986 100644
--- a/Modules/Filtering/VectorDataManipulation/test/otbConcatenateVectorDataFilter.cxx
+++ b/Modules/Filtering/VectorDataManipulation/test/otbConcatenateVectorDataFilter.cxx
@@ -34,12 +34,6 @@ typedef otb::VectorDataFileReader<VectorDataType>         ReaderType;
 typedef otb::VectorDataFileWriter<VectorDataType>         WriterType;
 typedef otb::ConcatenateVectorDataFilter<VectorDataType>  ConcatenateFilterType;
 
-int otbConcatenateVectorDataFilterNew (int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  ConcatenateFilterType::Pointer concatenate = ConcatenateFilterType::New();
-  return EXIT_SUCCESS;
-}
-
 int otbConcatenateVectorDataFilter (int argc, char * argv[])
 {
   // Parse command line parameters
diff --git a/Modules/Filtering/VectorDataManipulation/test/otbDBOverlapDataNodeFeatureFunction.cxx b/Modules/Filtering/VectorDataManipulation/test/otbDBOverlapDataNodeFeatureFunction.cxx
index 19328d8d2a..091ff84e6e 100644
--- a/Modules/Filtering/VectorDataManipulation/test/otbDBOverlapDataNodeFeatureFunction.cxx
+++ b/Modules/Filtering/VectorDataManipulation/test/otbDBOverlapDataNodeFeatureFunction.cxx
@@ -26,19 +26,6 @@
 #include "otbVectorDataFileReader.h"
 #include "otbVectorDataFileWriter.h"
 
-int otbDBOverlapDataNodeFeatureFunctionNew(int itkNotUsed(argc), char* itkNotUsed(argv) [])
-{
-  typedef double CoordRepType;
-  typedef double PrecisionType;
-  typedef otb::DBOverlapDataNodeFeatureFunction<CoordRepType, PrecisionType>
-                                       DataNodeFeaturefunctionType;
-
-  DataNodeFeaturefunctionType::Pointer DBOverlapFeature = DataNodeFeaturefunctionType::New();
-
-  std::cout << DBOverlapFeature<< std::endl;
-
-  return EXIT_SUCCESS;
-}
 
 int otbDBOverlapDataNodeFeatureFunction(int itkNotUsed(argc), char* argv[])
 {
diff --git a/Modules/Filtering/VectorDataManipulation/test/otbRadiometryHomogenousWithNeighborhoodDataNodeFeatureFunction.cxx b/Modules/Filtering/VectorDataManipulation/test/otbRadiometryHomogenousWithNeighborhoodDataNodeFeatureFunction.cxx
index c97a529e10..b3b9eff5e3 100644
--- a/Modules/Filtering/VectorDataManipulation/test/otbRadiometryHomogenousWithNeighborhoodDataNodeFeatureFunction.cxx
+++ b/Modules/Filtering/VectorDataManipulation/test/otbRadiometryHomogenousWithNeighborhoodDataNodeFeatureFunction.cxx
@@ -28,20 +28,6 @@
 #include "otbVectorDataFileWriter.h"
 #include "itkPreOrderTreeIterator.h"
 
-int otbRadiometryHomogenousWithNeighborhoodDataNodeFeatureFunctionNew(int itkNotUsed(argc), char* itkNotUsed(argv) [])
-{
-  typedef double CoordRepType;
-  typedef double PrecisionType;
-  typedef otb::VectorImage<double, 2>  ImageType;
-  typedef otb::RadiometryHomogenousWithNeighborhoodDataNodeFeatureFunction<ImageType, CoordRepType, PrecisionType>
-                                       DataNodeFeaturefunctionType;
-
-  DataNodeFeaturefunctionType::Pointer featureFunction = DataNodeFeaturefunctionType::New();
-
-  std::cout << featureFunction << std::endl;
-
-  return EXIT_SUCCESS;
-}
 
 int otbRadiometryHomogenousWithNeighborhoodDataNodeFeatureFunction(int itkNotUsed(argc), char* argv[])
 {
diff --git a/Modules/Filtering/VectorDataManipulation/test/otbVectorDataToRandomLineGenerator.cxx b/Modules/Filtering/VectorDataManipulation/test/otbVectorDataToRandomLineGenerator.cxx
index 181dbb11a2..30ad67f6a1 100644
--- a/Modules/Filtering/VectorDataManipulation/test/otbVectorDataToRandomLineGenerator.cxx
+++ b/Modules/Filtering/VectorDataManipulation/test/otbVectorDataToRandomLineGenerator.cxx
@@ -24,18 +24,6 @@
 #include "otbVectorDataFileWriter.h"
 #include "otbVectorDataToRandomLineGenerator.h"
 
-int otbVectorDataToRandomLineGeneratorNew(int itkNotUsed(argc), char* itkNotUsed(argv) [])
-{
-  typedef otb::VectorData<>                                        VectorDataType;
-  typedef otb::VectorDataToRandomLineGenerator<VectorDataType>     GeneratorType;
-
-  // instantiation
-  GeneratorType::Pointer generator = GeneratorType::New();
-
-  std::cout << generator << std::endl;
-
-  return EXIT_SUCCESS;
-}
 
 int otbVectorDataToRandomLineGenerator(int itkNotUsed(argc), char* argv[])
 {
diff --git a/Modules/Filtering/VectorDataManipulation/test/otbVectorDataToSpecificDescriptionFilterBase.cxx b/Modules/Filtering/VectorDataManipulation/test/otbVectorDataToSpecificDescriptionFilterBase.cxx
index 596c4484b5..13407bbe97 100644
--- a/Modules/Filtering/VectorDataManipulation/test/otbVectorDataToSpecificDescriptionFilterBase.cxx
+++ b/Modules/Filtering/VectorDataManipulation/test/otbVectorDataToSpecificDescriptionFilterBase.cxx
@@ -24,17 +24,3 @@
 
 #include "otbVectorData.h"
 
-int otbVectorDataToSpecificDescriptionFilterBaseNew(int itkNotUsed(argc), char * itkNotUsed(argv)[])
-{
-  typedef float                           PrecisionType;
-  typedef otb::VectorData<PrecisionType>  VectorDataType;
-  typedef otb::VectorDataToSpecificDescriptionFilterBase<VectorDataType>
-                                          VectorDataToSpecificDescriptionFilterType;
-
-  VectorDataToSpecificDescriptionFilterType::Pointer filter =
-    VectorDataToSpecificDescriptionFilterType::New();
-
-  std::cout<<filter<<std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Fusion/Fuzzy/test/otbFuzzyDescriptorsModelManager.cxx b/Modules/Fusion/Fuzzy/test/otbFuzzyDescriptorsModelManager.cxx
index 315fc10fc4..f24ac62631 100644
--- a/Modules/Fusion/Fuzzy/test/otbFuzzyDescriptorsModelManager.cxx
+++ b/Modules/Fusion/Fuzzy/test/otbFuzzyDescriptorsModelManager.cxx
@@ -25,11 +25,6 @@
 #include <stdlib.h>
 #include "itkMacro.h"
 
-int otbFuzzyDescriptorsModelManagerNew(int itkNotUsed(argc), char * itkNotUsed(argv)[])
-{
-  otb::FuzzyDescriptorsModelManager mng;
-  return EXIT_SUCCESS;
-}
 
 
 int otbFuzzyDescriptorsModelManagerTest(int itkNotUsed(argc), char* argv[])
diff --git a/Modules/Hyperspectral/EndmembersExtraction/test/otbVCAImageFilter.cxx b/Modules/Hyperspectral/EndmembersExtraction/test/otbVCAImageFilter.cxx
index 369d74ecc9..83b9764286 100644
--- a/Modules/Hyperspectral/EndmembersExtraction/test/otbVCAImageFilter.cxx
+++ b/Modules/Hyperspectral/EndmembersExtraction/test/otbVCAImageFilter.cxx
@@ -35,12 +35,6 @@ typedef otb::VCAImageFilter<VectorImageType> VCAFilterType;
 typedef otb::ImageFileReader<VectorImageType> ReaderType;
 typedef otb::ImageFileWriter<VectorImageType> WriterType;
 
-int otbVCAImageFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv)[])
-{
-  VCAFilterType::Pointer vca = VCAFilterType::New();
-  std::cout << vca << std::endl;
-  return EXIT_SUCCESS;
-}
 
 int otbVCAImageFilterTestHighSNR(int itkNotUsed(argc), char * argv[])
 {
diff --git a/Modules/IO/Carto/test/otbImageToOSMVectorDataGenerator.cxx b/Modules/IO/Carto/test/otbImageToOSMVectorDataGenerator.cxx
index 7fc5f9991e..2f1291139c 100644
--- a/Modules/IO/Carto/test/otbImageToOSMVectorDataGenerator.cxx
+++ b/Modules/IO/Carto/test/otbImageToOSMVectorDataGenerator.cxx
@@ -38,13 +38,6 @@ typedef otb::ImageFileReader<ImageType>             ReaderType;
 typedef otb::VectorDataFileWriter<VectorDataType>   VectorDataFileWriterType;
 
 
-int otbImageToOSMVectorDataGeneratorNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  FilterType::Pointer vdgenerator = FilterType::New();
-
-
-  return EXIT_SUCCESS;
-}
 
 
 int otbImageToOSMVectorDataGenerator(int argc, char * argv[])
diff --git a/Modules/IO/Carto/test/otbOSMDataToVectorDataTests.cxx b/Modules/IO/Carto/test/otbOSMDataToVectorDataTests.cxx
index 580bfee58f..8e646f60c6 100644
--- a/Modules/IO/Carto/test/otbOSMDataToVectorDataTests.cxx
+++ b/Modules/IO/Carto/test/otbOSMDataToVectorDataTests.cxx
@@ -27,13 +27,6 @@ typedef otb::OSMDataToVectorDataGenerator                     FilterType;
 typedef otb::VectorDataFileWriter<FilterType::VectorDataType> VectorDataFileWriterType;
 
 
-int otbOSMToVectorDataGeneratorNew (int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  FilterType::Pointer filter = FilterType::New();
-
-  return EXIT_SUCCESS;
-}
-
 int otbOSMToVectorDataGeneratorTest (int itkNotUsed(argc), char * argv[])
 {
   FilterType::Pointer filter = FilterType::New();
diff --git a/Modules/IO/IOGDAL/test/otbGDALOverviewsBuilder.cxx b/Modules/IO/IOGDAL/test/otbGDALOverviewsBuilder.cxx
index f2dd4836ec..0209a1aa8f 100644
--- a/Modules/IO/IOGDAL/test/otbGDALOverviewsBuilder.cxx
+++ b/Modules/IO/IOGDAL/test/otbGDALOverviewsBuilder.cxx
@@ -25,15 +25,6 @@
 
 using namespace otb;
 
-int otbGDALOverviewsBuilderNew(int itkNotUsed(argc), char* itkNotUsed(argv) [])
-{
-  typedef otb::GDALOverviewsBuilder GDALOverviewsBuilderType;
-  GDALOverviewsBuilderType::Pointer object = GDALOverviewsBuilderType::New();
-
-  std::cout << object << std::endl;
-
-  return EXIT_SUCCESS;
-}
 
 int otbGDALOverviewsBuilder(int itkNotUsed(argc), char* argv[])
 {
diff --git a/Modules/IO/IOTileMap/test/otbTileMapImageIOHelperTest.cxx b/Modules/IO/IOTileMap/test/otbTileMapImageIOHelperTest.cxx
index 10589a0a54..e6ca622d96 100644
--- a/Modules/IO/IOTileMap/test/otbTileMapImageIOHelperTest.cxx
+++ b/Modules/IO/IOTileMap/test/otbTileMapImageIOHelperTest.cxx
@@ -22,13 +22,6 @@
 #include <fstream>
 #include "otbTileMapImageIOHelper.h"
 
-int otbTileMapImageIOHelperNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-
-  otb::TileMapImageIOHelper::Pointer myTileMapImageIOHelper;
-  myTileMapImageIOHelper = otb::TileMapImageIOHelper::New();
-  return EXIT_SUCCESS;
-}
 
 int otbTileMapImageIOHelperTest(int itkNotUsed(argc), char * argv[])
 {
diff --git a/Modules/IO/ImageIO/test/otbComplexImageTests.cxx b/Modules/IO/ImageIO/test/otbComplexImageTests.cxx
index 78042bd620..9822b0444d 100644
--- a/Modules/IO/ImageIO/test/otbComplexImageTests.cxx
+++ b/Modules/IO/ImageIO/test/otbComplexImageTests.cxx
@@ -30,15 +30,6 @@
 #include "otbVectorImage.h"
 #include "otbImageFileReader.h"
 
-int otbVectorImageComplexNew(int itkNotUsed(argc), char* itkNotUsed(argv) [])
-{
-  typedef std::complex<float>            PixelType;
-  typedef otb::VectorImage<PixelType, 2> ImageType;
-  ImageType::Pointer image = ImageType::New();
-  image->Initialize();
-
-  return EXIT_SUCCESS;
-}
 
 
 template<class InternalType>
diff --git a/Modules/IO/KMZWriter/test/otbKmzProductWriter.cxx b/Modules/IO/KMZWriter/test/otbKmzProductWriter.cxx
index 01dfac92d2..6ebc4c8872 100644
--- a/Modules/IO/KMZWriter/test/otbKmzProductWriter.cxx
+++ b/Modules/IO/KMZWriter/test/otbKmzProductWriter.cxx
@@ -33,11 +33,6 @@ typedef GCPsToSensorModelFilterType::Point2DType        Point2DType;
 typedef GCPsToSensorModelFilterType::Point3DType        Point3DType;
 
 
-int otbKmzProductWriterNew(int itkNotUsed(argc), char* itkNotUsed(argv) [])
-{
-  KmzProductWriterType::Pointer  kmzWriter  = KmzProductWriterType::New();
-  return EXIT_SUCCESS;
-}
 
 int otbKmzProductWriter(int argc, char* argv[])
 {
diff --git a/Modules/Learning/DempsterShafer/test/otbConfusionMatrixToMassOfBeliefTest.cxx b/Modules/Learning/DempsterShafer/test/otbConfusionMatrixToMassOfBeliefTest.cxx
index 09e6c90d50..01d64a9b22 100644
--- a/Modules/Learning/DempsterShafer/test/otbConfusionMatrixToMassOfBeliefTest.cxx
+++ b/Modules/Learning/DempsterShafer/test/otbConfusionMatrixToMassOfBeliefTest.cxx
@@ -23,35 +23,6 @@
 
 #include "otbConfusionMatrixToMassOfBelief.h"
 
-int otbConfusionMatrixToMassOfBeliefNew(int itkNotUsed(argc), char * itkNotUsed(argv)[])
-{
-  typedef unsigned long                                   ConfusionMatrixEltType;
-  typedef itk::VariableSizeMatrix<ConfusionMatrixEltType> ConfusionMatrixType;
-  typedef int                                             LabelType;
-
-  // filter types
-  typedef otb::ConfusionMatrixToMassOfBelief<ConfusionMatrixType, LabelType>
-      ConfusionMatrixToMassOfBelief2TemplatesType;
-  typedef otb::ConfusionMatrixToMassOfBelief<ConfusionMatrixType> ConfusionMatrixToMassOfBelief1TemplateType;
-  typedef otb::ConfusionMatrixToMassOfBelief<> ConfusionMatrixToMassOfBelief0TemplateType;
-
-  // filters
-  ConfusionMatrixToMassOfBelief2TemplatesType::Pointer
-      confusionMatrixToMassOfBelief2Templates = ConfusionMatrixToMassOfBelief2TemplatesType::New();
-  ConfusionMatrixToMassOfBelief1TemplateType::Pointer
-      confusionMatrixToMassOfBelief1Template = ConfusionMatrixToMassOfBelief1TemplateType::New();
-  ConfusionMatrixToMassOfBelief0TemplateType::Pointer
-      confusionMatrixToMassOfBelief0Template = ConfusionMatrixToMassOfBelief0TemplateType::New();
-
-  std::cout << confusionMatrixToMassOfBelief2Templates << std::endl;
-  std::cout << std::endl;
-  std::cout << confusionMatrixToMassOfBelief1Template << std::endl;
-  std::cout << std::endl;
-  std::cout << confusionMatrixToMassOfBelief0Template << std::endl;
-  std::cout << std::endl;
-
-  return EXIT_SUCCESS;
-}
 
 
 int otbConfusionMatrixToMassOfBeliefTest(int itkNotUsed(argc), char* argv[])
diff --git a/Modules/Learning/DempsterShafer/test/otbDSFusionOfClassifiersImageFilterTest.cxx b/Modules/Learning/DempsterShafer/test/otbDSFusionOfClassifiersImageFilterTest.cxx
index 9958e8d902..7d971c8d1e 100644
--- a/Modules/Learning/DempsterShafer/test/otbDSFusionOfClassifiersImageFilterTest.cxx
+++ b/Modules/Learning/DempsterShafer/test/otbDSFusionOfClassifiersImageFilterTest.cxx
@@ -158,33 +158,6 @@ int CSVConfusionMatrixFileReader(const std::string fileName, MapOfClassesType &m
 
 
 
-int otbDSFusionOfClassifiersImageFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv)[])
-{
-  const  unsigned int Dimension = 2;
-
-  typedef otb::VectorImage<PixelType, Dimension>  VectorImageType;
-  typedef otb::Image<PixelType, Dimension>        OutputImageType;
-  typedef otb::Image<unsigned int, Dimension>     MaskType;
-
-  // filter types
-  typedef otb::DSFusionOfClassifiersImageFilter<VectorImageType, OutputImageType, MaskType>
-      DSFusionOfClassifiersImageFilter3TemplatesType;
-  typedef otb::DSFusionOfClassifiersImageFilter<VectorImageType, OutputImageType>
-      DSFusionOfClassifiersImageFilter2TemplatesType;
-
-  // filters
-  DSFusionOfClassifiersImageFilter3TemplatesType::Pointer
-      dsFusionOfClassifiersImageFilter3Templates = DSFusionOfClassifiersImageFilter3TemplatesType::New();
-  DSFusionOfClassifiersImageFilter2TemplatesType::Pointer
-      dsFusionOfClassifiersImageFilter2Templates = DSFusionOfClassifiersImageFilter2TemplatesType::New();
-
-  std::cout << dsFusionOfClassifiersImageFilter3Templates << std::endl;
-  std::cout << std::endl;
-  std::cout << dsFusionOfClassifiersImageFilter2Templates << std::endl;
-  std::cout << std::endl;
-
-  return EXIT_SUCCESS;
-}
 
 
 
diff --git a/Modules/Learning/DempsterShafer/test/otbStandardDSCostFunction.cxx b/Modules/Learning/DempsterShafer/test/otbStandardDSCostFunction.cxx
index bdcd2e85ed..a009df637c 100644
--- a/Modules/Learning/DempsterShafer/test/otbStandardDSCostFunction.cxx
+++ b/Modules/Learning/DempsterShafer/test/otbStandardDSCostFunction.cxx
@@ -23,18 +23,3 @@
 #include "otbStandardDSCostFunction.h"
 
 
-int otbStandardDSCostFunctionNew(int itkNotUsed(argc), char * itkNotUsed(argv)[])
-{
-  typedef double                          PrecisionType;
-  typedef otb::VectorData<PrecisionType>  VectorDataType;
-  typedef otb::VectorDataToDSValidatedVectorDataFilter<VectorDataType, PrecisionType>
-                                          VectorDataValidationFilterType;
-  typedef otb::StandardDSCostFunction<VectorDataValidationFilterType>
-                                          CostFunctionType;
-
-  CostFunctionType::Pointer costFunction = CostFunctionType::New();
-
-  std::cout<<costFunction<<std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Learning/DempsterShafer/test/otbVectorDataToDSValidatedVectorDataFilter.cxx b/Modules/Learning/DempsterShafer/test/otbVectorDataToDSValidatedVectorDataFilter.cxx
index 27e6ab3c54..a4f1e3b131 100644
--- a/Modules/Learning/DempsterShafer/test/otbVectorDataToDSValidatedVectorDataFilter.cxx
+++ b/Modules/Learning/DempsterShafer/test/otbVectorDataToDSValidatedVectorDataFilter.cxx
@@ -25,21 +25,6 @@
 #include "otbVectorDataFileReader.h"
 #include "otbVectorDataFileWriter.h"
 
-int otbVectorDataToDSValidatedVectorDataFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv)[])
-{
-  typedef float                           PrecisionType;
-  typedef otb::VectorData<PrecisionType>  VectorDataType;
-
-  typedef otb::VectorDataToDSValidatedVectorDataFilter<VectorDataType, PrecisionType>
-                                          VectorDataValidationFilterType;
-
-  VectorDataValidationFilterType::Pointer filter =
-    VectorDataValidationFilterType::New();
-
-  std::cout << filter << std::endl;
-
-  return EXIT_SUCCESS;
-}
 
 int otbVectorDataToDSValidatedVectorDataFilter(int itkNotUsed(argc), char* argv[])
 {
diff --git a/Modules/Learning/DimensionalityReductionLearning/test/otbAutoencoderModelTest.cxx b/Modules/Learning/DimensionalityReductionLearning/test/otbAutoencoderModelTest.cxx
index ad3880f6f5..0dddc42111 100644
--- a/Modules/Learning/DimensionalityReductionLearning/test/otbAutoencoderModelTest.cxx
+++ b/Modules/Learning/DimensionalityReductionLearning/test/otbAutoencoderModelTest.cxx
@@ -26,12 +26,6 @@ typedef otb::AutoencoderModel<double, shark::LogisticNeuron> LogAutoencoderModel
 typedef LogAutoencoderModel::InputListSampleType InputListSampleType;
 typedef LogAutoencoderModel::TargetListSampleType TargetListSampleType;
 
-int otbAutoencoderModelNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  LogAutoencoderModel::Pointer model = LogAutoencoderModel::New();
-
-  return EXIT_SUCCESS;
-}
 
 int otbAutoencoderModelCanRead(int argc, char * argv [])
 {
diff --git a/Modules/Learning/DimensionalityReductionLearning/test/otbPCAModelTest.cxx b/Modules/Learning/DimensionalityReductionLearning/test/otbPCAModelTest.cxx
index 6fe3945e43..6c0ff3dbf0 100644
--- a/Modules/Learning/DimensionalityReductionLearning/test/otbPCAModelTest.cxx
+++ b/Modules/Learning/DimensionalityReductionLearning/test/otbPCAModelTest.cxx
@@ -25,12 +25,6 @@ typedef otb::PCAModel<double> PCAModelType;
 typedef PCAModelType::InputListSampleType InputListSampleType;
 typedef PCAModelType::TargetListSampleType TargetListSampleType;
 
-int otbPCAModelNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  PCAModelType::Pointer model = PCAModelType::New();
-
-  return EXIT_SUCCESS;
-}
 
 int otbPCAModelCanRead(int argc, char * argv [])
 {
diff --git a/Modules/Learning/DimensionalityReductionLearning/test/otbSOMModelTest.cxx b/Modules/Learning/DimensionalityReductionLearning/test/otbSOMModelTest.cxx
index 092cac8404..819a3e1e75 100644
--- a/Modules/Learning/DimensionalityReductionLearning/test/otbSOMModelTest.cxx
+++ b/Modules/Learning/DimensionalityReductionLearning/test/otbSOMModelTest.cxx
@@ -29,15 +29,6 @@ typedef otb::SOMModel<double,5> SOMModel5D;
 typedef SOMModel2D::InputListSampleType InputListSampleType;
 typedef SOMModel2D::TargetListSampleType TargetListSampleType;
 
-int otbSOMModelNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  SOMModel2D::Pointer model2D = SOMModel2D::New();
-  SOMModel3D::Pointer model3D = SOMModel3D::New();
-  SOMModel4D::Pointer model4D = SOMModel4D::New();
-  SOMModel5D::Pointer model5D = SOMModel5D::New();
-
-  return EXIT_SUCCESS;
-}
 
 int otbSOMModelCanRead(int argc, char * argv [])
 {
diff --git a/Modules/Learning/LearningBase/test/otbGaussianModelComponent.cxx b/Modules/Learning/LearningBase/test/otbGaussianModelComponent.cxx
index 1ce190b800..c01b1e7fc9 100644
--- a/Modules/Learning/LearningBase/test/otbGaussianModelComponent.cxx
+++ b/Modules/Learning/LearningBase/test/otbGaussianModelComponent.cxx
@@ -24,15 +24,3 @@
 #include "otbGaussianModelComponent.h"
 #include "itkVariableLengthVector.h"
 
-int otbGaussianModelComponentNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-
-  typedef itk::Statistics::ListSample<itk::VariableLengthVector<double> >  SampleType;
-  typedef itk::Statistics::Subsample< SampleType >                   ClassSampleType;
-  typedef otb::Statistics::GaussianModelComponent<ClassSampleType>   GaussianModelType;
-
-  GaussianModelType::Pointer filter = GaussianModelType::New();
-
-  return EXIT_SUCCESS;
-
-}
diff --git a/Modules/Learning/Markov/test/otbMRFEnergyFisherClassification.cxx b/Modules/Learning/Markov/test/otbMRFEnergyFisherClassification.cxx
index d79ebe4ccd..0b346a3f0c 100644
--- a/Modules/Learning/Markov/test/otbMRFEnergyFisherClassification.cxx
+++ b/Modules/Learning/Markov/test/otbMRFEnergyFisherClassification.cxx
@@ -24,21 +24,6 @@
 #include "otbImage.h"
 #include <fstream>
 
-int otbMRFEnergyFisherClassificationNew(int itkNotUsed(argc), char * itkNotUsed(argv)[])
-{
-  typedef double                        PixelTypeInput;
-  typedef int                           PixelTypeLabel;
-  typedef otb::Image<PixelTypeInput, 2> ImageType;
-  typedef otb::Image<PixelTypeLabel, 2> LabelType;
-
-  typedef otb::MRFEnergyFisherClassification<ImageType, LabelType> MRFFisherType;
-
-  MRFFisherType::Pointer classif = MRFFisherType::New();
-
-  std::cout << classif << std::endl;
-
-  return EXIT_SUCCESS;
-}
 
 int otbMRFEnergyFisherClassification(int itkNotUsed(argc), char * argv[])
 {
diff --git a/Modules/Learning/Sampling/test/otbImageSampleExtractorFilterTest.cxx b/Modules/Learning/Sampling/test/otbImageSampleExtractorFilterTest.cxx
index 414a773027..a9c1d2a00e 100644
--- a/Modules/Learning/Sampling/test/otbImageSampleExtractorFilterTest.cxx
+++ b/Modules/Learning/Sampling/test/otbImageSampleExtractorFilterTest.cxx
@@ -26,15 +26,6 @@
 #include "itkPhysicalPointImageSource.h"
 #include <fstream>
 
-int otbImageSampleExtractorFilterNew(int itkNotUsed(argc), char* itkNotUsed(argv) [])
-{
-  typedef otb::VectorImage<float> InputImageType;
-  typedef otb::ImageSampleExtractorFilter<InputImageType> FilterType;
-
-  FilterType::Pointer filter = FilterType::New();
-  std::cout << filter << std::endl;
-  return EXIT_SUCCESS;
-}
 
 int otbImageSampleExtractorFilter(int argc, char* argv[])
 {
diff --git a/Modules/Learning/Sampling/test/otbOGRDataToClassStatisticsFilterTest.cxx b/Modules/Learning/Sampling/test/otbOGRDataToClassStatisticsFilterTest.cxx
index 47da4c0553..9b1f37bd65 100644
--- a/Modules/Learning/Sampling/test/otbOGRDataToClassStatisticsFilterTest.cxx
+++ b/Modules/Learning/Sampling/test/otbOGRDataToClassStatisticsFilterTest.cxx
@@ -24,16 +24,6 @@
 #include "otbImage.h"
 #include <fstream>
 
-int otbOGRDataToClassStatisticsFilterNew(int itkNotUsed(argc), char* itkNotUsed(argv) [])
-{
-  typedef otb::VectorImage<float> InputImageType;
-  typedef otb::Image<unsigned char> MaskImageType;
-  typedef otb::OGRDataToClassStatisticsFilter<InputImageType,MaskImageType> FilterType;
-  
-  FilterType::Pointer filter = FilterType::New();
-  std::cout << filter << std::endl;
-  return EXIT_SUCCESS;
-}
 
 int otbOGRDataToClassStatisticsFilter(int argc, char* argv[])
 {
diff --git a/Modules/Learning/Sampling/test/otbOGRDataToSamplePositionFilterTest.cxx b/Modules/Learning/Sampling/test/otbOGRDataToSamplePositionFilterTest.cxx
index 91994335ea..c3fcad89a5 100644
--- a/Modules/Learning/Sampling/test/otbOGRDataToSamplePositionFilterTest.cxx
+++ b/Modules/Learning/Sampling/test/otbOGRDataToSamplePositionFilterTest.cxx
@@ -132,16 +132,6 @@ int TestPositionContainers(otb::ogr::DataSource *output, otb::ogr::DataSource *b
   return EXIT_SUCCESS;
 }
 
-int otbOGRDataToSamplePositionFilterNew(int itkNotUsed(argc), char* itkNotUsed(argv) [])
-{
-  typedef otb::VectorImage<float> InputImageType;
-  typedef otb::Image<unsigned char> MaskImageType;
-  typedef otb::OGRDataToSamplePositionFilter<InputImageType , MaskImageType> FilterType;
-  
-  FilterType::Pointer filter = FilterType::New();
-  std::cout << filter << std::endl;
-  return EXIT_SUCCESS;
-}
 
 int otbOGRDataToSamplePositionFilter(int argc, char* argv[])
 {
diff --git a/Modules/Learning/Sampling/test/otbSamplingRateCalculatorListTest.cxx b/Modules/Learning/Sampling/test/otbSamplingRateCalculatorListTest.cxx
index e3e2a32239..3db59b2537 100644
--- a/Modules/Learning/Sampling/test/otbSamplingRateCalculatorListTest.cxx
+++ b/Modules/Learning/Sampling/test/otbSamplingRateCalculatorListTest.cxx
@@ -25,14 +25,6 @@
 #include "itkVariableLengthVector.h"
 #include <fstream>
 
-int otbSamplingRateCalculatorListNew(int itkNotUsed(argc), char* itkNotUsed(argv) [])
-{
-  typedef otb::SamplingRateCalculatorList RateCalculatorListType;
-  
-  RateCalculatorListType::Pointer rateCalculator = RateCalculatorListType::New();
-  std::cout << rateCalculator << std::endl;
-  return EXIT_SUCCESS;
-}
 
 int otbSamplingRateCalculatorList(int itkNotUsed(argc), char* argv[])
 {
diff --git a/Modules/Learning/Sampling/test/otbSamplingRateCalculatorTest.cxx b/Modules/Learning/Sampling/test/otbSamplingRateCalculatorTest.cxx
index 9ad4ffb586..24dc6e655e 100644
--- a/Modules/Learning/Sampling/test/otbSamplingRateCalculatorTest.cxx
+++ b/Modules/Learning/Sampling/test/otbSamplingRateCalculatorTest.cxx
@@ -24,14 +24,6 @@
 #include "otbStatisticsXMLFileReader.h"
 #include "itkVariableLengthVector.h"
 
-int otbSamplingRateCalculatorNew(int itkNotUsed(argc), char* itkNotUsed(argv) [])
-{
-  typedef otb::SamplingRateCalculator RateCalculatorype;
-  
-  RateCalculatorype::Pointer rateCalculator = RateCalculatorype::New();
-  std::cout << rateCalculator << std::endl;
-  return EXIT_SUCCESS;
-}
 
 int otbSamplingRateCalculator(int itkNotUsed(argc), char* argv[])
 {
diff --git a/Modules/Learning/Supervised/test/otbConfusionMatrixCalculatorTest.cxx b/Modules/Learning/Supervised/test/otbConfusionMatrixCalculatorTest.cxx
index 3c1102d8bf..ec824bc45e 100644
--- a/Modules/Learning/Supervised/test/otbConfusionMatrixCalculatorTest.cxx
+++ b/Modules/Learning/Supervised/test/otbConfusionMatrixCalculatorTest.cxx
@@ -22,22 +22,6 @@
 #include "itkListSample.h"
 #include "otbConfusionMatrixCalculator.h"
 
-int otbConfusionMatrixCalculatorNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-
-  typedef itk::VariableLengthVector<int>          PLabelType;
-  typedef itk::Statistics::ListSample<PLabelType> PListLabelType;
-  typedef itk::FixedArray<int, 1>                 RLabelType;
-  typedef itk::Statistics::ListSample<RLabelType> RListLabelType;
-  typedef otb::ConfusionMatrixCalculator<RListLabelType,
-      PListLabelType> CalculatorType;
-
-  CalculatorType::Pointer calculator = CalculatorType::New();
-
-  std::cout << calculator << std::endl;
-
-  return EXIT_SUCCESS;
-}
 
 int otbConfusionMatrixCalculatorSetListSamples(int argc, char* argv[])
 {
diff --git a/Modules/Learning/Supervised/test/otbConfusionMatrixMeasurementsTest.cxx b/Modules/Learning/Supervised/test/otbConfusionMatrixMeasurementsTest.cxx
index 1b8acc872d..a56118b707 100644
--- a/Modules/Learning/Supervised/test/otbConfusionMatrixMeasurementsTest.cxx
+++ b/Modules/Learning/Supervised/test/otbConfusionMatrixMeasurementsTest.cxx
@@ -145,34 +145,6 @@ int CSVConfusionMatrixFileReader(const std::string fileName, MapOfClassesType &m
 
 
 
-int otbConfusionMatrixMeasurementsNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  /*typedef unsigned long                                   ConfusionMatrixEltType;
-  typedef itk::VariableSizeMatrix<ConfusionMatrixEltType> ConfusionMatrixType;
-  typedef unsigned char                                   LabelType; */
-
-  // filter types
-  typedef otb::ConfusionMatrixMeasurements<ConfusionMatrixType, ClassLabelType> ConfusionMatrixMeasurements2TemplatesType;
-  typedef otb::ConfusionMatrixMeasurements<ConfusionMatrixType>                 ConfusionMatrixMeasurements1TemplateType;
-  typedef otb::ConfusionMatrixMeasurements<>                                    ConfusionMatrixMeasurements0TemplateType;
-
-  // filters
-  ConfusionMatrixMeasurements2TemplatesType::Pointer
-      confusionMatrixMeasurements2Templates = ConfusionMatrixMeasurements2TemplatesType::New();
-  ConfusionMatrixMeasurements1TemplateType::Pointer
-      confusionMatrixMeasurements1Template = ConfusionMatrixMeasurements1TemplateType::New();
-  ConfusionMatrixMeasurements0TemplateType::Pointer
-      confusionMatrixMeasurements0Template = ConfusionMatrixMeasurements0TemplateType::New();
-
-  std::cout << confusionMatrixMeasurements2Templates << std::endl;
-  std::cout << std::endl;
-  std::cout << confusionMatrixMeasurements1Template << std::endl;
-  std::cout << std::endl;
-  std::cout << confusionMatrixMeasurements0Template << std::endl;
-  std::cout << std::endl;
-
-  return EXIT_SUCCESS;
-}
 
 
 int otbConfusionMatrixMeasurementsTest(int itkNotUsed(argc), char* itkNotUsed(argv) [])
diff --git a/Modules/Learning/Supervised/test/otbImageClassificationFilter.cxx b/Modules/Learning/Supervised/test/otbImageClassificationFilter.cxx
index 7f7ad85ad9..76a31e2e9f 100644
--- a/Modules/Learning/Supervised/test/otbImageClassificationFilter.cxx
+++ b/Modules/Learning/Supervised/test/otbImageClassificationFilter.cxx
@@ -39,11 +39,6 @@ typedef otb::MachineLearningModelFactory<ValueType, LabelType> MachineLearningMo
 typedef otb::ImageFileReader<ImageType> ReaderType;
 typedef otb::ImageFileWriter<LabeledImageType> WriterType;
 
-int otbImageClassificationFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  ClassificationFilterType::Pointer filter = ClassificationFilterType::New();
-  return EXIT_SUCCESS;
-}
 
 int otbImageClassificationFilterLoadModel(int itkNotUsed(argc), char * argv[])
 {
diff --git a/Modules/Learning/Supervised/test/otbLabelMapClassifier.cxx b/Modules/Learning/Supervised/test/otbLabelMapClassifier.cxx
index 094e3e3a23..e41355b235 100644
--- a/Modules/Learning/Supervised/test/otbLabelMapClassifier.cxx
+++ b/Modules/Learning/Supervised/test/otbLabelMapClassifier.cxx
@@ -75,11 +75,6 @@ LabelObjectType::Pointer makeTrainingSample(LabelMapType* labelMap, LabelType la
   return newLabelObject;
 }
 
-int otbLabelMapClassifierNew(int itkNotUsed(argc), char * itkNotUsed(argv)[])
-{
-  ClassifierType::Pointer classifier = ClassifierType::New();
-  return EXIT_SUCCESS;
-}
 
 int otbLabelMapClassifier(int itkNotUsed(argc), char * argv[])
 {
diff --git a/Modules/Learning/Supervised/test/otbSVMMarginSampler.cxx b/Modules/Learning/Supervised/test/otbSVMMarginSampler.cxx
index f70bb88332..e004ca0229 100644
--- a/Modules/Learning/Supervised/test/otbSVMMarginSampler.cxx
+++ b/Modules/Learning/Supervised/test/otbSVMMarginSampler.cxx
@@ -27,16 +27,3 @@
 #include "otbSVMMarginSampler.h"
 #include "otbLibSVMMachineLearningModel.h"
 
-int otbSVMMarginSamplerNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  typedef itk::VariableLengthVector<double>                 SampleType;
-  typedef itk::Statistics::ListSample<SampleType>           SampleListType;
-  typedef otb::LibSVMMachineLearningModel<double,unsigned int> SVMModelType;
-  typedef otb::SVMMarginSampler<SampleListType,SVMModelType>     MarginSamplerType;
-
-  MarginSamplerType::Pointer  marginSampler = MarginSamplerType::New();
-
-  std::cout << marginSampler << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Learning/Supervised/test/otbTrainMachineLearningModel.cxx b/Modules/Learning/Supervised/test/otbTrainMachineLearningModel.cxx
index 319169c79e..f6d6061df9 100644
--- a/Modules/Learning/Supervised/test/otbTrainMachineLearningModel.cxx
+++ b/Modules/Learning/Supervised/test/otbTrainMachineLearningModel.cxx
@@ -50,12 +50,6 @@ typedef otb::ConfusionMatrixCalculator<TargetListSampleType, TargetListSampleTyp
 
 #ifdef OTB_USE_LIBSVM
 #include "otbLibSVMMachineLearningModel.h"
-int otbLibSVMMachineLearningModelNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  typedef otb::LibSVMMachineLearningModel<InputValueType, TargetValueType> SVMType;
-  SVMType::Pointer svmclassifier = SVMType::New();
-  return EXIT_SUCCESS;
-}
 
 int otbLibSVMMachineLearningModel(int argc, char * argv[])
 {
@@ -139,12 +133,6 @@ int otbLibSVMMachineLearningModel(int argc, char * argv[])
 #include "otbGradientBoostedTreeMachineLearningModel.h"
 #include "otbKNearestNeighborsMachineLearningModel.h"
 
-int otbSVMMachineLearningModelNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  typedef otb::SVMMachineLearningModel<InputValueType,TargetValueType> SVMType;
-  SVMType::Pointer svmclassifier = SVMType::New();
-  return EXIT_SUCCESS;
-}
 
 int otbSVMMachineLearningModel(int argc, char * argv[])
 {
@@ -285,12 +273,6 @@ int otbSVMMachineLearningRegressionModel(int argc, char * argv[])
     }
 }
 
-int otbKNearestNeighborsMachineLearningModelNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  typedef otb::KNearestNeighborsMachineLearningModel<InputValueType,TargetValueType> KNearestNeighborsType;
-  KNearestNeighborsType::Pointer knnclassifier = KNearestNeighborsType::New();
-  return EXIT_SUCCESS;
-}
 
 int otbKNearestNeighborsMachineLearningModel(int argc, char * argv[])
 {
@@ -362,12 +344,6 @@ int otbKNearestNeighborsMachineLearningModel(int argc, char * argv[])
     }
 }
 
-int otbRandomForestsMachineLearningModelNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  typedef otb::RandomForestsMachineLearningModel<InputValueType,TargetValueType> RandomForestType;
-  RandomForestType::Pointer rfclassifier = RandomForestType::New();
-  return EXIT_SUCCESS;
-}
 
 int otbRandomForestsMachineLearningModel(int argc, char * argv[])
 {
@@ -448,12 +424,6 @@ int otbRandomForestsMachineLearningModel(int argc, char * argv[])
     }
 }
 
-int otbBoostMachineLearningModelNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  typedef otb::BoostMachineLearningModel<InputValueType,TargetValueType> BoostType;
-  BoostType::Pointer classifier = BoostType::New();
-  return EXIT_SUCCESS;
-}
 
 int otbBoostMachineLearningModel(int argc, char * argv[])
 {
@@ -534,12 +504,6 @@ int otbBoostMachineLearningModel(int argc, char * argv[])
     }
 }
 
-int otbANNMachineLearningModelNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  typedef otb::NeuralNetworkMachineLearningModel<InputValueType, TargetValueType> ANNType;
-  ANNType::Pointer classifier = ANNType::New();
-  return EXIT_SUCCESS;
-}
 
 int otbANNMachineLearningModel(int argc, char * argv[])
 {
@@ -624,12 +588,6 @@ int otbANNMachineLearningModel(int argc, char * argv[])
     }
 }
 
-int otbNormalBayesMachineLearningModelNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  typedef otb::NormalBayesMachineLearningModel<InputValueType,TargetValueType> NormalBayesType;
-  NormalBayesType::Pointer classifier = NormalBayesType::New();
-  return EXIT_SUCCESS;
-}
 
 int otbNormalBayesMachineLearningModel(int argc, char * argv[])
 {
@@ -701,12 +659,6 @@ int otbNormalBayesMachineLearningModel(int argc, char * argv[])
     }
 }
 
-int otbDecisionTreeMachineLearningModelNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  typedef otb::DecisionTreeMachineLearningModel<InputValueType,TargetValueType> DecisionTreeType;
-  DecisionTreeType::Pointer classifier = DecisionTreeType::New();
-  return EXIT_SUCCESS;
-}
 
 int otbDecisionTreeMachineLearningModel(int argc, char * argv[])
 {
@@ -779,12 +731,6 @@ int otbDecisionTreeMachineLearningModel(int argc, char * argv[])
 }
 
 #ifndef OTB_OPENCV_3
-int otbGradientBoostedTreeMachineLearningModelNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  typedef otb::GradientBoostedTreeMachineLearningModel<InputValueType,TargetValueType> GBTreeType;
-  GBTreeType::Pointer classifier = GBTreeType::New();
-  return EXIT_SUCCESS;
-}
 
 int otbGradientBoostedTreeMachineLearningModel(int argc, char * argv[])
 {
@@ -862,12 +808,6 @@ int otbGradientBoostedTreeMachineLearningModel(int argc, char * argv[])
 #include <chrono> // If shark is on, then we are using c++11
 
 #include "otbSharkRandomForestsMachineLearningModel.h"
-int otbSharkRFMachineLearningModelNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  typedef otb::SharkRandomForestsMachineLearningModel<InputValueType,TargetValueType> SharkRFType;
-  SharkRFType::Pointer classifier = SharkRFType::New();
-  return EXIT_SUCCESS;
-}
 
 int otbSharkRFMachineLearningModel(int argc, char * argv[])
 {
diff --git a/Modules/Learning/Unsupervised/test/otbContingencyTableCalculatorTest.cxx b/Modules/Learning/Unsupervised/test/otbContingencyTableCalculatorTest.cxx
index 1660c17574..25f6e11373 100644
--- a/Modules/Learning/Unsupervised/test/otbContingencyTableCalculatorTest.cxx
+++ b/Modules/Learning/Unsupervised/test/otbContingencyTableCalculatorTest.cxx
@@ -21,16 +21,6 @@
 #include "itkListSample.h"
 #include "otbContingencyTableCalculator.h"
 
-int otbContingencyTableCalculatorNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-
-  typedef int                                             ClassLabelType;
-  typedef otb::ContingencyTableCalculator<ClassLabelType> CalculatorType;
-
-  CalculatorType::Pointer calculator = CalculatorType::New();
-
-  return EXIT_SUCCESS;
-}
 
 
 
diff --git a/Modules/Learning/Unsupervised/test/otbTrainMachineLearningUnsupervisedModel.cxx b/Modules/Learning/Unsupervised/test/otbTrainMachineLearningUnsupervisedModel.cxx
index a0805c29fb..3b30922913 100644
--- a/Modules/Learning/Unsupervised/test/otbTrainMachineLearningUnsupervisedModel.cxx
+++ b/Modules/Learning/Unsupervised/test/otbTrainMachineLearningUnsupervisedModel.cxx
@@ -111,12 +111,6 @@ bool SharkReadDataFile(const std::string & infname, InputListSampleType * sample
 }
 
 
-int otbSharkKMeansMachineLearningModelNew(int itkNotUsed( argc ), char *itkNotUsed( argv )[])
-{
-  typedef otb::SharkKMeansMachineLearningModel<InputValueType, TargetValueType> SharkRFType;
-  SharkRFType::Pointer classifier = SharkRFType::New();
-  return EXIT_SUCCESS;
-}
 
 int otbSharkKMeansMachineLearningModelTrain(int argc, char *argv[])
 {
diff --git a/Modules/Radiometry/Indices/test/otbNDVIDataNodeFeatureFunction.cxx b/Modules/Radiometry/Indices/test/otbNDVIDataNodeFeatureFunction.cxx
index 545827b1b8..fcf9e38db7 100644
--- a/Modules/Radiometry/Indices/test/otbNDVIDataNodeFeatureFunction.cxx
+++ b/Modules/Radiometry/Indices/test/otbNDVIDataNodeFeatureFunction.cxx
@@ -30,20 +30,6 @@
 #include "otbVectorDataFileWriter.h"
 #include "itkPreOrderTreeIterator.h"
 
-int otbNDVIDataNodeFeatureFunctionNew(int itkNotUsed(argc), char* itkNotUsed(argv) [])
-{
-  typedef double CoordRepType;
-  typedef double PrecisionType;
-  typedef otb::VectorImage<double, 2>  ImageType;
-  typedef otb::NDVIDataNodeFeatureFunction<ImageType, CoordRepType, PrecisionType>
-                                       NDVIDataNodeFeaturefunctionType;
-
-  NDVIDataNodeFeaturefunctionType::Pointer NDVIFeature = NDVIDataNodeFeaturefunctionType::New();
-
-  std::cout << NDVIFeature << std::endl;
-
-  return EXIT_SUCCESS;
-}
 
 int otbNDVIDataNodeFeatureFunction(int itkNotUsed(argc), char* argv[])
 {
diff --git a/Modules/Radiometry/OpticalCalibration/test/otbAtmosphericRadiativeTermsTest.cxx b/Modules/Radiometry/OpticalCalibration/test/otbAtmosphericRadiativeTermsTest.cxx
index 128050a03f..5b1a06e74d 100644
--- a/Modules/Radiometry/OpticalCalibration/test/otbAtmosphericRadiativeTermsTest.cxx
+++ b/Modules/Radiometry/OpticalCalibration/test/otbAtmosphericRadiativeTermsTest.cxx
@@ -25,26 +25,7 @@
 #include "otbAtmosphericRadiativeTerms.h"
 #include <cstdlib>
 
-int otbAtmosphericRadiativeTermsNew(int itkNotUsed(argc), char * itkNotUsed(argv)[])
-{
-  typedef otb::AtmosphericRadiativeTerms AtmosphericRadiativeTermsType;
-
-  // Instantiating object
-  AtmosphericRadiativeTermsType::Pointer object = AtmosphericRadiativeTermsType::New();
-
-  return EXIT_SUCCESS;
-}
 
-int otbAtmosphericRadiativeTermsSingleChannelNew(int itkNotUsed(argc), char * itkNotUsed(argv)[])
-{
-  typedef otb::AtmosphericRadiativeTermsSingleChannel AtmosphericRadiativeTermsType;
-
-  // Instantiating object
-  AtmosphericRadiativeTermsType::Pointer object = AtmosphericRadiativeTermsType::New();
-
-  std::cout << object << std::endl;
-  return EXIT_SUCCESS;
-}
 
 std::ostream& operator<<(std::ostream& os, const otb::AtmosphericRadiativeTerms::DataVectorType& values)
 {
diff --git a/Modules/Radiometry/OpticalCalibration/test/otbReflectanceToSurfaceReflectanceImageFilterTest.cxx b/Modules/Radiometry/OpticalCalibration/test/otbReflectanceToSurfaceReflectanceImageFilterTest.cxx
index f2e265b66c..3d5ca13a78 100644
--- a/Modules/Radiometry/OpticalCalibration/test/otbReflectanceToSurfaceReflectanceImageFilterTest.cxx
+++ b/Modules/Radiometry/OpticalCalibration/test/otbReflectanceToSurfaceReflectanceImageFilterTest.cxx
@@ -29,22 +29,6 @@
 
 #include "otbOpticalImageMetadataInterfaceFactory.h"
 
-int otbReflectanceToSurfaceReflectanceImageFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv)[])
-{
-  const unsigned int Dimension = 2;
-  typedef double                                 PixelType;
-  typedef otb::VectorImage<PixelType, Dimension> InputImageType;
-
-  typedef otb::ReflectanceToSurfaceReflectanceImageFilter<InputImageType,
-      InputImageType>
-  ReflectanceToSurfaceReflectanceImageFilterType;
-
-  // Instantiating object
-  ReflectanceToSurfaceReflectanceImageFilterType::Pointer filter
-      = ReflectanceToSurfaceReflectanceImageFilterType::New();
-
-  return EXIT_SUCCESS;
-}
 
 int otbReflectanceToSurfaceReflectanceImageFilterTest(int itkNotUsed(argc), char * argv[])
 {
diff --git a/Modules/Radiometry/OpticalCalibration/test/otbSpectralSensitivityReaderTest.cxx b/Modules/Radiometry/OpticalCalibration/test/otbSpectralSensitivityReaderTest.cxx
index 1cc824d85c..c9cad25d26 100644
--- a/Modules/Radiometry/OpticalCalibration/test/otbSpectralSensitivityReaderTest.cxx
+++ b/Modules/Radiometry/OpticalCalibration/test/otbSpectralSensitivityReaderTest.cxx
@@ -26,15 +26,6 @@
 
 using namespace otb;
 
-int otbSpectralSensitivityReaderNew(int itkNotUsed(argc), char* itkNotUsed(argv) [])
-{
-
-  SpectralSensitivityReader::Pointer spectSen = SpectralSensitivityReader::New();
-
-  std::cout << spectSen << std::endl;
-
-  return EXIT_SUCCESS;
-}
 
 int otbSpectralSensitivityReaderTest(int itkNotUsed(argc), char* argv[])
 {
diff --git a/Modules/Radiometry/OpticalCalibration/test/otbWavelengthSpectralBandsTest.cxx b/Modules/Radiometry/OpticalCalibration/test/otbWavelengthSpectralBandsTest.cxx
index 72854252ef..f1a0c911b6 100644
--- a/Modules/Radiometry/OpticalCalibration/test/otbWavelengthSpectralBandsTest.cxx
+++ b/Modules/Radiometry/OpticalCalibration/test/otbWavelengthSpectralBandsTest.cxx
@@ -23,18 +23,4 @@
 
 using namespace otb;
 
-int otbFilterFunctionValuesNew(int itkNotUsed(argc), char* itkNotUsed(argv) [])
-{
 
-  FilterFunctionValues::Pointer spectSen = FilterFunctionValues::New();
-
-  return EXIT_SUCCESS;
-}
-
-int otbWavelengthSpectralBandsNew(int itkNotUsed(argc), char* itkNotUsed(argv) [])
-{
-
-  WavelengthSpectralBands::Pointer spectSen = WavelengthSpectralBands::New();
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Radiometry/Simulation/test/otbSurfaceReflectanceToReflectanceFilterNew.cxx b/Modules/Radiometry/Simulation/test/otbSurfaceReflectanceToReflectanceFilterNew.cxx
index 022298a36b..9fb778abdd 100644
--- a/Modules/Radiometry/Simulation/test/otbSurfaceReflectanceToReflectanceFilterNew.cxx
+++ b/Modules/Radiometry/Simulation/test/otbSurfaceReflectanceToReflectanceFilterNew.cxx
@@ -24,21 +24,6 @@
 
 #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 )
diff --git a/Modules/Registration/DisparityMap/test/otbDisparityMapMedianFilter.cxx b/Modules/Registration/DisparityMap/test/otbDisparityMapMedianFilter.cxx
index a120fdf41b..d7475ed3c8 100644
--- a/Modules/Registration/DisparityMap/test/otbDisparityMapMedianFilter.cxx
+++ b/Modules/Registration/DisparityMap/test/otbDisparityMapMedianFilter.cxx
@@ -32,13 +32,6 @@
  typedef otb::DisparityMapMedianFilter<FloatImageType,FloatImageType,FloatImageType>   DisparityMapMedianFilterType;
 
 
-int otbDisparityMapMedianFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-   // Instantiation
-  DisparityMapMedianFilterType::Pointer filter = DisparityMapMedianFilterType::New();
-
-   return EXIT_SUCCESS;
-}
 
 int otbDisparityMapMedianFilter(int argc, char* argv[])
 {
diff --git a/Modules/Registration/DisparityMap/test/otbDisparityMapTo3DFilter.cxx b/Modules/Registration/DisparityMap/test/otbDisparityMapTo3DFilter.cxx
index 61db008a6e..ba832e83db 100644
--- a/Modules/Registration/DisparityMap/test/otbDisparityMapTo3DFilter.cxx
+++ b/Modules/Registration/DisparityMap/test/otbDisparityMapTo3DFilter.cxx
@@ -34,13 +34,6 @@ typedef otb::DisparityMapTo3DFilter
     FloatVectorImageType,
     FloatImageType>                              StereoFilterType;
 
-int otbDisparityMapTo3DFilterNew(int itkNotUsed(argc), char* itkNotUsed(argv) [])
-{
-  // Instantiation
-  StereoFilterType::Pointer filter = StereoFilterType::New();
-
-  return EXIT_SUCCESS;
-}
 
 int otbDisparityMapTo3DFilter(int argc, char* argv[])
 {
diff --git a/Modules/Registration/DisparityMap/test/otbDisparityMapToDEMFilter.cxx b/Modules/Registration/DisparityMap/test/otbDisparityMapToDEMFilter.cxx
index d39dd47643..2a076a2041 100644
--- a/Modules/Registration/DisparityMap/test/otbDisparityMapToDEMFilter.cxx
+++ b/Modules/Registration/DisparityMap/test/otbDisparityMapToDEMFilter.cxx
@@ -47,14 +47,6 @@
 
   typedef otb::DisparityMapToDEMFilter <FloatImageType, FloatVectorImageType>      DisparityToElevationFilterType;
 
-int otbDisparityMapToDEMFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-
-  // Instantiation
-  DisparityToElevationFilterType::Pointer filter = DisparityToElevationFilterType::New();
-
-   return EXIT_SUCCESS;
-}
 
 int otbDisparityMapToDEMFilter(int argc, char* argv[])
 {
diff --git a/Modules/Registration/DisparityMap/test/otbDisparityTranslateFilter.cxx b/Modules/Registration/DisparityMap/test/otbDisparityTranslateFilter.cxx
index b712275164..8240a89954 100644
--- a/Modules/Registration/DisparityMap/test/otbDisparityTranslateFilter.cxx
+++ b/Modules/Registration/DisparityMap/test/otbDisparityTranslateFilter.cxx
@@ -56,12 +56,6 @@ typedef otb::DisparityTranslateFilter
     FloatImageType>                              TranslateFilter;
 
 
-int otbDisparityTranslateFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  // Instantiation
-  TranslateFilter::Pointer filter = TranslateFilter::New();
-  return EXIT_SUCCESS;
-}
 
 int otbDisparityTranslateFilter(int argc, char* argv[])
 {
diff --git a/Modules/Registration/DisparityMap/test/otbMultiDisparityMapTo3DFilter.cxx b/Modules/Registration/DisparityMap/test/otbMultiDisparityMapTo3DFilter.cxx
index aac3519143..455c2e7a0a 100644
--- a/Modules/Registration/DisparityMap/test/otbMultiDisparityMapTo3DFilter.cxx
+++ b/Modules/Registration/DisparityMap/test/otbMultiDisparityMapTo3DFilter.cxx
@@ -34,13 +34,6 @@ typedef otb::MultiDisparityMapTo3DFilter
     FloatImageType>                              Multi3DFilterType;
 
 
-int otbMultiDisparityMapTo3DFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  // Instantiation
-  Multi3DFilterType::Pointer multiFilter = Multi3DFilterType::New();
-
-  return EXIT_SUCCESS;
-}
 
 int otbMultiDisparityMapTo3DFilter(int argc, char* argv[])
 {
diff --git a/Modules/Registration/DisparityMap/test/otbPixelWiseBlockMatchingImageFilter.cxx b/Modules/Registration/DisparityMap/test/otbPixelWiseBlockMatchingImageFilter.cxx
index 076cffe720..7493bd2d84 100644
--- a/Modules/Registration/DisparityMap/test/otbPixelWiseBlockMatchingImageFilter.cxx
+++ b/Modules/Registration/DisparityMap/test/otbPixelWiseBlockMatchingImageFilter.cxx
@@ -35,13 +35,6 @@ typedef otb::Functor::NCCBlockMatching<ImageType,FloatImageType> NCCBlockMatchin
 
 typedef otb::PixelWiseBlockMatchingImageFilter<ImageType,FloatImageType,FloatImageType,ImageType, NCCBlockMatchingFunctorType> PixelWiseNCCBlockMatchingImageFilterType;
 
-int otbPixelWiseBlockMatchingImageFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  // Instantiation
-  PixelWiseBlockMatchingImageFilterType::Pointer bmFilter = PixelWiseBlockMatchingImageFilterType::New();
-
-  return EXIT_SUCCESS;
-}
 
 int otbPixelWiseBlockMatchingImageFilter(int argc, char * argv[])
 {
diff --git a/Modules/Registration/DisparityMap/test/otbSubPixelDisparityImageFilter.cxx b/Modules/Registration/DisparityMap/test/otbSubPixelDisparityImageFilter.cxx
index aac2587c1b..cf911f4645 100644
--- a/Modules/Registration/DisparityMap/test/otbSubPixelDisparityImageFilter.cxx
+++ b/Modules/Registration/DisparityMap/test/otbSubPixelDisparityImageFilter.cxx
@@ -58,14 +58,6 @@
   typedef otb::ImageFileReader<FloatImageType>               ReaderType;
   typedef otb::ImageFileWriter<FloatImageType>      WriterType;
 
-int otbSubPixelDisparityImageFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-
-  // Instantiation
-  SSDSubPixelDisparityFilterType::Pointer filter = SSDSubPixelDisparityFilterType::New();
-
-   return EXIT_SUCCESS;
-}
 
 template<class TImage,class TFunctorType> int ProcessAndWriteOutput(otb::SubPixelDisparityImageFilter<TImage,
                                                        TImage,TImage,TImage,TFunctorType> * subPixFilter,int argc,char* argv[])
diff --git a/Modules/Registration/Stereo/test/otbAdhesionCorrectionFilter.cxx b/Modules/Registration/Stereo/test/otbAdhesionCorrectionFilter.cxx
index 074221855c..e7cd788db9 100644
--- a/Modules/Registration/Stereo/test/otbAdhesionCorrectionFilter.cxx
+++ b/Modules/Registration/Stereo/test/otbAdhesionCorrectionFilter.cxx
@@ -38,14 +38,6 @@ typedef otb::ImageFileWriter<MaskImageType>                  MaskWriterType;
 
 typedef otb::AdhesionCorrectionFilter<ImageType, MaskImageType> AdhesionCorrectionFilterType;
 
-int otbAdhesionCorrectionFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-
-  // Instantiation
-  AdhesionCorrectionFilterType::Pointer filter = AdhesionCorrectionFilterType::New();
-
-  return EXIT_SUCCESS;
-}
 
 int otbAdhesionCorrectionFilter(int argc, char* argv[])
 {
diff --git a/Modules/Registration/Stereo/test/otbBijectionCoherencyFilter.cxx b/Modules/Registration/Stereo/test/otbBijectionCoherencyFilter.cxx
index 00556a446b..1ec245c232 100644
--- a/Modules/Registration/Stereo/test/otbBijectionCoherencyFilter.cxx
+++ b/Modules/Registration/Stereo/test/otbBijectionCoherencyFilter.cxx
@@ -34,13 +34,6 @@ typedef otb::BijectionCoherencyFilter
     FloatImageType>                             BijectionFilterType;
 
 
-int otbBijectionCoherencyFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  // Instantiation
-  BijectionFilterType::Pointer bijectFilter = BijectionFilterType::New();
-
-  return EXIT_SUCCESS;
-}
 
 int otbBijectionCoherencyFilter(int argc, char* argv[])
 {
diff --git a/Modules/Registration/Stereo/test/otbMulti3DMapToDEMFilter.cxx b/Modules/Registration/Stereo/test/otbMulti3DMapToDEMFilter.cxx
index 0480556ffd..d9ac47d00d 100644
--- a/Modules/Registration/Stereo/test/otbMulti3DMapToDEMFilter.cxx
+++ b/Modules/Registration/Stereo/test/otbMulti3DMapToDEMFilter.cxx
@@ -36,13 +36,6 @@ typedef otb::Multi3DMapToDEMFilter
     ImageType>                              Multi3DFilterType;
 
 
-int otbMulti3DMapToDEMFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  // Instantiation
-  Multi3DFilterType::Pointer multiFilter = Multi3DFilterType::New();
-
-  return EXIT_SUCCESS;
-}
 
 int otbMulti3DMapToDEMFilterEPSG(int argc, char* argv[])
 {
diff --git a/Modules/Registration/Stereo/test/otbStereoSensorModelToElevationMapFilter.cxx b/Modules/Registration/Stereo/test/otbStereoSensorModelToElevationMapFilter.cxx
index 5b712b557c..6ac2cae87c 100644
--- a/Modules/Registration/Stereo/test/otbStereoSensorModelToElevationMapFilter.cxx
+++ b/Modules/Registration/Stereo/test/otbStereoSensorModelToElevationMapFilter.cxx
@@ -47,14 +47,6 @@ typedef itk::MedianImageFilter<HeightImageType, HeightImageType> MedianFilterTyp
 typedef otb::ImageFileWriter<HeightImageType> WriterType;
 
 
-int otbStereoSensorModelToElevationMapFilterNew( int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  // Instantiation
-  StereoFilterType::Pointer stereoFilter = StereoFilterType::New();
-
-
-  return EXIT_SUCCESS;
-}
 
 
 int otbStereoSensorModelToElevationMapFilter( int itkNotUsed(argc), char * argv[] )
diff --git a/Modules/Registration/Stereo/test/otbStereorectificationDisplacementFieldSource.cxx b/Modules/Registration/Stereo/test/otbStereorectificationDisplacementFieldSource.cxx
index ab75dce146..65a1707260 100644
--- a/Modules/Registration/Stereo/test/otbStereorectificationDisplacementFieldSource.cxx
+++ b/Modules/Registration/Stereo/test/otbStereorectificationDisplacementFieldSource.cxx
@@ -31,13 +31,6 @@ typedef otb::StereorectificationDisplacementFieldSource
 typedef otb::ImageFileReader<ImageType>                     ReaderType;
 typedef otb::ImageFileWriter<DisplacementFieldType> WriterType;
 
-int otbStereorectificationDisplacementFieldSourceNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  // Instantiation
-  DisplacementFieldSourceType::Pointer dfSource = DisplacementFieldSourceType::New();
-
-  return EXIT_SUCCESS;
-}
 
 int otbStereorectificationDisplacementFieldSource(int itkNotUsed(argc), char * argv[])
 {
diff --git a/Modules/Segmentation/CCOBIA/test/otbStreamingConnectedComponentOBIATest.cxx b/Modules/Segmentation/CCOBIA/test/otbStreamingConnectedComponentOBIATest.cxx
index 874fe9f998..c48597c40e 100644
--- a/Modules/Segmentation/CCOBIA/test/otbStreamingConnectedComponentOBIATest.cxx
+++ b/Modules/Segmentation/CCOBIA/test/otbStreamingConnectedComponentOBIATest.cxx
@@ -43,14 +43,6 @@ typedef otb::StreamingConnectedComponentSegmentationOBIAToVectorDataFilter
     MaskImageType,
     VectorDataType >  ConnectedComponentSegmentationOBIAToVectorDataFilterType;
 
-int otbStreamingConnectedComponentSegmentationOBIAToVectorDataFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv)[])
-{
-  ConnectedComponentSegmentationOBIAToVectorDataFilterType::FilterType::Pointer connected
-    = ConnectedComponentSegmentationOBIAToVectorDataFilterType::FilterType::New();
-  std::cout << connected << std::endl;
-
-  return EXIT_SUCCESS;
-}
 
 int otbStreamingConnectedComponentSegmentationOBIAToVectorDataFilter(int itkNotUsed(argc), char * argv[])
 {
diff --git a/Modules/Segmentation/Conversion/test/otbLabelImageToOGRDataSourceFilter.cxx b/Modules/Segmentation/Conversion/test/otbLabelImageToOGRDataSourceFilter.cxx
index a9fa92cd72..2da8b6a795 100644
--- a/Modules/Segmentation/Conversion/test/otbLabelImageToOGRDataSourceFilter.cxx
+++ b/Modules/Segmentation/Conversion/test/otbLabelImageToOGRDataSourceFilter.cxx
@@ -25,19 +25,6 @@
 #include "otbImageFileReader.h"
 #include "otbVectorDataFileWriter.h"
 
-int otbLabelImageToOGRDataSourceFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  const unsigned int Dimension = 2;
-  typedef unsigned short LabelType;
-  typedef otb::Image<LabelType, Dimension> InputLabelImageType;
-
-  typedef otb::LabelImageToOGRDataSourceFilter<InputLabelImageType>  FilterType;
-
-  FilterType::Pointer filter = FilterType::New();
-
-
-  return EXIT_SUCCESS;
-}
 
 
 int otbLabelImageToOGRDataSourceFilter(int argc, char * argv[])
diff --git a/Modules/Segmentation/Conversion/test/otbOGRDataSourceToLabelImageFilter.cxx b/Modules/Segmentation/Conversion/test/otbOGRDataSourceToLabelImageFilter.cxx
index 28e1a800a7..efc70f79c2 100644
--- a/Modules/Segmentation/Conversion/test/otbOGRDataSourceToLabelImageFilter.cxx
+++ b/Modules/Segmentation/Conversion/test/otbOGRDataSourceToLabelImageFilter.cxx
@@ -32,11 +32,6 @@ typedef otb::ImageFileReader<ImageType>                       ReaderType;
 typedef otb::ImageFileWriter<ImageType>              WriterType;
 typedef otb::OGRDataSourceToLabelImageFilter<ImageType>       RasterizationFilterType;
 
-int otbOGRDataSourceToLabelImageFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  RasterizationFilterType::Pointer  rasterization = RasterizationFilterType::New();
-  return EXIT_SUCCESS;
-}
 
 int otbOGRDataSourceToLabelImageFilter(int itkNotUsed(argc), char * argv[])
 {
diff --git a/Modules/Segmentation/Conversion/test/otbVectorDataRasterizeFilter.cxx b/Modules/Segmentation/Conversion/test/otbVectorDataRasterizeFilter.cxx
index f94e14981a..b6728b40b7 100644
--- a/Modules/Segmentation/Conversion/test/otbVectorDataRasterizeFilter.cxx
+++ b/Modules/Segmentation/Conversion/test/otbVectorDataRasterizeFilter.cxx
@@ -39,11 +39,6 @@ typedef otb::RasterizeVectorDataFilter<VectorDataType,
                                        ImageType,
                                        ImageType>             RasterizationFilterType;
 
-int otbVectorDataRasterizeFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  RasterizationFilterType::Pointer  rasterization = RasterizationFilterType::New();
-  return EXIT_SUCCESS;
-}
 
 int otbVectorDataRasterizeFilter(int itkNotUsed(argc), char * argv[])
 {
diff --git a/Modules/Segmentation/Conversion/test/otbVectorDataToLabelImageFilter.cxx b/Modules/Segmentation/Conversion/test/otbVectorDataToLabelImageFilter.cxx
index f9462f22dc..466be1580c 100644
--- a/Modules/Segmentation/Conversion/test/otbVectorDataToLabelImageFilter.cxx
+++ b/Modules/Segmentation/Conversion/test/otbVectorDataToLabelImageFilter.cxx
@@ -38,11 +38,6 @@ typedef otb::ImageFileWriter<ImageType>              WriterType;
 typedef otb::VectorDataToLabelImageFilter<VectorDataType,
                                           ImageType>          RasterizationFilterType;
 
-int otbVectorDataToLabelImageFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
-{
-  RasterizationFilterType::Pointer  rasterization = RasterizationFilterType::New();
-  return EXIT_SUCCESS;
-}
 
 int otbVectorDataToLabelImageFilter(int itkNotUsed(argc), char * argv[])
 {
diff --git a/Modules/Wrappers/ApplicationEngine/test/otbWrapperApplicationHtmlDocGeneratorTest.cxx b/Modules/Wrappers/ApplicationEngine/test/otbWrapperApplicationHtmlDocGeneratorTest.cxx
index 6a5a6a346c..e562c6acbb 100644
--- a/Modules/Wrappers/ApplicationEngine/test/otbWrapperApplicationHtmlDocGeneratorTest.cxx
+++ b/Modules/Wrappers/ApplicationEngine/test/otbWrapperApplicationHtmlDocGeneratorTest.cxx
@@ -25,13 +25,6 @@
 #include "otbWrapperApplicationHtmlDocGenerator.h"
 #include "otbWrapperApplicationRegistry.h"
 
-int otbWrapperApplicationHtmlDocGeneratorNew(int itkNotUsed(argc), char * itkNotUsed(argv)[])
-{
-  typedef otb::Wrapper::ApplicationHtmlDocGenerator DocGeneratorType;
-  DocGeneratorType generator;
-
-  return EXIT_SUCCESS;
-}
 
 int otbWrapperApplicationHtmlDocGeneratorTest1(int argc, char * argv[])
 {
diff --git a/Modules/Wrappers/ApplicationEngine/test/otbWrapperApplicationTest.cxx b/Modules/Wrappers/ApplicationEngine/test/otbWrapperApplicationTest.cxx
index f338e58f5f..e21158c05a 100644
--- a/Modules/Wrappers/ApplicationEngine/test/otbWrapperApplicationTest.cxx
+++ b/Modules/Wrappers/ApplicationEngine/test/otbWrapperApplicationTest.cxx
@@ -24,9 +24,3 @@
 
 #include "otbWrapperApplication.h"
 
-int otbWrapperApplicationNew(int itkNotUsed(argc), char * itkNotUsed(argv)[])
-{
-//  typedef otb::Wrapper::Application ApplicationType;
-//  ApplicationType application = ApplicationType::New();
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Wrappers/ApplicationEngine/test/otbWrapperChoiceParameterTest.cxx b/Modules/Wrappers/ApplicationEngine/test/otbWrapperChoiceParameterTest.cxx
index 2a44eade12..9dd36fb158 100644
--- a/Modules/Wrappers/ApplicationEngine/test/otbWrapperChoiceParameterTest.cxx
+++ b/Modules/Wrappers/ApplicationEngine/test/otbWrapperChoiceParameterTest.cxx
@@ -24,13 +24,6 @@
 
 #include "otbWrapperChoiceParameter.h"
 
-int otbWrapperChoiceParameterNew(int itkNotUsed(argc), char * itkNotUsed(argv)[])
-{
-  typedef otb::Wrapper::ChoiceParameter ChoiceParameterType;
-  ChoiceParameterType::Pointer parameter = ChoiceParameterType::New();
-
-  return EXIT_SUCCESS;
-}
 
 int otbWrapperChoiceParameterTest1(int itkNotUsed(argc), char * itkNotUsed(argv)[])
 {
diff --git a/Modules/Wrappers/ApplicationEngine/test/otbWrapperDocExampleStructureTest.cxx b/Modules/Wrappers/ApplicationEngine/test/otbWrapperDocExampleStructureTest.cxx
index bf69b02813..e95afe0872 100644
--- a/Modules/Wrappers/ApplicationEngine/test/otbWrapperDocExampleStructureTest.cxx
+++ b/Modules/Wrappers/ApplicationEngine/test/otbWrapperDocExampleStructureTest.cxx
@@ -26,13 +26,6 @@
 #include "itksys/SystemTools.hxx"
 #include <fstream>
 
-int otbWrapperDocExampleStructureNew(int itkNotUsed(argc), char * itkNotUsed(argv)[])
-{
-  typedef otb::Wrapper::DocExampleStructure DocExampleStructureType;
-  DocExampleStructureType::Pointer docStruct = DocExampleStructureType::New();
-
-  return EXIT_SUCCESS;
-}
 
 
 int otbWrapperDocExampleStructureTest(int itkNotUsed(argc), char* argv[])
diff --git a/Modules/Wrappers/ApplicationEngine/test/otbWrapperEmptyParameterTest.cxx b/Modules/Wrappers/ApplicationEngine/test/otbWrapperEmptyParameterTest.cxx
index 466062356b..2b484a0128 100644
--- a/Modules/Wrappers/ApplicationEngine/test/otbWrapperEmptyParameterTest.cxx
+++ b/Modules/Wrappers/ApplicationEngine/test/otbWrapperEmptyParameterTest.cxx
@@ -24,12 +24,3 @@
 
 #include "otbWrapperEmptyParameter.h"
 
-int otbWrapperEmptyParameterNew(int itkNotUsed(argc), char * itkNotUsed(argv)[])
-{
-  typedef otb::Wrapper::EmptyParameter EmptyParameterType;
-  EmptyParameterType::Pointer parameter = EmptyParameterType::New();
-
-  //std::cout << parameter << std::endl;
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Wrappers/ApplicationEngine/test/otbWrapperInputImageListParameterTest.cxx b/Modules/Wrappers/ApplicationEngine/test/otbWrapperInputImageListParameterTest.cxx
index f2a4b2930f..00b6d9fe09 100644
--- a/Modules/Wrappers/ApplicationEngine/test/otbWrapperInputImageListParameterTest.cxx
+++ b/Modules/Wrappers/ApplicationEngine/test/otbWrapperInputImageListParameterTest.cxx
@@ -24,13 +24,6 @@
 
 #include "otbWrapperInputImageListParameter.h"
 
-int otbWrapperInputImageListParameterNew(int itkNotUsed(argc), char * itkNotUsed(argv)[])
-{
-  typedef otb::Wrapper::InputImageListParameter ParameterType;
-  ParameterType::Pointer parameter = ParameterType::New();
-
-  return EXIT_SUCCESS;
-}
 
 
 int otbWrapperInputImageListParameterTest1(int itkNotUsed(argc), char* argv[])
diff --git a/Modules/Wrappers/ApplicationEngine/test/otbWrapperInputImageParameterTest.cxx b/Modules/Wrappers/ApplicationEngine/test/otbWrapperInputImageParameterTest.cxx
index 01718d15c6..eab4996459 100644
--- a/Modules/Wrappers/ApplicationEngine/test/otbWrapperInputImageParameterTest.cxx
+++ b/Modules/Wrappers/ApplicationEngine/test/otbWrapperInputImageParameterTest.cxx
@@ -24,13 +24,6 @@
 
 #include "otbWrapperInputImageParameter.h"
 
-int otbWrapperInputImageParameterNew(int itkNotUsed(argc), char * itkNotUsed(argv)[])
-{
-  typedef otb::Wrapper::InputImageParameter InputImageParameterType;
-  InputImageParameterType::Pointer parameter = InputImageParameterType::New();
-
-  return EXIT_SUCCESS;
-}
 
 int otbWrapperInputImageParameterTest1(int itkNotUsed(argc), char* argv[])
 {
diff --git a/Modules/Wrappers/ApplicationEngine/test/otbWrapperInputVectorDataListParameterTest.cxx b/Modules/Wrappers/ApplicationEngine/test/otbWrapperInputVectorDataListParameterTest.cxx
index 6a9087d3b2..4ef4d13179 100644
--- a/Modules/Wrappers/ApplicationEngine/test/otbWrapperInputVectorDataListParameterTest.cxx
+++ b/Modules/Wrappers/ApplicationEngine/test/otbWrapperInputVectorDataListParameterTest.cxx
@@ -24,13 +24,6 @@
 
 #include "otbWrapperInputVectorDataListParameter.h"
 
-int otbWrapperInputVectorDataListParameterNew(int itkNotUsed(argc), char * itkNotUsed(argv)[])
-{
-  typedef otb::Wrapper::InputVectorDataListParameter ParameterType;
-  ParameterType::Pointer parameter = ParameterType::New();
-
-  return EXIT_SUCCESS;
-}
 
 
 int otbWrapperInputVectorDataListParameterTest1(int itkNotUsed(argc), char* argv[])
diff --git a/Modules/Wrappers/ApplicationEngine/test/otbWrapperInputVectorDataParameterTest.cxx b/Modules/Wrappers/ApplicationEngine/test/otbWrapperInputVectorDataParameterTest.cxx
index b1029dd068..7c8f4b3c52 100644
--- a/Modules/Wrappers/ApplicationEngine/test/otbWrapperInputVectorDataParameterTest.cxx
+++ b/Modules/Wrappers/ApplicationEngine/test/otbWrapperInputVectorDataParameterTest.cxx
@@ -24,10 +24,3 @@
 
 #include "otbWrapperInputVectorDataParameter.h"
 
-int otbWrapperInputVectorDataParameterNew(int itkNotUsed(argc), char * itkNotUsed(argv)[])
-{
-  typedef otb::Wrapper::InputVectorDataParameter InputVectorDataParameterType;
-  InputVectorDataParameterType::Pointer parameter = InputVectorDataParameterType::New();
-
-  return EXIT_SUCCESS;
-}
diff --git a/Modules/Wrappers/ApplicationEngine/test/otbWrapperNumericalParameterTest.cxx b/Modules/Wrappers/ApplicationEngine/test/otbWrapperNumericalParameterTest.cxx
index c689943336..f7358b5fdf 100644
--- a/Modules/Wrappers/ApplicationEngine/test/otbWrapperNumericalParameterTest.cxx
+++ b/Modules/Wrappers/ApplicationEngine/test/otbWrapperNumericalParameterTest.cxx
@@ -24,13 +24,6 @@
 
 #include "otbWrapperNumericalParameter.h"
 
-int otbWrapperNumericalParameterNew(int itkNotUsed(argc), char * itkNotUsed(argv)[])
-{
-  typedef otb::Wrapper::NumericalParameter <int> NumericalParameterType;
-  NumericalParameterType::Pointer parameter = NumericalParameterType::New();
-
-  return EXIT_SUCCESS;
-}
 
 
 int otbWrapperNumericalParameterTest1(int itkNotUsed(argc), char* argv[])
diff --git a/Modules/Wrappers/ApplicationEngine/test/otbWrapperOutputImageParameterTest.cxx b/Modules/Wrappers/ApplicationEngine/test/otbWrapperOutputImageParameterTest.cxx
index ea8899b8e0..238a8f982d 100644
--- a/Modules/Wrappers/ApplicationEngine/test/otbWrapperOutputImageParameterTest.cxx
+++ b/Modules/Wrappers/ApplicationEngine/test/otbWrapperOutputImageParameterTest.cxx
@@ -28,13 +28,6 @@
 #include "otbWrapperTypes.h"
 #include <vector>
 
-int otbWrapperOutputImageParameterNew(int itkNotUsed(argc), char * itkNotUsed(argv)[])
-{
-  typedef otb::Wrapper::OutputImageParameter OutputImageParameterType;
-  OutputImageParameterType::Pointer parameter = OutputImageParameterType::New();
-
-  return EXIT_SUCCESS;
-}
 
 int otbWrapperOutputImageParameterTest1(int itkNotUsed(argc), char* argv[])
 {
diff --git a/Modules/Wrappers/ApplicationEngine/test/otbWrapperParameterListTest.cxx b/Modules/Wrappers/ApplicationEngine/test/otbWrapperParameterListTest.cxx
index 238903ad35..8d2c39363e 100644
--- a/Modules/Wrappers/ApplicationEngine/test/otbWrapperParameterListTest.cxx
+++ b/Modules/Wrappers/ApplicationEngine/test/otbWrapperParameterListTest.cxx
@@ -27,15 +27,6 @@
 #include "otbWrapperNumericalParameter.h"
 #include "otbWrapperProxyParameter.h"
 
-int otbWrapperParameterListNew(int itkNotUsed(argc), char * itkNotUsed(argv)[])
-{
-  using otb::Wrapper::ParameterGroup;
-  ParameterGroup::Pointer parameters = ParameterGroup::New();
-
-  //std::cout << parameter << std::endl;
-
-  return EXIT_SUCCESS;
-}
 
 int otbWrapperParameterList(int itkNotUsed(argc), char * itkNotUsed(argv)[])
 {
diff --git a/Modules/Wrappers/ApplicationEngine/test/otbWrapperStringListParameterTest.cxx b/Modules/Wrappers/ApplicationEngine/test/otbWrapperStringListParameterTest.cxx
index 9810c0e32a..a9162f7f3b 100644
--- a/Modules/Wrappers/ApplicationEngine/test/otbWrapperStringListParameterTest.cxx
+++ b/Modules/Wrappers/ApplicationEngine/test/otbWrapperStringListParameterTest.cxx
@@ -24,13 +24,6 @@
 
 #include "otbWrapperStringListParameter.h"
 
-int otbWrapperStringListParameterNew(int itkNotUsed(argc), char * itkNotUsed(argv)[])
-{
-  typedef otb::Wrapper::StringListParameter StringListParameterType;
-  StringListParameterType::Pointer parameter = StringListParameterType::New();
-
-  return EXIT_SUCCESS;
-}
 
 
 int otbWrapperStringListParameterTest1(int itkNotUsed(argc), char* argv[])
diff --git a/Modules/Wrappers/ApplicationEngine/test/otbWrapperStringParameterTest.cxx b/Modules/Wrappers/ApplicationEngine/test/otbWrapperStringParameterTest.cxx
index b0acdba0ef..e56e6a8c3b 100644
--- a/Modules/Wrappers/ApplicationEngine/test/otbWrapperStringParameterTest.cxx
+++ b/Modules/Wrappers/ApplicationEngine/test/otbWrapperStringParameterTest.cxx
@@ -24,13 +24,6 @@
 
 #include "otbWrapperStringParameter.h"
 
-int otbWrapperStringParameterNew(int itkNotUsed(argc), char * itkNotUsed(argv)[])
-{
-  typedef otb::Wrapper::StringParameter StringParameterType;
-  StringParameterType::Pointer parameter = StringParameterType::New();
-
-  return EXIT_SUCCESS;
-}
 
 
 int otbWrapperStringParameterTest1(int itkNotUsed(argc), char* argv[])
diff --git a/Modules/Wrappers/CommandLine/test/otbWrapperCommandLineLauncherTests.cxx b/Modules/Wrappers/CommandLine/test/otbWrapperCommandLineLauncherTests.cxx
index f8ff6bff62..5338976b3f 100644
--- a/Modules/Wrappers/CommandLine/test/otbWrapperCommandLineLauncherTests.cxx
+++ b/Modules/Wrappers/CommandLine/test/otbWrapperCommandLineLauncherTests.cxx
@@ -25,13 +25,6 @@
 #include "otbWrapperCommandLineLauncher.h"
 
 
-int otbWrapperCommandLineLauncherNew(int itkNotUsed(argc), char* itkNotUsed(argv)[])
-{
-  typedef otb::Wrapper::CommandLineLauncher LauncherType;
-  LauncherType::Pointer launcher = LauncherType::New();
-
-  return EXIT_SUCCESS;
-}
 
 
 
diff --git a/Modules/Wrappers/CommandLine/test/otbWrapperCommandLineParserTests.cxx b/Modules/Wrappers/CommandLine/test/otbWrapperCommandLineParserTests.cxx
index 784d77f341..a409b16798 100644
--- a/Modules/Wrappers/CommandLine/test/otbWrapperCommandLineParserTests.cxx
+++ b/Modules/Wrappers/CommandLine/test/otbWrapperCommandLineParserTests.cxx
@@ -26,12 +26,6 @@
 
 typedef otb::Wrapper::CommandLineParser ParserType;
 
-int otbWrapperCommandLineParserNew(int itkNotUsed(argc), char* itkNotUsed(argv)[])
-{
-  ParserType::Pointer parser = ParserType::New();
-
-  return EXIT_SUCCESS;
-}
 
 int CheckReturn(ParserType::ParseResultType res)
 {
diff --git a/Modules/Wrappers/QtWidget/test/otbQtLogOutputTests.cxx b/Modules/Wrappers/QtWidget/test/otbQtLogOutputTests.cxx
index 24eb5eccd2..e3c229150f 100644
--- a/Modules/Wrappers/QtWidget/test/otbQtLogOutputTests.cxx
+++ b/Modules/Wrappers/QtWidget/test/otbQtLogOutputTests.cxx
@@ -25,8 +25,3 @@
 #include "otbQtLogOutput.h"
 
 
-int otbQtLogOutputNew(int /*argc*/, char* /*argv*/ [])
-{
-  otb::QtLogOutput::Pointer log = otb::QtLogOutput::New();
-  return EXIT_SUCCESS;
-}
-- 
GitLab