qt6-bb10/tests/auto/network/ssl
Marc Mutz ba0c2c4b46 tst_qsslsocket: remove tons of deprecation warnings
The TLS v1.0 and v1.1 enums are all deprecated since 6.3. At the same
time, the test requires their use, because none of the peers seeem to
implement TLS v1.2, yet (cf. e.g. QTQAINFRA-4499).

Fix by copying the relevant enum values into global variables and
using those. This is a selective way to deal with the issue. The use
of the enums is so widespread in the test that the alternative would
have been to globally suppress deprecation warnings, which, however,
may suppress warnings we may actually want to fix.

Pick-to: 6.3
Change-Id: I4186be72209527fc404f3ba0a5a15f9719c64698
Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io>
Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io>
2022-04-12 00:48:17 +02:00
..
qasn1element Remove the qmake project files 2021-01-07 15:32:28 +01:00
qdtls tst_QDtls: Move the function declaration outside the function 2021-07-02 13:05:32 +00:00
qdtlscookie QDtls(Cookie) autotests - use the proper API to detect DTLS support 2021-06-03 20:08:32 +02:00
qocsp Introduce a mini-version of qsslsocket_openssl_symbols_p.h/.cpp 2021-06-09 20:55:49 +02:00
qpassworddigestor Remove the qmake project files 2021-01-07 15:32:28 +01:00
qsslcertificate Tests: Do not depend on transitive includes 2022-03-17 17:14:37 +01:00
qsslcipher Remove the qmake project files 2021-01-07 15:32:28 +01:00
qssldiffiehellmanparameters Fix auto-tests that are fooled by the presence of more than one plugin 2021-05-27 06:41:26 +02:00
qsslellipticcurve Fix auto-tests that are fooled by the presence of more than one plugin 2021-05-27 06:41:26 +02:00
qsslerror Remove the qmake project files 2021-01-07 15:32:28 +01:00
qsslkey testlib: Deprecate QWARN() in favor of qWarning() 2021-08-04 19:31:51 +02:00
qsslsocket tst_qsslsocket: remove tons of deprecation warnings 2022-04-12 00:48:17 +02:00
qsslsocket_onDemandCertificates_member CI: Blacklist failing networks tests for QNX qemu 2022-04-07 15:39:22 +03:00
qsslsocket_onDemandCertificates_static tests: Remove unused SRCDIR defines 2021-08-17 12:41:57 +00:00
shared Tests: Do not depend on transitive includes 2022-03-17 17:14:37 +01:00
CMakeLists.txt Move plugin code from QtNetwork to qtbase/plugins 2021-04-22 22:51:54 +02:00