diff UnitTestsSources/FromDcmtkTests.cpp @ 3862:594263db316a transcoding

DicomModalityStoreJob now uses DicomStoreUserConnection
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 27 Apr 2020 17:28:55 +0200
parents 5bba4d249422
children d5be23fc0106
line wrap: on
line diff
--- a/UnitTestsSources/FromDcmtkTests.cpp	Mon Apr 27 15:56:20 2020 +0200
+++ b/UnitTestsSources/FromDcmtkTests.cpp	Mon Apr 27 17:28:55 2020 +0200
@@ -2516,7 +2516,7 @@
 {
   DicomAssociationParameters params;
   params.SetLocalApplicationEntityTitle("ORTHANC");
-  params.SetRemoteApplicationEntityTitle("PACS");
+  params.SetRemoteApplicationEntityTitle("STORESCP");
   params.SetRemotePort(2000);
 
   DicomStoreUserConnection assoc(params);
@@ -2524,10 +2524,10 @@
   assoc.PrepareStorageClass(UID_MRImageStorage, DicomTransferSyntax_JPEGProcess2_4);
   //assoc.PrepareStorageClass(UID_MRImageStorage, DicomTransferSyntax_LittleEndianExplicit);
 
-  //assoc.SetUncompressedSyntaxesProposed(false);
+  //assoc.SetUncompressedSyntaxesProposed(false);  // Necessary for transcoding
   //assoc.SetCommonClassesProposed(false);
   TestTranscode(assoc, UID_MRImageStorage, DicomTransferSyntax_JPEG2000);
-  //TestTranscode(assoc, UID_MRImageStorage, DicomTransferSyntax_LittleEndianExplicit);
+  TestTranscode(assoc, UID_MRImageStorage, DicomTransferSyntax_LittleEndianExplicit);
 }
 
 #endif