Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
qtestsupport_core.h File Reference

(8e504bfeb7872e6d604cd19719f84a5794091386)

#include <QtCore/qcoreapplication.h>
#include <QtCore/qdeadlinetimer.h>
#include <chrono>
+ Include dependency graph for qtestsupport_core.h:
+ This graph shows which files directly or indirectly include this file:

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 >
bool QTest::qWaitFor (Functor predicate, QDeadlineTimer deadline=QDeadlineTimer(std::chrono::seconds{5}))
 
template<typename Functor >
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)