Opened 5 months ago

Closed 3 months ago

#13637 closed Bugs (fixed)

Fix for Bug #12597 causes a problem with BOOST_TEST_CASE

Reported by: anonymous Owned by: Raffi Enficiaud
Milestone: Boost 1.69 Component: test
Version: Boost Development Trunk Severity: Problem
Keywords: Cc:

Description

Passing something like std::bind(&testfunc, arg0, arg1, [...]) will always result in the same name for the test case. With the check for clashing names introduced with the fix for Bug #12597 this is not possible anymore.

I would suggest to either change the function which determines the test case name or simply provide a second BOOST_TEST_CASE macro which allows to pass a self defined name.

Change History (2)

comment:1 Changed 3 months ago by Raffi Enficiaud

Owner: changed from Gennadiy Rozental to Raffi Enficiaud

Added BOOST_TEST_CASE_NAME to be able to specify the name. In master rev 638c880c5a5896bfabc13cedc7cf83d7b65a2ba5

comment:2 Changed 3 months ago by Raffi Enficiaud

Milestone: To Be DeterminedBoost 1.69
Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.