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

Consolidate test helpers

XMLWordPrintable

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

      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
      

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes