Re: [Boost-bugs] [Boost C++ Libraries] #7410: Test Units (Cases and Suites) in Boost.Test do not capture __FILE__ and __LINE__ at declaration point making it impossible to provide source file linking using external test management tools

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #7410: Test Units (Cases and Suites) in Boost.Test do not capture __FILE__ and __LINE__ at declaration point making it impossible to provide source file linking using external test management tools
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-09-26 04:14:26


#7410: Test Units (Cases and Suites) in Boost.Test do not capture __FILE__ and
__LINE__ at declaration point making it impossible to provide source file
linking using external test management tools
-------------------------------------------------+--------------------------
  Reporter: Jamie Allsop <ja11sop@…> | Owner: rogeeff
      Type: Patches | Status: new
 Milestone: To Be Determined | Component: test
   Version: Boost Development Trunk | Severity: Problem
Resolution: | Keywords:
-------------------------------------------------+--------------------------

Comment (by jaredgrubb@…):

 The patch looks reasonable. My only comment is that it changes the
 test_case constructor, which could cause migration issues for anyone that
 may have subclassed or written other macros. Might be better to keep the
 original constructor around and just fill in some dummy values for
 file/line if that happens to get called.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/7410#comment:2>
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:10 UTC