[autotests] Added expected failure for developer build in currentIndex test.
authorToby Tomkins <toby.tomkins@nokia.com>
Tue, 27 Sep 2011 03:11:06 +0000 (13:11 +1000)
committerQt by Nokia <qt-info@nokia.com>
Wed, 28 Sep 2011 00:14:48 +0000 (02:14 +0200)
Task-number: QTBUG-21682

Change-Id: Icbe3ef45c9c58b54c195993b837713aef1dd3ca2
Reviewed-on: http://codereview.qt-project.org/5571
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Michael Brasser <michael.brasser@nokia.com>
tests/auto/declarative/qsglistview/tst_qsglistview.cpp

index 291877c..d610c70 100644 (file)
@@ -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);