Hi, I have a cppunit test harness set up. I wanted to test whole classes so I set up function templates allowing me to pass my test objects. My test cases are in event handlers which are called from a higher layer in the class hierarchy. Unfortunately this layer does this catch( ... ) and of course catches the CppUnit exceptions thrown when an assert fails.
How can I work around this problem. Note. I cannot removed the catch all.
Thanks
Alan
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi, I have a cppunit test harness set up. I wanted to test whole classes so I set up function templates allowing me to pass my test objects. My test cases are in event handlers which are called from a higher layer in the class hierarchy. Unfortunately this layer does this catch( ... ) and of course catches the CppUnit exceptions thrown when an assert fails.
How can I work around this problem. Note. I cannot removed the catch all.
Thanks
Alan