46 #include "QtTest/private/qtestlog_p.h" 73 if(!element || !formatted )
75 formatted->
data()[0] =
'\0';
80 if(!element || !formatted )
82 formatted->
data()[0] =
'\0';
87 if(!element || !formatted )
89 formatted->
data()[0] =
'\0';
94 if(!element || !formatted )
96 formatted->
data()[0] =
'\0';
101 if(!attribute || !formatted )
103 formatted->
data()[0] =
'\0';
176 #if defined(_MSC_VER) && _MSC_VER >= 1400 && !defined(Q_OS_WINCE) 182 printf(
"Unable to open file for logging: %s", out);
191 #if defined(Q_OS_WIN) || defined(Q_OS_INTEGRITY) #define QT_END_NAMESPACE
This macro expands to.
const QTestLogger * testLogger
virtual void outputElementAttributes(const QTestElement *element, QTestElementAttribute *attribute) const
virtual void formatStart(const QTestElement *element, QTestCharBuffer *formatted) const
static const char * outputFileName()
virtual void output(QTestElement *element) const
QTestElement * childElements() const
virtual ~QTestBasicStreamer()
virtual void formatEnd(const QTestElement *element, QTestCharBuffer *formatted) const
void setLogger(const QTestLogger *tstLogger)
#define QT_BEGIN_NAMESPACE
This macro expands to.
const QTestLogger * logger() const
static QAbstractTestLogger * testLogger
virtual void formatAttributes(const QTestElement *element, const QTestElementAttribute *attribute, QTestCharBuffer *formatted) const
virtual void formatBeforeAttributes(const QTestElement *element, QTestCharBuffer *formatted) const
#define QTEST_ASSERT(cond)
QTestElementAttribute * attributes() const
void outputString(const char *msg) const
virtual void formatAfterAttributes(const QTestElement *element, QTestCharBuffer *formatted) const
The QTest namespace contains all the functions and declarations that are related to the QTestLib tool...
virtual void outputElements(QTestElement *element, bool isChildElement=false) const