#include <qtestxunitstreamer.h>
Definition at line 55 of file qtestxunitstreamer.h.
◆ QTestXunitStreamer()
QTestXunitStreamer::QTestXunitStreamer |
( |
| ) |
|
◆ ~QTestXunitStreamer()
QTestXunitStreamer::~QTestXunitStreamer |
( |
| ) |
|
◆ displayXunitXmlHeader()
void QTestXunitStreamer::displayXunitXmlHeader |
( |
| ) |
const |
|
private |
◆ formatAfterAttributes()
Reimplemented from QTestBasicStreamer.
Definition at line 145 of file qtestxunitstreamer.cpp.
Referenced by outputElements().
147 if(!element || !formatted )
int qt_asprintf(QTestCharBuffer *str, const char *format,...)
const QTestElement * parentElement() const
QTestElement * childElements() const
QTest::LogElementType elementType() const
◆ formatAttributes()
Reimplemented from QTestBasicStreamer.
Definition at line 113 of file qtestxunitstreamer.cpp.
115 if(!attribute || !formatted )
134 key = attribute->
name();
141 formatted->
data()[0] =
'\0';
const char * value() const
int qt_asprintf(QTestCharBuffer *str, const char *format,...)
static int xmlCdata(QTestCharBuffer *dest, char const *src)
const QTestElement * parentElement() const
const char * name() const
const char * constData() const
static QString quotedValue(const QString &data)
static int xmlQuote(QTestCharBuffer *dest, char const *src)
QTest::LogElementType elementType() const
AttributeIndex
This enum numbers the different tests.
QTest::AttributeIndex index() const
◆ formatEnd()
Reimplemented from QTestBasicStreamer.
Definition at line 97 of file qtestxunitstreamer.cpp.
Referenced by outputElements().
99 if (!element || !formatted )
103 formatted->
data()[0] =
'\0';
int qt_asprintf(QTestCharBuffer *str, const char *format,...)
QTestElement * childElements() const
const char * elementName() const
static void indentForElement(const QTestElement *element, char *buf, int size)
◆ formatStart()
Reimplemented from QTestBasicStreamer.
Definition at line 76 of file qtestxunitstreamer.cpp.
Referenced by outputElements().
78 if(!element || !formatted )
int qt_asprintf(QTestCharBuffer *str, const char *format,...)
const QTestElement * parentElement() const
const char * elementName() const
static void indentForElement(const QTestElement *element, char *buf, int size)
QTest::LogElementType elementType() const
◆ indentForElement()
void QTestXunitStreamer::indentForElement |
( |
const QTestElement * |
element, |
|
|
char * |
buf, |
|
|
int |
size |
|
) |
| |
|
staticprivate |
◆ output()
void QTestXunitStreamer::output |
( |
QTestElement * |
element | ) |
const |
|
virtual |
◆ outputElements()
void QTestXunitStreamer::outputElements |
( |
QTestElement * |
element, |
|
|
bool |
isChildElement = false |
|
) |
| const |
|
virtual |
Reimplemented from QTestBasicStreamer.
Definition at line 172 of file qtestxunitstreamer.cpp.
virtual void outputElementAttributes(const QTestElement *element, QTestElementAttribute *attribute) const
QTestElement * childElements() const
void formatStart(const QTestElement *element, QTestCharBuffer *formatted) const
void formatAfterAttributes(const QTestElement *element, QTestCharBuffer *formatted) const
void outputElements(QTestElement *element, bool isChildElement=false) const
virtual void formatBeforeAttributes(const QTestElement *element, QTestCharBuffer *formatted) const
void formatEnd(const QTestElement *element, QTestCharBuffer *formatted) const
QTestElementAttribute * attributes() const
void outputString(const char *msg) const
QTest::LogElementType elementType() const
The documentation for this class was generated from the following files: