TestUtil.cxx
TestDicomString.cxx
TestDict.cxx
- TestDirList.cxx
+ TestWriteSimple.cxx
)
# add tests that require data
TestAllReadCompareDicom.cxx # includes generated gdcmDataImages.h
TestAllEntryVerify.cxx # includes generated gdcmDataImages.h
#TestChangeHeader.cxx
- TestCopyDicom.cxx
- TestCopyRescaleDicom.cxx
- TestWriteSimple.cxx
+ TestCopyDicom.cxx # includes generated gdcmDataImages.h
+ TestCopyRescaleDicom.cxx # includes generated gdcmDataImages.h
TestDicomDir.cxx # require DICOMDIR
BuildUpDicomDir.cxx # writes a file named "NewDICOMDIR"
makeDicomDir.cxx # writes a file named "NewDICOMDIR"
+ TestDirList.cxx
)
# add test that require VTK:
IF(GDCM_VTK)
${GDCM_SOURCE_DIR}/vtk/
)
SET(TEST_SOURCES ${TEST_SOURCES}
- ShowDicom.cxx
- ShowDicomSeq.cxx
- TestWriteWithVTK.cxx
+ VTKTestRead.cxx
+ VTKTestReadSeq.cxx
+ VTKTestWrite.cxx
)
ENDIF(GDCM_VTK)
ENDIF (GDCM_DATA_ROOT)
# Black list of images known to break lots of readers (efilm, xmedcon ...):
SET(BLACK_LIST
# serial killer (also segfaults vtkgdcmViewer, but NOT PrintFile)
- "gdcm-JPEG-LossLessThoravision.dcm"
+ #"gdcm-JPEG-LossLessThoravision.dcm"
# Mathieu: temporarily remove as it kills my gnome session (but not kde)
# JPR: also breaks TestReadWriteReadCompare : Pixel differ (as expanded
# in memory)
- "KODAK-12-MONO1-Odd_Terminated_Sequence.dcm"
+ #"KODAK-12-MONO1-Odd_Terminated_Sequence.dcm"
+
+ # Multiframe Papyrus format image
+ # Just to remember this format exist, and is gdcm::Header compliant
+ # (NOT gdcm::File ...)
+ # any contribution is welcome
+ "PET-cardio-Multiframe-Papyrus.dcm"
)
+
+# Add a special test that requires dciodvfy from dicom3tools
+INCLUDE(${GDCM_SOURCE_DIR}/FindDicom3Tools.cmake)
+
# This is a GLOB expression, change it into a list separated with a comma and \n
SET(GDCM_DATA_IMAGES)
FOREACH(filename ${GDCM_DATA_IMAGES_GLOB})
GET_FILENAME_COMPONENT(filename_temp ${filename} NAME)
+ IF(DCIODVFY_FOUND)
+ ADD_TEST("Clunie-${filename_temp}" "${DCIODVFY_EXECUTABLE}" "${filename}")
+ ENDIF(DCIODVFY_FOUND)
STRING(REGEX MATCH ${filename_temp} bad_dicom ${BLACK_LIST})
IF(NOT bad_dicom)
SET(GDCM_DATA_IMAGES "${GDCM_DATA_IMAGES}\n\"${filename_temp}\",")