summaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/qfxtextedit
diff options
context:
space:
mode:
authorAlan Alpert <alan.alpert@nokia.com>2009-10-15 03:17:50 (GMT)
committerAlan Alpert <alan.alpert@nokia.com>2009-10-15 03:17:50 (GMT)
commitbea38f654ee042946f45e3bdb628c02225a650b9 (patch)
treea4e25333b0a13993a8f357554b5e0844aff89ecb /tests/auto/declarative/qfxtextedit
parentf410aa58f93b27a5ba1b82e2f3a87d14338e22a4 (diff)
downloadQt-bea38f654ee042946f45e3bdb628c02225a650b9.zip
Qt-bea38f654ee042946f45e3bdb628c02225a650b9.tar.gz
Qt-bea38f654ee042946f45e3bdb628c02225a650b9.tar.bz2
Make tests 'pass' for qfxtextedit and qfxtextinput
One test is acutally XFAIL instead of PASS, because what it is 'testing' hasn't been implemented yet.
Diffstat (limited to 'tests/auto/declarative/qfxtextedit')
-rw-r--r--tests/auto/declarative/qfxtextedit/tst_qfxtextedit.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/auto/declarative/qfxtextedit/tst_qfxtextedit.cpp b/tests/auto/declarative/qfxtextedit/tst_qfxtextedit.cpp
index 7ab598f..1433bf2 100644
--- a/tests/auto/declarative/qfxtextedit/tst_qfxtextedit.cpp
+++ b/tests/auto/declarative/qfxtextedit/tst_qfxtextedit.cpp
@@ -467,6 +467,7 @@ void tst_qfxtextedit::navigation()
QmlView *canvas = createView(SRCDIR "/data/navigation.qml");
canvas->execute();
canvas->show();
+ canvas->setFocus();
QVERIFY(canvas->root() != 0);
@@ -474,6 +475,7 @@ void tst_qfxtextedit::navigation()
QVERIFY(input != 0);
QTRY_VERIFY(input->hasFocus() == true);
+ QEXPECT_FAIL("", "Depends on QT-2236", Abort);
simulateKey(canvas, Qt::Key_Left);
QVERIFY(input->hasFocus() == false);
simulateKey(canvas, Qt::Key_Right);