Boost logo

Boost Users :

From: Gennadiy Rozental (rogeeff_at_[hidden])
Date: 2008-04-17 13:25:36


Christopher E Piggott <cepasp <at> rit.edu> writes:
> Within a
> BOOST_FIXTURE_TEST_CASE can i set a timeout for individual tests?  I'm
> using 1.31.1 and I am aware that a test_unit has a property "p_timeout."  I
> just don't know how to get to it.  I'm using BOOST_AUTO_TEST_MAIN,
> BOOST_AUTO_TEST_SUITE, and a series of BOOST_FIXTURE_TEST_CASE objects. 
> Maybe that's just too much auto :)

No. you will have to use manual registration to specify timeout value.

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