Boost logo

Boost :

Subject: Re: [boost] [test] Fixtures from file
From: Alexander Arhipenko (arhipjan_at_[hidden])
Date: 2012-04-13 07:04:19


On Tue, Apr 10, 2012 at 12:59 PM, Jürgen Hunold <jhunold_at_gmx.eu> wrote:
> Hi Alexander,

Hi Jurgen,

>
>[snip]
>
> Opening files is possible, you can add them to the commandline and access it
> with
>
> namespace utf = boost::unit_test::framework;
> utf::master_test_suite().argv
> utf::master_test_suite().argc
>
[snip]

Thanks for the hint, that worked for me.
Unfortunately, functionality for accessing the file (i.e. find by name
in argv and open afterwards)
is not built into unit test framework, so it should be implemented from scratch.

Regards

>
> Jürgen
> --
> * Dipl.-Math. Jürgen Hunold  !
> * voice: ++49 4257 300       ! Fährstraße 1
> * fax  : ++49 4257 300       ! 31609 Balge/Sebbenhausen
> * jhunold_at_gmx.eu             !
>
> _______________________________________________
> Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk