diff UnitTestsSources/FromDcmtkTests.cpp @ 2381:b8969010b534

uncoupling DCMTK primitives from Orthanc::Configuration
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 29 Aug 2017 19:59:01 +0200
parents 423d3b692bb9
children 7284093111b0
line wrap: on
line diff
--- a/UnitTestsSources/FromDcmtkTests.cpp	Tue Aug 29 16:49:44 2017 +0200
+++ b/UnitTestsSources/FromDcmtkTests.cpp	Tue Aug 29 19:59:01 2017 +0200
@@ -36,7 +36,6 @@
 
 #include "../OrthancServer/FromDcmtkBridge.h"
 #include "../OrthancServer/ToDcmtkBridge.h"
-#include "../OrthancServer/OrthancInitialization.h"
 #include "../OrthancServer/DicomModification.h"
 #include "../OrthancServer/ServerToolbox.h"
 #include "../Core/OrthancException.h"
@@ -1062,8 +1061,8 @@
 
 TEST(ParsedDicomFile, DicomMapEncodings1)
 {
-  Configuration::SetDefaultEncoding(Encoding_Ascii);
-  ASSERT_EQ(Encoding_Ascii, Configuration::GetDefaultEncoding());
+  SetDefaultDicomEncoding(Encoding_Ascii);
+  ASSERT_EQ(Encoding_Ascii, GetDefaultDicomEncoding());
 
   {
     DicomMap m;