浏览代码

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())