Remove expected failure for qpa platform
authorToby Tomkins <toby.tomkins@nokia.com>
Mon, 19 Sep 2011 01:23:36 +0000 (11:23 +1000)
committerQt by Nokia <qt-info@nokia.com>
Wed, 21 Sep 2011 07:59:09 +0000 (09:59 +0200)
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 <qt_sanity_bot@ovi.com>
Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
tests/auto/declarative/qsgtextinput/tst_qsgtextinput.cpp

index 0110a10..dafed15 100644 (file)
@@ -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);