Expect failure in tst_QStyleSheetStyle::hoverColors()
This is similar to the focusColors() failures in QTBUG-23686. Task-number: QTBUG-23686 Change-Id: I1f01a4e41e61a7a664309be34cfa4fe916a92b15 Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com> Reviewed-by: Jason McDonald <jason.mcdonald@nokia.com>
This commit is contained in:
parent
ee7c81b9c4
commit
0a6516e126
@ -881,6 +881,11 @@ void tst_QStyleSheetStyle::hoverColors()
|
||||
QVERIFY2(testForColors(image, QColor(0xe8, 0xff, 0x66)),
|
||||
(QString::fromLatin1(widget->metaObject()->className())
|
||||
+ " did not contain background color #e8ff66").toLocal8Bit().constData());
|
||||
#ifdef Q_OS_MAC
|
||||
if (qobject_cast<QPushButton *>(widget)
|
||||
|| qobject_cast<QComboBox *>(widget))
|
||||
QEXPECT_FAIL("", "Failure only for QPushButton and QComboBox, see QTBUG-23686", Continue);
|
||||
#endif
|
||||
QVERIFY2(testForColors(image, QColor(0xff, 0x00, 0x84)),
|
||||
(QString::fromLatin1(widget->metaObject()->className())
|
||||
+ " did not contain text color #ff0084").toLocal8Bit().constData());
|
||||
|
Loading…
Reference in New Issue
Block a user