
20 Jan
2005
20 Jan
'05
2:44 p.m.
I have a test where it doesn't make any sense to continue if a certain function does not throw. BOOST_CHECK_THROW works but IMHO expresses the wrong thing.
Well, I am not quite sure what you ask, but here what I could answer: BOOST_REQUIRE_THROW doesn't exist BOOST_CHECK_THROW check that argument expression throw an exception BOOST_REQUIRE checks that argument condition is true and stop further testing in current test case if it failes Gennadiy