]> Creatis software - gdcm.git/blobdiff - Testing/TestAllEntryVerify.cxx
JPR
[gdcm.git] / Testing / TestAllEntryVerify.cxx
index 889f73bca425d8439e8bb96ca03c2cca321a231c..222d2f354fc149f184b085e9357383fcefcd4c44 100644 (file)
@@ -129,6 +129,8 @@ bool ReferenceFileParser::AddKeyValuePairToMap( string& key, string& value )
    if ( CurrentMapEntryValuesPtr->count(key) != 0 )
       return false;
    (*CurrentMapEntryValuesPtr)[key] = value;
+   
+   return true; //??
 }
 
 void ReferenceFileParser::Print()
@@ -200,9 +202,10 @@ bool ReferenceFileParser::Check()
          }
       }
       delete tested;
-      cout << Indent << endl;
+      cout << Indent << "  OK" << endl;
    }
    cout << Indent << endl;
+   return true; //???
 }
 
 istream& ReferenceFileParser::eatwhite( istream& is )
@@ -368,9 +371,6 @@ void ReferenceFileParser::FirstPassReferenceFile() throw ( ParserException )
       // Uncommented line outside of block is not clean:
       if ( !inBlock && !beginBlock )
       {
-         cerr << Indent
-              << "Syntax warning: outside of block [] data at line "
-              << lineNumber++ << " not considered." << endl;
          continue;
       }
 
@@ -432,6 +432,7 @@ bool ReferenceFileParser::Open( string& referenceFileName )
    }
 
    from.close();
+   return true; //??
 }
 
 void ReferenceFileParser::CleanUpLine( string& line )
@@ -580,6 +581,7 @@ bool ReferenceFileParser::SecondPassReferenceFile()
 
       ParseRegularLine( line );
    }
+   return true; //??
 }
 
 int TestAllEntryVerify(int argc, char* argv[])