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

Port QSKIP/QFAIL/QVERIFY2/etc to QAnyStringView descriptions

    XMLWordPrintable

Details

    • Task
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • None
    • None
    • 8
    • Team B Foundation Sprint 55, Foundation PM Prioritized

    Description

      Currently, we have to provide a const char* to these macros' description arguments, which usually requires bending-over-backwards like

      QSKIP(QByteArray("dddd") + ~~~ + "ffff").constData());
      

      The macros, and their underlying QtTestLib functions, should just take QAnyStringView, and do the necessary conversion internally.

      Attachments

        Issue Links

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

          Activity

            People

              mmutz Marc Mutz
              mmutz Marc Mutz
              Vladimir Minenko Vladimir Minenko
              Alex Blasche Alex Blasche
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes