Boost logo

Boost Users :

Subject: [Boost-users] UTF : capturing asserts
From: Carla Strembicke (Carla.Strembicke_at_[hidden])
Date: 2010-04-16 15:39:40


Hi,

Just started using the BOOST unit test framework. I have legacy code that exercises asserts. This resided on both a linux and windows platform.
Using 1.42 release of boost.

Is there a method in which to capture assert so as to pass a test ( like BOOST_REQUIRE_THROW)?

It is either that, compile code without debug on ( which I wouldn't want to do if debugging) or replace all asserts which would be painful considering it is legacy code.

Regards

CONFIDENTIAL INFORMATION NOTICE: The information contained in this e-mail is privileged, confidential and intended solely for the use of the addressee named above. If the reader of this e-mail is not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this e-mail is strictly prohibited. If you received this in error, please contact the sender and destroy all copies of this e-mail. Thank you.



Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net