Re-enabled passing tests in tst_qgraphicswidget
To increase the effective test coverage, this patch re-enables the tst_qgraphicswidget test case as such, and instead disables only the test functions that are currently failing in CI. Task-number: QTBUG-22453 Change-Id: Ic484fde3492f077453f47a959dd6dc862288dcaf Reviewed-by: Jason McDonald <jason.mcdonald@nokia.com>
This commit is contained in:
parent
d2ed588419
commit
6264bf242a
@ -8,4 +8,3 @@ SOURCES += tst_qgraphicswidget.cpp
|
||||
|
||||
|
||||
mac*:CONFIG+=insignificant_test
|
||||
qpa:contains(QT_CONFIG,xcb):CONFIG+=insignificant_test # QTBUG-20778 unstable on qpa, xcb
|
||||
|
@ -1158,6 +1158,7 @@ void tst_QGraphicsWidget::initStyleOption()
|
||||
QCOMPARE(hasFocus, focus);
|
||||
bool isUnderMouse = option.state & QStyle::State_MouseOver;
|
||||
#ifndef Q_OS_WINCE
|
||||
QEXPECT_FAIL("all", "QTBUG-22457", Abort);
|
||||
QCOMPARE(isUnderMouse, underMouse);
|
||||
#endif
|
||||
// if (layoutDirection != Qt::LeftToRight)
|
||||
@ -3191,6 +3192,7 @@ void tst_QGraphicsWidget::initialShow2()
|
||||
view.show();
|
||||
QTest::qWaitForWindowShown(&view);
|
||||
|
||||
QEXPECT_FAIL("", "QTBUG-20778", Abort);
|
||||
QTRY_COMPARE(widget->repaints, expectedRepaintCount);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user