qt5base-lts/tests/auto/network/socket
Edward Welbourne a93a9ea915 Fix QFAIL() to interract correctly with QEXPECT_FAIL()
Previously, it went direct to QTestResults::addFailure() without going
via the checking for expected failure. Add QTestResults::fail() to
take care of this checking, as for verify() and compare().

Tidied up the code implementing expected failure and QFAIL(), while I
was about it. Adjusted an existing test to verify that expecting a
QFAIL() works, by using QFAIL() instead of QVERIFY(false).

Remove the QVERIFY(false) whose comment brought this to my attention.

[ChangeLog][QtTestLib][QFAIL] QEXPECT_FAIL() now correctly anticipates
a subsequent QFAIL(). Previously QFAIL() counted as a fail regardless.

Change-Id: Icc28cf70e5ff3006363791ea03aa01f2f591eb71
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io>
2021-06-15 18:55:16 +02:00
..
platformsocketengine Remove the qmake project files 2021-01-07 15:32:28 +01:00
qabstractsocket Remove the qmake project files 2021-01-07 15:32:28 +01:00
qhttpsocketengine Remove .prev_CMakeLists.txt files 2021-01-12 20:59:13 +01:00
qlocalsocket QWindowsPipeReader: determine pipe state before signaling 2021-04-06 11:27:41 +03:00
qsctpsocket Remove the qmake project files 2021-01-07 15:32:28 +01:00
qsocks5socketengine Remove .prev_CMakeLists.txt files 2021-01-12 20:59:13 +01:00
qtcpserver Blacklist tst_QTcpServer::linkLocal on macOS ARM 2021-05-26 21:24:40 +02:00
qtcpsocket Blacklist problematic network auto-tests on macOS ARM 2021-05-26 12:49:56 +02:00
qudpsocket Fix QFAIL() to interract correctly with QEXPECT_FAIL() 2021-06-15 18:55:16 +02:00
CMakeLists.txt Android: blacklist a list of failing tests for android 2020-11-04 12:27:49 +02:00