Boost logo

Boost Users :

From: Gennadiy Rozental (gennadiy.rozental_at_[hidden])
Date: 2006-07-28 10:25:58


> "Jörg Becker" <becker_at_[hidden]> wrote in message
> news:200607271752.43452.becker_at_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


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