Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-51294

QCOMPARE does not show actual/expected quint8 values if out of ASCII range

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 5.5.1
    • Testing: qtestlib
    • None

    Description

      When using the QCOMPARE macro on two quint8 values, the expected/actual value is not shown in the test output of failed tests. Presumably this happens (only?) when the values are outside the usual ASCII range, i.e., >127.

      Attachments

        1. tstqcompare.cpp
          0.6 kB
          Georg
        2. qtbug51294.zip
          1 kB
          Friedemann Kleint
        For Gerrit Dashboard: QTBUG-51294
        # Subject Branch Project Status CR V

        Activity

          People

            macadder Jason McDonald
            georghofferek Georg
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes