diff options
author | Thiago Macieira <thiago.macieira@intel.com> | 2014-01-20 16:03:30 -0800 |
---|---|---|
committer | Thiago Macieira <thiago.macieira@intel.com> | 2015-02-15 06:35:43 +0000 |
commit | f5b609cac864e010085d5965b84832b2d85643e6 (patch) | |
tree | ccb339e9bb957c25591192b62590158d867f5d84 /examples/widgets/tools/echoplugin/echowindow/echowindow.cpp | |
parent | 8d9d2a7b8568c4c067252e6ca9eea45de7a743a5 (diff) | |
download | qtbase-f5b609cac864e010085d5965b84832b2d85643e6.tar.gz |
Make the printing of complex byte arrays prettier
Similar to what we've done to QString, only we print each byte that is
not ASCII as \OOO (octal representation).
[ChangeLog][QtTest] QtTest now prints an escaped version of
QByteArrays that failed to compare with QCOMPARE, instead of the hex
dump.
Change-Id: I6a8c43f138c66c998280998a242b43cd579666a0
Reviewed-by: Richard J. Moore <rich@kde.org>
Diffstat (limited to 'examples/widgets/tools/echoplugin/echowindow/echowindow.cpp')
0 files changed, 0 insertions, 0 deletions