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

Consolidate test helpers

    XMLWordPrintable

Details

    • Task
    • Resolution: Done
    • Not Evaluated
    • None
    • None
    • Quick: Controls 2
    • None

    Description

      Before qtquickcontrols2 was merged into qtdeclarative, it had a bunch of test helpers, some of which were duplicated from qtdeclarative (such as QQmlTestMessageHandler). We should try to remove any duplicates and move the qtquickcontrols2 helpers to tests/auto/shared. In the process, we can make a library out of that code, as currently there is a whole lot of unnecessary compilation going on as a result of tests including the sources rather than linking:

      mitch@mitch-ubuntu-20:~/dev/qt-dev/qtdeclarative$ git grep util.h -- tests/auto/*.cpp | wc -l
      270
      

      Attachments

        Issue Links

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

          Activity

            People

              mitch_curtis Mitch Curtis
              mitch_curtis Mitch Curtis
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes