diff UnitTestsSources/MultiThreadingTests.cpp @ 3695:898903022836 storage-commitment

integration mainline->storage-commitment
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 26 Feb 2020 10:39:55 +0100
parents 2d90dd30858c 4922bdd046dd
children 56f2397f027a
line wrap: on
line diff
--- a/UnitTestsSources/MultiThreadingTests.cpp	Thu Feb 20 20:36:47 2020 +0100
+++ b/UnitTestsSources/MultiThreadingTests.cpp	Wed Feb 26 10:39:55 2020 +0100
@@ -1143,9 +1143,9 @@
   Json::Value s;
 
   ParsedDicomFile source(true);
-  source.Insert(DICOM_TAG_STUDY_DESCRIPTION, "Test 1", false);
-  source.Insert(DICOM_TAG_SERIES_DESCRIPTION, "Test 2", false);
-  source.Insert(DICOM_TAG_PATIENT_NAME, "Test 3", false);
+  source.Insert(DICOM_TAG_STUDY_DESCRIPTION, "Test 1", false, "");
+  source.Insert(DICOM_TAG_SERIES_DESCRIPTION, "Test 2", false, "");
+  source.Insert(DICOM_TAG_PATIENT_NAME, "Test 3", false, "");
 
   std::auto_ptr<ParsedDicomFile> modified(source.Clone(true));
 
@@ -1310,7 +1310,7 @@
       // Create a sample DICOM file
       ParsedDicomFile dicom(true);
       dicom.Replace(DICOM_TAG_PATIENT_NAME, std::string("JODOGNE"),
-                    false, DicomReplaceMode_InsertIfAbsent);
+                    false, DicomReplaceMode_InsertIfAbsent, "");
 
       DicomInstanceToStore toStore;
       toStore.SetParsedDicomFile(dicom);