qt6-bb10/tests/auto
Vincent Baijot 366bdcde97 Correct prefix reported for end element in QXmlStreamReader
Before this change, QXmlStreamReader prefix value was always an empty
string for EndElement when the documentation state : "Returns the prefix
of a StartElement or EndElement."

The error was a missing update of the prefix value when parsing
EndElement.

I updated the tests data which were also wrong because no prefix were
reported even for </a:foo>. No new test is necessary, I think, the test
data already cover the cases of EndElement with a prefix and without one
(unchanged here).

Fixes: QTBUG-86847
Pick-to: 5.15 6.0 6.1
Change-Id: I0ad38b9741d760f1ce688a36f969ec14e20a928c
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
2021-04-20 03:03:51 +02:00
..
bic/data Add binary compatibility files for Qt 6.0.0 2021-04-08 06:34:13 +00:00
cmake Fix qtbase cmake autotest 2021-04-19 20:56:25 +03:00
concurrent Fix gcc warnings from having only one of assignment/copy 2021-04-11 19:53:51 +02:00
corelib Correct prefix reported for end element in QXmlStreamReader 2021-04-20 03:03:51 +02:00
dbus Port of QDBusServiceWatcher::watchMode to new property system 2021-04-19 15:18:46 +02:00
gui Fix compiler warning on platforms without QRhiNativeHandles 2021-04-12 10:41:50 +02:00
guiapplauncher Move QStateMachine from QtCore to QtScxml 2020-08-24 20:10:25 +02:00
network Merge integration refs/builds/qtci/dev/1618401544 2021-04-14 15:08:32 +00:00
opengl Remove the qmake project files 2021-01-07 15:32:28 +01:00
other Remove Qt dependency from some test helper executables 2021-04-15 20:38:44 +02:00
printsupport Remove the qmake project files 2021-01-07 15:32:28 +01:00
shared Remove false Q_UNREACHABLE from shaping code 2021-02-03 09:44:44 +01:00
sql Disable warnings for tests using QSqlQuery assignment 2021-04-11 23:08:32 +02:00
testlib Fix QAbstractItemModelTester false positive 2021-04-19 19:30:46 +01:00
tools Silence a bunch of gcc warnings for the moc test 2021-03-29 15:59:48 +02:00
widgets Re-layout QProgressDialog when setting the cancel button 2021-04-19 09:22:04 +00:00
xml tst_qdom: clean-up the code enabled only before Qt 6 2021-01-15 15:22:08 +01:00
CMakeLists.txt CMake: Build minimal subset of tests in desktop static builds 2021-04-06 09:15:37 +01:00
network-settings.h Replace QtTest headers with QTest 2020-12-22 15:20:30 +01:00