56 #include <QtTest/qtest_global.h> 68 static void enterTestFunction(
const char*
function);
69 static void leaveTestFunction();
71 static void addPass(
const char *msg);
72 static void addFail(
const char *msg,
const char *file,
int line);
73 static void addXFail(
const char *msg,
const char *file,
int line);
74 static void addXPass(
const char *msg,
const char *file,
int line);
76 const char *file,
int line);
78 static void addIgnoreMessage(
QtMsgType type,
const char *msg);
79 static int unhandledIgnoreMessages();
80 static void printUnhandledIgnoreMessages();
82 static void warn(
const char *msg);
83 static void info(
const char *msg,
const char *file,
int line);
85 static void startLogging();
86 static void startLogging(
unsigned int randomSeed);
87 static void stopLogging();
89 static void setLogMode(
LogMode mode);
92 static void setVerboseLevel(
int level);
93 static int verboseLevel();
95 static void redirectOutput(
const char *
fileName);
96 static const char *outputFileName();
98 static void setMaxWarnings(
int max);
100 static void setFlushMode(
FlushMode mode);
static QTestLog::LogMode logMode
static mach_timebase_info_data_t info
#define QT_END_NAMESPACE
This macro expands to.
SkipMode
This enum describes the modes for skipping tests during execution of the test data.
QtMsgType
This enum describes the messages that can be sent to a message handler (QtMsgHandler).
#define QT_BEGIN_NAMESPACE
This macro expands to.
const QLatin1String XML("http://www.w3.org/XML/1998/namespace")
static QString fileName(const QString &fileUrl)