From ec42624501c11c161bf4f450423868fa5858731f Mon Sep 17 00:00:00 2001 From: jpr Date: Mon, 11 Jul 2005 08:50:48 +0000 Subject: [PATCH] Use new gdcm2 style for Load --- Testing/TestAllReadCompareDicom.cxx | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/Testing/TestAllReadCompareDicom.cxx b/Testing/TestAllReadCompareDicom.cxx index cfb139ae..353c567e 100644 --- a/Testing/TestAllReadCompareDicom.cxx +++ b/Testing/TestAllReadCompareDicom.cxx @@ -3,8 +3,8 @@ Program: gdcm Module: $RCSfile: TestAllReadCompareDicom.cxx,v $ Language: C++ - Date: $Date: 2005/07/08 13:39:56 $ - Version: $Revision: 1.44 $ + Date: $Date: 2005/07/11 08:50:48 $ + Version: $Revision: 1.45 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -396,7 +396,10 @@ int InternalTest(std::string const &filename, ////// Step 1: std::cout << "1..."; + + // new style gdcm::File *f = new gdcm::File(); + f->SetLoadMode ( 0x00000000 ); // Load everything f->SetFileName( filename ); f->Load(); @@ -486,7 +489,6 @@ int InternalTest(std::string const &filename, delete reference; delete tested; delete f; - return 1; } // Test the data size -- 2.48.1