Doc: Mark qRegisterTestCase as new in Qt 6.5

Also remove reference to QTestCaseEvent loop class, which
is not documented.

Pick-to: 6.5
Change-Id: Ic09b3b102db535dfb090b9a4072ad29515a911ae
Reviewed-by: Mikołaj Boc <Mikolaj.Boc@qt.io>
This commit is contained in:
Kai Köhne 2022-12-22 17:07:14 +01:00
parent 50218659a4
commit 9ae91ac318

View File

@ -2420,6 +2420,8 @@ void QTest::qCleanup()
The \a name will be listed when running the batch test binary with no
parameters. Running the test binary with the argv[1] of \a name will result
in \a entryFunction being called.
\since 6.5
*/
void QTest::qRegisterTestCase(const QString &name, TestEntryFunction entryFunction)
{
@ -3040,7 +3042,7 @@ bool QTest::currentTestFailed()
This applies if the test has failed or exercised a skip. When it is true,
the test function should return early. In particular, the \c{QTRY_*} macros
and \l QTestEventLoop terminate their loops early if executed during the
and the test event loop terminate their loops early if executed during the
test function (but not its cleanup()). After a test has called a helper
function that uses this module's macros, it can use this function to test
whether to return early.