qt5base-lts/tests/auto/gui/painting
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
..
qbrush Fix: QBrush autotest failure on Android and Wayland 2021-03-11 07:03:45 +00:00
qcolor QColorTrcLut: hold in shared_ptr 2021-07-12 22:16:41 +02:00
qcolorspace Improve tst_QColorSpace::imageConversion64PM test 2021-06-16 12:23:41 +02:00
qpagelayout Remove the qmake project files 2021-01-07 15:32:28 +01:00
qpageranges Remove the qmake project files 2021-01-07 15:32:28 +01:00
qpagesize Remove the qmake project files 2021-01-07 15:32:28 +01:00
qpaintengine Remove the qmake project files 2021-01-07 15:32:28 +01:00
qpainter testlib: Deprecate QWARN() in favor of qWarning() 2021-08-04 19:31:51 +02:00
qpainterpath QPainterPath: fix handling of fill rules 2021-03-26 10:45:46 +01:00
qpainterpathstroker Remove the qmake project files 2021-01-07 15:32:28 +01:00
qpathclipper Remove the qmake project files 2021-01-07 15:32:28 +01:00
qpdfwriter Remove the qmake project files 2021-01-07 15:32:28 +01:00
qpen Remove the qmake project files 2021-01-07 15:32:28 +01:00
qpolygon Remove the qmake project files 2021-01-07 15:32:28 +01:00
qregion Remove the qmake project files 2021-01-07 15:32:28 +01:00
qtransform Remove the qmake project files 2021-01-07 15:32:28 +01:00
qwmatrix Get rid of QMatrix 2020-02-28 08:57:57 +01:00
CMakeLists.txt Rename QRangeCollection to QPageRanges, make it a proper value type 2020-11-08 11:49:54 +01:00