|
Boost : |
From: Vladimir Prus (ghost_at_[hidden])
Date: 2003-03-19 02:49:06
Hello,
I'm just using BOOST_CHECK_THROW tool. It works ok, but in addition to
exception type I'd like to test the value of 'what()', just to be sure. Is
there any way. Would it be possible to add another tool, which checks both
type and 'what()' content?
TIA,
Volodya
P.S. I also think there is a couple of typos in docs for BOOST_CHECK_THROW:
"The tool executes the supplied statement and check that it throw the supplied
exception. "
Should there be "and checks that it throws", i.e. with extra "s" at the end of
two words?
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk