From 5bb7daaf19f312636b4f5cd5b14b26d84b66f45a Mon Sep 17 00:00:00 2001 From: Tuomas Heimonen Date: Mon, 2 Jul 2018 15:06:20 +0300 Subject: 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 --- tests/auto/quick/qquicktextinput/tst_qquicktextinput.cpp | 3 --- 1 file changed, 3 deletions(-) (limited to 'tests/auto/quick/qquicktextinput') 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); -- cgit v1.2.3