boost::test in 1.33

Hi, What happend with boost::unit_test::register_exception_translator? I couldn't track it in the boost 1.33:( How to register custom exceptions? The documentation provides no hints:( TIA -- Serge

"Serge Skorokhodov"
Hi,
What happend with boost::unit_test::register_exception_translator?
I couldn't track it in the boost 1.33:( How to register custom exceptions? The documentation provides no hints:(
See custom_exception_test.cpp:
boost::unit_test::unit_test_monitor.register_exception_translator

What happend with boost::unit_test::register_exception_translator?
I couldn't track it in the boost 1.33:( How to register custom exceptions? The documentation provides no hints:(
See custom_exception_test.cpp:
boost::unit_test::unit_test_monitor.register_exception_translator
( &my_exception_translator ); Sorry about docs. UTF docs were not updated completely.
Thanks a lot. Another question: there is no prebuild main and test main in unit test framework? Including "boost/test/included/unit_test_framework.hpp" is the only possibility? TIA -- Serge

Another question: there is no prebuild main and test main in unit test framework?
There is: unit_test_main.cpp
Including "boost/test/included/unit_test_framework.hpp" is the only possibility?
Include "boost/test/unit_test.hpp". And liink with prebuild library. Prefered way to build a library is to use a bjam with supplied Jamfile. Gennadiy

Hi,
Another question: there is no prebuild main and test main in unit test framework?
There is: unit_test_main.cpp
Including "boost/test/included/unit_test_framework.hpp" is the only possibility?
Include "boost/test/unit_test.hpp". And liink with prebuild library. Prefered way to build a library is to use a bjam with supplied Jamfile.
Thanks, it works. Still, autolink doesn'w work? -- Serge

Include "boost/test/unit_test.hpp". And liink with prebuild library. Prefered way to build a library is to use a bjam with supplied Jamfile.
Thanks, it works. Still, autolink doesn'w work?
I had all kind of problems when I tried it half a year ago. Did not have a chance to tackle it again. Give it a try and let me know how it works (Maybe even patch?). Gennadiy

Include "boost/test/unit_test.hpp". And liink with prebuild library. Prefered way to build a library is to use a bjam with supplied Jamfile.
Thanks, it works. Still, autolink doesn'w work?
I had all kind of problems when I tried it half a year ago. Did not have a chance to tackle it again. Give it a try and let me know how it works (Maybe even patch?).
Do you suggest just "un-if-0" the corresponding section in unit_test.hpp (to begin with)? -- Serge
participants (2)
-
Gennadiy Rozental
-
Serge Skorokhodov