qt5base-lts/tests/auto
Edward Welbourne a9c111ed8c Clean-up in QDateTime's parsing of ISODate{,WithMs}
Actually check that there's a T where ISO 8601 wants it (instead of
just skipping over whatever's there), with something after it; move
some declarations later; add some comments; and use the QStringRef API
more cleanly (so that it's easier to see what's going on).  Simplify a
loop condition to avoid the need for a post-loop fix-up.

This incidentally prevents an assertion failure (which brought the
mess to my attention) parsing a short string as an ISO date-time; if
there's a T with nothing after it, we won't try to read at index -1 in
the following text.  (The actual fail seen had a Z where the T should
have been, with nothing after it.)

Add tests for invalid ISOdate cases that triggered the assertion.

Change-Id: Ided9adf62a56d98f144bdf91b40f918e22bd82cd
Reviewed-by: Israel Lins Albuquerque <israelins85@yahoo.com.br>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
2017-08-04 11:19:35 +00:00
..
android Updated license headers 2016-01-21 18:55:18 +00:00
bic/data Binary compatibility files for QtBase (5.8.0) 2017-02-14 12:42:20 +00:00
cmake tests: Unify license to GPL-EXCEPT 2017-04-03 07:18:46 +00:00
compilerwarnings/data Updated license headers 2016-01-21 18:55:18 +00:00
concurrent Merge remote-tracking branch 'origin/5.9' into dev 2017-08-02 22:52:32 +02:00
corelib Clean-up in QDateTime's parsing of ISODate{,WithMs} 2017-08-04 11:19:35 +00:00
dbus Use QSharedPointer::create() more 2017-07-19 13:40:42 +00:00
gui GLSL 1.00 ES must be selected using "#version 100" 2017-08-04 11:19:30 +00:00
guiapplauncher Fix path to examples part of tst_GuiAppLauncher 2015-02-13 07:28:15 +00:00
installed_cmake Add a unit test for testing Qt in its install location. 2013-07-02 23:08:54 +02:00
network Merge "Merge remote-tracking branch 'origin/5.9' into dev" into refs/staging/dev 2017-08-02 23:15:27 +00:00
opengl tst_QGL::graphicsViewClipping: Wait for viewport's window handle 2017-07-17 14:11:06 +00:00
other Ignore tests that fail on OpenNebula 2017-08-03 09:30:06 +00:00
printsupport tst_QPrinter: Run in temporary directory 2017-07-03 06:49:10 +00:00
shared Remove workaround for potentially unavailable pasteboard in macOS 2017-03-07 01:04:46 +00:00
sql Merge remote-tracking branch 'origin/5.9' into dev 2017-08-02 22:52:32 +02:00
testlib generate_expected_output.py: more refinements to filtering of noise 2017-06-13 11:27:38 +00:00
tools Merge remote-tracking branch 'origin/5.9' into dev 2017-07-19 09:47:29 +02:00
widgets Ignore tests that fail on OpenNebula 2017-08-03 09:30:06 +00:00
xml Merge remote-tracking branch 'origin/5.7' into 5.8 2016-11-01 06:02:55 +01:00
auto.pro Remove remains of wince in .pro files 2017-07-03 05:32:51 +00:00
network-settings.h Merge remote-tracking branch 'origin/5.6' into 5.7 2016-05-06 15:36:44 +02:00