summaryrefslogtreecommitdiffstats
path: root/src/testlib/qtestcase.qdoc
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2017-02-23 10:32:31 +0100
committerLiang Qi <liang.qi@qt.io>2017-02-23 10:07:57 +0000
commit35fa30e65d26b9e4840cfa793ed8369b3475c1fd (patch)
treef7bc9a23b01682eedfab4f5113afa1c1764515f6 /src/testlib/qtestcase.qdoc
parent21298aad45ebf770122d9f843b379a077239ecc1 (diff)
Revert "testlib: Add qWaitFor to wait for predicate"
This reverts commit 3b38392844dd9e145a4783445fd3c96e84bb94d1. The change caused test compile failures with MSVC2015 in qqmlsettings; a variable was not captured in the lambda expression. This appears to be a compiler bug of MSVC. Task-number: QTBUG-59096 Change-Id: I3bf5288eb005b2e1661819bb33bc54fb944d0150 Reviewed-by: Liang Qi <liang.qi@qt.io> Reviewed-by: Jan Arve Sæther <jan-arve.saether@qt.io> Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Diffstat (limited to 'src/testlib/qtestcase.qdoc')
-rw-r--r--src/testlib/qtestcase.qdoc15
1 files changed, 0 insertions, 15 deletions
diff --git a/src/testlib/qtestcase.qdoc b/src/testlib/qtestcase.qdoc
index f7d816b8f9..8f3d140add 100644
--- a/src/testlib/qtestcase.qdoc
+++ b/src/testlib/qtestcase.qdoc
@@ -1062,21 +1062,6 @@
\sa QTest::qSleep(), QSignalSpy::wait()
*/
-/*! \fn void QTest::qWaitFor(Predicate predicate, int timeout)
-
- Waits for \a timeout milliseconds or until the \a predicate returns true.
-
- Returns \c true if the \a preciate returned true within \a timeout milliseconds, otherwise returns \c false.
-
- Example:
- \snippet code/src_qtestlib_qtestcase.cpp 30
-
- The code above will wait for the object to become ready, for a
- maximum of three seconds.
-
- \since 5.9
-*/
-
/*! \fn bool QTest::qWaitForWindowExposed(QWindow *window, int timeout)
\since 5.0