From: Gennadiy Rozental (gennadiy.rozental_at_[hidden])
Date: 2007-05-16 02:43:58
"Chad Maron" <cmaron_at_[hidden]> wrote in message
> Hey all,
> I have some code that is essentially doing what is suggested on the
> Parameterized free function based test case page
> This technique worked fine in 1.33.1 but in 1.34 I get the following error
> when I try to compile my test:
> Test.cpp: In constructor
> Test.cpp:98: error: no matching function for call to
> note: candidates are:
> note: boost::unit_test::test_suite::test_suite(const
Above error has nothing to do with BOOST_PARAM_TEST_CASE
> I understand the reason for the error but I am not sure about what to do
The reason is that test_suite is not default constractible.
> . Is there a new technique for using BOOST_PARAM_TEST_CASE to ensure the
> parameters are not destroyed until the test case is run?
Please provide a simple examples that fails.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk