Qt 4.8
|
#include <qtestlog_p.h>
Public Types | |
enum | FlushMode { NoFlush = 0, FLushOn } |
enum | LogMode { Plain = 0, XML, LightXML, XunitXML } |
Static Public Functions | |
static void | addBenchmarkResult (const QBenchmarkResult &result) |
static void | addFail (const char *msg, const char *file, int line) |
static void | addIgnoreMessage (QtMsgType type, const char *msg) |
static void | addPass (const char *msg) |
static void | addSkip (const char *msg, QTest::SkipMode mode, const char *file, int line) |
static void | addXFail (const char *msg, const char *file, int line) |
static void | addXPass (const char *msg, const char *file, int line) |
static void | enterTestFunction (const char *function) |
static void | info (const char *msg, const char *file, int line) |
static void | leaveTestFunction () |
static LogMode | logMode () |
static const char * | outputFileName () |
static void | printUnhandledIgnoreMessages () |
static void | redirectOutput (const char *fileName) |
static void | setFlushMode (FlushMode mode) |
static void | setLogMode (LogMode mode) |
static void | setMaxWarnings (int max) |
static void | setVerboseLevel (int level) |
static void | startLogging () |
static void | startLogging (unsigned int randomSeed) |
static void | stopLogging () |
static int | unhandledIgnoreMessages () |
static int | verboseLevel () |
static void | warn (const char *msg) |
Private Functions | |
QTestLog () | |
~QTestLog () | |
Definition at line 62 of file qtestlog_p.h.
enum QTestLog::FlushMode |
Enumerator | |
---|---|
NoFlush | |
FLushOn |
Definition at line 66 of file qtestlog_p.h.
enum QTestLog::LogMode |
Enumerator | |
---|---|
Plain | |
XML | |
LightXML | |
XunitXML |
Definition at line 65 of file qtestlog_p.h.
|
private |
Definition at line 198 of file qtestlog.cpp.
|
private |
Definition at line 202 of file qtestlog.cpp.
|
static |
Definition at line 299 of file qtestlog.cpp.
Referenced by QTest::qInvokeTestMethodDataEntry().
|
static |
Definition at line 264 of file qtestlog.cpp.
Referenced by QTestResult::addFailure().
|
static |
Definition at line 368 of file qtestlog.cpp.
Referenced by QTestResult::ignoreMessage().
|
static |
Definition at line 253 of file qtestlog.cpp.
Referenced by QTestResult::finishedCurrentTestFunction().
|
static |
Definition at line 289 of file qtestlog.cpp.
Referenced by QTestResult::addSkip().
|
static |
Definition at line 271 of file qtestlog.cpp.
Referenced by checkStatement().
|
static |
Definition at line 280 of file qtestlog.cpp.
Referenced by checkStatement().
|
static |
Definition at line 206 of file qtestlog.cpp.
Referenced by QTestResult::setCurrentTestFunction().
|
static |
Definition at line 340 of file qtestlog.cpp.
Referenced by QTestResult::compare(), QTest::qPrintMessage(), and QTestResult::verify().
|
static |
Definition at line 228 of file qtestlog.cpp.
Referenced by QTestResult::finishedCurrentTestFunction(), and QTest::messageHandler().
|
static |
Definition at line 353 of file qtestlog.cpp.
|
static |
Definition at line 389 of file qtestlog.cpp.
Referenced by QTest::outputMessage(), QAbstractTestLogger::startLogging(), and QTestBasicStreamer::startStreaming().
|
static |
Definition at line 239 of file qtestlog.cpp.
Referenced by QTestResult::finishedCurrentTestFunction().
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
Definition at line 314 of file qtestlog.cpp.
Referenced by QTest::qInvokeTestMethods().
|
static |
Definition at line 305 of file qtestlog.cpp.
|
static |
Definition at line 322 of file qtestlog.cpp.
Referenced by QTest::messageHandler(), QTest::qExec(), and QTest::qInvokeTestMethods().
|
static |
Definition at line 217 of file qtestlog.cpp.
Referenced by QTestResult::finishedCurrentTestFunction().
|
static |
Definition at line 363 of file qtestlog.cpp.
Referenced by QPlainTestLogger::addIncident(), QPlainTestLogger::addMessage(), QTestResult::compare(), QPlainTestLogger::enterTestFunction(), QPlainTestLogger::startLogging(), QPlainTestLogger::stopLogging(), and QTestResult::verify().
|
static |
Definition at line 332 of file qtestlog.cpp.
Referenced by QTest::qWarn().