Forráskód Böngészése

Deactivated part of ctkDICOMDatasetTest1

To be meaningful the dataset has to be initialized properly
Marco Nolden 13 éve
szülő
commit
cd6fc28a50
1 módosított fájl, 5 hozzáadás és 0 törlés
  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())