From f61c496757c73f3b723a4fc4de26003251d5af8d Mon Sep 17 00:00:00 2001 From: Rohan McGovern Date: Thu, 18 Aug 2011 13:51:55 +1000 Subject: [PATCH] test: mark tst_qcombobox as expected failure for qpa This test fails on qpa because it uses QCursor::setPos, which is unimplemented. Task-number: QTBUG-20753 Change-Id: I8b77261e9ddfa8f57cebdbd83c93a367a8cf8bea Reviewed-on: http://codereview.qt.nokia.com/3128 Reviewed-by: Qt Sanity Bot Reviewed-by: Kalle Lehtonen --- tests/auto/qcombobox/tst_qcombobox.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/auto/qcombobox/tst_qcombobox.cpp b/tests/auto/qcombobox/tst_qcombobox.cpp index 86c3445d5b..137438b3ef 100644 --- a/tests/auto/qcombobox/tst_qcombobox.cpp +++ b/tests/auto/qcombobox/tst_qcombobox.cpp @@ -2487,6 +2487,10 @@ void tst_QComboBox::keyBoardNavigationWithMouse() int selection; GET_SELECTION(selection); +#ifdef Q_WS_QPA + QEXPECT_FAIL("", "QTBUG-20753 QCursor::setPos doesn't work for qpa", Abort); +#endif + //since we moved the mouse is in the middle it should even be around 5; QVERIFY(selection > 3);