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

Having two different TestWebChannel classes in qtwebchannel is confusing

    XMLWordPrintable

Details

    • Task
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • None
    • WebChannel
    • None
    • ef28c9d7c (dev), 4970889fd (6.7)

    Description

      Acceptance criteria:

      • Rename the actual QtTest test class to `tst_QWebChannel` or something similar.
      • Update the friend declaration to the idiomatic way so the test class doesn't get a different name in -qt-namesspace builds:
        • forward-declare the tst_ class outside QT_BEGIN_NAMEPACE
        • use friend class ::tst_X; (the :: is important)

      Attachments

        For Gerrit Dashboard: QTBUG-122927
        # Subject Branch Project Status CR V

        Activity

          People

            msarehn Arno Rehn
            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