From 77568d7bcbd84335dc499de70c73a215ed77433b Mon Sep 17 00:00:00 2001 From: Edward Welbourne Date: Mon, 25 Jul 2022 17:04:14 +0200 Subject: QDoc-ify QTest::runningTest()'s comment While it's being picked into 6.3, it's not present in 6.3.[01], so I've left it out of QDoc's sight (even though it's still \internal) for the version picked to 6.3, but let's include it in internal docs as "from 6.4" since that's the first minor release to contain it. Change-Id: I1704a1ca4ba1231d0213e9ca236ef8401a59ddd0 Reviewed-by: Paul Wicking (cherry picked from commit b3262c7e540c446c5570c3ebf999adea48b2e2e4) Reviewed-by: Qt Cherry-pick Bot --- src/testlib/qtestcase.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/testlib/qtestcase.cpp b/src/testlib/qtestcase.cpp index 35f3d1722f..8c52d63696 100644 --- a/src/testlib/qtestcase.cpp +++ b/src/testlib/qtestcase.cpp @@ -2977,7 +2977,9 @@ bool QTest::currentTestFailed() return QTestResult::currentTestFailed(); } -/* +/*! + \internal + \since 6.4 Returns \c true during the run of the test-function and its set-up. Used by the \c{QTRY_*} macros and \l QTestEventLoop to check whether to -- cgit v1.2.3