summaryrefslogtreecommitdiffstats
path: root/tests/manual/wasm/selenium/qwasmwindow/qwasmwindow_harness.cpp
diff options
context:
space:
mode:
authorAhmad Samir <a.samirh78@gmail.com>2023-03-18 11:58:05 +0200
committerAhmad Samir <a.samirh78@gmail.com>2023-07-24 00:04:47 +0200
commitf1077737426ca18511cc074186ed180dd2119975 (patch)
tree56f6b1927c222dffddb0b9acd993cbd24ece2cd4 /tests/manual/wasm/selenium/qwasmwindow/qwasmwindow_harness.cpp
parent3d284d9b8d3430f57a00b742a8e9fa45d633b8d5 (diff)
QValidator: return State::Intermediate for certain trailing characters
E.g. a group separator, a -/+ sign, or 'e' (exponent). Input ending with one of these characters now returns Intermediate, as it can become Acceptable if the user types more characters. Remove a check from initialResultCheck(), as it's now covered by QLocaleData::validateChars() checking that the last character in the buffer is -/+, this works the same if buffer's size is 1. Extended unittests based on the linked bug report; the other cases for "last" are already covered by existing unittests. Task-number: QTBUG-111371 Change-Id: I9b6979c29f07a5f57b040004cd3dbf4e27147c21 Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Diffstat (limited to 'tests/manual/wasm/selenium/qwasmwindow/qwasmwindow_harness.cpp')
0 files changed, 0 insertions, 0 deletions