qt5base-lts/tests/auto
Thiago Macieira 62b752b3a2 Do the same for qDebug of QByteArray and QLatin1String
QLatin1String are actually Unicode, so print them with \uXXXX sequences.
QByteArray are binary (arbitrary), so print as hex. Since hex escape
sequences in C are not limited in length (\x00000F is a valid hex
sequence), we need to insert "" if the next character is a valid hex
digit.

[ChangeLog][QtCore][QDebug] Similarly, printing of QByteArrays whenever
"noquote" is not active now prints the arrays in a format consumable in
C++, with all non-printable characters printed in hex escape sequences.

Change-Id: Ibd0c1a97cbac98610c65c1091bfbcf5581c835db
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
2015-01-11 03:40:43 +01:00
..
android Remove old test script & project. 2014-12-20 07:42:09 +01:00
bic/data test: Add 5.1.0 bic data for linux-gcc-ia32 2013-07-08 21:47:36 +02:00
cmake Fix cmake test_moc_macro_target with namespace 2014-12-30 10:05:58 +01:00
compilerwarnings/data Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
concurrent Update license headers and add new license files 2014-09-24 12:26:19 +02:00
corelib Do the same for qDebug of QByteArray and QLatin1String 2015-01-11 03:40:43 +01:00
dbus Remove the old QDBusConnection::sender functionality 2015-01-06 19:41:36 +01:00
gui Merge remote-tracking branch 'origin/5.4' into dev 2014-12-29 16:37:38 +01:00
guiapplauncher
installed_cmake Add a unit test for testing Qt in its install location. 2013-07-02 23:08:54 +02:00
network Merge remote-tracking branch 'origin/5.4' into dev 2014-12-29 16:37:38 +01:00
opengl Change bugreports.qt-project.org -> bugreports.qt.io 2014-12-18 09:46:09 +01:00
other Merge remote-tracking branch 'origin/5.4' into dev 2014-12-18 12:12:58 +01:00
printsupport Change bugreports.qt-project.org -> bugreports.qt.io 2014-12-18 09:46:09 +01:00
shared Android: Keyboard doesn't hide from done button 2014-10-25 07:19:35 +02:00
sql Adjust DBMSType to DbmsType to follow conventions 2014-11-26 10:47:32 +01:00
testlib QDebug: pretty-print QStrings and QStringRefs 2015-01-11 03:40:38 +01:00
tools Add annotation to rename methods created by qdbusxml2cpp 2015-01-05 12:29:14 +01:00
widgets tst_QWidget: include QTest, not QtTest 2015-01-06 22:53:19 +01:00
xml Fix QDomDocument::importNode() crashing on null nodes 2014-10-07 23:08:18 +02:00
auto.pro Temporarily disable the QtDBus tests if the session bus isn't available 2014-12-23 12:22:56 +01:00
network-settings.h Update license headers and add new license files 2014-09-24 12:26:19 +02:00
qtest-config.h Update license headers and add new license files 2014-09-24 12:26:19 +02:00
test.pl Update license headers and add new license files 2014-09-24 12:26:19 +02:00