Difference between revisions of "Missing tests"

From OTBWiki
Jump to: navigation, search
Line 10: Line 10:
 
Files which don't even appear in the coverage:
 
Files which don't even appear in the coverage:
  
 +
 +
== Old list and justifications (April 2009) ==
 
* Code/BasicFilters/otbDecimateImageFilter.h
 
* Code/BasicFilters/otbDecimateImageFilter.h
 
* Code/BasicFilters/otbDecimateImageFilter.txx
 
* Code/BasicFilters/otbDecimateImageFilter.txx
 
* Code/BasicFilters/otbSubsampleImageFilter.h
 
* Code/BasicFilters/otbSubsampleImageFilter.h
 
* Code/BasicFilters/otbSubsampleImageFilter.txx
 
* Code/BasicFilters/otbSubsampleImageFilter.txx
* <s>./Code/BasicFilters/otbVarianceImageFilter.h</s>
 
* <s>./Code/BasicFilters/otbVarianceImageFilter.txx</s>
 
* <s>./Code/ChangeDetection/otbKullbackLeiblerSupervizedDistanceImageFilter.h</s>
 
* <s>./Code/ChangeDetection/otbKullbackLeiblerSupervizedDistanceImageFilter.txx</s>
 
 
* ./Code/Common/otbFilterWatcherBase.h -> pure virtual class !!
 
* ./Code/Common/otbFilterWatcherBase.h -> pure virtual class !!
 
* ./Code/Common/otbWriterWatcherBase.h -> pure virtual class !!
 
* ./Code/Common/otbWriterWatcherBase.h -> pure virtual class !!
* <s>./Code/Common/otbImageOfVectorsToMonoChannelExtractROI.h</s>
 
* <s>./Code/Common/otbImageOfVectorsToMonoChannelExtractROI.txx</s>
 
* <s>./Code/Common/otbImageRegionNonUniformMultidimensionalSplitter.h</s>
 
* <s>./Code/Common/otbImageRegionNonUniformMultidimensionalSplitter.txx</s>
 
* <s>./Code/Common/otbImageRegionTileMapSplitter.h</s>
 
* <s>./Code/Common/otbImageRegionTileMapSplitter.txx</s>
 
 
* <s>./Code/Common/otbMath.h</s> -> nothing to test
 
* <s>./Code/Common/otbMath.h</s> -> nothing to test
 
* ./Code/Common/otbPointSetAndValuesFunction.h
 
* ./Code/Common/otbPointSetAndValuesFunction.h
 
* ./Code/Common/otbStreamingTraits.h
 
* ./Code/Common/otbStreamingTraits.h
* <s>./Code/Common/otbSystem.h</s>
 
 
* <s>./Code/Common/otbVectorImageToASImageAdaptor.h</s>: add new test only
 
* <s>./Code/Common/otbVectorImageToASImageAdaptor.h</s>: add new test only
 
* <s>./Code/Common/otbVectorImageToASPixelAccessor.h</s>: template of otbVectorImageToASImageAdaptor class
 
* <s>./Code/Common/otbVectorImageToASPixelAccessor.h</s>: template of otbVectorImageToASImageAdaptor class
Line 47: Line 38:
 
* <s>./Code/FeatureExtraction/otbTextureFunctors.h</s>: gathered texture functor classes, nothing to test
 
* <s>./Code/FeatureExtraction/otbTextureFunctors.h</s>: gathered texture functor classes, nothing to test
 
* ./Code/IO/otbImageIOFactory.h
 
* ./Code/IO/otbImageIOFactory.h
* <s>./Code/IO/otbPrepareSRTMDirectory.h</s>
 
* <s>./Code/IO/otbPrepareSRTMDirectory.txx</s>: change into .cxx file
 
 
* ./Code/IO/otbVectorDataIOFactory.h
 
* ./Code/IO/otbVectorDataIOFactory.h
* <s>./Code/IO/otbDEMToOrthoImageGenerator.h</s>
 
* <s>./Code/IO/otbDEMToOrthoImageGenerator.txx</s>
 
* <s>./Code/Learning/otbROIdataConversion.h</s>
 
* <s>./Code/Learning/otbROIdataConversion.txx</s>
 
 
* ./Code/Learning/otbSOMLearningBehaviorFunctor.h
 
* ./Code/Learning/otbSOMLearningBehaviorFunctor.h
 
* ./Code/Learning/otbSVMSampleListModelEstimator.h
 
* ./Code/Learning/otbSVMSampleListModelEstimator.h
Line 68: Line 53:
 
** <s>./Code/Radiometry/otbRAndGAndNIRVegetationIndexImageFilter.h</s>
 
** <s>./Code/Radiometry/otbRAndGAndNIRVegetationIndexImageFilter.h</s>
 
** <s>./Code/Radiometry/otbRAndGAndNIRVegetationIndexImageFilter.txx</s>
 
** <s>./Code/Radiometry/otbRAndGAndNIRVegetationIndexImageFilter.txx</s>
* <s>./Code/Radiometry/otbSIXSTraits.h</s>
 
 
* ./Code/SpatialReasoning/otbRCC8OutEdgeIterator.h
 
* ./Code/SpatialReasoning/otbRCC8OutEdgeIterator.h
 
* ./Code/SpatialReasoning/otbRCC8OutEdgeIterator.txx
 
* ./Code/SpatialReasoning/otbRCC8OutEdgeIterator.txx
Line 81: Line 65:
 
* Code/Visualization/otbMouseClickActionHandler.h
 
* Code/Visualization/otbMouseClickActionHandler.h
 
* ./Examples/Patented/otbPatentedExamplesTests.cxx
 
* ./Examples/Patented/otbPatentedExamplesTests.cxx
* <s>./Testing/Code/BasicFilters/otbChangeLabelImageFilter.cxx</s>
 
* <s>./Testing/Code/BasicFilters/otbChangeLabelImageFilterNew.cxx</s>
 
* <s>./Testing/Code/BasicFilters/otbFunctionWithNeighborhoodToImageFilter.cxx</s>
 
 
* <s>./Testing/Code/ChangeDetection/otbChangeDetectionTests2.cxx</s> -> seems already used...
 
* <s>./Testing/Code/ChangeDetection/otbChangeDetectionTests2.cxx</s> -> seems already used...
* <s>./Testing/Code/Common/otbPolyLineImageConstIteratorNew.cxx</s>
 
* <s>./Testing/Code/Common/otbTestExtractROI.cxx</s>
 
 
* ./Testing/Code/FeatureExtraction/otbFourierMellinImageFilterNew.cxx: just commented in CMakeLists (pb with Mac...)
 
* ./Testing/Code/FeatureExtraction/otbFourierMellinImageFilterNew.cxx: just commented in CMakeLists (pb with Mac...)
 
* ./Testing/Code/FeatureExtraction/otbFourierMellinImageFilterTestFFT.cxx: just commented in CMakeLists (pb with Mac...)
 
* ./Testing/Code/FeatureExtraction/otbFourierMellinImageFilterTestFFT.cxx: just commented in CMakeLists (pb with Mac...)
* <s>./Testing/Code/FeatureExtraction/otbImageToSIFTKeyPointSetFilterValid.cxx</s>
 
* <s>./Testing/Code/FeatureExtraction/otbImageToSURFKeyPointSetFilterDistanceMap.cxx</s>
 
* <s>./Testing/Code/Fusion/otbFusionTests2.cxx</s>: deleted (empty)
 
* <s>./Testing/Code/IO/otbCAIImageIOTestCanRead.cxx</s>: file deleted !
 
* <s>./Testing/Code/IO/otbCAIImageIOTestCanWrite.cxx</s>: file deleted !
 
* <s>./Testing/Code/IO/otbImageIOFactoryTest.cxx</s>
 
 
* <s>./Testing/Code/IO/otbMultiToMonoChannelExtractROISAR.cxx</s>: deleted, similar test already exists
 
* <s>./Testing/Code/IO/otbMultiToMonoChannelExtractROISAR.cxx</s>: deleted, similar test already exists
 
* <s>./Testing/Code/Learning/otbSVMMembershipFunctionLoadModel.cxx</s>: tested class doesn't exist
 
* <s>./Testing/Code/Learning/otbSVMMembershipFunctionLoadModel.cxx</s>: tested class doesn't exist
Line 102: Line 75:
 
* <s>./Testing/Code/Projections/otbSensorImageToCarto.cxx</s>: removed, created for class developpement result comparaison
 
* <s>./Testing/Code/Projections/otbSensorImageToCarto.cxx</s>: removed, created for class developpement result comparaison
 
* <s>./Testing/Code/Radiometry/otbGAndRAndNIRIndexImageFilter.cxx</s>: change name into otbRAndGAndNIRIndexImageFilter
 
* <s>./Testing/Code/Radiometry/otbGAndRAndNIRIndexImageFilter.cxx</s>: change name into otbRAndGAndNIRIndexImageFilter
* <s>./Testing/Utilities/otbSVMComposedKernelFunctorTest.cxx</s>
 
* <s>./Testing/Utilities/otbUtilitiesTests.cxx</s>
 

Revision as of 04:36, 17 August 2010

Applications

  • SegmentationApplication: Missing test showing that the polygon crash on display bug is fixed (scenario: image opening -> area selection -> segmentation -> vectorization -> ok)

Library

  • Missing several tests to validate VectorDataProjectionFilter, VectorDataExtractROI and VectorDataGlComponent with different input/output projection configurations
  • All moments tests (ComplexMoments*, FlusserMoments*, HuMoments*) are missing non-regression testing.

Files not tested at all

Files which don't even appear in the coverage:


Old list and justifications (April 2009)

  • Code/BasicFilters/otbDecimateImageFilter.h
  • Code/BasicFilters/otbDecimateImageFilter.txx
  • Code/BasicFilters/otbSubsampleImageFilter.h
  • Code/BasicFilters/otbSubsampleImageFilter.txx
  • ./Code/Common/otbFilterWatcherBase.h -> pure virtual class !!
  • ./Code/Common/otbWriterWatcherBase.h -> pure virtual class !!
  • ./Code/Common/otbMath.h -> nothing to test
  • ./Code/Common/otbPointSetAndValuesFunction.h
  • ./Code/Common/otbStreamingTraits.h
  • ./Code/Common/otbVectorImageToASImageAdaptor.h: add new test only
  • ./Code/Common/otbVectorImageToASPixelAccessor.h: template of otbVectorImageToASImageAdaptor class
  • ./Code/Common/otbList.h: deprecated
  • ./Code/DisparityMap/otbPointSetBasedResamplingFilter.h: class deleted
  • ./Code/DisparityMap/otbPointSetBasedResamplingFilter.txx: class deleted
  • ./Code/FeatureExtraction/otbImageToTreeFilter.h: class deleted
  • ./Code/FeatureExtraction/otbImageToTreeFilter.txx: class deleted
  • ./Code/FeatureExtraction/otbRemoveTortuousPathListFilter.h: just typedef
  • ./Code/FeatureExtraction/otbSimplifyPathListFilter.h: just typedef
  • ./Code/FeatureExtraction/otbShape.h
  • ./Code/FeatureExtraction/otbShape.txx
  • ./Code/FeatureExtraction/otbTreeNeighborhood.h
  • ./Code/FeatureExtraction/otbTreeNeighborhood.txx
  • ./Code/FeatureExtraction/otbTreeSource.h: class deleted
  • ./Code/FeatureExtraction/otbTreeSource.txx : class deleted
  • ./Code/FeatureExtraction/otbTextureFunctors.h: gathered texture functor classes, nothing to test
  • ./Code/IO/otbImageIOFactory.h
  • ./Code/IO/otbVectorDataIOFactory.h
  • ./Code/Learning/otbSOMLearningBehaviorFunctor.h
  • ./Code/Learning/otbSVMSampleListModelEstimator.h
  • ./Code/Learning/otbSVMSampleListModelEstimator.txx
  • ./Code/Projections/otbMapProjections.h: nothong to test, just typedefs
  • ./Code/Projections/otbPrepareSRTMDirectory.h: deleted, already exits in IO
  • ./Code/Projections/otbPrepareSRTMDirectory.txx: deleted, already exits in IO
  • ./Code/Projections/otbTileMapTransform.h
  • ./Code/Projections/otbTileMapTransform.txx
  • ./Code/Radiometry, VegetationIndexeFilters classes: just typedef (deprecated, use IndexFilter now)
    • ./Code/Radiometry/otbMultiChannelRAndNIRVegetationIndexImageFilter.h
    • ./Code/Radiometry/otbRAndBAndNIRVegetationIndexImageFilter.h
    • ./Code/Radiometry/otbRAndBAndNIRVegetationIndexImageFilter.txx
    • ./Code/Radiometry/otbRAndGAndNIRVegetationIndexImageFilter.h
    • ./Code/Radiometry/otbRAndGAndNIRVegetationIndexImageFilter.txx
  • ./Code/SpatialReasoning/otbRCC8OutEdgeIterator.h
  • ./Code/SpatialReasoning/otbRCC8OutEdgeIterator.txx
  • ./Code/SpatialReasoning/otbRCC8Value.h
  • ./Code/SpatialReasoning/otbRCC8VertexWithRegionCenter.h
  • ./Code/SpatialReasoning/otbRCC8VertexWithRegionCenter.txx
  • ./Code/Visu/otbImageAlternateViewer.h
  • ./Code/Visu/otbImageAlternateViewer.txx
  • ./Code/Visu/otbImageViewerFullResolutionEventsInterface.h
  • ./Code/Visu/otbImageWidgetPointForm.h
  • ./Code/Visu/otbImageWidgetRectangleForm.h
  • Code/Visualization/otbMouseClickActionHandler.h
  • ./Examples/Patented/otbPatentedExamplesTests.cxx
  • ./Testing/Code/ChangeDetection/otbChangeDetectionTests2.cxx -> seems already used...
  • ./Testing/Code/FeatureExtraction/otbFourierMellinImageFilterNew.cxx: just commented in CMakeLists (pb with Mac...)
  • ./Testing/Code/FeatureExtraction/otbFourierMellinImageFilterTestFFT.cxx: just commented in CMakeLists (pb with Mac...)
  • ./Testing/Code/IO/otbMultiToMonoChannelExtractROISAR.cxx: deleted, similar test already exists
  • ./Testing/Code/Learning/otbSVMMembershipFunctionLoadModel.cxx: tested class doesn't exist
  • ./Testing/Code/Learning/otbSVMMembershipFunctionNew.cxx: tested class doesn't exist
  • ./Testing/Code/Projections/otbRegionProjection.cxx: removed, created for class developpement result comparaison
  • ./Testing/Code/Projections/otbSensorImageDEMToCarto.cxx: removed, created for class developpement result comparaison
  • ./Testing/Code/Projections/otbSensorImageToCarto.cxx: removed, created for class developpement result comparaison
  • ./Testing/Code/Radiometry/otbGAndRAndNIRIndexImageFilter.cxx: change name into otbRAndGAndNIRIndexImageFilter