From 95a5546ac3e0aeddb4f482a314286ef0d921516a Mon Sep 17 00:00:00 2001 From: Toby Tomkins Date: Mon, 19 Sep 2011 11:23:36 +1000 Subject: [PATCH] Remove expected failure for qpa platform QTBUG-21011 has been resolved, hence the qpa platform can be enabled for this test. Change-Id: I1a1e76077eb102c389b09c79e069f6d9e25e2637 Reviewed-on: http://codereview.qt-project.org/4624 Reviewed-by: Qt Sanity Bot Reviewed-by: Rohan McGovern --- tests/auto/declarative/qsgtextinput/tst_qsgtextinput.cpp | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/tests/auto/declarative/qsgtextinput/tst_qsgtextinput.cpp b/tests/auto/declarative/qsgtextinput/tst_qsgtextinput.cpp index 0110a10..dafed15 100644 --- a/tests/auto/declarative/qsgtextinput/tst_qsgtextinput.cpp +++ b/tests/auto/declarative/qsgtextinput/tst_qsgtextinput.cpp @@ -1245,10 +1245,6 @@ void tst_qsgtextinput::positionAt() int diff = abs(textWidth - (textLeftWidth+textinputObject->width()/2)); -#ifdef Q_WS_QPA - QEXPECT_FAIL("", "QTBUG-21011 fails", Continue); -#endif - // some tollerance for different fonts. #ifdef Q_OS_LINUX QVERIFY(diff < 2); @@ -1286,10 +1282,6 @@ void tst_qsgtextinput::positionAt() diff = abs(int(textLeftWidth-textinputObject->width()/2)); -#ifdef Q_WS_QPA - QEXPECT_FAIL("", "QTBUG-21011 fails", Continue); -#endif - // some tollerance for different fonts. #ifdef Q_OS_LINUX QVERIFY(diff < 2); @@ -2381,9 +2373,6 @@ void tst_qsgtextinput::preeditAutoScroll() // test the text is scrolled so the preedit is visible. ic.sendPreeditText(preeditText.mid(0, 3), 1); -#ifdef Q_WS_QPA - QEXPECT_FAIL("", "QTBUG-21011 fails", Abort); -#endif QVERIFY(input->positionAt(0) != 0); QVERIFY(input->cursorRectangle().left() < input->boundingRect().width()); QCOMPARE(cursorRectangleSpy.count(), ++cursorRectangleChanges); -- 2.7.4