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

Add explicit QTEST macros for tests that use QCoreApplication or QApplication

    XMLWordPrintable

Details

    Description

      The QTEST_MAIN() macro generates a main() function using QCoreApplication or QApplication, depending on whether or not QT_GUI_LIB is defined.

      However, it would be nice if there were explicit QTEST macros for tests that use either QCoreApplication or QApplication, similar to how there is a QTEST_APPLESS_MAIN() macro for tests that do not use Q(Core)Application at all.

      Attachments

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

        Activity

          People

            jasmcdon Jason McDonald (Closed Nokia Identity. Please assign to "macadder" instead) (Inactive)
            sthomass Stian Sandvik Thomassen (closed Nokia identity) (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes