X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;ds=sidebyside;f=Testing%2FTestAllReadCompareDicom.cxx;h=7a7ab5c6f4f79ba630bb947d523798702d42d610;hb=ead1ddd3fcdebedc60b1f24c59a1892a7a2da2df;hp=cfb139aed28c513b8ded28ace4d081aaf1cd40a6;hpb=99527f7d2edc2714942c0837cb56ff333b9fbb92;p=gdcm.git diff --git a/Testing/TestAllReadCompareDicom.cxx b/Testing/TestAllReadCompareDicom.cxx index cfb139ae..7a7ab5c6 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/08/30 15:13:07 $ + Version: $Revision: 1.47 $ 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 ( gdcm::LD_ALL ); // 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