qt6-bb10/tests/auto/corelib/serialization/qxmlstream
Sona Kurazyan 6bc227a06a Port QXmlStremReader to QAnyStringView
Port the constructor and addData() method to QAnyStringView, but keep
the overloads taking a QByteArray to avoid extra copies when actual
QByteArray is passed. These overlaods need to be Q_WEAK_OVERLOADs, to
avoid ambiguities (e.g. for const char * arguments).

Additionally, add a test to make sure the patch doesn't break parsing
from a QLatin1StringView input.

[ChangeLog][QtCore][QXmlStremReader] Added constructor and addData()
overloads taking QAnyStringView.

Change-Id: I0efaab82a2123271c88407e380f3c67d1099a4a6
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
2022-07-12 13:24:56 +02:00
..
XML-Test-Suite Remove execute permission from XML files 2022-01-17 18:47:22 +01:00
data Correct prefix reported for end element in QXmlStreamReader 2021-04-20 03:03:51 +02:00
.gitattributes Create corelib/serialization and move existing file formats into it 2018-01-26 20:59:50 +00:00
.gitignore Create corelib/serialization and move existing file formats into it 2018-01-26 20:59:50 +00:00
CMakeLists.txt Activate tst_qxmlstream for Android 2022-03-02 14:55:00 +01:00
XML-Test-Suite-LICENSE.txt Create corelib/serialization and move existing file formats into it 2018-01-26 20:59:50 +00:00
qc14n.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
setupSuite.sh Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
tst_qxmlstream.cpp Port QXmlStremReader to QAnyStringView 2022-07-12 13:24:56 +02:00