diff UnitTestsSources/FromDcmtkTests.cpp @ 3342:63f59ad9381a

Fix issue #136 (C-Find request fails when found DICOM file does not have certain tags)
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 05 Apr 2019 13:36:13 +0200
parents f2f8aa6f78aa
children 0a0e7eca95ae
line wrap: on
line diff
--- a/UnitTestsSources/FromDcmtkTests.cpp	Fri Apr 05 13:02:57 2019 +0200
+++ b/UnitTestsSources/FromDcmtkTests.cpp	Fri Apr 05 13:36:13 2019 +0200
@@ -1119,7 +1119,7 @@
 
   {
     DicomMap m;
-    ParsedDicomFile dicom(m);
+    ParsedDicomFile dicom(m, GetDefaultDicomEncoding(), false);
     ASSERT_EQ(1u, dicom.GetDcmtkObject().getDataset()->card());
     CheckEncoding(dicom, Encoding_Ascii);
   }
@@ -1134,7 +1134,7 @@
   {
     DicomMap m;
     m.SetValue(DICOM_TAG_SPECIFIC_CHARACTER_SET, "ISO_IR 148", false);
-    ParsedDicomFile dicom(m);
+    ParsedDicomFile dicom(m, GetDefaultDicomEncoding(), false);
     ASSERT_EQ(1u, dicom.GetDcmtkObject().getDataset()->card());
     CheckEncoding(dicom, Encoding_Latin5);
   }