comparison OrthancFramework/UnitTestsSources/FromDcmtkTests.cpp @ 4819:70d2a97ca8cb openssl-3.x

integration mainline->openssl-3.x
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 25 Nov 2021 13:12:32 +0100
parents b47ee86a0d10
children 7053502fbf97
comparison
equal deleted inserted replaced
4785:61da49321754 4819:70d2a97ca8cb
3130 ASSERT_DOUBLE_EQ(1.0, rs); 3130 ASSERT_DOUBLE_EQ(1.0, rs);
3131 } 3131 }
3132 } 3132 }
3133 3133
3134 3134
3135 TEST(DicomMap, DicomWebWithInteger64)
3136 {
3137 /**
3138 * This failed in Orthanc <= 1.9.7 with
3139 * "http://localhost:8042/dicom-web/studies/1.3.6.1.4.1.14519.5.2.1.314316487728501506587013300243937537423/series/1.3.6.1.4.1.1459.5.2.1.62266640231940987006694557463549207147/instances/1.3.6.1.4.1.14519.5.2.1.147718809116229175846174241356499989705/metadata"
3140 * of patient "GLIOMA01-i_03A6" from collection "ICDC-Glioma" of
3141 * TCIA.
3142 **/
3143 Json::Value v = Json::objectValue;
3144 v["00191297"]["Value"][0] = 29362240;
3145 v["00191297"]["Value"][1] = Json::Int64(4294948074l);
3146 v["00191297"]["vr"] = "UL";
3147 DicomMap m;
3148 m.FromDicomWeb(v);
3149 }
3150
3151
3135 3152
3136 3153
3137 #if ORTHANC_ENABLE_DCMTK_TRANSCODING == 1 3154 #if ORTHANC_ENABLE_DCMTK_TRANSCODING == 1
3138 3155
3139 #include "../Sources/DicomNetworking/DicomStoreUserConnection.h" 3156 #include "../Sources/DicomNetworking/DicomStoreUserConnection.h"