qt5base-lts/tests/auto/testlib/selftests
Thiago Macieira 2c01d402e1 QDebug: pretty-print QStrings and QStringRefs
[ChangeLog][QtCore][QDebug] Printing of QStrings and QStringRefs
whenever "noquote" is not active now prints the strings in a format that
can be copied back to C++ code. All characters that aren't printable in
US-ASCII are escaped (this includes printable Unicode characters outside
of US-ASCII). Pretty-printing will not respect QTextFormat padding or
field widths.

Change-Id: I169a8a0508e24693f5652f0129defe7f709e5d08
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
2015-01-11 03:40:38 +01:00
..
alive Update license headers and add new license files 2014-09-24 12:26:19 +02:00
assert Update license headers and add new license files 2014-09-24 12:26:19 +02:00
badxml Update license headers and add new license files 2014-09-24 12:26:19 +02:00
benchlibcallgrind Update license headers and add new license files 2014-09-24 12:26:19 +02:00
benchlibcounting Update license headers and add new license files 2014-09-24 12:26:19 +02:00
benchlibeventcounter Update license headers and add new license files 2014-09-24 12:26:19 +02:00
benchliboptions Update license headers and add new license files 2014-09-24 12:26:19 +02:00
benchlibtickcounter Update license headers and add new license files 2014-09-24 12:26:19 +02:00
benchlibwalltime Update license headers and add new license files 2014-09-24 12:26:19 +02:00
cmptest Update license headers and add new license files 2014-09-24 12:26:19 +02:00
commandlinedata Update license headers and add new license files 2014-09-24 12:26:19 +02:00
counting Update license headers and add new license files 2014-09-24 12:26:19 +02:00
crashes Update license headers and add new license files 2014-09-24 12:26:19 +02:00
datatable Update license headers and add new license files 2014-09-24 12:26:19 +02:00
datetime Update license headers and add new license files 2014-09-24 12:26:19 +02:00
differentexec Update license headers and add new license files 2014-09-24 12:26:19 +02:00
exceptionthrow Update license headers and add new license files 2014-09-24 12:26:19 +02:00
expectfail Update license headers and add new license files 2014-09-24 12:26:19 +02:00
failcleanup Update license headers and add new license files 2014-09-24 12:26:19 +02:00
failinit Update license headers and add new license files 2014-09-24 12:26:19 +02:00
failinitdata Update license headers and add new license files 2014-09-24 12:26:19 +02:00
fetchbogus Update license headers and add new license files 2014-09-24 12:26:19 +02:00
findtestdata Update license headers and add new license files 2014-09-24 12:26:19 +02:00
float Update license headers and add new license files 2014-09-24 12:26:19 +02:00
globaldata Update license headers and add new license files 2014-09-24 12:26:19 +02:00
longstring Update license headers and add new license files 2014-09-24 12:26:19 +02:00
maxwarnings Update license headers and add new license files 2014-09-24 12:26:19 +02:00
multiexec Update license headers and add new license files 2014-09-24 12:26:19 +02:00
printdatatags Update license headers and add new license files 2014-09-24 12:26:19 +02:00
printdatatagswithglobaltags Update license headers and add new license files 2014-09-24 12:26:19 +02:00
qexecstringlist Update license headers and add new license files 2014-09-24 12:26:19 +02:00
silent Add QtInfoMsg 2015-01-09 13:14:05 +01:00
singleskip Update license headers and add new license files 2014-09-24 12:26:19 +02:00
skip Update license headers and add new license files 2014-09-24 12:26:19 +02:00
skipcleanup Update license headers and add new license files 2014-09-24 12:26:19 +02:00
skipinit Update license headers and add new license files 2014-09-24 12:26:19 +02:00
skipinitdata Update license headers and add new license files 2014-09-24 12:26:19 +02:00
sleep Update license headers and add new license files 2014-09-24 12:26:19 +02:00
strcmp Update license headers and add new license files 2014-09-24 12:26:19 +02:00
subtest Update license headers and add new license files 2014-09-24 12:26:19 +02:00
test QtTest tests: Remove DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0 2013-03-27 03:54:20 +01:00
verbose1 QtTest tests: Remove DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0 2013-03-27 03:54:20 +01:00
verbose2 QtTest tests: Remove DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0 2013-03-27 03:54:20 +01:00
verifyexceptionthrown Update license headers and add new license files 2014-09-24 12:26:19 +02:00
warnings Add QtInfoMsg 2015-01-09 13:14:05 +01:00
xunit Update license headers and add new license files 2014-09-24 12:26:19 +02:00
.gitignore Revert "Remove unused overload of QTest::qExec." 2011-12-12 10:43:44 +01:00
expected_alive.txt Add support for blacklisting test functions 2014-09-21 20:58:41 +02:00
expected_assert.lightxml Use new QLibraryInfo::build() in testlib to log build information. 2014-02-27 13:20:19 +01:00
expected_assert.txt Add support for blacklisting test functions 2014-09-21 20:58:41 +02:00
expected_assert.xml Use new QLibraryInfo::build() in testlib to log build information. 2014-02-27 13:20:19 +01:00
expected_assert.xunitxml Use new QLibraryInfo::build() in testlib to log build information. 2014-02-27 13:20:19 +01:00
expected_badxml.lightxml QDebug: pretty-print QStrings and QStringRefs 2015-01-11 03:40:38 +01:00
expected_badxml.txt Add support for blacklisting test functions 2014-09-21 20:58:41 +02:00
expected_badxml.xml QDebug: pretty-print QStrings and QStringRefs 2015-01-11 03:40:38 +01:00
expected_badxml.xunitxml QDebug: pretty-print QStrings and QStringRefs 2015-01-11 03:40:38 +01:00
expected_benchlibcallgrind.csv Add a CSV logging feature to the benchlib 2014-02-14 00:34:25 +01:00
expected_benchlibcallgrind.txt Add support for blacklisting test functions 2014-09-21 20:58:41 +02:00
expected_benchlibcounting.csv Add a CSV logging feature to the benchlib 2014-02-14 00:34:25 +01:00
expected_benchlibcounting.lightxml Use new QLibraryInfo::build() in testlib to log build information. 2014-02-27 13:20:19 +01:00
expected_benchlibcounting.txt Add support for blacklisting test functions 2014-09-21 20:58:41 +02:00
expected_benchlibcounting.xml Use new QLibraryInfo::build() in testlib to log build information. 2014-02-27 13:20:19 +01:00
expected_benchlibcounting.xunitxml Use new QLibraryInfo::build() in testlib to log build information. 2014-02-27 13:20:19 +01:00
expected_benchlibeventcounter.csv Add a CSV logging feature to the benchlib 2014-02-14 00:34:25 +01:00
expected_benchlibeventcounter.lightxml Use new QLibraryInfo::build() in testlib to log build information. 2014-02-27 13:20:19 +01:00
expected_benchlibeventcounter.txt Add support for blacklisting test functions 2014-09-21 20:58:41 +02:00
expected_benchlibeventcounter.xml Use new QLibraryInfo::build() in testlib to log build information. 2014-02-27 13:20:19 +01:00
expected_benchlibeventcounter.xunitxml Use new QLibraryInfo::build() in testlib to log build information. 2014-02-27 13:20:19 +01:00
expected_benchliboptions.csv Add a CSV logging feature to the benchlib 2014-02-14 00:34:25 +01:00
expected_benchliboptions.txt Add support for blacklisting test functions 2014-09-21 20:58:41 +02:00
expected_benchlibtickcounter.csv Add a CSV logging feature to the benchlib 2014-02-14 00:34:25 +01:00
expected_benchlibtickcounter.lightxml Use new QLibraryInfo::build() in testlib to log build information. 2014-02-27 13:20:19 +01:00
expected_benchlibtickcounter.txt Add support for blacklisting test functions 2014-09-21 20:58:41 +02:00
expected_benchlibtickcounter.xml Use new QLibraryInfo::build() in testlib to log build information. 2014-02-27 13:20:19 +01:00
expected_benchlibtickcounter.xunitxml Use new QLibraryInfo::build() in testlib to log build information. 2014-02-27 13:20:19 +01:00
expected_benchlibwalltime.csv Add a CSV logging feature to the benchlib 2014-02-14 00:34:25 +01:00
expected_benchlibwalltime.lightxml Use new QLibraryInfo::build() in testlib to log build information. 2014-02-27 13:20:19 +01:00
expected_benchlibwalltime.txt Add support for blacklisting test functions 2014-09-21 20:58:41 +02:00
expected_benchlibwalltime.xml Use new QLibraryInfo::build() in testlib to log build information. 2014-02-27 13:20:19 +01:00
expected_benchlibwalltime.xunitxml Use new QLibraryInfo::build() in testlib to log build information. 2014-02-27 13:20:19 +01:00
expected_cmptest.lightxml Use new QLibraryInfo::build() in testlib to log build information. 2014-02-27 13:20:19 +01:00
expected_cmptest.txt Add support for blacklisting test functions 2014-09-21 20:58:41 +02:00
expected_cmptest.xml Use new QLibraryInfo::build() in testlib to log build information. 2014-02-27 13:20:19 +01:00
expected_cmptest.xunitxml Use new QLibraryInfo::build() in testlib to log build information. 2014-02-27 13:20:19 +01:00
expected_commandlinedata.lightxml Use new QLibraryInfo::build() in testlib to log build information. 2014-02-27 13:20:19 +01:00
expected_commandlinedata.txt Add support for blacklisting test functions 2014-09-21 20:58:41 +02:00
expected_commandlinedata.xml Use new QLibraryInfo::build() in testlib to log build information. 2014-02-27 13:20:19 +01:00
expected_commandlinedata.xunitxml Use new QLibraryInfo::build() in testlib to log build information. 2014-02-27 13:20:19 +01:00
expected_counting.lightxml Use new QLibraryInfo::build() in testlib to log build information. 2014-02-27 13:20:19 +01:00
expected_counting.txt Add support for blacklisting test functions 2014-09-21 20:58:41 +02:00
expected_counting.xml Use new QLibraryInfo::build() in testlib to log build information. 2014-02-27 13:20:19 +01:00
expected_counting.xunitxml Use new QLibraryInfo::build() in testlib to log build information. 2014-02-27 13:20:19 +01:00
expected_crashes_1.txt QtTest: Output correct library name 2013-05-27 00:41:46 +02:00
expected_crashes_2.txt Add support for blacklisting test functions 2014-09-21 20:58:41 +02:00
expected_crashes_3.txt Add support for blacklisting test functions 2014-09-21 20:58:41 +02:00
expected_datatable.lightxml Use new QLibraryInfo::build() in testlib to log build information. 2014-02-27 13:20:19 +01:00
expected_datatable.txt Add support for blacklisting test functions 2014-09-21 20:58:41 +02:00
expected_datatable.xml Use new QLibraryInfo::build() in testlib to log build information. 2014-02-27 13:20:19 +01:00
expected_datatable.xunitxml Use new QLibraryInfo::build() in testlib to log build information. 2014-02-27 13:20:19 +01:00
expected_datetime.lightxml Use new QLibraryInfo::build() in testlib to log build information. 2014-02-27 13:20:19 +01:00
expected_datetime.txt Add support for blacklisting test functions 2014-09-21 20:58:41 +02:00
expected_datetime.xml Use new QLibraryInfo::build() in testlib to log build information. 2014-02-27 13:20:19 +01:00
expected_datetime.xunitxml Use new QLibraryInfo::build() in testlib to log build information. 2014-02-27 13:20:19 +01:00
expected_differentexec.txt Add support for blacklisting test functions 2014-09-21 20:58:41 +02:00
expected_exceptionthrow.lightxml Use new QLibraryInfo::build() in testlib to log build information. 2014-02-27 13:20:19 +01:00
expected_exceptionthrow.txt Add support for blacklisting test functions 2014-09-21 20:58:41 +02:00
expected_exceptionthrow.xml Use new QLibraryInfo::build() in testlib to log build information. 2014-02-27 13:20:19 +01:00
expected_exceptionthrow.xunitxml Use new QLibraryInfo::build() in testlib to log build information. 2014-02-27 13:20:19 +01:00
expected_expectfail.lightxml Use new QLibraryInfo::build() in testlib to log build information. 2014-02-27 13:20:19 +01:00
expected_expectfail.txt Add support for blacklisting test functions 2014-09-21 20:58:41 +02:00
expected_expectfail.xml Use new QLibraryInfo::build() in testlib to log build information. 2014-02-27 13:20:19 +01:00
expected_expectfail.xunitxml Use new QLibraryInfo::build() in testlib to log build information. 2014-02-27 13:20:19 +01:00
expected_failcleanup.lightxml Use new QLibraryInfo::build() in testlib to log build information. 2014-02-27 13:20:19 +01:00
expected_failcleanup.txt Add support for blacklisting test functions 2014-09-21 20:58:41 +02:00
expected_failcleanup.xml Use new QLibraryInfo::build() in testlib to log build information. 2014-02-27 13:20:19 +01:00
expected_failcleanup.xunitxml Use new QLibraryInfo::build() in testlib to log build information. 2014-02-27 13:20:19 +01:00
expected_failinit.lightxml Use new QLibraryInfo::build() in testlib to log build information. 2014-02-27 13:20:19 +01:00
expected_failinit.txt Add support for blacklisting test functions 2014-09-21 20:58:41 +02:00
expected_failinit.xml Use new QLibraryInfo::build() in testlib to log build information. 2014-02-27 13:20:19 +01:00
expected_failinit.xunitxml Use new QLibraryInfo::build() in testlib to log build information. 2014-02-27 13:20:19 +01:00
expected_failinitdata.lightxml Use new QLibraryInfo::build() in testlib to log build information. 2014-02-27 13:20:19 +01:00
expected_failinitdata.txt Add support for blacklisting test functions 2014-09-21 20:58:41 +02:00
expected_failinitdata.xml Use new QLibraryInfo::build() in testlib to log build information. 2014-02-27 13:20:19 +01:00
expected_failinitdata.xunitxml Use new QLibraryInfo::build() in testlib to log build information. 2014-02-27 13:20:19 +01:00
expected_fetchbogus.lightxml Use new QLibraryInfo::build() in testlib to log build information. 2014-02-27 13:20:19 +01:00
expected_fetchbogus.txt Add support for blacklisting test functions 2014-09-21 20:58:41 +02:00
expected_fetchbogus.xml Use new QLibraryInfo::build() in testlib to log build information. 2014-02-27 13:20:19 +01:00
expected_fetchbogus.xunitxml Use new QLibraryInfo::build() in testlib to log build information. 2014-02-27 13:20:19 +01:00
expected_findtestdata.lightxml Use new QLibraryInfo::build() in testlib to log build information. 2014-02-27 13:20:19 +01:00
expected_findtestdata.txt Add support for blacklisting test functions 2014-09-21 20:58:41 +02:00
expected_findtestdata.xml Use new QLibraryInfo::build() in testlib to log build information. 2014-02-27 13:20:19 +01:00
expected_findtestdata.xunitxml Use new QLibraryInfo::build() in testlib to log build information. 2014-02-27 13:20:19 +01:00
expected_float.txt Add support for blacklisting test functions 2014-09-21 20:58:41 +02:00
expected_globaldata.lightxml Use new QLibraryInfo::build() in testlib to log build information. 2014-02-27 13:20:19 +01:00
expected_globaldata.txt Add support for blacklisting test functions 2014-09-21 20:58:41 +02:00
expected_globaldata.xml Use new QLibraryInfo::build() in testlib to log build information. 2014-02-27 13:20:19 +01:00
expected_globaldata.xunitxml Use new QLibraryInfo::build() in testlib to log build information. 2014-02-27 13:20:19 +01:00
expected_longstring.lightxml Use new QLibraryInfo::build() in testlib to log build information. 2014-02-27 13:20:19 +01:00
expected_longstring.txt Add support for blacklisting test functions 2014-09-21 20:58:41 +02:00
expected_longstring.xml Use new QLibraryInfo::build() in testlib to log build information. 2014-02-27 13:20:19 +01:00
expected_longstring.xunitxml Use new QLibraryInfo::build() in testlib to log build information. 2014-02-27 13:20:19 +01:00
expected_maxwarnings.lightxml Use new QLibraryInfo::build() in testlib to log build information. 2014-02-27 13:20:19 +01:00
expected_maxwarnings.txt Add support for blacklisting test functions 2014-09-21 20:58:41 +02:00
expected_maxwarnings.xml Use new QLibraryInfo::build() in testlib to log build information. 2014-02-27 13:20:19 +01:00
expected_maxwarnings.xunitxml Use new QLibraryInfo::build() in testlib to log build information. 2014-02-27 13:20:19 +01:00
expected_multiexec.txt Add support for blacklisting test functions 2014-09-21 20:58:41 +02:00
expected_printdatatags.txt Fixing naming of selftests. 2011-12-05 09:02:15 +01:00
expected_printdatatagswithglobaltags.txt Fixing naming of selftests. 2011-12-05 09:02:15 +01:00
expected_qexecstringlist.txt Add support for blacklisting test functions 2014-09-21 20:58:41 +02:00
expected_silent.txt Add support for blacklisting test functions 2014-09-21 20:58:41 +02:00
expected_singleskip.lightxml Use new QLibraryInfo::build() in testlib to log build information. 2014-02-27 13:20:19 +01:00
expected_singleskip.txt Add support for blacklisting test functions 2014-09-21 20:58:41 +02:00
expected_singleskip.xml Use new QLibraryInfo::build() in testlib to log build information. 2014-02-27 13:20:19 +01:00
expected_singleskip.xunitxml Use new QLibraryInfo::build() in testlib to log build information. 2014-02-27 13:20:19 +01:00
expected_skip.lightxml Use new QLibraryInfo::build() in testlib to log build information. 2014-02-27 13:20:19 +01:00
expected_skip.txt Add support for blacklisting test functions 2014-09-21 20:58:41 +02:00
expected_skip.xml Use new QLibraryInfo::build() in testlib to log build information. 2014-02-27 13:20:19 +01:00
expected_skip.xunitxml Use new QLibraryInfo::build() in testlib to log build information. 2014-02-27 13:20:19 +01:00
expected_skipcleanup.lightxml Use new QLibraryInfo::build() in testlib to log build information. 2014-02-27 13:20:19 +01:00
expected_skipcleanup.txt Add support for blacklisting test functions 2014-09-21 20:58:41 +02:00
expected_skipcleanup.xml Use new QLibraryInfo::build() in testlib to log build information. 2014-02-27 13:20:19 +01:00
expected_skipcleanup.xunitxml Use new QLibraryInfo::build() in testlib to log build information. 2014-02-27 13:20:19 +01:00
expected_skipinit.lightxml Use new QLibraryInfo::build() in testlib to log build information. 2014-02-27 13:20:19 +01:00
expected_skipinit.txt Add support for blacklisting test functions 2014-09-21 20:58:41 +02:00
expected_skipinit.xml Use new QLibraryInfo::build() in testlib to log build information. 2014-02-27 13:20:19 +01:00
expected_skipinit.xunitxml Use new QLibraryInfo::build() in testlib to log build information. 2014-02-27 13:20:19 +01:00
expected_skipinitdata.lightxml Use new QLibraryInfo::build() in testlib to log build information. 2014-02-27 13:20:19 +01:00
expected_skipinitdata.txt Add support for blacklisting test functions 2014-09-21 20:58:41 +02:00
expected_skipinitdata.xml Use new QLibraryInfo::build() in testlib to log build information. 2014-02-27 13:20:19 +01:00
expected_skipinitdata.xunitxml Use new QLibraryInfo::build() in testlib to log build information. 2014-02-27 13:20:19 +01:00
expected_sleep.txt Add support for blacklisting test functions 2014-09-21 20:58:41 +02:00
expected_strcmp.lightxml Use new QLibraryInfo::build() in testlib to log build information. 2014-02-27 13:20:19 +01:00
expected_strcmp.txt Add support for blacklisting test functions 2014-09-21 20:58:41 +02:00
expected_strcmp.xml Use new QLibraryInfo::build() in testlib to log build information. 2014-02-27 13:20:19 +01:00
expected_strcmp.xunitxml Use new QLibraryInfo::build() in testlib to log build information. 2014-02-27 13:20:19 +01:00
expected_subtest.lightxml Use new QLibraryInfo::build() in testlib to log build information. 2014-02-27 13:20:19 +01:00
expected_subtest.txt Add support for blacklisting test functions 2014-09-21 20:58:41 +02:00
expected_subtest.xml Use new QLibraryInfo::build() in testlib to log build information. 2014-02-27 13:20:19 +01:00
expected_subtest.xunitxml Use new QLibraryInfo::build() in testlib to log build information. 2014-02-27 13:20:19 +01:00
expected_verbose1.lightxml Use new QLibraryInfo::build() in testlib to log build information. 2014-02-27 13:20:19 +01:00
expected_verbose1.txt Add support for blacklisting test functions 2014-09-21 20:58:41 +02:00
expected_verbose1.xml Use new QLibraryInfo::build() in testlib to log build information. 2014-02-27 13:20:19 +01:00
expected_verbose1.xunitxml Use new QLibraryInfo::build() in testlib to log build information. 2014-02-27 13:20:19 +01:00
expected_verbose2.lightxml Use new QLibraryInfo::build() in testlib to log build information. 2014-02-27 13:20:19 +01:00
expected_verbose2.txt Add support for blacklisting test functions 2014-09-21 20:58:41 +02:00
expected_verbose2.xml Use new QLibraryInfo::build() in testlib to log build information. 2014-02-27 13:20:19 +01:00
expected_verbose2.xunitxml Use new QLibraryInfo::build() in testlib to log build information. 2014-02-27 13:20:19 +01:00
expected_verifyexceptionthrown.lightxml Use new QLibraryInfo::build() in testlib to log build information. 2014-02-27 13:20:19 +01:00
expected_verifyexceptionthrown.txt Add support for blacklisting test functions 2014-09-21 20:58:41 +02:00
expected_verifyexceptionthrown.xml Use new QLibraryInfo::build() in testlib to log build information. 2014-02-27 13:20:19 +01:00
expected_verifyexceptionthrown.xunitxml Use new QLibraryInfo::build() in testlib to log build information. 2014-02-27 13:20:19 +01:00
expected_warnings.lightxml Add QtInfoMsg 2015-01-09 13:14:05 +01:00
expected_warnings.txt Add QtInfoMsg 2015-01-09 13:14:05 +01:00
expected_warnings.xml Add QtInfoMsg 2015-01-09 13:14:05 +01:00
expected_warnings.xunitxml Add QtInfoMsg 2015-01-09 13:14:05 +01:00
expected_xunit.lightxml Use new QLibraryInfo::build() in testlib to log build information. 2014-02-27 13:20:19 +01:00
expected_xunit.txt Add support for blacklisting test functions 2014-09-21 20:58:41 +02:00
expected_xunit.xml Use new QLibraryInfo::build() in testlib to log build information. 2014-02-27 13:20:19 +01:00
expected_xunit.xunitxml Use new QLibraryInfo::build() in testlib to log build information. 2014-02-27 13:20:19 +01:00
generate_expected_output.py Update license headers and add new license files 2014-09-24 12:26:19 +02:00
selftests.pri Add QVERIFY_EXCEPTION_THROWN macro for testing exceptions using QtTest 2013-11-26 07:37:06 +01:00
selftests.pro Changed selftests unittest to work from installation directory. 2012-01-11 04:09:26 +01:00
selftests.qrc Add a CSV logging feature to the benchlib 2014-02-14 00:34:25 +01:00
tst_selftests.cpp Update license headers and add new license files 2014-09-24 12:26:19 +02:00