qt5base-lts/tests/auto/corelib/tools
Mitch Curtis 86f953a6d4 Make QDateTime::fromString()/Time::fromString() adhere to ISO 8601.
Currently QDateTime::fromString and QTime::fromString do not correctly
handle fractional minutes and, in some cases, fractional seconds.

In the case of reading fractional minutes, it has been decided to
ignore invalid characters outside of the 5 character portion that
we're interested in (see code comments in fromStringImpl() for
info on why we read 5 digits). The motive is that there is a
performance penalty for calling mid to get the portion of surplus
string and also for converting to it to a float. This is also in
line with what QDate does with surplus characters, for example.

Task-number: QTBUG-14418
Task-number: QTBUG-25387
Change-Id: Ib742fe80686aff3c3770b995678cf838fb4e3bb4
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
2012-06-20 12:38:32 +02:00
..
qalgorithms Add CONFIG+=parallel_test to suspected parallel-safe tests. 2012-05-28 07:33:01 +02:00
qarraydata Fix compilation of tests/auto/corelib/tools with QT_STRICT_ITERATORS 2012-06-12 04:30:20 +02:00
qbitarray Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
qbytearray Don't use gcc extension for QByteArrayLiteral neither 2012-06-12 22:57:22 +02:00
qbytearraymatcher Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
qcache Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
qchar tst_QChar: drop outdated testcase 2012-06-16 21:15:08 +02:00
qcontiguouscache Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
qcryptographichash Change remaining uses of {to,from}Ascii to {to,from}Latin1 [QtCore] 2012-05-04 12:45:47 +02:00
qdate Add leading zeros to years below 1000 in QDate::toString(). 2012-06-20 12:38:32 +02:00
qdatetime Make QDateTime::fromString()/Time::fromString() adhere to ISO 8601. 2012-06-20 12:38:32 +02:00
qeasingcurve Change remaining uses of {to,from}Ascii to {to,from}Latin1 [QtCore] 2012-05-04 12:45:47 +02:00
qelapsedtimer Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
qexplicitlyshareddatapointer Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
qfreelist Mark tst_qfreelist as parallel-safe 2012-06-01 03:16:04 +02:00
qhash Fix compilation of tests/auto/corelib/tools with QT_STRICT_ITERATORS 2012-06-12 04:30:20 +02:00
qline Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
qlist Add CONFIG+=parallel_test to suspected parallel-safe tests. 2012-05-28 07:33:01 +02:00
qlocale Check LANGUAGE as well in QSystemLocale::fallbackLocale 2012-06-06 15:29:34 +02:00
qmap Fix loop conditions, after warnings from clang 2012-03-28 09:36:33 +02:00
qmargins Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
qpair QPair: specialise QTypeInfo based on the typeinfos of its arguments 2012-03-01 14:26:06 +01:00
qpoint Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
qqueue Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
qrect Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
qregexp QRegExp: fix usage of uninitialized values 2012-05-19 01:45:04 +02:00
qregularexpression QRegularExpression: add more test data 2012-04-13 15:25:19 +02:00
qringbuffer Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
qscopedpointer Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
qscopedvaluerollback Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
qset containers: add C++11-style c{begin,end}() as alias for const{Begin,End}() 2012-03-17 09:10:57 +01:00
qsharedpointer Now merge the QtShared::ExternalRefCount class into QSharedPointer 2012-06-12 20:09:26 +02:00
qsize Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
qsizef Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
qstl Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
qstring Update the Unicode related autotests 2012-06-10 15:57:57 +02:00
qstring_no_cast_from_bytearray Ensure qstring.h compiles with QT_NO_CAST_FROM_BYTEARRAY 2012-05-09 12:07:47 +02:00
qstringbuilder Fix crash in QStringBuilder when concatenating data-less QLatin1String 2012-06-01 01:22:06 +02:00
qstringlist make QStringList::sort() to take a Qt::CaseSensitivity param 2012-04-12 10:39:22 +02:00
qstringmatcher Eliminate duplicate data row names from corelib autotests. 2012-02-14 06:19:16 +01:00
qstringref Eliminate duplicate data row names from corelib autotests. 2012-02-14 06:19:16 +01:00
qtextboundaryfinder Make QTBF autotest support SMP code points in the test data 2012-06-16 21:14:35 +02:00
qtime Make QDateTime::fromString()/Time::fromString() adhere to ISO 8601. 2012-06-20 12:38:32 +02:00
qtimeline Make QTimeLine test significant. 2012-04-26 09:27:25 +02:00
qvarlengtharray Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
qvector Implement QVector with QArrayData interface. 2012-05-30 17:07:27 +02:00
tools.pro Ensure qstring.h compiles with QT_NO_CAST_FROM_BYTEARRAY 2012-05-09 12:07:47 +02:00