qt5base-lts/tests/auto/corelib/io
Mitch Curtis 658b9697f9 Add QDebug::toString()
This template function streams the given object into a QDebug instance
that operates on a string, and then returns that string.

This function is useful for cases where you need the textual
representation of an object for debugging, but cannot use operator<<.
A good example of this is when writing tests where you want to provide
a useful failure message involving details about an object, but must
provide it in a string to e.g. QVERIFY2.

[ChangeLog][QtCore][QDebug] Added static template toString() function,
which streams the given object into a QDebug instance that operates on
a string, and then returns that string.

Fixes: QTBUG-82309
Change-Id: I8411394e899dedad19cec788d779a4515d52ba11
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
2020-02-22 14:16:59 +01:00
..
largefile Regenerate tests/auto/corelib/io 2019-11-12 17:24:44 +00:00
qabstractfileengine Regenerate projects one last time before merge 2020-02-12 17:30:49 +00:00
qbuffer Regenerate tests/auto/corelib/io 2019-11-12 17:24:44 +00:00
qdataurl Regenerate projects one last time before merge 2020-02-12 17:30:49 +00:00
qdebug Add QDebug::toString() 2020-02-22 14:16:59 +01:00
qdir Regenerate projects one last time before merge 2020-02-12 17:30:49 +00:00
qdiriterator Regenerate projects one last time before merge 2020-02-12 17:30:49 +00:00
qfile Merge remote-tracking branch 'origin/5.15' into dev 2020-02-13 18:31:40 +01:00
qfileinfo Regenerate projects one last time before merge 2020-02-12 17:30:49 +00:00
qfileselector Regenerate coreliob/io tests 2019-08-15 10:57:01 +00:00
qfilesystementry Regenerate projects one last time before merge 2020-02-12 17:30:49 +00:00
qfilesystemmetadata Regenerate projects one last time before merge 2020-02-12 17:30:49 +00:00
qfilesystemwatcher Merge remote-tracking branch 'origin/dev' into merge-dev 2020-01-24 13:17:33 +01:00
qiodevice Regenerate tests/auto/corelib/io 2019-11-12 17:24:44 +00:00
qipaddress Regenerate projects one last time before merge 2020-02-12 17:30:49 +00:00
qlockfile Merge remote-tracking branch 'origin/dev' into merge-dev 2020-01-24 13:17:33 +01:00
qloggingcategory Regenerate projects one last time before merge 2020-02-12 17:30:49 +00:00
qloggingregistry Regenerate projects one last time before merge 2020-02-12 17:30:49 +00:00
qnodebug Merge remote-tracking branch 'origin/dev' into merge-dev 2020-01-24 13:17:33 +01:00
qprocess QProcess: remove deprecated signature of finished signal 2020-01-28 12:34:06 +01:00
qprocess-noapplication Regenerate tests/auto/corelib/io 2019-11-12 17:24:44 +00:00
qprocessenvironment Regenerate tests/auto/corelib/io 2019-11-12 17:24:44 +00:00
qresourceengine QResource: Add API to get the decompressed content 2020-01-15 12:36:59 -08:00
qsavefile Merge remote-tracking branch 'origin/dev' into merge-dev 2020-01-24 13:17:33 +01:00
qsettings Regenerate projects one last time before merge 2020-02-12 17:30:49 +00:00
qstandardpaths Merge remote-tracking branch 'origin/dev' into wip/cmake 2019-11-19 13:53:21 +01:00
qstorageinfo Regenerate projects one last time before merge 2020-02-12 17:30:49 +00:00
qtemporarydir Regenerate projects one last time before merge 2020-02-12 17:30:49 +00:00
qtemporaryfile Regenerate projects one last time before merge 2020-02-12 17:30:49 +00:00
qurl Remove QUrl::topLevelDomain 2020-02-20 21:41:54 +01:00
qurlinternal Remove QUrl::topLevelDomain 2020-02-20 21:41:54 +01:00
qurlquery Regenerate projects one last time before merge 2020-02-12 17:30:49 +00:00
.prev_CMakeLists.txt Regenerate coreliob/io tests 2019-08-15 10:57:01 +00:00
CMakeLists.txt Regenerate coreliob/io tests 2019-08-15 10:57:01 +00:00
io.pro Modernize the "settings" feature 2018-11-15 17:20:15 +00:00