diff options
author | Sergio Ahumada <sergio.ahumada@nokia.com> | 2012-08-20 13:30:35 (GMT) |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-08-21 05:27:12 (GMT) |
commit | cfd16f886a29d07b680be436148de52177558436 (patch) | |
tree | 3f13eddabacb03eac49a36761057f05432e6501e /tests/auto/qlistwidget | |
parent | 675dff8700b323ed9faba1d340046ba294124cd8 (diff) | |
download | Qt-cfd16f886a29d07b680be436148de52177558436.zip Qt-cfd16f886a29d07b680be436148de52177558436.tar.gz Qt-cfd16f886a29d07b680be436148de52177558436.tar.bz2 |
test: XFAIL tst_QListWidget::fastScroll() test on Windows
The test has one unstable failure so mark it with QEXPECT_FAIL
until is fixed.
Task-number: QTBUG-26892
Change-Id: If7e647380a99db3145522c780980fe4904c76114
Reviewed-by: Caroline Chao <caroline.chao@nokia.com>
Diffstat (limited to 'tests/auto/qlistwidget')
-rw-r--r-- | tests/auto/qlistwidget/tst_qlistwidget.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/auto/qlistwidget/tst_qlistwidget.cpp b/tests/auto/qlistwidget/tst_qlistwidget.cpp index 23ff465..2e35fab 100644 --- a/tests/auto/qlistwidget/tst_qlistwidget.cpp +++ b/tests/auto/qlistwidget/tst_qlistwidget.cpp @@ -1546,6 +1546,11 @@ void tst_QListWidget::fastScroll() QApplication::processEvents(); // only one item should be repainted, the rest should be scrolled in memory +#ifdef Q_OS_WIN + if (widget.painted.boundingRect().size() != itemSize) { + QEXPECT_FAIL("", "QTBUG-26892", Abort); + } +#endif QCOMPARE(widget.painted.boundingRect().size(), itemSize); } #endif // Q_WS_MAC |