summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEdward Welbourne <edward.welbourne@qt.io>2022-07-25 17:04:14 +0200
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2022-12-01 06:59:16 +0000
commit77568d7bcbd84335dc499de70c73a215ed77433b (patch)
tree3c9ca7b30509cca7d76e2079f698f91a1b9ef0a5
parent821b9938579959d258121c4afb801d392b2ed536 (diff)
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 <paul.wicking@qt.io> (cherry picked from commit b3262c7e540c446c5570c3ebf999adea48b2e2e4) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
-rw-r--r--src/testlib/qtestcase.cpp4
1 files changed, 3 insertions, 1 deletions
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