X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=Testing%2FTestAllEntryVerify.cxx;h=222d2f354fc149f184b085e9357383fcefcd4c44;hb=81fe774739a1629471fcc2705549fa56dad44a70;hp=889f73bca425d8439e8bb96ca03c2cca321a231c;hpb=10c1c646ed20f022c10647f4b3a829a67d70f7e0;p=gdcm.git diff --git a/Testing/TestAllEntryVerify.cxx b/Testing/TestAllEntryVerify.cxx index 889f73bc..222d2f35 100644 --- a/Testing/TestAllEntryVerify.cxx +++ b/Testing/TestAllEntryVerify.cxx @@ -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[])