Explorar o código

Deactivated part of ctkDICOMDatasetTest1

To be meaningful the dataset has to be initialized properly
Marco Nolden %!s(int64=13) %!d(string=hai) anos
pai
achega
cd6fc28a50
Modificáronse 1 ficheiros con 5 adicións e 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;
               << " exceptions" << std::endl;
     //return EXIT_FAILURE;
     //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);
   dataset.CopyElement(0, DcmTagKey(), 0);
   QString decode = dataset.Decode(DcmTag(),OFString());
   QString decode = dataset.Decode(DcmTag(),OFString());
   if (!decode.isEmpty())
   if (!decode.isEmpty())