Boost logo

Boost Users :

Subject: Re: [Boost-users] [test] Unexpected Exceptions
From: Florian Winter (fw_at_[hidden])
Date: 2009-11-23 03:52:17


Richard wrote:
> [Please do not mail me a copy of your followup]
>
> boost-users_at_[hidden] spake the secret code
> <4B018783.7040603_at_[hidden]> thusly:
>
>
>> What is the intended behavior of Boost.Test if an unexpected exception
>> is thrown? Example:
>>
>> void do_not_throw() throw() {
>> throw "unexpected";
>> }
>>
>
> Should that really be decorated with throw()?
>
> At any rate, I'd expect the test to fail.
>
So would I. My problem is that the test does _not_ fail. Sorry, if I
wasn't clear enough.


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