Name Description Size Coverage
android -
CMakeLists.txt 1983 -
doc -
qtestoptions_p.h 817 -
quicktest.cpp ! \since 5.13 Returns \c true if \l {QQuickItem::}{updatePolish()} has not been called on \a item since the last call to \l {QQuickItem::}{polish()}, otherwise returns \c false. When assigning values to properties in QML, any layouting the item must do as a result of the assignment might not take effect immediately, but can instead be postponed until the item is polished. For these cases, you can use this function to ensure that the item has been polished before the execution of the test continues. For example: \code QVERIFY(QQuickTest::qIsPolishScheduled(item)); QVERIFY(QQuickTest::qWaitForItemPolished(item)); \endcode Without the call to \c qIsPolishScheduled() above, the call to \c qWaitForItemPolished() might see that no polish was scheduled and therefore pass instantly, assuming that the item had already been polished. This function makes it obvious why an item wasn't polished and allows tests to fail early under such circumstances. The QML equivalent of this function is \l {TestCase::}{isPolishScheduled()}. \sa QQuickItem::polish(), QQuickItem::updatePolish() 29526 -
quicktest.h 3404 -
quicktest_p.h 2764 -
quicktestevent.cpp 14423 -
quicktestevent_p.h 3261 -
quicktestglobal.h 326 -
quicktestglobal_p.h 587 -
quicktestresult.cpp ! \qmltype TestResult \internal 22964 -
quicktestresult_p.h 4821 -
quicktestutil.cpp 2878 -
quicktestutil_p.h 1866 -
SignalSpy.qml 7867 -
TestCase.qml 80757 -
testlogger.js 1486 -
TestSchedule.qml 724 -