Skip to content

Commit

Permalink
STYLE: Remove GDCM empty tests.
Browse files Browse the repository at this point in the history
Two of the GDCM tests were empty, did not test anything and were
always successful (itkGDCMSeriesMissingDicomTagTest.cxx,
itkGDCMSeriesReadImageWriteTest.cxx).
  • Loading branch information
zivy committed Jan 10, 2025
1 parent 78f14df commit 5c40f31
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 123 deletions.
30 changes: 0 additions & 30 deletions Modules/IO/GDCM/test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@ set(ITKIOGDCMTests
itkGDCMImageIONoCrashTest.cxx
itkGDCMImageReadSeriesWriteTest.cxx
itkGDCMImageReadWriteTest.cxx
itkGDCMSeriesReadImageWriteTest.cxx
itkGDCMSeriesMissingDicomTagTest.cxx
itkGDCMSeriesStreamReadImageWriteTest.cxx
itkGDCMImagePositionPatientTest.cxx
itkGDCMImageIOOrthoDirTest.cxx
Expand Down Expand Up @@ -109,21 +107,6 @@ itk_add_test(
DATA{${ITK_DATA_ROOT}/Input/HeadMRVolume.mhd,HeadMRVolume.raw}
${ITK_TEST_OUTPUT_DIR}/itkGDCMImageIOTest5)

itk_add_test(
NAME
itkGDCMSeriesReadImageWriteTest
COMMAND
ITKIOGDCMTestDriver
itkGDCMSeriesReadImageWriteTest
DATA{${ITK_DATA_ROOT}/Input/DicomSeries/,REGEX:Image[0-9]+.dcm}
${ITK_TEST_OUTPUT_DIR}/itkGDCMSeriesReadImageWriteTest.vtk
${ITK_TEST_OUTPUT_DIR})

set_property(
TEST itkGDCMSeriesReadImageWriteTest
APPEND
PROPERTY DEPENDS ITKData)

itk_add_test(
NAME
itkGDCMSeriesStreamReadImageWriteTest1
Expand Down Expand Up @@ -189,14 +172,6 @@ itk_add_test(
${ITK_TEST_OUTPUT_DIR}/itkGDCMImageReadSeriesWriteTest
${ITK_TEST_OUTPUT_DIR}/itkGDCMImageReadSeriesWriteTest.mha)

itk_add_test(
NAME
itkGDCMSeriesMissingDicomTagTest
COMMAND
ITKIOGDCMTestDriver
itkGDCMSeriesMissingDicomTagTest
DATA{${ITK_DATA_ROOT}/Input/DicomSeries2/,Image0075.dcm,Image0076-missingTag.dcm})

itk_add_test(
NAME
itkGDCMImageIOOrthoDirTest
Expand All @@ -213,11 +188,6 @@ itk_add_test(
itkGDCMImageOrientationPatientTest
${ITK_TEST_OUTPUT_DIR})

set_property(
TEST itkGDCMSeriesMissingDicomTagTest
APPEND
PROPERTY DEPENDS ITKData)

itk_add_test(
NAME
itkGDCMImageIONoCrashTest
Expand Down
46 changes: 0 additions & 46 deletions Modules/IO/GDCM/test/itkGDCMSeriesMissingDicomTagTest.cxx

This file was deleted.

47 changes: 0 additions & 47 deletions Modules/IO/GDCM/test/itkGDCMSeriesReadImageWriteTest.cxx

This file was deleted.

0 comments on commit 5c40f31

Please sign in to comment.