Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-94552 Add descriptive QCOMPARE failure messages for Qt types
  3. QTBUG-87039

Add descriptive QCOMPARE failure messages for QPalette

    XMLWordPrintable

    Details

    • Type: Technical task
    • Status: Reported
    • Priority: P3: Somewhat important
    • Resolution: Unresolved
    • Fix Version/s: None
    • Component/s: Testing: qtestlib
    • Labels:
      None

      Description

      Currently it doesn't tell you anything specific about what was different:

      FAIL!  : tst_palette::palette(Control) Compared values are not the same
         Loc: [/home/mitch/dev/qt-dev/qtquickcontrols2/tests/auto/palette/tst_palette.cpp(146)]
      

      It should instead call e.g. QDebug::toString() on each palette.

        Attachments

          Issue Links

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

            Activity

              People

              Assignee:
              macadder Jason McDonald
              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