]> Creatis software - gdcm.git/blobdiff - Testing/CMakeLists.txt
ENH: Add test for GetCurrentDateTime. The two calls show a difference of one millisec...
[gdcm.git] / Testing / CMakeLists.txt
index 125cf5acc1fbcce1dc0aeb190188a117d01f206f..f18303c52bb38acd834e486d5594ac7d06085532 100644 (file)
@@ -15,6 +15,7 @@ SET(TEST_SOURCES
   TestUtil.cxx
   TestDicomString.cxx
   TestDict.cxx
+  TestWriteSimple.cxx
 )
 
 # add tests that require data
@@ -25,12 +26,12 @@ IF (GDCM_DATA_ROOT)
     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)
@@ -41,9 +42,9 @@ IF (GDCM_DATA_ROOT)
       ${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)
@@ -136,12 +137,18 @@ ENDIF(${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION} GREATER 1.9)
 # 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" 
   )
 
 # This is a GLOB expression, change it into a list separated with a comma and \n