16 Apr
2010
16 Apr
'10
9:02 p.m.
Carla Strembicke wrote:
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)?
Can your assert be redefined globally to throw a specific exception that can then be caught by BOOST_REQUIRE_THROW for purposes of testing? Jeff