qt5base-lts/tests/auto
Giuseppe D'Angelo bbda968a0a Fix QRegExpValidator::validate docs about the pos parameter
The code sets it to input.length() iff the regexp doesn't
match the string, while the docs say it's *always* set.

Therefore, make the docs match what the code does and
add a simple test to enforce it.

We're not changing the code to match the docs because

1) it's better to stay conservative (we don't want
to break existing behaviour);

2) this behaviour mimics what the int/double validators do
(they don't move pos at all).

Change-Id: I958074558de6b0fc5944101c6535fc7e00442ae9
Reviewed-by: Marc Mutz <marc.mutz@kdab.com>
2012-10-22 22:42:26 +02:00
..
cmake Use the mkspec name Qt was configured with instead of default symlink 2012-10-16 08:41:48 +02:00
compilerwarnings/data Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
concurrent Test: remove QSKIP from tst_qtconcurrent 2012-10-17 21:05:27 +02:00
corelib Revert removal of commented out tests in tst_qdatetime.cpp. 2012-10-22 03:21:33 +02:00
dbus normalise signal/slot signatures [QtDBus tests] 2012-10-19 00:44:54 +02:00
gui Fix QRegExpValidator::validate docs about the pos parameter 2012-10-22 22:42:26 +02:00
guiapplauncher
network tst_qlocalsocket: get rid of QtScript dependency 2012-10-19 02:43:05 +02:00
opengl Change the default major version of QGLFormat to 2. 2012-10-19 02:43:05 +02:00
other Remove Cleanlooks and Plastique 2012-10-22 19:36:43 +02:00
printsupport Revert a change to printer orientation 2012-10-15 22:01:47 +02:00
shared Auto tests: add PlatformClipboard::isAvailable() 2012-09-27 06:07:13 +02:00
sql normalise signal/slot signatures [QtSql tests] 2012-10-19 13:02:17 +02:00
testlib add a .qmake.conf file which load()s qt_build_config 2012-10-18 17:42:40 +02:00
tools moc: parse properly the gcc extension for variadic macro 2012-10-14 20:53:42 +02:00
widgets Remove Cleanlooks and Plastique 2012-10-22 19:36:43 +02:00
xml Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
auto.pro Test: Redo remove QSKIP from printsupport tests 2012-09-13 19:33:08 +02:00
network-settings.h Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
qtest-config.h Auto tests: revise cursor dependant tests 2012-10-13 05:51:19 +02:00
test.pl Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00