summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorJo Asplin <jo.asplin@nokia.com>2011-11-04 14:20:31 +0100
committerQt by Nokia <qt-info@nokia.com>2011-11-07 09:28:33 +0100
commit50890c0da8b2be78d1a5d243feadac1cd9698eca (patch)
tree8a8be9a03650f4dfa4e9308e47665dc46bcf04c4 /tests
parent7ba57e2630ec4b6b8e426249025ade9c40df463c (diff)
Re-enabled passing tests in tst_qinputcontext
To increase the effective test coverage, this patch re-enables the tst_qinputcontext test case as such, and instead disables only the test functions that are currently failing in CI. Task-number: QTBUG-22453 Change-Id: Ib1d4946ab29e67e0e72f4f9c6a7bf39b65d0f6be Reviewed-by: Jason McDonald <jason.mcdonald@nokia.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/widgets/kernel/qinputcontext/qinputcontext.pro2
-rw-r--r--tests/auto/widgets/kernel/qinputcontext/tst_qinputcontext.cpp3
2 files changed, 3 insertions, 2 deletions
diff --git a/tests/auto/widgets/kernel/qinputcontext/qinputcontext.pro b/tests/auto/widgets/kernel/qinputcontext/qinputcontext.pro
index 3700cadf8b..fcfb15c5fb 100644
--- a/tests/auto/widgets/kernel/qinputcontext/qinputcontext.pro
+++ b/tests/auto/widgets/kernel/qinputcontext/qinputcontext.pro
@@ -4,5 +4,3 @@ QT += widgets testlib
SOURCES += tst_qinputcontext.cpp
mac*:CONFIG+=insignificant_test
-
-CONFIG += insignificant_test # QTBUG-21402
diff --git a/tests/auto/widgets/kernel/qinputcontext/tst_qinputcontext.cpp b/tests/auto/widgets/kernel/qinputcontext/tst_qinputcontext.cpp
index 9b6452851e..cb7d7eb9d2 100644
--- a/tests/auto/widgets/kernel/qinputcontext/tst_qinputcontext.cpp
+++ b/tests/auto/widgets/kernel/qinputcontext/tst_qinputcontext.cpp
@@ -128,6 +128,7 @@ void tst_QInputContext::filterMouseEvents()
qApp->setInputContext(ic);
QTest::mouseClick(&le, Qt::LeftButton);
+ QEXPECT_FAIL("", "QTBUG-22564", Abort);
QVERIFY(ic->lastTypes.indexOf(QEvent::MouseButtonRelease) >= 0);
}
@@ -183,6 +184,7 @@ void tst_QInputContext::requestSoftwareInputPanel()
// Testing single click panel activation.
newStyle->m_rsipBehavior = QStyle::RSIP_OnMouseClick;
QTest::mouseClick(le2, Qt::LeftButton, Qt::NoModifier, QPoint(5, 5));
+ QEXPECT_FAIL("", "QTBUG-22564", Abort);
QVERIFY(ic->lastTypes.indexOf(QEvent::RequestSoftwareInputPanel) >= 0);
ic->lastTypes.clear();
@@ -229,6 +231,7 @@ void tst_QInputContext::closeSoftwareInputPanel()
// Testing that panel closes when focusing non-aware widget.
QTest::mouseClick(rb, Qt::LeftButton, Qt::NoModifier, QPoint(5, 5));
+ QEXPECT_FAIL("", "QTBUG-22564", Abort);
QVERIFY(ic->lastTypes.indexOf(QEvent::CloseSoftwareInputPanel) >= 0);
}