Subject: [Boost-bugs] [Boost C++ Libraries] #11569: Insufficient bullet-proofing in boost::unit_test::framework::get
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2015-08-23 15:07:27
#11569: Insufficient bullet-proofing in boost::unit_test::framework::get
--------------------------------------------+--------------------------
Reporter: William R. Deever <wrdeever@â¦> | Owner: rogeeff
Type: Bugs | Status: new
Milestone: To Be Determined | Component: test
Version: Boost 1.58.0 | Severity: Optimization
Keywords: exception |
--------------------------------------------+--------------------------
When I ran a minimal toy problem (I'm VERY new to BUT), I got an exception
after the single test in my "toy problem" completed. In the debugger I
traced it to framework.ipp L 388. The exception is almost certainly due to
my inexperience, but the code appears to be insufficiently bullet-proof
against newbies. I suggest adding something like the following at L387:
if (!res) throw internal_error( "Unknown test unit");
I am running on Mac OS 10.10.5 (Yosemite). I am attaching the case that
produced the error but note that I am NOT requesting that you identify my
error (unless it helps you with the real issue).
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/11569> Boost C++ Libraries <http://www.boost.org/> Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:18 UTC