Qt 4.8
|
#include <qabstracttestlogger_p.h>
Public Types | |
enum | IncidentTypes { Pass, XFail, Fail, XPass } |
enum | MessageTypes { Warn, QWarning, QDebug, QSystem, QFatal, Skip, Info } |
Public Functions | |
virtual void | addBenchmarkResult (const QBenchmarkResult &result)=0 |
virtual void | addIncident (IncidentTypes type, const char *description, const char *file=0, int line=0)=0 |
virtual void | addMessage (MessageTypes type, const char *message, const char *file=0, int line=0)=0 |
virtual void | enterTestFunction (const char *function)=0 |
virtual void | leaveTestFunction ()=0 |
QAbstractTestLogger () | |
virtual void | registerRandomSeed (unsigned int seed)=0 |
virtual void | startLogging () |
virtual void | stopLogging () |
virtual | ~QAbstractTestLogger () |
Static Public Functions | |
static bool | isTtyOutput () |
static void | outputString (const char *msg) |
Definition at line 62 of file qabstracttestlogger_p.h.
Enumerator | |
---|---|
Warn | |
QWarning | |
QDebug | |
QSystem | |
QFatal | |
Skip | |
Info |
Definition at line 72 of file qabstracttestlogger_p.h.
|
inline |
Definition at line 82 of file qabstracttestlogger_p.h.
|
inlinevirtual |
Definition at line 83 of file qabstracttestlogger_p.h.
|
pure virtual |
Implemented in QTestLogger, QXmlTestLogger, and QPlainTestLogger.
Referenced by QTestLog::addBenchmarkResult(), and ~QAbstractTestLogger().
|
pure virtual |
Implemented in QTestLogger, QXmlTestLogger, and QPlainTestLogger.
Referenced by QTestLog::addFail(), QTestLog::addPass(), QTestLog::addXFail(), QTestLog::addXPass(), and ~QAbstractTestLogger().
|
pure virtual |
Implemented in QTestLogger, QXmlTestLogger, and QPlainTestLogger.
Referenced by QTestLog::addSkip(), QTestLog::info(), QTest::messageHandler(), QTestLog::printUnhandledIgnoreMessages(), QTestLog::warn(), and ~QAbstractTestLogger().
|
pure virtual |
Implemented in QTestLogger, QXmlTestLogger, and QPlainTestLogger.
Referenced by QTestLog::enterTestFunction(), and ~QAbstractTestLogger().
|
static |
|
pure virtual |
Implemented in QTestLogger, QXmlTestLogger, and QPlainTestLogger.
Referenced by QTestLog::leaveTestFunction(), and ~QAbstractTestLogger().
|
static |
Definition at line 63 of file qabstracttestlogger.cpp.
Referenced by QXmlTestLogger::addBenchmarkResult(), QXmlTestLogger::addIncident(), QXmlTestLogger::addMessage(), QXmlTestLogger::enterTestFunction(), QXmlTestLogger::leaveTestFunction(), QTest::outputMessage(), QXmlTestLogger::startLogging(), QXmlTestLogger::stopLogging(), and ~QAbstractTestLogger().
|
pure virtual |
Implemented in QTestLogger, QXmlTestLogger, and QPlainTestLogger.
Referenced by QTestLog::startLogging(), and ~QAbstractTestLogger().
|
virtual |
Reimplemented in QTestLogger, QXmlTestLogger, and QPlainTestLogger.
Definition at line 84 of file qabstracttestlogger.cpp.
Referenced by QPlainTestLogger::startLogging(), QXmlTestLogger::startLogging(), QTestLog::startLogging(), and ~QAbstractTestLogger().
|
virtual |
Reimplemented in QTestLogger, QXmlTestLogger, and QPlainTestLogger.
Definition at line 104 of file qabstracttestlogger.cpp.
Referenced by QPlainTestLogger::stopLogging(), QXmlTestLogger::stopLogging(), QTestLog::stopLogging(), and ~QAbstractTestLogger().