aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTuomas Heimonen <tuomas.heimonen@qt.io>2018-07-02 15:06:20 +0300
committerSimon Hausmann <simon.hausmann@qt.io>2018-07-02 13:38:45 +0000
commit5bb7daaf19f312636b4f5cd5b14b26d84b66f45a (patch)
treeebee1db850f35a992b0c4934d4d54b179e9c1837
parent65b831c21afa8540bf5414191988f41bedfcb409 (diff)
tst_qquicktestinput: Fix for test due to QIntValidator change
As QIntValidator input value which is over the highest acceptable value, but consisting of a number of digits equal to or less than the max value is now considered as intermediate tst_qquicktestinput is now fixed according. Task-number: QTBUG-59650 Task-number: QTBUG-69228 Change-Id: I1fefdba1f2b834fe14a8dee5249734c37588a950 Reviewed-by: Andy Shaw <andy.shaw@qt.io>
-rw-r--r--tests/auto/quick/qquicktextinput/tst_qquicktextinput.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/tests/auto/quick/qquicktextinput/tst_qquicktextinput.cpp b/tests/auto/quick/qquicktextinput/tst_qquicktextinput.cpp
index f2ee8564ef..ed2d535fda 100644
--- a/tests/auto/quick/qquicktextinput/tst_qquicktextinput.cpp
+++ b/tests/auto/quick/qquicktextinput/tst_qquicktextinput.cpp
@@ -1990,9 +1990,6 @@ void tst_qquicktextinput::validators()
QCOMPARE(intInput->hasAcceptableInput(), false);
QCOMPARE(intInput->property("acceptable").toBool(), false);
QCOMPARE(intSpy.count(), 0);
- QTest::keyPress(&window, Qt::Key_2);
- QTest::keyRelease(&window, Qt::Key_2, Qt::NoModifier);
- QTRY_COMPARE(intInput->text(), QLatin1String("1"));
QCOMPARE(intInput->hasAcceptableInput(), false);
QCOMPARE(intInput->property("acceptable").toBool(), false);
QCOMPARE(intSpy.count(), 0);