diff --git a/Testing/Applications/otbReadImageInfoTest.cxx b/Testing/Applications/otbReadImageInfoTest.cxx deleted file mode 100644 index 14a473bdb6b3b2a49c62f4bba3c2977e0759067d..0000000000000000000000000000000000000000 --- a/Testing/Applications/otbReadImageInfoTest.cxx +++ /dev/null @@ -1,45 +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 "otbWrapperApplication.h" -#include "otbWrapperApplicationRegistry.h" -#include "itkStdStreamLogOutput.h" - -using otb::Wrapper::Application; -using otb::Wrapper::ApplicationRegistry; - -int otbReadImageInfoTest(int argc, char* argv[]) -{ - ApplicationRegistry::SetApplicationPath(argv[1]); - const char* in = argv[2]; - - Application::Pointer app = ApplicationRegistry::CreateApplication("ReadImageInfo"); - - itk::StdStreamLogOutput::Pointer coutput = itk::StdStreamLogOutput::New(); - coutput->SetStream(std::cout); - app->GetLogger()->AddLogOutput(coutput); - app->GetLogger()->SetPriorityLevel(itk::LoggerBase::DEBUG); - - app->SetParameterString("in", in ); - app->ExecuteAndWriteOutput(); - - return EXIT_SUCCESS; -} diff --git a/Testing/Applications/otbRescaleTest.cxx b/Testing/Applications/otbRescaleTest.cxx deleted file mode 100644 index f9bc08f1d15d2a8232e804426dfbf43b5831dc87..0000000000000000000000000000000000000000 --- a/Testing/Applications/otbRescaleTest.cxx +++ /dev/null @@ -1,46 +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 "otbWrapperApplication.h" -#include "otbWrapperApplicationRegistry.h" - -using otb::Wrapper::Application; -using otb::Wrapper::ApplicationRegistry; - -int otbRescaleTest(int argc, char* argv[]) -{ - ApplicationRegistry::SetApplicationPath(argv[1]); - - const char* in = argv[2]; - const char* out = argv[3]; - const float outmin = atof(argv[4]); - const float outmax = atof(argv[5]); - - Application::Pointer app = ApplicationRegistry::CreateApplication("Rescale"); - - app->SetParameterString("in", in ); - app->SetParameterString("out", out ); - app->SetParameterFloat("outmin", outmin); - app->SetParameterFloat("outmax", outmax); - app->ExecuteAndWriteOutput(); - - return EXIT_SUCCESS; -} diff --git a/Testing/Applications/otbSmoothingTest.cxx b/Testing/Applications/otbSmoothingTest.cxx deleted file mode 100644 index 3555624929e98c9326e8fa9908654cd431fc667c..0000000000000000000000000000000000000000 --- a/Testing/Applications/otbSmoothingTest.cxx +++ /dev/null @@ -1,41 +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. - -=========================================================================*/ -#include "otbWrapperApplication.h" -#include "otbWrapperApplicationRegistry.h" - -using otb::Wrapper::Application; -using otb::Wrapper::ApplicationRegistry; - -int otbSmoothingTest(int argc, char* argv[]) -{ - ApplicationRegistry::SetApplicationPath(argv[1]); - - const char* in = argv[2]; - const char* out = argv[3]; - - Application::Pointer app = ApplicationRegistry::CreateApplication("Smoothing"); - - app->SetParameterString("in", in ); - app->SetParameterString("out", out ); - app->SetParameterString("type", "mean"); - - app->SetParameterOutputImagePixelType("out", otb::Wrapper::ImagePixelType_float); - - app->ExecuteAndWriteOutput(); - return EXIT_SUCCESS; -} diff --git a/Testing/Applications/otbWrapperExampleTests.cxx b/Testing/Applications/otbWrapperExampleTests.cxx deleted file mode 100644 index b104030806689cc6509613ec723f101fe8eba059..0000000000000000000000000000000000000000 --- a/Testing/Applications/otbWrapperExampleTests.cxx +++ /dev/null @@ -1,33 +0,0 @@ -/*========================================================================= - - Program: ORFEO Toolbox - Language: C++ - Date: $Date$ - Version: $Revision$ - -numP - 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. - -=========================================================================*/ - -// this file defines the otbProjectionsTest for the test driver -// and all it expects is that you have a function called RegisterTests -#if defined(_MSC_VER) -#pragma warning ( disable : 4786 ) -#endif - -#include "otbTestMain.h" - -void RegisterTests() -{ - REGISTER_TEST(otbSmoothingTest); - REGISTER_TEST(otbRescaleTest); - REGISTER_TEST(otbReadImageInfoTest); -} -