diff options
author | Martin Smith <martin.smith@qt.io> | 2018-01-15 15:57:12 +0100 |
---|---|---|
committer | Martin Smith <martin.smith@qt.io> | 2018-01-18 06:31:53 +0000 |
commit | 52d761e60ade70f08c01d24e2b6a4dd2165d2a4a (patch) | |
tree | 60df8de7df95102f93abfd79847940e601e7ca45 /src/testlib/qtestcase.qdoc | |
parent | 0a3061e87153bc4822bca6138ce64cfa12ea7539 (diff) |
doc: Fix remaining clang parsing errors in QtTest
This update also corrects all the remaining qdoc warnings
in the mnodule.
Change-Id: I1cea2cb1dd515d075a1e49a52ca78fc407c3a324
Reviewed-by: Topi Reiniƶ <topi.reinio@qt.io>
Diffstat (limited to 'src/testlib/qtestcase.qdoc')
-rw-r--r-- | src/testlib/qtestcase.qdoc | 55 |
1 files changed, 53 insertions, 2 deletions
diff --git a/src/testlib/qtestcase.qdoc b/src/testlib/qtestcase.qdoc index 24bb1c3a97..0fb1cc6a8a 100644 --- a/src/testlib/qtestcase.qdoc +++ b/src/testlib/qtestcase.qdoc @@ -877,7 +877,42 @@ */ /*! - \fn char *QTest::toString(const T &value) + \fn template <typename T1, typename T2> char *QTest::toString(const QPair<T1, T2> &pair) + \overload + \since 5.11 + Returns a textual representation of the \a pair. +*/ + +/*! + \fn template <typename T1, typename T2> char *QTest::toString(const std::pair<T1, T2> &pair) + \overload + \since 5.11 + Returns a textual representation of the \a pair. +*/ + +/*! + \fn char *QTest::toString(const QVector2D &v) + \overload + \since 5.11 + Returns a textual representation of the 2D vector \a v. +*/ + +/*! + \fn char *QTest::toString(const QVector3D &v) + \overload + \since 5.11 + Returns a textual representation of the 3D vector \a v. +*/ + +/*! + \fn char *QTest::toString(const QVector4D &v) + \overload + \since 5.11 + Returns a textual representation of the 4D vector \a v. +*/ + +/*! + \fn template<typename T> char *QTest::toString(const T &value) Returns a textual representation of \a value. This function is used by \l QCOMPARE() to output verbose information in case of a test failure. @@ -928,6 +963,22 @@ */ /*! + \fn char *QTest::toString(const QStringView &string) + \overload + \since 5.11 + + Returns a textual representation of the given \a string. +*/ + +/*! + \fn char *QTest::toString(const QUuid &uuid) + \overload + \since 5.11 + + Returns a textual representation of the given \a uuid. +*/ + +/*! \fn char *QTest::toString(const QString &string) \overload @@ -1075,7 +1126,7 @@ \sa QTest::qSleep(), QSignalSpy::wait() */ -/*! \fn void QTest::qWaitFor(Functor predicate, int timeout) +/*! \fn template <typename Functor> bool QTest::qWaitFor(Functor predicate, int timeout) Waits for \a timeout milliseconds or until the \a predicate returns true. |