#include "QtTest/qtestcase.h"
#include "QtTest/qtestassert.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetaobject.h>
#include <QtCore/qobject.h>
#include <QtCore/qstringlist.h>
#include <QtCore/qvector.h>
#include <QtCore/qvarlengtharray.h>
#include <QtCore/qcoreapplication.h>
#include <QtCore/qfile.h>
#include <QtCore/qfileinfo.h>
#include <QtCore/qdir.h>
#include <QtCore/qprocess.h>
#include <QtCore/qdebug.h>
#include "QtTest/private/qtestlog_p.h"
#include "QtTest/private/qtesttable_p.h"
#include "QtTest/qtestdata.h"
#include "QtTest/private/qtestresult_p.h"
#include "QtTest/private/qsignaldumper_p.h"
#include "QtTest/private/qbenchmark_p.h"
#include "3rdparty/cycle_p.h"
#include <stdarg.h>
#include <stdio.h>
#include <stdlib.h>
#include <windows.h>
#include <errno.h>
#include <signal.h>
#include <time.h>
#include <Carbon/Carbon.h>
#include <Security/AuthSession.h>
Go to the source code of this file.
|
| QTest |
| The QTest namespace contains all the functions and declarations that are related to the QTestLib tool.
|
|
|
int | QTest::defaultEventDelay () |
|
int Q_TESTLIB_EXPORT | QTest::defaultKeyDelay () |
|
bool Q_TESTLIB_EXPORT | QTest::defaultKeyVerbose () |
|
int Q_TESTLIB_EXPORT | QTest::defaultMouseDelay () |
|
void * | QTest::fetchData (QTestData *data, const char *tagName, int typeId) |
|
void | QTest::filter_unprintable (char *str) |
|
static void | QTest::invokeMethod (QObject *obj, const char *methodName) |
|
static bool | QTest::isValidSlot (const QMetaMethod &sl) |
|
static bool | QTest::qInvokeTestMethod (const char *slotName, const char *data=0) |
| Call init(), slot_data(), slot(), slot(), slot(). More...
|
|
static void | QTest::qInvokeTestMethodDataEntry (char *slot) |
|
static void | QTest::qInvokeTestMethods (QObject *testObject) |
|
QBenchmarkResult | QTest::qMedian (const QList< QBenchmarkResult > &container) |
|
static void | QTest::qPrintDataTags () |
|
static void | QTest::qPrintTestSlots () |
|
int Q_TESTLIB_EXPORT | QTest::qt_snprintf (char *str, int size, const char *format,...) |
|
Q_TESTLIB_EXPORT void | QTest::qtest_qParseArgs (int argc, char *argv[], bool qml) |
|
int | QTest::qTestRandomSeed () |
|
static int | QTest::qToInt (char *str) |
|
template<typename T > |
static void | QTest::randomizeList (T *array, int size) |
|
void | QTest::seedRandom () |
|
template<typename T > |
void | QTest::swap (T *array, int pos, int otherPos) |
|
char * | QTest::toHexRepresentation (const char *ba, int length) |
| Returns a pointer to a string that is the string ba represented as a space-separated sequence of hex characters. More...
|
|
◆ COMPARE_IMPL2
#define COMPARE_IMPL2 |
( |
|
TYPE, |
|
|
|
FORMAT |
|
) |
| |
Value:{ \
char *msg = new char[128]; \
qt_snprintf(msg, 128, #FORMAT, t); \
return msg; \
}
Definition at line 2329 of file qtestcase.cpp.