![]() |
Qt 6.x
The Qt SDK
|
#include <QtCore/qcoreapplication.h>
#include <QtCore/qdeadlinetimer.h>
#include <QtCore/qthread.h>
Go to the source code of this file.
Namespaces | |
namespace | QTest |
[15] | |
Functions | |
Q_CORE_EXPORT void | QTest::qSleep (int ms) |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.Sleeps for ms milliseconds, blocking execution of the test. | |
Q_CORE_EXPORT void | QTest::qSleep (std::chrono::milliseconds msecs) |
template<typename Functor > | |
static bool | QTest::qWaitFor (Functor predicate, QDeadlineTimer deadline=QDeadlineTimer(std::chrono::seconds{5})) |
template<typename Functor > | |
static bool | QTest::qWaitFor (Functor predicate, int timeout) |
Q_CORE_EXPORT void | QTest::qWait (int ms) |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.Waits for msecs. | |
Q_CORE_EXPORT void | QTest::qWait (std::chrono::milliseconds msecs) |