44 #include "QtTest/private/qtestlog_p.h" 45 #include "QtTest/private/qtestresult_p.h" 47 #include <QtCore/qdir.h> 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);
#define QT_END_NAMESPACE
This macro expands to.
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...
#define QT_BEGIN_NAMESPACE
This macro expands to.
static const char * currentTestObjectName()
void flush(const char *msg)
int length() const
Same as size().
const char * constData() const
Returns a pointer to the data stored in the byte array.
int Q_TESTLIB_EXPORT qt_snprintf(char *str, int size, const char *format,...)
#define QTEST_ASSERT(cond)
static QString toNativeSeparators(const QString &pathName)
Returns pathName with the '/' separators converted to separators that are appropriate for the underly...
The QTest namespace contains all the functions and declarations that are related to the QTestLib tool...
static QString homePath()
Returns the absolute path of the user's home directory.