#include <qtestfilelogger.h>
Definition at line 53 of file qtestfilelogger.h.
◆ QTestFileLogger()
QTestFileLogger::QTestFileLogger |
( |
| ) |
|
◆ ~QTestFileLogger()
QTestFileLogger::~QTestFileLogger |
( |
| ) |
|
◆ flush()
void QTestFileLogger::flush |
( |
const char * |
msg | ) |
|
◆ init()
void QTestFileLogger::init |
( |
| ) |
|
Definition at line 71 of file qtestfilelogger.cpp.
Referenced by QTestLogger::startLogging().
75 #if defined(Q_OS_SYMBIAN) 86 for (
uint i = index; i <
sizeof(filename) && filename[i]; ++i) {
87 char&
c = filename[i];
88 if (!((c >=
'a' && c <=
'z') || (c >=
'A' && c <=
'Z')
89 || (c >=
'0' && c <=
'9') || c ==
'-' || c ==
'.')) {
94 #if defined(_MSC_VER) && _MSC_VER >= 1400 && !defined(Q_OS_WINCE) 100 printf(
"Unable to open file for simple logging: %s", filename);
The QByteArray class provides an array of bytes.
The QString class provides a Unicode character string.
static QChar separator()
Returns the native directory separator: "/" under Unix (including Mac OS X) and "\\" under Windows...
static const char * currentTestObjectName()
int Q_TESTLIB_EXPORT qt_snprintf(char *str, int size, const char *format,...)
static QString toNativeSeparators(const QString &pathName)
Returns pathName with the '/' separators converted to separators that are appropriate for the underly...
static QString homePath()
Returns the absolute path of the user's home directory.
The documentation for this class was generated from the following files: