qt5base-lts/tests/auto/network/ssl/qsslkey
Tor Arne Vestbø bef57b317f testlib: Deprecate QWARN() in favor of qWarning()
The QtTest best practices documentations recommends using output
mechanisms such as qDebug() and qWarning() for diagnostic messages,
and this is also what most of our own tests do.

The QWARN() macro and corresponding internal QTest::qWarn() function
was added when QtTest was first implemented, but was likely meant as
an internal implementation detail, like its cousin QTestLog::info(),
which does not have any corresponding macro.

This theory is backed by our own QtTest self-test (tst_silent)
describing the output from QWARN() as "an internal testlib warning".

The only difference between QWARN() and qWarning(), besides the much
richer feature set of the latter, is that qWarning() will not pass
on file and line number information in release mode, but QWARN() will.
This is an acceptable loss of functionality, considering that the user
can override this behavior by defining QT_MESSAGELOGCONTEXT.

[ChangeLog][QtTest] QWARN() has been deprecated in favor of qWarning()

Pick-to: 6.2
Change-Id: I5a2431ce48c47392244560dd520953b9fc735c85
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
2021-08-04 19:31:51 +02:00
..
keys Add support for Diffie-Hellman keys to QSslKey 2018-11-23 22:58:05 +00:00
.gitignore Moved network autotests into new directory structure 2011-09-09 09:32:17 +02:00
BLACKLIST tst_QSslKey: remove blacklist 2020-11-30 23:11:04 +01:00
CMakeLists.txt CMake: Regenerate projects to use new qt_internal_ API 2020-09-23 16:59:06 +02:00
rsa-with-passphrase-3des.pem ssl: add a test for 3DES encrypted keys 2014-08-30 17:24:05 +02:00
rsa-with-passphrase-aes128.pem QSslKey - add a support for AES encrypted keys 2019-03-08 05:36:14 +00:00
rsa-with-passphrase-aes192.pem QSslKey - add a support for AES encrypted keys 2019-03-08 05:36:14 +00:00
rsa-with-passphrase-aes256.pem QSslKey - add a support for AES encrypted keys 2019-03-08 05:36:14 +00:00
rsa-with-passphrase-des.pem ssl: add a test for 3DES encrypted keys 2014-08-30 17:24:05 +02:00
rsa-with-passphrase-rc2.pem ssl: common key parser support for encrypted keys 2014-09-02 23:16:25 +02:00
rsa-without-passphrase.pem Moved network autotests into new directory structure 2011-09-09 09:32:17 +02:00
tst_qsslkey.cpp testlib: Deprecate QWARN() in favor of qWarning() 2021-08-04 19:31:51 +02:00