Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
qxmltestlogger.cpp File Reference

(b5b00e77906af0ebc848d9244fab816bd1c9afcc)

#include <stdio.h>
#include <string.h>
#include <QtCore/qglobal.h>
#include <QtCore/qlibraryinfo.h>
#include <QtTest/private/qtestlog_p.h>
#include <QtTest/private/qxmltestlogger_p.h>
#include <QtTest/private/qtestresult_p.h>
#include <QtTest/private/qbenchmark_p.h>
#include <QtTest/private/qbenchmarkmetric_p.h>
#include <QtTest/qtestcase.h>
+ Include dependency graph for qxmltestlogger.cpp:

Go to the source code of this file.

Namespaces

namespace  QTest
 [15]
 

Macros

#define MAP_ENTITY(chr, ent)
 

Typedefs

typedef int(* StringFormatFunction) (QTestCharBuffer *, char const *, qsizetype)
 

Functions

static const char * QTest::xmlMessageType2String (QAbstractTestLogger::MessageTypes type)
 
static const char * QTest::xmlIncidentType2String (QAbstractTestLogger::IncidentTypes type)
 
static bool QTest::isEmpty (const char *str)
 
static const char * QTest::incidentFormatString (bool noDescription, bool noTag)
 
static const char * QTest::benchmarkResultFormatString ()
 
static const char * QTest::messageFormatString (bool noDescription, bool noTag)
 
static bool allocateStringFn (QTestCharBuffer *str, char const *src, StringFormatFunction func)
 

Macro Definition Documentation

◆ MAP_ENTITY

#define MAP_ENTITY ( chr,
ent )
Value:
case chr: \
if (dest + sizeof(ent) < end) { \
strcpy(dest, ent); \
dest += sizeof(ent) - 1; \
} else { \
*dest = '\0'; \
return dest + sizeof(ent) - begin; \
} \
++src; \
break;
GLenum src
GLuint GLuint end
QtPrivate::QRegularExpressionMatchIteratorRangeBasedForIterator begin(const QRegularExpressionMatchIterator &iterator)

Typedef Documentation

◆ StringFormatFunction

typedef int(* StringFormatFunction)(QTestCharBuffer *, char const *, qsizetype)

Definition at line 407 of file qxmltestlogger.cpp.

Function Documentation

◆ allocateStringFn()

static bool allocateStringFn ( QTestCharBuffer * str,
char const * src,
StringFormatFunction func )
static

Definition at line 413 of file qxmltestlogger.cpp.