
28 Jul
2006
28 Jul
'06
2:25 p.m.
"Jörg Becker"
wrote in message news:200607271752.43452.becker@flexis.de... How can I use the the register_exception_translater with the Auto unit test framework? With boost 1.31 / VC7.1 I wrote a dummy test only containing the register_exception_translator call. This works fine, but with boost 1.33 / gcc3.3 this workaround does not work.
Latest cvs version of Boost.Test doesn't make any separation in auto/non-auto unit test framework. You could use init_unit_test to perform any kind of initialization you need including call to register_exception_translater. Also I believe you could employ global fixture feature. Gennadiy