Boost logo

Boost Users :

From: Ed Johnson (ed_at_[hidden])
Date: 2006-05-08 17:15:16


Gennadiy Rozental wrote:
>>> BOOST_FIXTURE_TEST_CASE is a macro. I am not sure what you are trying to
>>> do
>>> by declaring it a friend?
>> I want to be able to test private members of my classes while using the
>> Auto Test framework. I won't test private data that often, so it's not
>> that big a deal to use the BOOST_AUTO_TEST_CASE for those occasions.
>
> Let me repeat. *BOOST_FIXTURE_TEST_CASE is a macro*. Declaring it as a
> friend doesn't help you in any way.
>
> Gennadiy

I'm comfortable with the fact that BOOST_FIXTURE_TEST_CASE will not work
with friend.

  However, isn't BOOST_AUTO_TEST_CASE also a macro? We both agreed in
this thread that BOOST_AUTO_TEST_CASE worked as a friend function, right?


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