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

    • 3602eac18 (dev), 18152699e (dev), a63e0b853 (6.6)

    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

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

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There is 1 open Gerrit change