qt6-bb10/tests/auto/corelib/serialization/qxmlstream
Ivan Solovev f8b74a4957 QXmlStreamReader: update test distribution
As mentioned in the linked bugreport, we are not allowed to distribute
the uncompressed files from one of the XML test datasets that we use
in our tests.
This patch removes the uncompressed version, and replaces it by the
xmltest.zip archive taken from [0].
Once the test is started, QZipReader is used to uncompress the archive,
and once the test is done, the uncompressed data is removed.

However the test data from [0] is very old, so it is slightly different
from what we had previously (the previous data was taken from w3c).
As a result, 4 test cases are failing with this data. To fix it, we
store the updated versions of 4 xml files separately, and replace them
after uncompressing the archive.

[0]: http://www.jclark.com/xml/

Fixes: QTBUG-81503
Pick-to: 6.3 6.2 5.15
Change-Id: Ied5233970a529deebca56b1eab07fe1c328a2ee0
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
2021-12-19 18:58:44 +01:00
..
XML-Test-Suite QXmlStreamReader: update test distribution 2021-12-19 18:58:44 +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 QXmlStreamReader: update test distribution 2021-12-19 18:58:44 +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 Another round of replacing 0 with nullptr 2020-10-07 23:02:47 +02:00
setupSuite.sh Remove Perforce commands from setupSuite.sh 2020-05-05 12:24:38 -07:00
tst_qxmlstream.cpp QXmlStreamReader: update test distribution 2021-12-19 18:58:44 +01:00