X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=Testing%2FTestDict.cxx;h=4dd71b144d06d74fa6e2964f006f7986211a972b;hb=7fd1222c03038e650429f10a908d8dfac8b9c462;hp=232bbb01d5a9b62051fb7d5304efbe9bc012eada;hpb=6a7c2fbcb5bfc240a3b9875ad4836f5dc058e069;p=gdcm.git diff --git a/Testing/TestDict.cxx b/Testing/TestDict.cxx index 232bbb01..4dd71b14 100644 --- a/Testing/TestDict.cxx +++ b/Testing/TestDict.cxx @@ -3,8 +3,8 @@ Program: gdcm Module: $RCSfile: TestDict.cxx,v $ Language: C++ - Date: $Date: 2005/10/20 15:24:05 $ - Version: $Revision: 1.9 $ + Date: $Date: 2005/10/25 14:52:30 $ + Version: $Revision: 1.10 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -28,13 +28,13 @@ int TestDict(int , char *[]) std::cout << "----- Test Default Dicom Dictionary : ----------" << std::endl; // Just to improve test coverage: - gdcm::Dict *tempDict = new gdcm::Dict("dummyFileNameThatDoesntExist"); + gdcm::Dict *tempDict = gdcm::Dict::New("dummyFileNameThatDoesntExist"); // Default dict is supposed to be used. tempDict->Print(); std::cout << "---- end Test Default Dicom Dictionary : -------" << std::endl; // Lets delete it. - delete tempDict; + tempDict->Delete(); // Print the DictSet