diff options
author | Kai Köhne <kai.koehne@qt.io> | 2022-12-22 17:07:14 +0100 |
---|---|---|
committer | Kai Köhne <kai.koehne@qt.io> | 2023-01-16 08:38:52 +0100 |
commit | 9ae91ac318009cd424465236c4f276df625c52ac (patch) | |
tree | 71641b9f1c24fe5c95ebd55741232ffd69a857e7 /src/testlib | |
parent | 50218659a4488d6e5717ad358d289b6d5e79173b (diff) |
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>
Diffstat (limited to 'src/testlib')
-rw-r--r-- | src/testlib/qtestcase.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/testlib/qtestcase.cpp b/src/testlib/qtestcase.cpp index cebb934973..599bd2efe2 100644 --- a/src/testlib/qtestcase.cpp +++ b/src/testlib/qtestcase.cpp @@ -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. |