![]() |
Qt 6.x
The Qt SDK
|
#include <QTest>#include <QSqlDatabase>#include <QFontDatabase>#include <initializer_list>
Include dependency graph for src_qtestlib_qtestcase.cpp:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Classes | |
| class | TestBenchmark |
| class | MyTestClass |
| class | TestQString |
Macros | |
| #define | ARG(...) __VA_ARGS__ |
Functions | |
| void | closeAllDatabases () |
| void | wrapInFunction () |
| void | testInt () |
| [4] | |
| void | testObject () |
| [11] | |
| void | tstQDir () |
| void | quarterSecondSleep () |
| [22] | |
| void | verifyString () |
| [27] | |
| void | compareListToArray () |
| void | compareListToInitializerList () |
| #define ARG | ( | ... | ) | __VA_ARGS__ |
| void closeAllDatabases | ( | ) |
Definition at line 29 of file src_qtestlib_qtestcase.cpp.
Referenced by MyTestClass::cleanup().
Here is the caller graph for this function:| void compareListToArray | ( | ) |
[34]
[34]
Definition at line 207 of file src_qtestlib_qtestcase.cpp.
References expected, QCOMPARE, and QFontDatabase::standardSizes().
Here is the call graph for this function:| void compareListToInitializerList | ( | ) |
[35]
[35]
Definition at line 215 of file src_qtestlib_qtestcase.cpp.
References ARG, QCOMPARE, and QFontDatabase::standardSizes().
Here is the call graph for this function:| void quarterSecondSleep | ( | ) |
[22]
[23]
[23]
Definition at line 173 of file src_qtestlib_qtestcase.cpp.
References QTest::qSleep().
Here is the call graph for this function:| void testInt | ( | ) |
[4]
[5]
[5]
[6]
[6]
[7]
[7]
[8]
[8]
[9]
[9]
[10]
[10]
Definition at line 75 of file src_qtestlib_qtestcase.cpp.
References contains(), QSqlDatabase::drivers(), i, j, QCOMPARE, QEXPECT_FAIL, QFAIL, QFETCH, QSKIP, and QTEST.
Here is the call graph for this function:| void testObject | ( | ) |
[11]
[11]
[18]
[18]
Definition at line 114 of file src_qtestlib_qtestcase.cpp.
References QTest::qExec().
Referenced by QTestPrivate::generateTestIdentifier(), QTest::qExec(), QTest::qExec(), QTest::qInit(), and runTests().
Here is the call graph for this function:
Here is the caller graph for this function:| void tstQDir | ( | ) |
[19]
[19]
Definition at line 125 of file src_qtestlib_qtestcase.cpp.
References dir, QTest::ignoreMessage(), and QtWarningMsg.
Here is the call graph for this function:| void verifyString | ( | ) |
[27]
[32]
[32] [33]
[33]
Definition at line 193 of file src_qtestlib_qtestcase.cpp.
References arg, QIODevice::errorString(), file, QFile::fileName(), QFile::open(), qPrintable, QVERIFY, QVERIFY2, and QIODeviceBase::WriteOnly.
Here is the call graph for this function:| void wrapInFunction | ( | ) |