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

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

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • Some future release
    • Testing: qtestlib
    • 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.

      Eddy vestbo 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

              macadder Jason McDonald
              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