diff --git a/Testing/Code/IO/otbCAIImageIOTestCanRead.cxx b/Testing/Code/IO/otbCAIImageIOTestCanRead.cxx deleted file mode 100644 index 3370d7101de9227b727beb5c7056934c08637a45..0000000000000000000000000000000000000000 --- a/Testing/Code/IO/otbCAIImageIOTestCanRead.cxx +++ /dev/null @@ -1,39 +0,0 @@ -/*========================================================================= - - Program: ORFEO Toolbox - Language: C++ - Date: $Date$ - Version: $Revision$ - - - Copyright (c) Centre National d'Etudes Spatiales. All rights reserved. - See OTBCopyright.txt for details. - - - This software is distributed WITHOUT ANY WARRANTY; without even - the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR - PURPOSE. See the above copyright notices for more information. - -=========================================================================*/ - -#if defined(_MSC_VER) -#pragma warning ( disable : 4786 ) -#endif - -#include "otbCAIImageIO.h" -#include "itkExceptionObject.h" -#include <iostream> - -int otbCAIImageIOTestCanRead(int argc, char* argv[]) -{ - otb::CAIImageIO::Pointer lCAIImageIO = otb::CAIImageIO::New(); - bool lCanRead = lCAIImageIO->CanReadFile(argv[1]); - if ( lCanRead == false) - { - std::cerr << "Erreur otb::CAIImageIO : impossible d'ouvrir l'image "<<argv[1]<<"."<<std::endl; - return EXIT_FAILURE; - } - - - return EXIT_SUCCESS; -} diff --git a/Testing/Code/IO/otbCAIImageIOTestCanWrite.cxx b/Testing/Code/IO/otbCAIImageIOTestCanWrite.cxx deleted file mode 100644 index 7eb837b555b52081f53d5da858afeeed66e2dd4f..0000000000000000000000000000000000000000 --- a/Testing/Code/IO/otbCAIImageIOTestCanWrite.cxx +++ /dev/null @@ -1,38 +0,0 @@ -/*========================================================================= - - Program: ORFEO Toolbox - Language: C++ - Date: $Date$ - Version: $Revision$ - - - Copyright (c) Centre National d'Etudes Spatiales. All rights reserved. - See OTBCopyright.txt for details. - - - This software is distributed WITHOUT ANY WARRANTY; without even - the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR - PURPOSE. See the above copyright notices for more information. - -=========================================================================*/ - -#if defined(_MSC_VER) -#pragma warning ( disable : 4786 ) -#endif - -#include "otbCAIImageIO.h" -#include "itkExceptionObject.h" -#include <iostream> - -int otbCAIImageIOTestCanWrite(int argc, char* argv[]) -{ - otb::CAIImageIO::Pointer lCAIImageIO = otb::CAIImageIO::New(); - bool lCanRead = lCAIImageIO->CanWriteFile(argv[1]); - if ( lCanRead == false) - { - std::cerr << "Erreur otb::CAIImageIO : impossible de creer l'image "<<argv[1]<<"."<<std::endl; - return EXIT_FAILURE; - } - - return EXIT_SUCCESS; -}