From f9f6966496f97961de9b0f569d8691691a9d2671 Mon Sep 17 00:00:00 2001 From: Julien Malik <julien.malik@c-s.fr> Date: Fri, 18 Feb 2011 08:33:28 +0100 Subject: [PATCH] TEST: put tested class include on top of the includes list --- Testing/otbCublasStreamingStatisticsVectorImageFilter.cxx | 4 ++-- Testing/otbEigenvalueLikelihoodMaximization.cxx | 3 ++- Testing/otbMatrixMultiplyImageFilter.cxx | 4 ++-- Testing/otbStreamingStatisticsVectorImageFilter.cxx | 3 ++- Testing/otbStreamingStatisticsVectorImageFilter2.cxx | 3 +-- Testing/otbUnConstrainedLeastSquareImageFilter.cxx | 3 +-- Testing/otbVCAImageFilter.cxx | 4 ++-- Testing/otbVectorImageToMatrixImageFilter.cxx | 3 ++- 8 files changed, 14 insertions(+), 13 deletions(-) diff --git a/Testing/otbCublasStreamingStatisticsVectorImageFilter.cxx b/Testing/otbCublasStreamingStatisticsVectorImageFilter.cxx index 1331e83eba..730c58cb11 100644 --- a/Testing/otbCublasStreamingStatisticsVectorImageFilter.cxx +++ b/Testing/otbCublasStreamingStatisticsVectorImageFilter.cxx @@ -15,9 +15,9 @@ PURPOSE. See the above copyright notices for more information. =========================================================================*/ -#include "itkExceptionObject.h" - #include "otbCublasStreamingStatisticsVectorImageFilter.h" + +#include "itkExceptionObject.h" #include "otbImageFileReader.h" #include "otbVectorImage.h" #include <fstream> diff --git a/Testing/otbEigenvalueLikelihoodMaximization.cxx b/Testing/otbEigenvalueLikelihoodMaximization.cxx index 623116ac07..08840bd176 100644 --- a/Testing/otbEigenvalueLikelihoodMaximization.cxx +++ b/Testing/otbEigenvalueLikelihoodMaximization.cxx @@ -15,9 +15,10 @@ PURPOSE. See the above copyright notices for more information. =========================================================================*/ +#include "otbEigenvalueLikelihoodMaximisation.h" + #include "otbVectorImage.h" #include "otbImageFileReader.h" -#include "otbEigenvalueLikelihoodMaximisation.h" #include "otbStreamingStatisticsVectorImageFilter2.h" const unsigned int Dimension = 2; diff --git a/Testing/otbMatrixMultiplyImageFilter.cxx b/Testing/otbMatrixMultiplyImageFilter.cxx index 9b4fdd3fe9..de9581d2b7 100644 --- a/Testing/otbMatrixMultiplyImageFilter.cxx +++ b/Testing/otbMatrixMultiplyImageFilter.cxx @@ -15,11 +15,11 @@ PURPOSE. See the above copyright notices for more information. =========================================================================*/ +#include "otbMatrixMultiplyImageFilter.h" + #include "otbVectorImage.h" #include "otbImageFileReader.h" #include "otbImageFileWriter.h" - -#include "otbMatrixMultiplyImageFilter.h" #include "otbVectorImageToMatrixImageFilter.h" const unsigned int Dimension = 2; diff --git a/Testing/otbStreamingStatisticsVectorImageFilter.cxx b/Testing/otbStreamingStatisticsVectorImageFilter.cxx index 2d29b7fc46..8a0ea4f36d 100644 --- a/Testing/otbStreamingStatisticsVectorImageFilter.cxx +++ b/Testing/otbStreamingStatisticsVectorImageFilter.cxx @@ -15,11 +15,12 @@ PURPOSE. See the above copyright notices for more information. =========================================================================*/ +#include "otbStreamingStatisticsVectorImageFilter.h" + #include <fstream> #include "otbVectorImage.h" #include "otbImageFileReader.h" -#include "otbStreamingStatisticsVectorImageFilter.h" #include "otbStreamingTraits.h" int otbStreamingStatisticsVectorImageFilterTest(int argc, char * argv[]) diff --git a/Testing/otbStreamingStatisticsVectorImageFilter2.cxx b/Testing/otbStreamingStatisticsVectorImageFilter2.cxx index c56e0346eb..f8acf03353 100644 --- a/Testing/otbStreamingStatisticsVectorImageFilter2.cxx +++ b/Testing/otbStreamingStatisticsVectorImageFilter2.cxx @@ -15,9 +15,8 @@ PURPOSE. See the above copyright notices for more information. =========================================================================*/ -#include "itkExceptionObject.h" - #include "otbStreamingStatisticsVectorImageFilter2.h" +#include "itkExceptionObject.h" #include "otbImageFileReader.h" #include "otbVectorImage.h" #include <fstream> diff --git a/Testing/otbUnConstrainedLeastSquareImageFilter.cxx b/Testing/otbUnConstrainedLeastSquareImageFilter.cxx index 7c6bc3cce9..512c6b3a35 100644 --- a/Testing/otbUnConstrainedLeastSquareImageFilter.cxx +++ b/Testing/otbUnConstrainedLeastSquareImageFilter.cxx @@ -15,11 +15,10 @@ PURPOSE. See the above copyright notices for more information. =========================================================================*/ +#include "otbUnConstrainedLeastSquareImageFilter.h" #include "otbVectorImage.h" #include "otbImageFileReader.h" #include "otbImageFileWriter.h" - -#include "otbUnConstrainedLeastSquareImageFilter.h" #include "otbVectorImageToMatrixImageFilter.h" const unsigned int Dimension = 2; diff --git a/Testing/otbVCAImageFilter.cxx b/Testing/otbVCAImageFilter.cxx index 408571dfa6..8cc417ee7e 100644 --- a/Testing/otbVCAImageFilter.cxx +++ b/Testing/otbVCAImageFilter.cxx @@ -15,12 +15,12 @@ PURPOSE. See the above copyright notices for more information. =========================================================================*/ +#include "otbVcaImageFilter.h" + #include "otbVectorImage.h" #include "otbImageFileReader.h" #include "otbImageFileWriter.h" -#include "otbVcaImageFilter.h" - const unsigned int Dimension = 2; typedef double PixelType; typedef double PrecisionType; diff --git a/Testing/otbVectorImageToMatrixImageFilter.cxx b/Testing/otbVectorImageToMatrixImageFilter.cxx index 5498e48b55..667bb9415e 100644 --- a/Testing/otbVectorImageToMatrixImageFilter.cxx +++ b/Testing/otbVectorImageToMatrixImageFilter.cxx @@ -15,9 +15,10 @@ PURPOSE. See the above copyright notices for more information. =========================================================================*/ +#include "otbVectorImageToMatrixImageFilter.h" + #include "otbVectorImage.h" #include "itkImageRegionIteratorWithIndex.h" -#include "otbVectorImageToMatrixImageFilter.h" const unsigned int Dimension = 2; typedef double PixelType; -- GitLab