diff options
author | Toby Tomkins <toby.tomkins@nokia.com> | 2011-09-27 13:11:06 +1000 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2011-09-28 02:14:48 +0200 |
commit | 44dc6b265f436421762d2b0d394cbd6f4d57a6d7 (patch) | |
tree | 7959af402ada10a80a98848577486a2d79aadec1 | |
parent | bfab659caa3fc1833f42d93366e4fc02a45ae7df (diff) |
[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 <qt_sanity_bot@ovi.com>
Reviewed-by: Michael Brasser <michael.brasser@nokia.com>
-rw-r--r-- | tests/auto/declarative/qsglistview/tst_qsglistview.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/auto/declarative/qsglistview/tst_qsglistview.cpp b/tests/auto/declarative/qsglistview/tst_qsglistview.cpp index 291877cba6..d610c70144 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); |