tst_qgraphicswidget expect fail on Win 10
tst_qgraphicswidget::checkReason_ActiveWindow fails on Windows 10 Creators Update. Added expect fail for Windows platform. Task-number: QTBUG-62244 Change-Id: I71868a496659e7136af9a5b74684ba39edaf03ae Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
This commit is contained in:
parent
b091472f44
commit
3d5bf00f18
@ -41,6 +41,7 @@
|
||||
#include <qcommonstyle.h>
|
||||
#include <qstylefactory.h>
|
||||
#include <qscreen.h>
|
||||
#include <QSysInfo>
|
||||
|
||||
typedef QList<QGraphicsItem *> QGraphicsItemList;
|
||||
|
||||
@ -1775,11 +1776,17 @@ void tst_QGraphicsWidget::updateFocusChainWhenChildDie()
|
||||
QTest::mouseClick(view.viewport(), Qt::LeftButton, 0, center);
|
||||
#ifdef Q_OS_MAC
|
||||
QEXPECT_FAIL("", "QTBUG-23699", Continue);
|
||||
#endif
|
||||
#ifdef Q_OS_WIN
|
||||
if (QSysInfo::kernelVersion() == "10.0.15063") {
|
||||
QEXPECT_FAIL("", "This fails on Windows 10 Creators Update (10.0.15063)", Continue);
|
||||
}
|
||||
#endif
|
||||
QTRY_COMPARE(qApp->activeWindow(), static_cast<QWidget *>(&view));
|
||||
QTRY_COMPARE(scene.focusItem(), static_cast<QGraphicsItem *>(w));
|
||||
}
|
||||
|
||||
|
||||
void tst_QGraphicsWidget::sizeHint_data()
|
||||
{
|
||||
QTest::addColumn<bool>("layout");
|
||||
|
Loading…
Reference in New Issue
Block a user