XMLWordPrintable

Details

    • Sub-task
    • Resolution: Unresolved
    • Not Evaluated
    • None
    • Testing: qtestlib
    • None

    Description

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

      FAIL!  : tst_font::defaultFont(Button) Compared values are not the same
         Loc: [/Users/mitch/dev/qt-dev/qtquickcontrols2/tests/auto/font/tst_font.cpp(316)]
      

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

      FAIL!  : tst_font::defaultFont(Button) Compared values are not the same
         Actual   (QDebug::toString(actualFont))  : "QFont(.AppleSystemUIFont,-1,17,5,400,0,0,0,0,0,0,0,0,0,0,1)"
         Expected (QDebug::toString(expectedFont)): "QFont(.AppleSystemUIFont,-1,11,5,400,0,0,0,0,0,0,0,0,0,0,1)"
         Loc: [/Users/mitch/dev/qt-dev/qtquickcontrols2/tests/auto/font/tst_font.cpp(316)]
      

      Attachments

        Issue Links

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

          Activity

            People

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