Boost logo

Boost Users :

From: Gennadiy Rozental (gennadiy.rozental_at_[hidden])
Date: 2006-05-05 16:40:13


"Ed Johnson" <ed_at_[hidden]> wrote in message
news:e3g5qn$rks$1_at_sea.gmane.org...
> Ed Johnson wrote:
>> In 1.33.1 release, is the following true?
>>
>> BOOST_FIXTURE_TEST_SUITE( suite_name, F ); //not supported
>> BOOST_FIXTURE_TEST_CASE( test_name, F ); //not supported
>>
>> Thanks,
>>
>> Ed
>
> BOOST_FIXTURE_TEST_SUITE wouldn't compile.

It's later addition

> BOOST_FIXTURE_TEST_CASE compiled and worked fine at first glance.

Ok.

> However, I made a BOOST_FIXTURE_TEST_CASE into a friend function of my
> testee class, and got a compiler error.

BOOST_FIXTURE_TEST_CASE is a macro. I am not sure what you are trying to do
by declaring it a friend?

> BOOST_AUTO_TEST_CASE works fine as a friend function of a testee.

The same here.

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