aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorToby Tomkins <toby.tomkins@nokia.com>2011-09-27 13:02:25 +1000
committerQt by Nokia <qt-info@nokia.com>2011-09-27 05:13:29 +0200
commit1ec3460d838c05ddbd9b991d7edf9fded31fe684 (patch)
tree13c069dfce6be52db11e6bcf45594b2e669538a5 /tests
parent1469fee209ecb4ff50a33731baded3f2557e7dd2 (diff)
[autotests] Added expected failure for developer build in currentIndex test.
Task-number: QTBUG-21680 Change-Id: Ic33f4f4fc96529e0a3b2be4150829ab62fe078ff Reviewed-on: http://codereview.qt-project.org/5565 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Michael Brasser <michael.brasser@nokia.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/declarative/qsggridview/tst_qsggridview.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/auto/declarative/qsggridview/tst_qsggridview.cpp b/tests/auto/declarative/qsggridview/tst_qsggridview.cpp
index f5cda2bbd9..2624a48563 100644
--- a/tests/auto/declarative/qsggridview/tst_qsggridview.cpp
+++ b/tests/auto/declarative/qsggridview/tst_qsggridview.cpp
@@ -1157,6 +1157,9 @@ void tst_QSGGridView::currentIndex()
// to be safe and avoid failing setFocus with window managers
qt_x11_wait_for_window_manager(canvas);
#endif
+#ifdef QT_BUILD_INTERNAL
+ QEXPECT_FAIL("", "QTBUG-21680 - Waiting for active window fails for Developer build", Abort);
+#endif
QTRY_VERIFY(canvas->windowState() == Qt::WindowActive);
qApp->processEvents();