[jira] [Created] (SVN-4800) Somehow convince Boost.Test to use custom ostream insertion operators
Branko Čibej (JIRA) <[email protected]>
| Newsgroups | gmane.comp.version-control.subversion.issues |
|---|---|
| Message-ID | <[email protected]> |
Branko Čibej created SVN-4800:
---------------------------------
Summary: Somehow convince Boost.Test to use custom ostream insertion operators
Key: SVN-4800
URL: https://issues.apache.org/jira/browse/SVN-4800
Project: Subversion
Issue Type: Improvement
Components: svn++
Reporter: Branko Čibej
Assignee: Branko Čibej
The {{BOOST_TEST}} macro needs an {{std::ostream}} insertion operator ({{<<}}) in order to display values in failed comparisons. For some reason it ignores custom operators ...
The workaround with double parenthesis, e.g., {{BOOST_TEST((foo == bar))}}, does work but makes failed test output less readable.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)