summaryrefslogtreecommitdiffstats
path: root/tdeabc/vcardparser/testread2.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tdeabc/vcardparser/testread2.cpp')
-rw-r--r--tdeabc/vcardparser/testread2.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/tdeabc/vcardparser/testread2.cpp b/tdeabc/vcardparser/testread2.cpp
index 8bc7c8863..153530da0 100644
--- a/tdeabc/vcardparser/testread2.cpp
+++ b/tdeabc/vcardparser/testread2.cpp
@@ -8,6 +8,7 @@ using namespace TDEABC;
int
main()
{
+ int rc=0;
Addressee::List l = vCardsAsAddresseeList();
TQString vcards = vCardsAsText();
@@ -17,6 +18,7 @@ main()
if ( l.size() != parsed.size() ) {
kdDebug()<<"\tSize - FAILED : "<<l.size()<<" vs. parsed "<<parsed.size()<<endl;
+ rc=1;
} else {
kdDebug()<<"\tSize - PASSED"<<endl;
}
@@ -39,6 +41,9 @@ main()
kdDebug()<<">>>>>>>Addressee from file<<<<<<<<"<<endl;
(*itr2).dump();
//kdDebug()<<"\t\t"<< (*itr1).fullEmail() << " VS. " << (*itr2).fullEmail()<<endl;
+ rc=1;
}
}
+
+ return rc;
}