Commit db5ad44b authored by Emmanuel Christophe's avatar Emmanuel Christophe

TEST: moving TestingHelper to a separate library

parent 3b75a17b
......@@ -151,6 +151,6 @@ ADD_TEST(MeanShiftVectorImageFilterExampleTest ${EXE_TESTS}
ADD_EXECUTABLE(otbBasicFiltersExamplesTests otbBasicFiltersExamplesTests.cxx)
TARGET_LINK_LIBRARIES(otbBasicFiltersExamplesTests ITKAlgorithms ITKStatistics OTBBasicFilters OTBCommon OTBDisparityMap OTBIO OTBSpatialReasoning OTBChangeDetection OTBFeatureExtraction OTBLearning OTBMultiScale)
TARGET_LINK_LIBRARIES(otbBasicFiltersExamplesTests ITKAlgorithms ITKStatistics OTBBasicFilters OTBCommon OTBDisparityMap OTBIO OTBSpatialReasoning OTBChangeDetection OTBFeatureExtraction OTBLearning OTBMultiScale OTBTesting)
ENDIF( NOT OTB_DISABLE_CXX_TESTING AND BUILD_TESTING )
......@@ -124,7 +124,7 @@ ADD_TEST(KullbackLeiblerProfileChDetTest ${EXE_TESTS}
)
ADD_EXECUTABLE(otbChangeDetectionExamplesTests otbChangeDetectionExamplesTests.cxx)
TARGET_LINK_LIBRARIES(otbChangeDetectionExamplesTests ITKAlgorithms ITKStatistics OTBBasicFilters OTBCommon OTBDisparityMap OTBIO OTBSpatialReasoning OTBChangeDetection OTBFeatureExtraction OTBLearning OTBMultiScale)
TARGET_LINK_LIBRARIES(otbChangeDetectionExamplesTests ITKAlgorithms ITKStatistics OTBBasicFilters OTBCommon OTBDisparityMap OTBIO OTBSpatialReasoning OTBChangeDetection OTBFeatureExtraction OTBLearning OTBMultiScale OTBTesting)
ENDIF( NOT OTB_DISABLE_CXX_TESTING AND BUILD_TESTING )
......@@ -155,6 +155,6 @@ ADD_TEST(ScalarImageKmeansClassifierTest ${EXE_TESTS}
ADD_EXECUTABLE(otbClassificationExamplesTests otbClassificationExamplesTests.cxx)
TARGET_LINK_LIBRARIES(otbClassificationExamplesTests ITKAlgorithms ITKStatistics OTBBasicFilters OTBCommon OTBDisparityMap OTBIO OTBSpatialReasoning OTBChangeDetection OTBFeatureExtraction OTBLearning OTBMultiScale)
TARGET_LINK_LIBRARIES(otbClassificationExamplesTests ITKAlgorithms ITKStatistics OTBBasicFilters OTBCommon OTBDisparityMap OTBIO OTBSpatialReasoning OTBChangeDetection OTBFeatureExtraction OTBLearning OTBMultiScale OTBTesting)
ENDIF( NOT OTB_DISABLE_CXX_TESTING AND BUILD_TESTING )
......@@ -44,6 +44,6 @@ ADD_TEST(SimpleDisparityMapEstimationExampleTest ${EXE_TESTS}
ADD_EXECUTABLE(otbDisparityMapExamplesTests otbDisparityMapExamplesTests.cxx)
TARGET_LINK_LIBRARIES(otbDisparityMapExamplesTests ITKAlgorithms ITKStatistics OTBBasicFilters OTBCommon OTBDisparityMap OTBIO OTBSpatialReasoning OTBChangeDetection OTBFeatureExtraction OTBLearning OTBMultiScale)
TARGET_LINK_LIBRARIES(otbDisparityMapExamplesTests ITKAlgorithms ITKStatistics OTBBasicFilters OTBCommon OTBDisparityMap OTBIO OTBSpatialReasoning OTBChangeDetection OTBFeatureExtraction OTBLearning OTBMultiScale OTBTesting)
ENDIF( NOT OTB_DISABLE_CXX_TESTING AND BUILD_TESTING )
......@@ -332,31 +332,31 @@ ADD_TEST(CloudDetectionExampleTest ${EXE_TESTS2}
CloudDetectionExampleTest
${INPUTDATA}/CloudsOnReunion.tif
${TEMP}/CloudDetectionOutput.tif
${TEMP}/PrettyCloudDetectionInput.png
${TEMP}/PrettyCloudDetectionOutput.png
${TEMP}/PrettyCloudDetectionInput.png
${TEMP}/PrettyCloudDetectionOutput.png
553 467 734 581 0.4 0.6 1.0
)
# ------- Right Angle Detection test----------
ADD_TEST(RightAngleDetectionExample ${EXE_TESTS2}
--compare-image ${TOL}
--compare-image ${TOL}
${BASELINE}/RightAngleOutput.png
${TEMP}/PrettyRightAngleOutput.png
RightAngleDetectionExample
RightAngleDetectionExample
${INPUTDATA}/qb_RoadExtract2.tif
${TEMP}/RighAngleOutput.tif
${TEMP}/PrettyRightAngleInput.png
${TEMP}/PrettyRightAngleInput.png
${TEMP}/PrettyRightAngleOutput.png
0.1
35.
)
ADD_EXECUTABLE(otbFeatureExtractionExamplesTests1 otbFeatureExtractionExamplesTests1.cxx)
TARGET_LINK_LIBRARIES(otbFeatureExtractionExamplesTests1 ITKAlgorithms ITKStatistics OTBBasicFilters OTBCommon OTBDisparityMap OTBIO OTBSpatialReasoning OTBChangeDetection OTBFeatureExtraction OTBLearning OTBMultiScale)
TARGET_LINK_LIBRARIES(otbFeatureExtractionExamplesTests1 ITKAlgorithms ITKStatistics OTBBasicFilters OTBCommon OTBDisparityMap OTBIO OTBSpatialReasoning OTBChangeDetection OTBFeatureExtraction OTBLearning OTBMultiScale OTBTesting)
ADD_EXECUTABLE(otbFeatureExtractionExamplesTests2 otbFeatureExtractionExamplesTests2.cxx)
TARGET_LINK_LIBRARIES(otbFeatureExtractionExamplesTests2 ITKAlgorithms ITKStatistics OTBBasicFilters OTBCommon OTBDisparityMap OTBIO OTBSpatialReasoning OTBChangeDetection OTBFeatureExtraction OTBLearning OTBMultiScale)
TARGET_LINK_LIBRARIES(otbFeatureExtractionExamplesTests2 ITKAlgorithms ITKStatistics OTBBasicFilters OTBCommon OTBDisparityMap OTBIO OTBSpatialReasoning OTBChangeDetection OTBFeatureExtraction OTBLearning OTBMultiScale OTBTesting)
ENDIF( NOT OTB_DISABLE_CXX_TESTING AND BUILD_TESTING )
......@@ -505,6 +505,6 @@ ADD_TEST(DerivativeImageFilterTest ${EXE_TESTS}
)
ADD_EXECUTABLE(otbFilteringExamplesTests otbFilteringExamplesTests.cxx)
TARGET_LINK_LIBRARIES(otbFilteringExamplesTests ITKAlgorithms ITKStatistics OTBBasicFilters OTBCommon OTBDisparityMap OTBIO OTBSpatialReasoning OTBChangeDetection OTBFeatureExtraction OTBLearning OTBMultiScale)
TARGET_LINK_LIBRARIES(otbFilteringExamplesTests ITKAlgorithms ITKStatistics OTBBasicFilters OTBCommon OTBDisparityMap OTBIO OTBSpatialReasoning OTBChangeDetection OTBFeatureExtraction OTBLearning OTBMultiScale OTBTesting)
ENDIF( NOT OTB_DISABLE_CXX_TESTING AND BUILD_TESTING )
......@@ -39,12 +39,12 @@ ADD_TEST(BayesianFusionImageFilterTest ${EXE_TESTS}
0.9999
)
ADD_TEST(PanSharpeningExampleTest ${EXE_TESTS}
ADD_TEST(PanSharpeningExampleTest ${EXE_TESTS}
--compare-image ${EPSILON} ${BASELINE}/PanSharpeningExampleTest.tif
${TEMP}/PanSharpeningExampleTest.tif
PanSharpeningExampleTest
${INPUTDATA}/QB_Toulouse_Ortho_PAN.tif
${INPUTDATA}/QB_Toulouse_Ortho_XS.tif
${INPUTDATA}/QB_Toulouse_Ortho_XS.tif
${TEMP}/PanSharpeningExampleTest.tif
${TEMP}/PanSharpeningExampleTest1.png
${TEMP}/PanSharpeningExampleTest2.png
......@@ -53,6 +53,6 @@ ADD_TEST(PanSharpeningExampleTest ${EXE_TESTS}
ADD_EXECUTABLE(otbFusionExamplesTests otbFusionExamplesTests.cxx)
TARGET_LINK_LIBRARIES(otbFusionExamplesTests ITKAlgorithms ITKStatistics ITKNumerics OTBBasicFilters OTBCommon OTBDisparityMap OTBIO OTBSpatialReasoning OTBChangeDetection OTBFeatureExtraction OTBLearning OTBMultiScale OTBFusion)
TARGET_LINK_LIBRARIES(otbFusionExamplesTests ITKAlgorithms ITKStatistics ITKNumerics OTBBasicFilters OTBCommon OTBDisparityMap OTBIO OTBSpatialReasoning OTBChangeDetection OTBFeatureExtraction OTBLearning OTBMultiScale OTBFusion OTBTesting)
ENDIF( NOT OTB_DISABLE_CXX_TESTING AND BUILD_TESTING )
......@@ -208,12 +208,12 @@ ENDIF( OTB_USE_CURL )
ADD_EXECUTABLE(otbIOExamplesTests1 otbIOExamplesTests1.cxx)
# TARGET_LINK_LIBRARIES(otbIOExamplesTests1 OTBIO OTBBasicFilters OTBCommon OTBDisparityMap OTBSpatialReasoning OTBChangeDetection OTBFeatureExtraction OTBLearning OTBMultiScale OTBProjections ITKAlgorithms ITKStatistics ${OTB_IO_UTILITIES_DEPENDENT_LIBRARIES})
TARGET_LINK_LIBRARIES(otbIOExamplesTests1 OTBIO OTBCommon)
TARGET_LINK_LIBRARIES(otbIOExamplesTests1 OTBIO OTBCommon OTBTesting)
IF( OTB_USE_CURL )
ADD_EXECUTABLE(otbIOExamplesTests2 otbIOExamplesTests2.cxx)
# TARGET_LINK_LIBRARIES(otbIOExamplesTests2 OTBCommon OTBIO ${OTB_IO_UTILITIES_DEPENDENT_LIBRARIES} ${CURL_LIBRARY} )
TARGET_LINK_LIBRARIES(otbIOExamplesTests2 OTBCommon OTBIO ${CURL_LIBRARY} )
TARGET_LINK_LIBRARIES(otbIOExamplesTests2 OTBCommon OTBIO ${CURL_LIBRARY} OTBTesting)
ENDIF( OTB_USE_CURL )
ENDIF( NOT OTB_DISABLE_CXX_TESTING AND BUILD_TESTING )
......@@ -10,4 +10,4 @@ ENDIF(OTB_FOUND)
ADD_EXECUTABLE(HelloWorld HelloWorld.cxx )
TARGET_LINK_LIBRARIES(HelloWorld OTBIO OTBCommon OTBLearning)
TARGET_LINK_LIBRARIES(HelloWorld OTBIO OTBCommon OTBLearning OTBTesting)
......@@ -194,6 +194,6 @@ ADD_TEST(ShapedNeighborhoodIterators2Test ${EXE_TESTS}
ADD_EXECUTABLE(otbIteratorsExamplesTests otbIteratorsExamplesTests.cxx)
TARGET_LINK_LIBRARIES(otbIteratorsExamplesTests ITKAlgorithms ITKStatistics OTBBasicFilters OTBCommon OTBDisparityMap OTBIO OTBSpatialReasoning OTBChangeDetection OTBFeatureExtraction OTBLearning OTBMultiScale )
TARGET_LINK_LIBRARIES(otbIteratorsExamplesTests ITKAlgorithms ITKStatistics OTBBasicFilters OTBCommon OTBDisparityMap OTBIO OTBSpatialReasoning OTBChangeDetection OTBFeatureExtraction OTBLearning OTBMultiScale OTBTesting)
ENDIF( NOT OTB_DISABLE_CXX_TESTING AND BUILD_TESTING )
......@@ -174,6 +174,6 @@ ADD_TEST(SVMGenericKernelImageClassificationExampleTest ${EXE_TESTS}
ADD_EXECUTABLE(otbLearningExamplesTests otbLearningExamplesTests.cxx)
TARGET_LINK_LIBRARIES(otbLearningExamplesTests ITKAlgorithms ITKStatistics OTBBasicFilters OTBCommon OTBDisparityMap OTBIO OTBSpatialReasoning OTBChangeDetection OTBFeatureExtraction OTBLearning OTBMultiScale)
TARGET_LINK_LIBRARIES(otbLearningExamplesTests ITKAlgorithms ITKStatistics OTBBasicFilters OTBCommon OTBDisparityMap OTBIO OTBSpatialReasoning OTBChangeDetection OTBFeatureExtraction OTBLearning OTBMultiScale OTBTesting)
ENDIF( NOT OTB_DISABLE_CXX_TESTING AND BUILD_TESTING )
......@@ -83,7 +83,7 @@ ADD_TEST(MarkovRegularizationExampleTest ${EXE_TESTS}
ADD_EXECUTABLE(otbMarkovExamplesTests otbMarkovExamplesTests.cxx)
TARGET_LINK_LIBRARIES(otbMarkovExamplesTests ITKAlgorithms ITKStatistics ITKNumerics OTBBasicFilters OTBCommon OTBDisparityMap OTBIO OTBMarkov)
TARGET_LINK_LIBRARIES(otbMarkovExamplesTests ITKAlgorithms ITKStatistics ITKNumerics OTBBasicFilters OTBCommon OTBDisparityMap OTBIO OTBMarkov OTBTesting)
ENDIF( NOT OTB_DISABLE_CXX_TESTING AND BUILD_TESTING )
......
......@@ -32,7 +32,7 @@ SET(TOL 0.0)
ADD_TEST(MorphologicalPyramidAnalysisFilterExampleTest ${EXE_TESTS}
--compare-n-images ${TOL} 20
${BASELINE}/suburb2_an_1.jpeg ${TEMP}/suburb2_an_1.jpeg
${BASELINE}/suburb2_an_1.jpeg ${TEMP}/suburb2_an_1.jpeg
${BASELINE}/suburb2_an_2.jpeg ${TEMP}/suburb2_an_2.jpeg
${BASELINE}/suburb2_an_3.jpeg ${TEMP}/suburb2_an_3.jpeg
${BASELINE}/suburb2_an_4.jpeg ${TEMP}/suburb2_an_4.jpeg
......@@ -40,51 +40,51 @@ ADD_TEST(MorphologicalPyramidAnalysisFilterExampleTest ${EXE_TESTS}
${BASELINE}/suburb2_sf_2.jpeg ${TEMP}/suburb2_sf_2.jpeg
${BASELINE}/suburb2_sf_3.jpeg ${TEMP}/suburb2_sf_3.jpeg
${BASELINE}/suburb2_sf_4.jpeg ${TEMP}/suburb2_sf_4.jpeg
${BASELINE}/suburb2_if_1.jpeg ${TEMP}/suburb2_if_1.jpeg
${BASELINE}/suburb2_if_2.jpeg ${TEMP}/suburb2_if_2.jpeg
${BASELINE}/suburb2_if_3.jpeg ${TEMP}/suburb2_if_3.jpeg
${BASELINE}/suburb2_if_1.jpeg ${TEMP}/suburb2_if_1.jpeg
${BASELINE}/suburb2_if_2.jpeg ${TEMP}/suburb2_if_2.jpeg
${BASELINE}/suburb2_if_3.jpeg ${TEMP}/suburb2_if_3.jpeg
${BASELINE}/suburb2_if_4.jpeg ${TEMP}/suburb2_if_4.jpeg
${BASELINE}/suburb2_id_1.jpeg ${TEMP}/suburb2_id_1.jpeg
${BASELINE}/suburb2_id_2.jpeg ${TEMP}/suburb2_id_2.jpeg
${BASELINE}/suburb2_id_3.jpeg ${TEMP}/suburb2_id_3.jpeg
${BASELINE}/suburb2_id_1.jpeg ${TEMP}/suburb2_id_1.jpeg
${BASELINE}/suburb2_id_2.jpeg ${TEMP}/suburb2_id_2.jpeg
${BASELINE}/suburb2_id_3.jpeg ${TEMP}/suburb2_id_3.jpeg
${BASELINE}/suburb2_id_4.jpeg ${TEMP}/suburb2_id_4.jpeg
${BASELINE}/suburb2_sd_1.jpeg ${TEMP}/suburb2_sd_1.jpeg
${BASELINE}/suburb2_sd_2.jpeg ${TEMP}/suburb2_sd_2.jpeg
${BASELINE}/suburb2_sd_3.jpeg ${TEMP}/suburb2_sd_3.jpeg
${BASELINE}/suburb2_sd_1.jpeg ${TEMP}/suburb2_sd_1.jpeg
${BASELINE}/suburb2_sd_2.jpeg ${TEMP}/suburb2_sd_2.jpeg
${BASELINE}/suburb2_sd_3.jpeg ${TEMP}/suburb2_sd_3.jpeg
${BASELINE}/suburb2_sd_4.jpeg ${TEMP}/suburb2_sd_4.jpeg
MorphologicalPyramidAnalysisFilterExampleTest
${INPUTDATA}/suburb2.jpeg
${TEMP}/suburb2_an_1.jpeg ${TEMP}/suburb2_an_2.jpeg
${TEMP}/suburb2_an_3.jpeg ${TEMP}/suburb2_an_4.jpeg
${TEMP}/suburb2_sf_1.jpeg ${TEMP}/suburb2_sf_2.jpeg
${TEMP}/suburb2_sf_1.jpeg ${TEMP}/suburb2_sf_2.jpeg
${TEMP}/suburb2_sf_3.jpeg ${TEMP}/suburb2_sf_4.jpeg
${TEMP}/suburb2_if_1.jpeg ${TEMP}/suburb2_if_2.jpeg
${TEMP}/suburb2_if_1.jpeg ${TEMP}/suburb2_if_2.jpeg
${TEMP}/suburb2_if_3.jpeg ${TEMP}/suburb2_if_4.jpeg
${TEMP}/suburb2_id_1.jpeg ${TEMP}/suburb2_id_2.jpeg
${TEMP}/suburb2_id_1.jpeg ${TEMP}/suburb2_id_2.jpeg
${TEMP}/suburb2_id_3.jpeg ${TEMP}/suburb2_id_4.jpeg
${TEMP}/suburb2_sd_1.jpeg ${TEMP}/suburb2_sd_2.jpeg
${TEMP}/suburb2_sd_1.jpeg ${TEMP}/suburb2_sd_2.jpeg
${TEMP}/suburb2_sd_3.jpeg ${TEMP}/suburb2_sd_4.jpeg
4 2
4 2
)
# ------- MorphologicalPyramidSynthesisFilterExampleTest ----------
ADD_TEST(MorphologicalPyramidSynthesisFilterExampleTest ${EXE_TESTS}
--compare-image ${TOL}
--compare-image ${TOL}
${BASELINE}/suburb2_synthesis.jpeg
${TEMP}/suburb2_synthesis.jpeg
${TEMP}/suburb2_synthesis.jpeg
MorphologicalPyramidSynthesisFilterExampleTest
${INPUTDATA}/suburb2.jpeg
${TEMP}/suburb2_synthesis.jpeg
4 2
4 2
)
# ------- MorphologicalPyramidSegmenterExampleTest ----------
ADD_TEST(MorphologicalPyramidSegmenterExampleTest ${EXE_TESTS}
--compare-image ${TOL}
--compare-image ${TOL}
${BASELINE}/outputPyrSegmented.tif
${TEMP}/outputPyrSegmented.tif
${TEMP}/outputPyrSegmented.tif
MorphologicalPyramidSegmenterExampleTest
${INPUTDATA}/msPyrMRToMS_IKO_Halles_4_2_sf_full.tif
${INPUTDATA}/ROI_IKO_PAN_LesHalles.tif
......@@ -94,6 +94,6 @@ ADD_TEST(MorphologicalPyramidSegmenterExampleTest ${EXE_TESTS}
ADD_EXECUTABLE(otbMultiScaleExamplesTests otbMultiScaleExamplesTests.cxx)
TARGET_LINK_LIBRARIES(otbMultiScaleExamplesTests ITKAlgorithms ITKStatistics OTBBasicFilters OTBCommon OTBDisparityMap OTBIO OTBSpatialReasoning OTBChangeDetection OTBFeatureExtraction OTBLearning OTBMultiScale ${OTB_IO_UTILITIES_DEPENDENT_LIBRARIES})
TARGET_LINK_LIBRARIES(otbMultiScaleExamplesTests ITKAlgorithms ITKStatistics OTBBasicFilters OTBCommon OTBDisparityMap OTBIO OTBSpatialReasoning OTBChangeDetection OTBFeatureExtraction OTBLearning OTBMultiScale OTBTesting)
ENDIF( NOT OTB_DISABLE_CXX_TESTING AND BUILD_TESTING )
......@@ -36,6 +36,6 @@ ADD_TEST(HybridSegmentationFuzzyVoronoiTest ${EXE_TESTS}
ADD_EXECUTABLE(otbPatentedExamplesTests otbPatentedExamplesTests.cxx)
TARGET_LINK_LIBRARIES(otbPatentedExamplesTests ITKAlgorithms ITKStatistics OTBBasicFilters OTBCommon OTBDisparityMap OTBIO OTBSpatialReasoning OTBChangeDetection OTBFeatureExtraction OTBLearning OTBMultiScale)
TARGET_LINK_LIBRARIES(otbPatentedExamplesTests ITKAlgorithms ITKStatistics OTBBasicFilters OTBCommon OTBDisparityMap OTBIO OTBSpatialReasoning OTBChangeDetection OTBFeatureExtraction OTBLearning OTBMultiScale OTBTesting)
ENDIF( NOT OTB_DISABLE_CXX_TESTING AND BUILD_TESTING )
......@@ -115,11 +115,11 @@ ENDIF( OTB_USE_CURL )
ADD_EXECUTABLE(otbProjectionsExamplesTests otbProjectionsExamplesTests.cxx)
TARGET_LINK_LIBRARIES(otbProjectionsExamplesTests OTBCommon OTBIO OTBProjections)
TARGET_LINK_LIBRARIES(otbProjectionsExamplesTests OTBCommon OTBIO OTBProjections OTBTesting)
IF( OTB_USE_CURL )
ADD_EXECUTABLE(otbProjectionsExamplesTests2 otbProjectionsExamplesTests2.cxx)
TARGET_LINK_LIBRARIES(otbProjectionsExamplesTests2 OTBCommon OTBIO OTBProjections ${CURL_LIBRARY} tinyXML)
TARGET_LINK_LIBRARIES(otbProjectionsExamplesTests2 OTBCommon OTBIO OTBProjections ${CURL_LIBRARY} tinyXML OTBTesting)
ENDIF( OTB_USE_CURL )
......
......@@ -30,18 +30,18 @@ SET(EPSILON 0.000000000001)
# ------- ARVIMultiChannelRAndBAndNIRVegetationIndexImageFilter ------------------------------
ADD_TEST(ARVIMultiChannelRAndBAndNIRVegetationIndexImageFilterTest ${EXE_TESTS}
--compare-image ${EPSILON}
ADD_TEST(ARVIMultiChannelRAndBAndNIRVegetationIndexImageFilterTest ${EXE_TESTS}
--compare-image ${EPSILON}
${BASELINE}/ARVIMultiChannelRAndBAndNIRVegetationIndex.tif
${TEMP}/ARVIMultiChannelRAndBAndNIRVegetationIndex.tif
ARVIMultiChannelRAndBAndNIRVegetationIndexImageFilterTest
${INPUTDATA}/poupees_sub.png
${INPUTDATA}/poupees_sub.png
${TEMP}/ARVIMultiChannelRAndBAndNIRVegetationIndex.tif
${TEMP}/ARVIMultiChannelRAndBAndNIRVegetationIndex3.tif
${TEMP}/ARVIMultiChannelRAndBAndNIRVegetationIndex2.tif
1
2
3
${TEMP}/ARVIMultiChannelRAndBAndNIRVegetationIndex3.tif
${TEMP}/ARVIMultiChannelRAndBAndNIRVegetationIndex2.tif
1
2
3
0.6 # Gamma parameter
)
......@@ -49,8 +49,8 @@ ADD_TEST(ARVIMultiChannelRAndBAndNIRVegetationIndexImageFilterTest ${EXE_TESTS}
# ------- AVIMultiChannelRAndGAndNIRVegetationIndexImageFilterTest ------------------------------
ADD_TEST(AVIMultiChannelRAndGAndNIRVegetationIndexImageFilterTest ${EXE_TESTS}
#--compare-image ${TOL}
ADD_TEST(AVIMultiChannelRAndGAndNIRVegetationIndexImageFilterTest ${EXE_TESTS}
#--compare-image ${TOL}
#${BASELINE}/AVIMultiChannelRAndGAndNIRVegetationIndexImageFilterTest.tif
#${TEMP}/AVIMultiChannelRAndGAndNIRVegetationIndexImageFilterTest.tif
AVIMultiChannelRAndGAndNIRVegetationIndexImageFilterTest
......@@ -69,9 +69,9 @@ ADD_TEST(AVIMultiChannelRAndGAndNIRVegetationIndexImageFilterTest ${EXE_TESTS}
# ------- NDVIRAndNIRVegetationIndexImageFilter ------------------------------
ADD_TEST(NDVIRAndNIRVegetationIndexImageFilterTest ${EXE_TESTS}
--compare-image ${TOL}
ADD_TEST(NDVIRAndNIRVegetationIndexImageFilterTest ${EXE_TESTS}
--compare-image ${TOL}
${BASELINE}/NDVIRAndNIRVegetationIndex.tif
${TEMP}/NDVIRAndNIRVegetationIndex.tif
NDVIRAndNIRVegetationIndexImageFilterTest
......@@ -85,8 +85,8 @@ ADD_TEST(NDVIRAndNIRVegetationIndexImageFilterTest ${EXE_TESTS}
ADD_TEST(AtmosphericCorrectionSequencementTest ${EXE_TESTS}
--compare-image ${EPSILON}
ADD_TEST(AtmosphericCorrectionSequencementTest ${EXE_TESTS}
--compare-image ${EPSILON}
${BASELINE}/Example_RomaniaAtmosphericCorrectionSequencement.tif
${TEMP}/Example_RomaniaAtmosphericCorrectionSequencement.tif
AtmosphericCorrectionSequencementTest
......@@ -95,30 +95,30 @@ ADD_TEST(AtmosphericCorrectionSequencementTest ${EXE_TESTS}
${INPUTDATA}/atmosphericCorrectionSequencement_alpha_beta.txt
${INPUTDATA}/atmosphericCorrectionSequencement_solar_illumination.txt
${INPUTDATA}/atmosphericCorrectionSequencement_wavelenght_spectral_bands_spot4_1.txt
# ImageToLuminance parameters
# LuminanceToReflectance parameters
# ImageToLuminance parameters
# LuminanceToReflectance parameters
27.3 #solar azimuthal elevation
4 #day
12 #mounth
# AtmosphericCorrectionParametersTo6SAtmosphericRadiativeTerms parameters
# AtmosphericCorrectionParametersTo6SAtmosphericRadiativeTerms parameters
152.7
2.5
2.5
-77.0
1013.
2.48134
0.34400
1
0.199854
# ReflectanceToSurfaceReflectance parameters
# SurfaceAdjencyEffect6SCorrectionSchemeFilter parameters
2 # Radius;
1
0.199854
# ReflectanceToSurfaceReflectance parameters
# SurfaceAdjencyEffect6SCorrectionSchemeFilter parameters
2 # Radius;
0.020 # pixel spacing in kilometers
)
ADD_EXECUTABLE(otbRadiometryExamplesTests otbRadiometryExamplesTests.cxx)
TARGET_LINK_LIBRARIES(otbRadiometryExamplesTests OTBBasicFilters OTBCommon OTBDisparityMap OTBRadiometry OTBIO OTBSpatialReasoning OTBChangeDetection OTBFeatureExtraction OTBLearning OTBMultiScale OTBFusion ITKAlgorithms ITKStatistics ITKNumerics )
TARGET_LINK_LIBRARIES(otbRadiometryExamplesTests OTBBasicFilters OTBCommon OTBDisparityMap OTBRadiometry OTBIO OTBSpatialReasoning OTBChangeDetection OTBFeatureExtraction OTBLearning OTBMultiScale OTBFusion ITKAlgorithms ITKStatistics ITKNumerics OTBTesting)
ENDIF( NOT OTB_DISABLE_CXX_TESTING AND BUILD_TESTING )
......@@ -273,7 +273,7 @@ TARGET_LINK_LIBRARIES(ImageRegistration5 OTBCommon OTBIO ITKNumerics)
# ImageRegistration7Test
# ${ITK_SOURCE_DIR}/Examples/Data/BrainProtonDensitySliceBorder20.png
# ${ITK_SOURCE_DIR}/Examples/Data/BrainProtonDensitySliceR10X13Y17S12.png
# ${TEMP}/ImageRegistration7Test.png
# ${TEMP}/ImageRegistration7Test.png
# ${TEMP}/ImageRegistration7BeforeTest.png
# ${TEMP}/ImageRegistration7AfterTest.png
# 1.0 1.0 0.0
......@@ -307,7 +307,7 @@ TARGET_LINK_LIBRARIES(ImageRegistration5 OTBCommon OTBIO ITKNumerics)
# TARGET_LINK_LIBRARIES(ImageRegistration17 ITKStatistics ITKNumerics)
# ADD_EXECUTABLE(ImageRegistrationHistogramPlotter ImageRegistrationHistogramPlotter.cxx )
# TARGET_LINK_LIBRARIES(ImageRegistrationHistogramPlotter
# TARGET_LINK_LIBRARIES(ImageRegistrationHistogramPlotter
# ITKNumerics ITKStatistics)
# ADD_EXECUTABLE(MeanSquaresImageMetric1 MeanSquaresImageMetric1.cxx )
......@@ -521,7 +521,7 @@ ADD_TEST(ImageRegistration1ExampleTest ${EXE_TESTS}
)
ADD_TEST(ImageRegistration2ExampleTest ${EXE_TESTS}
--compare-image ${TOL}
--compare-image ${TOL}
${BASELINE}/ImageRegistration2Output.png
${TEMP}/ImageRegistration2Output.png
ImageRegistration2ExampleTest
......@@ -557,6 +557,6 @@ ADD_TEST(ImageRegistration5Cas2ExampleTest ${EXE_TESTS}
ADD_EXECUTABLE(otbRegistrationExamplesTests otbRegistrationExamplesTests.cxx)
TARGET_LINK_LIBRARIES(otbRegistrationExamplesTests ITKAlgorithms ITKStatistics ITKNumerics OTBBasicFilters OTBCommon OTBDisparityMap OTBIO OTBSpatialReasoning OTBChangeDetection OTBFeatureExtraction OTBLearning OTBMultiScale)
TARGET_LINK_LIBRARIES(otbRegistrationExamplesTests ITKAlgorithms ITKStatistics ITKNumerics OTBBasicFilters OTBCommon OTBDisparityMap OTBIO OTBSpatialReasoning OTBChangeDetection OTBFeatureExtraction OTBLearning OTBMultiScale OTBTesting)
ENDIF( NOT OTB_DISABLE_CXX_TESTING AND BUILD_TESTING )
......@@ -21,22 +21,22 @@ SET(EPSILON 0.000000000001)
# ------- PiOver4ExamplePolarimetricSynthesisFilterTest ------------------------------
# Tutorial example . pi / 4
ADD_TEST(rdTvPiOver4ExamplePolarimetricSynthesisFilterTest ${SARPOLARIMETRY_TESTS1}
# Tutorial example . pi / 4
ADD_TEST(rdTvPiOver4ExamplePolarimetricSynthesisFilterTest ${SARPOLARIMETRY_TESTS1}
--compare-image ${EPSILON}
${BASELINE}/refPiOver4PolarimetricSynthesis.tif
${TEMP}/resPiOver4PolarimetricSynthesis.tif
PiOver4ExamplePolarimetricSynthesisFilter
PiOver4ExamplePolarimetricSynthesisFilter
${INPUTDATA}/RSAT_imagery_HH.tif
${INPUTDATA}/RSAT_imagery_HV.tif
${INPUTDATA}/RSAT_imagery_VH.tif
${INPUTDATA}/RSAT_imagery_VV.tif
${TEMP}/resPiOver4PolarimetricSynthesis.tif
)
)
ADD_EXECUTABLE(otbSARPolarimetryExamplesTests otbSARPolarimetryExamplesTests.cxx )
TARGET_LINK_LIBRARIES(otbSARPolarimetryExamplesTests OTBSARPolarimetry OTBCommon OTBIO ITKBasicFilters)
TARGET_LINK_LIBRARIES(otbSARPolarimetryExamplesTests OTBSARPolarimetry OTBCommon OTBIO ITKBasicFilters OTBTesting)
ENDIF( NOT OTB_DISABLE_CXX_TESTING AND BUILD_TESTING )
......@@ -372,6 +372,6 @@ ADD_TEST(LabelizeNeighborhoodConnectedImageFilterTest ${EXE_TESTS}
ADD_EXECUTABLE(otbSegmentationExamplesTests otbSegmentationExamplesTests.cxx)
TARGET_LINK_LIBRARIES(otbSegmentationExamplesTests ITKAlgorithms ITKStatistics OTBBasicFilters OTBCommon OTBDisparityMap OTBIO OTBSpatialReasoning OTBChangeDetection OTBFeatureExtraction OTBLearning OTBMultiScale)
TARGET_LINK_LIBRARIES(otbSegmentationExamplesTests ITKAlgorithms ITKStatistics OTBBasicFilters OTBCommon OTBDisparityMap OTBIO OTBSpatialReasoning OTBChangeDetection OTBFeatureExtraction OTBLearning OTBMultiScale OTBTesting)
ENDIF( NOT OTB_DISABLE_CXX_TESTING AND BUILD_TESTING )
......@@ -111,6 +111,6 @@ ENDIF(OTB_DATA_USE_LARGEINPUT)
ADD_EXECUTABLE(otbTutorialsExamplesTests otbTutorialsExamplesTests.cxx)
TARGET_LINK_LIBRARIES(otbTutorialsExamplesTests ITKAlgorithms ITKStatistics ITKNumerics OTBBasicFilters OTBCommon OTBDisparityMap OTBIO OTBSpatialReasoning OTBChangeDetection OTBFeatureExtraction OTBLearning OTBMultiScale OTBFusion ${OTB_IO_UTILITIES_DEPENDENT_LIBRARIES})
TARGET_LINK_LIBRARIES(otbTutorialsExamplesTests ITKAlgorithms ITKStatistics ITKNumerics OTBBasicFilters OTBCommon OTBDisparityMap OTBIO OTBSpatialReasoning OTBChangeDetection OTBFeatureExtraction OTBLearning OTBMultiScale OTBFusion OTBTesting)
ENDIF( NOT OTB_DISABLE_CXX_TESTING AND BUILD_TESTING )
......@@ -2,6 +2,6 @@ PROJECT(VisuExamples)
INCLUDE_REGULAR_EXPRESSION("^.*$")
ADD_EXECUTABLE(VisuExample1 VisuExample1.cxx )
TARGET_LINK_LIBRARIES(VisuExample1 OTBVisu OTBGui OTBIO OTBCommon ${OTB_VISU_GUI_LIBRARIES})
TARGET_LINK_LIBRARIES(VisuExample1 OTBVisu OTBGui OTBIO OTBCommon ${OTB_VISU_GUI_LIBRARIES} OTBTesting)
......@@ -1696,39 +1696,39 @@ otbChangeLabelImageFilter.cxx
INCLUDE_DIRECTORIES("${OTBTesting_BINARY_DIR}")
ADD_EXECUTABLE(otbBasicFiltersTests1 otbBasicFiltersTests1.cxx ${BasicFilters_SRCS1})
TARGET_LINK_LIBRARIES(otbBasicFiltersTests1 OTBBasicFilters OTBIO)
TARGET_LINK_LIBRARIES(otbBasicFiltersTests1 OTBBasicFilters OTBIO OTBTesting)
ADD_EXECUTABLE(otbBasicFiltersTests2 otbBasicFiltersTests2.cxx ${BasicFilters_SRCS2})
TARGET_LINK_LIBRARIES(otbBasicFiltersTests2 OTBBasicFilters OTBIO )
TARGET_LINK_LIBRARIES(otbBasicFiltersTests2 OTBBasicFilters OTBIO OTBTesting)
ADD_EXECUTABLE(otbBasicFiltersTests3 otbBasicFiltersTests3.cxx ${BasicFilters_SRCS3})
TARGET_LINK_LIBRARIES(otbBasicFiltersTests3 OTBBasicFilters OTBIO )
TARGET_LINK_LIBRARIES(otbBasicFiltersTests3 OTBBasicFilters OTBIO OTBTesting)
ADD_EXECUTABLE(otbBasicFiltersTests4 otbBasicFiltersTests4.cxx ${BasicFilters_SRCS4})
TARGET_LINK_LIBRARIES(otbBasicFiltersTests4 OTBBasicFilters OTBIO )
TARGET_LINK_LIBRARIES(otbBasicFiltersTests4 OTBBasicFilters OTBIO OTBTesting)
ADD_EXECUTABLE(otbBasicFiltersTests5 otbBasicFiltersTests5.cxx ${BasicFilters_SRCS5})
TARGET_LINK_LIBRARIES(otbBasicFiltersTests5 OTBBasicFilters OTBIO )
TARGET_LINK_LIBRARIES(otbBasicFiltersTests5 OTBBasicFilters OTBIO OTBTesting)
ADD_EXECUTABLE(otbBasicFiltersTests6 otbBasicFiltersTests6.cxx ${BasicFilters_SRCS6})
TARGET_LINK_LIBRARIES(otbBasicFiltersTests6 OTBBasicFilters OTBIO )
TARGET_LINK_LIBRARIES(otbBasicFiltersTests6 OTBBasicFilters OTBIO OTBTesting)
ADD_EXECUTABLE(otbBasicFiltersTests7 otbBasicFiltersTests7.cxx ${BasicFilters_SRCS7})
TARGET_LINK_LIBRARIES(otbBasicFiltersTests7 OTBBasicFilters OTBIO )
TARGET_LINK_LIBRARIES(otbBasicFiltersTests7 OTBBasicFilters OTBIO OTBTesting)
ADD_EXECUTABLE(otbBasicFiltersTests8 otbBasicFiltersTests8.cxx ${BasicFilters_SRCS8})
TARGET_LINK_LIBRARIES(otbBasicFiltersTests8 OTBBasicFilters OTBIO )
TARGET_LINK_LIBRARIES(otbBasicFiltersTests8 OTBBasicFilters OTBIO OTBTesting)
ADD_EXECUTABLE(otbBasicFiltersTests9 otbBasicFiltersTests9.cxx ${BasicFilters_SRCS9})
TARGET_LINK_LIBRARIES(otbBasicFiltersTests9 OTBBasicFilters OTBIO )
TARGET_LINK_LIBRARIES(otbBasicFiltersTests9 OTBBasicFilters OTBIO OTBTesting)
ADD_EXECUTABLE(otbBasicFiltersTests10 otbBasicFiltersTests10.cxx ${BasicFilters_SRCS10})
TARGET_LINK_LIBRARIES(otbBasicFiltersTests10 OTBBasicFilters OTBIO )
TARGET_LINK_LIBRARIES(otbBasicFiltersTests10 OTBBasicFilters OTBIO OTBTesting)
ADD_EXECUTABLE(otbBasicFiltersTests11 otbBasicFiltersTests11.cxx ${BasicFilters_SRCS11})
TARGET_LINK_LIBRARIES(otbBasicFiltersTests11 OTBBasicFilters ITKAlgorithms OTBIO )
TARGET_LINK_LIBRARIES(otbBasicFiltersTests11 OTBBasicFilters ITKAlgorithms OTBIO OTBTesting)
ADD_EXECUTABLE(otbBasicFiltersTests12 otbBasicFiltersTests12.cxx ${BasicFilters_SRCS12})
TARGET_LINK_LIBRARIES(otbBasicFiltersTests12 OTBBasicFilters ITKAlgorithms OTBIO )
TARGET_LINK_LIBRARIES(otbBasicFiltersTests12 OTBBasicFilters ITKAlgorithms OTBIO OTBTesting)
ENDIF( NOT OTB_DISABLE_CXX_TESTING AND BUILD_TESTING )
# $Id$
SUBDIRS(
Common
IO
BasicFilters
FeatureExtraction
ChangeDetection
Learning
MultiScale
DisparityMap
Common
IO
BasicFilters
FeatureExtraction
ChangeDetection
Learning
MultiScale
DisparityMap
SpatialReasoning
Projections
Radiometry
......@@ -23,4 +23,6 @@ ENDIF(OTB_USE_VISU_GUI)
IF(OTB_USE_PQXX)
SUBDIRS(GISFilters)
ENDIF(OTB_USE_PQXX)
\ No newline at end of file
ENDIF(OTB_USE_PQXX)
ADD_LIBRARY(OTBTesting otbTestHelper.cxx)
......@@ -20,66 +20,66 @@ SET(CHANGEDETECTION_TESTS2 ${CXX_TEST_PATH}/otbChangeDetectionTests2)
# ------- otb::CBAMI ------------------------------
ADD_TEST(cdTvCBAMI ${CHANGEDETECTION_TESTS1}
ADD_TEST(cdTvCBAMI ${CHANGEDETECTION_TESTS1}
--compare-image ${TOL} ${BASELINE}/cdCBAMIImage.png
${TEMP}/cdCBAMIImage.png
otbCBAMIChangeDetectionTest
${INPUTDATA}/GomaAvant.png
${INPUTDATA}/GomaAvant.png
${INPUTDATA}/GomaApres.png
2
${TEMP}/cdCBAMIImage.png
2
${TEMP}/cdCBAMIImage.png
)
ADD_TEST(cdTvCorrel ${CHANGEDETECTION_TESTS1}
--compare-image ${TOL} ${BASELINE}/cdCorrelImage.png
${TEMP}/cdCorrelImage.png
otbCorrelChangeDetectionTest
${INPUTDATA}/GomaAvant.png
${INPUTDATA}/GomaApres.png
2
${TEMP}/cdCorrelImage.png
otbCorrelChangeDetectionTest
${INPUTDATA}/GomaAvant.png
${INPUTDATA}/GomaApres.png
2
${TEMP}/cdCorrelImage.png
)
ADD_TEST(cdTvMeanDiff ${CHANGEDETECTION_TESTS1}
--compare-image ${EPSILON}
--compare-image ${EPSILON}
${BASELINE}/cdMeanDiffImage.hdr
${TEMP}/cdMeanDiffImage.hdr
otbMeanDiffChangeDetectionTest
${INPUTDATA}/GomaAvant.png
otbMeanDiffChangeDetectionTest
${INPUTDATA}/GomaAvant.png
${INPUTDATA}/GomaApres.png
2
${TEMP}/cdMeanDiffImage.hdr
2
${TEMP}/cdMeanDiffImage.hdr
)
ADD_TEST(cdTvMeanRatio ${CHANGEDETECTION_TESTS1}
--compare-image ${TOL} ${BASELINE}/cdMeanRatioImage.png
${TEMP}/cdMeanRatioImage.png
otbMeanRatioChangeDetectionTest
${INPUTDATA}/GomaAvant.png
otbMeanRatioChangeDetectionTest
${INPUTDATA}/GomaAvant.png
${INPUTDATA}/GomaApres.png
2
${TEMP}/cdMeanRatioImage.png
2
${TEMP}/cdMeanRatioImage.png
)
ADD_TEST(cdTvLHMI ${CHANGEDETECTION_TESTS1}
# --compare-image ${TOL} ${BASELINE}/cdLHMIImage.png
# ${TEMP}/cdLHMIImage.png
otbLHMIChangeDetectionTest
${INPUTDATA}/GomaAvantSousEch.png
otbLHMIChangeDetectionTest
${INPUTDATA}/GomaAvantSousEch.png
${INPUTDATA}/GomaApresSousEch.png
2
${TEMP}/cdLHMIImage.png
2
${TEMP}/cdLHMIImage.png
)
ADD_TEST(cdTvJHMI ${CHANGEDETECTION_TESTS1}
--compare-image ${TOL}
--compare-image ${TOL}
${BASELINE}/cdJHMIImage.png
${TEMP}/cdJHMIImage.png
otbJHMIChangeDetectionTest
${INPUTDATA}/GomaAvant.png
otbJHMIChangeDetectionTest
${INPUTDATA}/GomaAvant.png
${INPUTDATA}/GomaApres.png
2
${TEMP}/cdJHMIImage.png
2
${TEMP}/cdJHMIImage.png
)
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
......@@ -94,7 +94,7 @@ ADD_TEST(cdTvKullbackLeiblerDistanceImageFilter ${CHANGEDETECTION_TESTS2}
${BASELINE}/cdTVKullbackLeiblerDistanceImageFilterOutput.hdr
${TEMP}/cdTVKullbackLeiblerDistanceImageFilterOutput.hdr
otbKullbackLeiblerDistanceImageFilter
${INPUTDATA}/GomaAvant.png
${INPUTDATA}/GomaAvant.png
${INPUTDATA}/GomaApres.png
${TEMP}/cdTVKullbackLeiblerDistanceImageFilterOutput.hdr
35)
......@@ -107,7 +107,7 @@ ADD_TEST(cdTvKullbackLeiblerProfileImageFilter ${CHANGEDETECTION_TESTS2}
${BASELINE}/cdTVKullbackLeiblerProfileImageFilterOutput.hdr
${TEMP}/cdTVKullbackLeiblerProfileImageFilterOutput.hdr
otbKullbackLeiblerProfileImageFilter
${INPUTDATA}/GomaAvant.png
${INPUTDATA}/GomaAvant.png
${INPUTDATA}/GomaApres.png
${TEMP}/cdTVKullbackLeiblerProfileImageFilterOutput.hdr
5 51)
......@@ -118,7 +118,7 @@ ADD_TEST(cdTuKullbackLeiblerSupervizedDistanceImageFilterNew ${CHANGEDETECTION_T
ADD_TEST(cdTvKullbackLeiblerSupervizedDistanceImageFilter ${CHANGEDETECTION_TESTS2}
--compare-image ${TOL}
${BASELINE}/cdTVKullbackLeiblerSupervizedDistanceImageFilterOutput.png
${BASELINE}/cdTVKullbackLeiblerSupervizedDistanceImageFilterOutput.png
${TEMP}/cdTVKullbackLeiblerSupervizedDistanceImageFilterOutput.png
otbKullbackLeiblerSupervizedDistanceImageFilter
${INPUTDATA}/ERSBefore.png
......@@ -153,9 +153,9 @@ otbKullbackLeiblerSupervizedDistanceImageFilter.cxx
INCLUDE_DIRECTORIES("${OTBTesting_BINARY_DIR}")
ADD_EXECUTABLE(otbChangeDetectionTests1 otbChangeDetectionTests1.cxx ${BasicChangeDetection_SRCS1})
TARGET_LINK_LIBRARIES(otbChangeDetectionTests1 OTBChangeDetection OTBIO)
TARGET_LINK_LIBRARIES(otbChangeDetectionTests1 OTBChangeDetection OTBIO OTBTesting)
ADD_EXECUTABLE(otbChangeDetectionTests2 otbChangeDetectionTests2.cxx ${BasicChangeDetection_SRCS2})
TARGET_LINK_LIBRARIES(otbChangeDetectionTests2 OTBChangeDetection OTBIO)
TARGET_LINK_LIBRARIES(otbChangeDetectionTests2 OTBChangeDetection OTBIO OTBTesting)
ENDIF( NOT OTB_DISABLE_CXX_TESTING AND BUILD_TESTING )
......@@ -923,39 +923,39 @@ INCLUDE_DIRECTORIES("${OTBTesting_BINARY_DIR}")
# ${TIFF_LIBRARY}
ADD_EXECUTABLE(otbCommonTests1 otbCommonTests1.cxx ${BasicCommon_SRCS1})
TARGET_LINK_LIBRARIES(otbCommonTests1 OTBIO)
TARGET_LINK_LIBRARIES(otbCommonTests1 OTBIO OTBTesting)
ADD_EXECUTABLE(otbCommonTests2 otbCommonTests2.cxx ${BasicCommon_SRCS2})
TARGET_LINK_LIBRARIES(otbCommonTests2 OTBIO)
TARGET_LINK_LIBRARIES(otbCommonTests2 OTBIO OTBTesting)
ADD_EXECUTABLE(otbCommonTests3 otbCommonTests3.cxx ${BasicCommon_SRCS3})
TARGET_LINK_LIBRARIES(otbCommonTests3 OTBIO)
TARGET_LINK_LIBRARIES(otbCommonTests3 OTBIO OTBTesting)
ADD_EXECUTABLE(otbCommonTests4 otbCommonTests4.cxx ${BasicCommon_SRCS4})
TARGET_LINK_LIBRARIES(otbCommonTests4 OTBIO)
TARGET_LINK_LIBRARIES(otbCommonTests4 OTBIO OTBTesting)
ADD_EXECUTABLE(otbCommonTests5 otbCommonTests5.cxx ${BasicCommon_SRCS5})
TARGET_LINK_LIBRARIES(otbCommonTests5 OTBIO)
TARGET_LINK_LIBRARIES(otbCommonTests5 OTBIO OTBTesting)
ADD_EXECUTABLE(otbCommonTests6 otbCommonTests6.cxx ${BasicCommon_SRCS6})
TARGET_LINK_LIBRARIES(otbCommonTests6 OTBIO)
TARGET_LINK_LIBRARIES(otbCommonTests6 OTBIO OTBTesting)
ADD_EXECUTABLE(otbCommonTests7 otbCommonTests7.cxx ${BasicCommon_SRCS7})
TARGET_LINK_LIBRARIES(otbCommonTests7 OTBIO)
TARGET_LINK_LIBRARIES(otbCommonTests7 OTBIO OTBTesting)
ADD_EXECUTABLE(otbCommonTests8 otbCommonTests8.cxx ${BasicCommon_SRCS8})
TARGET_LINK_LIBRARIES(otbCommonTests8 OTBIO)
TARGET_LINK_LIBRARIES(otbCommonTests8 OTBIO OTBTesting)
IF(OTB_USE_MAPNIK)