From: Toby Tomkins Date: Tue, 27 Sep 2011 03:11:06 +0000 (+1000) Subject: [autotests] Added expected failure for developer build in currentIndex test. X-Git-Url: http://git.silmor.de/gitweb/?a=commitdiff_plain;h=44dc6b265f436421762d2b0d394cbd6f4d57a6d7;p=konrad%2Fqtdeclarative.git [autotests] Added expected failure for developer build in currentIndex test. Task-number: QTBUG-21682 Change-Id: Icbe3ef45c9c58b54c195993b837713aef1dd3ca2 Reviewed-on: http://codereview.qt-project.org/5571 Reviewed-by: Qt Sanity Bot Reviewed-by: Michael Brasser --- diff --git a/tests/auto/declarative/qsglistview/tst_qsglistview.cpp b/tests/auto/declarative/qsglistview/tst_qsglistview.cpp index 291877c..d610c70 100644 --- a/tests/auto/declarative/qsglistview/tst_qsglistview.cpp +++ b/tests/auto/declarative/qsglistview/tst_qsglistview.cpp @@ -1925,6 +1925,9 @@ void tst_QSGListView::currentIndex() listview->setCurrentIndex(0); QTest::keyClick(canvas, Qt::Key_Down); +#ifdef QT_BUILD_INTERNAL + QEXPECT_FAIL("", "QTBUG-21682 - Waiting for active window fails for developer build", Abort); +#endif QCOMPARE(listview->currentIndex(), 1); QTest::keyClick(canvas, Qt::Key_Up);