summaryrefslogtreecommitdiff
path: root/tests/auto/xmlpatternssdk/XmlParseHelper.h
Commit message (Collapse)AuthorAgeFilesLines
* Stop using SAX classes for reading XML filesSona Kurazyan2019-12-181-0/+57
The qtxmlpatterns' tests are using SAX classes for parsing XML files. These classes will be deprecated. Replaced QXmlSimpleReader by QDomDocument where applicable. For the test suite handlers inheriting from QXmlDefaultHandler, introduced the XmlParseHelper base class, which drives the parsing loop and allows overriding the methods for handling different XML tokens. Task-number: QTBUG-76177 Change-Id: Ia1a60c898a272906ede459e95ced7ec95d154fde Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>