summaryrefslogtreecommitdiffstats
path: root/src/testlib/qtestlog.cpp
diff options
context:
space:
mode:
authorMarc Mutz <[email protected]>2024-07-22 11:06:27 +0200
committerMarc Mutz <[email protected]>2024-08-03 10:30:05 +0000
commita15ff49be73228bbbc72989736d32059322c414f (patch)
treeb0fbefbd1d879ba45438dadce0f0ef25f7dc51a1 /src/testlib/qtestlog.cpp
parentb2b0a5df25c32c3c36c731e2f5ca092edc2c8385 (diff)
QTest: simplify qPrintDataTags() string building
Use higher-level API (QByteArray::chopped()/operator+()) instead of new[] and qsnprintf(). methodSignature() already heavily depends on QByteArray concatenation, therefore trying to avoid using Qt code in QtTest is pointless, at least here. Drive-by indent lines so a follow-up port to std::fsprintf() will not have to re-indent these lines again. Amends b68bae1132b5dc5c8f55435c72cd48e24aa52ec9. Pick-to: 6.8 6.7 6.5 Change-Id: I94ec440d7e6d09196cf87cd3dbbfd765e0df69d0 Reviewed-by: Volker Hilsheimer <[email protected]>
Diffstat (limited to 'src/testlib/qtestlog.cpp')
0 files changed, 0 insertions, 0 deletions