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

Somehow convince Boost.Test to use custom ostream insertion operators

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: svn++
    • Labels:
      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

            • Assignee:
              brane Branko ─îibej
              Reporter:
              brane Branko ─îibej
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated: