summaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/qdeclarativetextedit/tst_qdeclarativetextedit.cpp
diff options
context:
space:
mode:
authorAndrew den Exter <andrew.den-exter@nokia.com>2012-02-02 14:52:09 +1000
committerAndrew den Exter <andrew.den-exter@nokia.com>2012-02-02 06:28:43 +0100
commitb9fd262ee0040cbddb1a87d15335372054881122 (patch)
treed9c68ced812bb70fc5c95b2e30b3d54b0f9e1f06 /tests/auto/declarative/qdeclarativetextedit/tst_qdeclarativetextedit.cpp
parent7d0e73b77bbc60ac56776ae1d4a87df6812f716c (diff)
Fix or ignore test qdeclarativetextinput test failures.
Don't leave dangling pointers to test plaform input contexts, clear preedit text from input before continuing with test, allow some larger error for cursor positions across all platforms, and add an expected failure for a failure originating in QWidgetLineControl. Change-Id: I843d13c29d8e44e5e6bfa71b67358b11c1741e97 Reviewed-by: Matthew Vogt <matthew.vogt@nokia.com>
Diffstat (limited to 'tests/auto/declarative/qdeclarativetextedit/tst_qdeclarativetextedit.cpp')
-rw-r--r--tests/auto/declarative/qdeclarativetextedit/tst_qdeclarativetextedit.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/tests/auto/declarative/qdeclarativetextedit/tst_qdeclarativetextedit.cpp b/tests/auto/declarative/qdeclarativetextedit/tst_qdeclarativetextedit.cpp
index 5ddabc05..6a54414d 100644
--- a/tests/auto/declarative/qdeclarativetextedit/tst_qdeclarativetextedit.cpp
+++ b/tests/auto/declarative/qdeclarativetextedit/tst_qdeclarativetextedit.cpp
@@ -2117,8 +2117,6 @@ void tst_qdeclarativetextedit::textInput()
void tst_qdeclarativetextedit::openInputPanelOnClick()
{
PlatformInputContext ic;
- QInputPanelPrivate *inputPanelPrivate = QInputPanelPrivate::get(qApp->inputPanel());
- inputPanelPrivate->testContext = &ic;
QGraphicsScene scene;
QGraphicsView view(&scene);
@@ -2167,8 +2165,6 @@ void tst_qdeclarativetextedit::openInputPanelOnClick()
void tst_qdeclarativetextedit::openInputPanelOnFocus()
{
PlatformInputContext ic;
- QInputPanelPrivate *inputPanelPrivate = QInputPanelPrivate::get(qApp->inputPanel());
- inputPanelPrivate->testContext = &ic;
QGraphicsScene scene;
QGraphicsView view(&scene);
@@ -2447,8 +2443,6 @@ void tst_qdeclarativetextedit::testQtQuick11Attributes_data()
void tst_qdeclarativetextedit::preeditMicroFocus()
{
PlatformInputContext ic;
- QInputPanelPrivate *inputPanelPrivate = QInputPanelPrivate::get(qApp->inputPanel());
- inputPanelPrivate->testContext = &ic;
QGraphicsScene scene;
QGraphicsView view(&scene);
@@ -2510,8 +2504,6 @@ void tst_qdeclarativetextedit::preeditMicroFocus()
void tst_qdeclarativetextedit::inputContextMouseHandler()
{
PlatformInputContext ic;
- QInputPanelPrivate *inputPanelPrivate = QInputPanelPrivate::get(qApp->inputPanel());
- inputPanelPrivate->testContext = &ic;
QString text = "supercalifragisiticexpialidocious!";