]> Creatis software - gdcm.git/commitdiff
Remove redundant (with TestDicomDir) PrintDicomDir.cxx file
authorjpr <jpr>
Thu, 13 Jan 2005 14:39:02 +0000 (14:39 +0000)
committerjpr <jpr>
Thu, 13 Jan 2005 14:39:02 +0000 (14:39 +0000)
Testing/CMakeLists.txt
Testing/TestDicomDir.cxx

index cb06b586aaac58ea11a47ca280b3974a3c0927a5..1438a9b2f76a515d8bc71e0be7adc5cdab21da9b 100644 (file)
@@ -23,7 +23,6 @@ IF (GDCM_DATA_ROOT)
     PrintAllDocument.cxx             # includes generated gdcmDataImages.h
     TestAllReadCompareDicom.cxx      # includes generated gdcmDataImages.h
     TestAllEntryVerify.cxx           # includes generated gdcmDataImages.h
-    PrintDicomDir.cxx
     #TestChangeHeader.cxx
     TestDicomDir.cxx                 # require DICOMDIR
     BuildUpDicomDir.cxx              # writes a file named "NewDICOMDIR"
index 5fcfb1dd201428dfd6c45e2a1037ef68b430219f..bdcb4e03d32b81cefc58b2694985c31cba484d1f 100644 (file)
@@ -3,8 +3,8 @@
   Program:   gdcm
   Module:    $RCSfile: TestDicomDir.cxx,v $
   Language:  C++
-  Date:      $Date: 2005/01/13 11:22:57 $
-  Version:   $Revision: 1.25 $
+  Date:      $Date: 2005/01/13 14:39:02 $
+  Version:   $Revision: 1.26 $
                                                                                 
   Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
   l'Image). All rights reserved. See Doc/License.txt or
@@ -66,11 +66,11 @@ int TestDicomDir(int argc, char* argv[])
    if(e1->GetDicomDirPatients().begin() == e1->GetDicomDirPatients().end() )
    {
       std::cout<<"          DicomDir '"<<file
-               <<" has no patients"<<std::endl
+               <<" has no patient"<<std::endl
                <<"          ...Failed"<<std::endl;
 
       delete e1;
-      return(1);
+      return 1;
    }
 
 // Simple examples of structure exploitation 
@@ -172,5 +172,5 @@ int TestDicomDir(int argc, char* argv[])
    std::cout<<std::flush;
    delete e1;
 
-   return(0);
+   return 0;
 }