Boost logo

Boost Users :

From: Gennadiy Rozental (rogeeff_at_[hidden])
Date: 2008-05-15 22:56:42


Noah Roberts wrote:
> This doesn't make a lot of sense to me and seems like new behavior in .35:
>
> Running 1 test case...
> commands: commands.cpp:5: void test_construct(): Assertion `false' failed.
>
> *** No errors detected
> PASS: commands
> ==================
> All 1 tests passed
> ==================

Yeah. This was fixed recently.

> Previously, the use of BOOST_ASSERT(xxx) was the method of testing. Is
> that different now?

Why? You are better of using BOOST_CHECK_... kind of tools.

> Previously, I didn't return anything from the function, I just assert.
> Is that different now?

You can use assert

> Boost.Test isn't listed in the updated libraries for .35 but this is
> definitely not the behavior I was getting in .34

There was quite some number of changes. I just did not have a chance to
put them into release notes.

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