qt5base-lts/tests/auto/corelib/text
Thiago Macieira e52d50a03d QLatin1String: perform the comparison to another QL1S using memcmp()
qstrncmp() would stop at the first null character, which isn't correct.
The tests that had been disabled in tst_qstring.cpp (with an inaccurate
comment) were actually passing. I've added one more to ensure that the
terminating null is compared where needed.

[ChangeLog][QtCore][QLatin1String and QUtf8StringView] Fixed a
couple of bugs where two QLatin1Strings or two QUtf8StringViews
would stop their comparisons at the first embedded null
character, instead of comparing the full string. This issue
affected both classes' relational operators (less than, greater
than, etc.) and QUtf8StringView's operator== and operator!=.

Pick-to: 5.15 6.2 6.3
Change-Id: I0e5f6bec596a4a78bd3bfffd16c90ecea71ea68e
Reviewed-by: Marc Mutz <marc.mutz@qt.io>
2022-01-17 22:17:01 +00:00
..
qanystringview Short live q20::ssize()! 2021-11-20 01:38:41 +00:00
qbytearray Remove unused .qrc files 2022-01-17 23:17:01 +01:00
qbytearrayapisymmetry Silence compiler warning 2021-10-06 15:05:20 +02:00
qbytearraylist QByteArrayList: add join(QByteArrayView) 2021-11-04 01:16:16 +01:00
qbytearraymatcher Remove the qmake project files 2021-01-07 15:32:28 +01:00
qbytearrayview Add QByteArrayView::trimmed() 2021-08-11 22:32:42 +02:00
qbytedatabuffer Remove the qmake project files 2021-01-07 15:32:28 +01:00
qchar Remove unused .qrc files 2022-01-17 23:17:01 +01:00
qcollator Fix tst_qcollator run time issue on INTEGRITY device 2022-01-12 21:49:02 +00:00
qlatin1string QLatin1String: Add a constructor taking QByteArrayView 2021-06-12 03:08:59 +02:00
qlocale QLocale: Extend support for language codes 2021-12-09 03:45:08 +01:00
qregularexpression Check that QStringView::split() w/rvalue QRegularExpression returns valid data 2021-11-29 20:04:38 +00:00
qstring QLatin1String: perform the comparison to another QL1S using memcmp() 2022-01-17 22:17:01 +00:00
qstring_no_cast_from_bytearray testlib: Deprecate QWARN() in favor of qWarning() 2021-08-04 19:31:51 +02:00
qstringapisymmetry QString et al: fix lastIndexOf() API asymmetry 2021-12-02 16:05:33 +00:00
qstringbuilder tst_QStringBuilder: remove test that doesn't test anything 2021-12-22 13:01:25 +01:00
qstringconverter Remove unused .qrc files 2022-01-17 23:17:01 +01:00
qstringiterator Remove the qmake project files 2021-01-07 15:32:28 +01:00
qstringlist tst_QStringList: check that join(u'\0') embeds NULs 2021-12-28 23:09:44 +01:00
qstringmatcher Remove the qmake project files 2021-01-07 15:32:28 +01:00
qstringtokenizer Remove the qmake project files 2021-01-07 15:32:28 +01:00
qstringview Remove checks for features available in C++17 2021-10-02 17:54:39 +02:00
qtextboundaryfinder Remove unused .qrc files 2022-01-17 23:17:01 +01:00
qunicodetools Add additional grapheme, word, and sentence break class tests from tr29 2021-11-10 09:44:03 +01:00
shared QString/QByteArray::number(double): Test big numbers 2021-08-17 03:53:45 +02:00
CMakeLists.txt Add an initial tst_QAnyStringView 2021-11-18 17:13:19 +00:00