Skip to content
Snippets Groups Projects
Commit 98868b4a authored by Cyrille Valladeau's avatar Cyrille Valladeau
Browse files

ENH: remove removed application tests

parent e3aad42b
No related branches found
No related tags found
No related merge requests found
...@@ -22,32 +22,6 @@ add_test( NAME pyTvRescale ...@@ -22,32 +22,6 @@ add_test( NAME pyTvRescale
${OTB_DATA_ROOT}/Input/ToulouseExtract_WithGeom.tif ${OTB_DATA_ROOT}/Input/ToulouseExtract_WithGeom.tif
${TEMP}/pyTvRescale) ${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 add_test( NAME pyTvHyperspectralUnmixingUCLS
COMMAND ${TEST_DRIVER} Execute COMMAND ${TEST_DRIVER} Execute
......
# -*- 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)
# -*- 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)
# -*- 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)
# -*- 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)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment