X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=Testing%2FTestBug.cxx;h=6cc2340444039232375bd350571d1152efb69120;hb=e0522a941acba1064185ac1f723ed43ff3c3a360;hp=dbd378895c6d48c3d236e17d5f0aa178db7bd0a9;hpb=4a78ecc7476981eec429361507981c38f9bbaa8f;p=gdcm.git diff --git a/Testing/TestBug.cxx b/Testing/TestBug.cxx index dbd37889..6cc23404 100644 --- a/Testing/TestBug.cxx +++ b/Testing/TestBug.cxx @@ -4,7 +4,7 @@ #include "gdcm.h" -int bug1(int argc, char* argv[]) +int TestBug(int argc, char* argv[]) { gdcmHeader* e1; @@ -15,7 +15,9 @@ int bug1(int argc, char* argv[]) filename += "/test.acr"; e1 = new gdcmHeader( filename.c_str() ); } - e1->PrintPubDict(); + //e1->PrintPubDict(); + //e1->GetPubDict()->GetEntriesByKey(); + e1->GetPubDict()->PrintByKey(); return 0; }