X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=Testing%2FTestAllReadCompareDicom.cxx;h=3f1116581bcd9514ddfa5183842818246a99dbc1;hb=61573d5dba81e5c8a7ce347adebbb941e6583d77;hp=009add4051bee79da7337b628a6b10059629fcb8;hpb=6ab7886cede63947159f7dc94216e4333c464ccf;p=gdcm.git diff --git a/Testing/TestAllReadCompareDicom.cxx b/Testing/TestAllReadCompareDicom.cxx index 009add40..3f111658 100644 --- a/Testing/TestAllReadCompareDicom.cxx +++ b/Testing/TestAllReadCompareDicom.cxx @@ -8,7 +8,7 @@ int InternalTest(std::string const & filename, std::string const & referenceFile { std::cout << " Testing: " << filename << std::endl; - gdcmFile* tested = new gdcmFile( filename, false ); + gdcmFile* tested = new gdcmFile( filename ); if( !tested->GetHeader()->IsReadable() ) { std::cout << " Image not gdcm compatible:" @@ -35,7 +35,7 @@ int InternalTest(std::string const & filename, std::string const & referenceFile << std::endl; delete tested; delete (char*)testedImageData; - //continue; + return 0; } else { @@ -44,7 +44,7 @@ int InternalTest(std::string const & filename, std::string const & referenceFile ////// When reference file is not gdcm readable test is failed: - gdcmFile* reference = new gdcmFile( referenceFileName.c_str(), false ); + gdcmFile* reference = new gdcmFile( referenceFileName ); if( !reference->GetHeader()->IsReadable() ) { std::cout << " Reference image " << std::endl