Boost logo

Boost Users :

From: Gennadiy Rozental (rogeeff_at_[hidden])
Date: 2008-03-11 15:22:36


Tomislav Adamic <tomislav.adamic <at> gmail.com> writes:
> Problem:
> ComplexTest::test1() is const method. BOOST_CLASS_TEST_CASE refuses to work
> properly
> with const methods. ComplexTest::test2() is not const and works as expected.
>
> Workaround
> Methods from test classes that will be used by BOOST_CLASS_TEST_CASE should
> not be
> const.

Yes. This looks like boost.test issue. I'll fix it. You'll have to stick with
non-const test case methods for now. What the big deal BTW?

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