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

Provide API to fail a test if a warning occurs

    XMLWordPrintable

    Details

    • Type: Suggestion
    • Status: Open
    • Priority: P2: Important
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
      None

      Description

      Something like https://codereview.qt-project.org/#/c/89178/:

      This is useful to automatically detect warnings that
      should not occur, as there is often no way to do so if no state is
      changed as a result of the problem the warning is alerting us to.
      For warnings that should occur, QTest::ignoreMessage() can still be
      used as previously.
      The feature is especially useful in QML, where it's not possible to
      fail on warnings.

        Attachments

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

          Activity

            People

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

              Dates

              Created:
              Updated:

                Gerrit Reviews

                There are no open Gerrit changes