Opened 9 years ago
Closed 7 years ago
#8635 closed Patches (wontfix)
Missing some macros in Boost Test library
Reported by: | Owned by: | Gennadiy Rozental | |
---|---|---|---|
Milestone: | To Be Determined | Component: | test |
Version: | Boost 1.53.0 | Severity: | Problem |
Keywords: | Cc: |
Description
Boost Test library does not have _MESSAGE variants of BOOST_WARN_EQUAL, BOOST_CHECK_EQUAL and BOOST_REQUIRE_EQUAL macros. They are especially useful for printing:
- iteration in loops;
- full object if some fields are not equal.
Simple patch for boost 1.53 introducing the following macros is attached:
BOOST_WARN_EQUAL_MESSAGE BOOST_CHECK_EQUAL_MESSAGE BOOST_REQUIRE_EQUAL_MESSAGE
Attachments (1)
Change History (2)
by , 9 years ago
Attachment: | boost_test_1_53_0.patch added |
---|
comment:1 by , 7 years ago
Resolution: | → wontfix |
---|---|
Status: | new → closed |
Please use BOOST_TEST_INFO, BOOST_TEST_CONTEXT instead
Note:
See TracTickets
for help on using tickets.
Patch for boost 1.53 introducing macros BOOST_WARN_EQUAL_MESSAGE,BOOST_CHECK_EQUAL_MESSAGE and BOOST_REQUIRE_EQUAL_MESSAGE.