subversion-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Branko Čibej (JIRA) <j...@apache.org>
Subject [jira] [Created] (SVN-4800) Somehow convince Boost.Test to use custom ostream insertion operators
Date Thu, 27 Dec 2018 06:58:00 GMT
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)

Mime
View raw message