Uploaded image for project: 'Subversion'
  1. Subversion
  2. SVN-4800

Somehow convince Boost.Test to use custom ostream insertion operators

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • svn++
    • None

    Description

      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.

      Attachments

        Activity

          People

            brane Branko Čibej
            brane Branko Čibej
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: