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

Add QString overloads for the message/description argument of QVERIFY2 and friends

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: P3: Somewhat important
    • Resolution: Unresolved
    • Affects Version/s: Some future release
    • Fix Version/s: None
    • Component/s: Testing: qtestlib
    • Labels:
      None

      Description

      If the message contains UTF-8 characters (such as the degree symbol of QTBUG-80527) then qtestlib should be able to receive the whole QString, in order to decode it depending on the output. For example:

      • console output in the local locale, maybe ISO-8859-1
      • XML output in UTF-8

      Currently the message string is just a const char * and nobody knows what is its real encoding. I'm talking about macros QVERIFY2(), QSKIP() etc and functions QTestResult::verify() etc.

      Edward Welbourne Tor Arne Vestbø like we discussed today.

        Attachments

          Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            Activity

              People

              Assignee:
              macadder Jason McDonald
              Reporter:
              jimis Dimitrios Apostolou
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:

                  Gerrit Reviews

                  There are no open Gerrit changes