QXmlTestLogger Class

Header: #include <QXmlTestLogger>
Inherits: QAbstractTestLogger

Public Types

enum XmlMode { Complete, Light }

Detailed Description

\internal \inmodule QtTest

QXmlTestLogger implements two XML formats specific to Qt.

The two formats are distinguished by the XmlMode enum.

Member Type Documentation

enum QXmlTestLogger::XmlMode

\internal

This enumerated type selects the type of XML output to produce.

ConstantValueDescription
QXmlTestLogger::Complete0A full self-contained XML document
QXmlTestLogger::Light1XML content suitable for embedding in an XML document

The Complete form wraps the Light form in a <TestCase> element whose name attribute identifies the test class whose private slots are to be run. It also includes the usual <?xml ...> preamble.