Boost logo

Boost Users :

From: Gennadiy Rozental (gennadiy.rozental_at_[hidden])
Date: 2007-01-23 17:20:21


"pwm" <pwmiller_at_[hidden]> wrote in message
news:ep5cj3$uog$1_at_sea.gmane.org...
>I have just run into an issue with using boost unit test. To initialize
> a test one must implement a function init_unit_test_suite. There needs
> to be an analogous fini_unit_test_suite so the test suite can properly
> release any resources acquired by the init method.

I recommend you to upgrade to the 1.34 RC and use BOOST_GLOBAL FIXTURE
instead.
You might also want to switch to BOOST_AUTO_TEST_CASE once your
init_unit_test_suite routine only responsible for test tree construction.

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