Remove insignificant test status and explicitly mark failing test.
authorToby Tomkins <toby.tomkins@nokia.com>
Tue, 11 Oct 2011 07:53:10 +0000 (17:53 +1000)
committerQt by Nokia <qt-info@nokia.com>
Wed, 12 Oct 2011 01:38:54 +0000 (03:38 +0200)
Task-number: QTBUG-21946

Change-Id: If1837a23041b52dc1f148821f483281975626d79
Reviewed-on: http://codereview.qt-project.org/6374
Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Martin Jones <martin.jones@nokia.com>
tests/auto/declarative/qsgtextinput/qsgtextinput.pro
tests/auto/declarative/qsgtextinput/tst_qsgtextinput.cpp

index b949247..8c7d67c 100644 (file)
@@ -6,5 +6,4 @@ SOURCES += tst_qsgtextinput.cpp
 
 DEFINES += SRCDIR=\\\"$$PWD\\\"
 
-CONFIG += insignificant_test
 QT += core-private gui-private v8-private declarative-private opengl-private testlib
index b0f8eaf..26638c1 100644 (file)
@@ -266,7 +266,6 @@ void tst_qsgtextinput::width()
 
         QVERIFY(textinputObject != 0);
         int delta = abs(int(int(textinputObject->width()) - metricWidth));
-        QEXPECT_FAIL("", "QTBUG-21689", Abort);
         QVERIFY(delta <= 3.0); // As best as we can hope for cross-platform.
 
         delete textinputObject;
@@ -2097,6 +2096,7 @@ void tst_qsgtextinput::openInputPanel()
     QVERIFY(!input->hasActiveFocus());
     qDebug() << &input << qApp->inputPanel()->inputItem();
     QCOMPARE(qApp->inputPanel()->inputItem(), static_cast<QObject*>(0));
+    QEXPECT_FAIL("", "QTBUG-21946", Abort);
     QCOMPARE(qApp->inputPanel()->visible(), false);
 
     // input panel should open on focus