23 Jan
2007
23 Jan
'07
10:20 p.m.
"pwm" <pwmiller@sarnoff.com> wrote in message news:ep5cj3$uog$1@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