Преглед изворни кода

Deactivated part of ctkDICOMDatasetTest1

To be meaningful the dataset has to be initialized properly
Marco Nolden пре 13 година
родитељ
комит
cd6fc28a50
1 измењених фајлова са 5 додато и 0 уклоњено
  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())