Explorar el Código

Deactivated part of ctkDICOMDatasetTest1

To be meaningful the dataset has to be initialized properly
Marco Nolden hace 13 años
padre
commit
cd6fc28a50
Se han modificado 1 ficheros con 5 adiciones y 0 borrados
  1. 5 0
      Libs/DICOM/Core/Testing/Cpp/ctkDICOMDatasetTest1.cpp

+ 5 - 0
Libs/DICOM/Core/Testing/Cpp/ctkDICOMDatasetTest1.cpp

@@ -61,6 +61,11 @@ int ctkDICOMDatasetTest1( int argc, char * argv [] )
               << " exceptions" << std::endl;
     //return EXIT_FAILURE;
     }
+
+  // deactivating the lower part since it (correctly) causes
+  // execptions since it calls methods on an uninitialized object
+  return EXIT_SUCCESS;
+
   dataset.CopyElement(0, DcmTagKey(), 0);
   QString decode = dataset.Decode(DcmTag(),OFString());
   if (!decode.isEmpty())