Boost logo

Boost Users :

Subject: Re: [Boost-users] boost test: How to make boost test a friend ?
From: Gennadiy Rozental (rogeeff_at_[hidden])
Date: 2010-02-27 18:10:02


Avi Bahra wrote:
> I am looking into boost test.
> I dont not want to expose some member functions as public.
> However I need to access them for testing, is there
> any way making boost test a friend of this class ?

You do not really need to make Boost.Test routines friends of your
class. You should be able to get away with making your test functions as
friends.

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