about CPPUNIT_ASSERT_EQUAL()

View: New views
1 Messages — Rating Filter:   Alert me  

about CPPUNIT_ASSERT_EQUAL()

by cppunit-devel mailing list :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

 
Hi,
     i am using CPPUNIT_ASSERT_EQUAL(expected value, actual value) in my test cases.
     When the expected value is not the same as actual value, we get a failure message and both these values( i.e actual and expected ) are displayed.
     If the values are same i.e if the assertion was a success , we do not get any value.
   
   I want the CPPUNIT_ASSERT_EQUAL(expected value, actual value) to behave in such a way that we get the expected and actual values even if they are same(i.e. even if it was not a failure).
   I am writing  wrapper on top of it.
   Can u tell me where i need to make changes and what should be my basic focus on...
 
  I will be thankful to you.
 
 
 
Regards
Arvind
 
 
 
Arvind Upadhyay
  
 

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Cppunit-devel mailing list
Cppunit-devel@...
https://lists.sourceforge.net/lists/listinfo/cppunit-devel