diff --git a/Testing/Code/Wrappers/Python/CMakeLists.txt b/Testing/Code/Wrappers/Python/CMakeLists.txt index fae774fcc9b4e7d92e9a72e20d41f37e8d8ac7aa..7712470a3dbf700f0d4da98cf682d14aeceeb590 100644 --- a/Testing/Code/Wrappers/Python/CMakeLists.txt +++ b/Testing/Code/Wrappers/Python/CMakeLists.txt @@ -22,32 +22,6 @@ add_test( NAME pyTvRescale ${OTB_DATA_ROOT}/Input/ToulouseExtract_WithGeom.tif ${TEMP}/pyTvRescale) -add_test( NAME pyTvAddition - COMMAND ${TEST_DRIVER} Execute - ${PYTHON_EXECUTABLE} ${CMAKE_CURRENT_SOURCE_DIR}/PythonAdditionTest.py - 89 - 57 - ) - -add_test( NAME pyTvCopyInput - COMMAND ${TEST_DRIVER} Execute - ${PYTHON_EXECUTABLE} ${CMAKE_CURRENT_SOURCE_DIR}/PythonCopyInputTest.py - ${OTB_DATA_ROOT}/Input/ToulouseExtract_WithGeom.tif - ${TEMP}/pyTvCopyInputTest.tif - ) - -add_test( NAME pyTvAllocateOutput - COMMAND ${TEST_DRIVER} Execute - ${PYTHON_EXECUTABLE} ${CMAKE_CURRENT_SOURCE_DIR}/PythonAllocateOutputTest.py - ${TEMP}/pyTvAllocateOutputTest.tif - ) - -add_test( NAME pyTvInternalReader - COMMAND ${TEST_DRIVER} Execute - ${PYTHON_EXECUTABLE} ${CMAKE_CURRENT_SOURCE_DIR}/PythonInternalReaderTest.py - ${OTB_DATA_ROOT}/Input/ToulouseExtract_WithGeom.tif - ${TEMP}/pyTvInternalReader.tif - ) add_test( NAME pyTvHyperspectralUnmixingUCLS COMMAND ${TEST_DRIVER} Execute diff --git a/Testing/Code/Wrappers/Python/PythonAdditionTest.py b/Testing/Code/Wrappers/Python/PythonAdditionTest.py deleted file mode 100644 index 3271bcf47645a0aceda32cd0f3efafd18dc4cad6..0000000000000000000000000000000000000000 --- a/Testing/Code/Wrappers/Python/PythonAdditionTest.py +++ /dev/null @@ -1,19 +0,0 @@ -# -*- coding: utf-8 -*- - -# -# Example on the use of the Smoothing -# -from sys import argv -import otbApplication as otb - -print "Available applications : " + str(otb.Registry.GetAvailableApplications()) - -app = otb.Registry.CreateApplication("Addition") -print app.GetParametersKeys() - -app.SetParameterFloat("a", float(argv[1])) -app.SetParameterFloat("b", float(argv[2])) - -app.Execute() - -print dir(app) diff --git a/Testing/Code/Wrappers/Python/PythonAllocateOutputTest.py b/Testing/Code/Wrappers/Python/PythonAllocateOutputTest.py deleted file mode 100644 index ba9b941ebfc046c860a84e2336f750821b698c90..0000000000000000000000000000000000000000 --- a/Testing/Code/Wrappers/Python/PythonAllocateOutputTest.py +++ /dev/null @@ -1,17 +0,0 @@ -# -*- coding: utf-8 -*- - -# -# Example on the use of the Rescale -# -from sys import argv -import otbApplication as otb - -print "Available applications : " + str(otb.Registry.GetAvailableApplications()) - -app = otb.Registry.CreateApplication("AllocateOutput") -print app.GetParametersKeys() - -app.SetParameterString("out", argv[1]) -app.ExecuteAndWriteOutput() - -print dir(app) diff --git a/Testing/Code/Wrappers/Python/PythonCopyInputTest.py b/Testing/Code/Wrappers/Python/PythonCopyInputTest.py deleted file mode 100644 index 45da080abaa5c4a08c37abcee84cafbbf63b7939..0000000000000000000000000000000000000000 --- a/Testing/Code/Wrappers/Python/PythonCopyInputTest.py +++ /dev/null @@ -1,18 +0,0 @@ -# -*- coding: utf-8 -*- - -# -# Example on the use of the Rescale -# -from sys import argv -import otbApplication as otb - -print "Available applications : " + str(otb.Registry.GetAvailableApplications()) - -app = otb.Registry.CreateApplication("CopyInput") -print app.GetParametersKeys() - -app.SetParameterString("in", argv[1]) -app.SetParameterString("out", argv[2]) -app.ExecuteAndWriteOutput() - -print dir(app) diff --git a/Testing/Code/Wrappers/Python/PythonInternalReaderTest.py b/Testing/Code/Wrappers/Python/PythonInternalReaderTest.py deleted file mode 100644 index 1abe99c1ac57e0e864cbb0d1c81ed0d409683ac2..0000000000000000000000000000000000000000 --- a/Testing/Code/Wrappers/Python/PythonInternalReaderTest.py +++ /dev/null @@ -1,18 +0,0 @@ -# -*- coding: utf-8 -*- - -# -# Example on the use of the Rescale -# -from sys import argv -import otbApplication as otb - -print "Available applications : " + str(otb.Registry.GetAvailableApplications()) - -app = otb.Registry.CreateApplication("InternalReader") -print app.GetParametersKeys() - -app.SetParameterString("inname", argv[1]) -app.SetParameterString("out", argv[2]) -app.ExecuteAndWriteOutput() - -print dir(app)