Details
-
Sub-task
-
Resolution: Unresolved
-
Not Evaluated
-
None
-
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
- relates to
-
QTBUG-87039 Add descriptive QCOMPARE failure messages for QPalette
- Closed