[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)
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.