qt5base-lts/tests/auto/corelib/io/qloggingregistry
Marc Mutz 16f927a4f1 QLoggingRegistry: use QStringView/QLatin1String more
- QLoggingRule::parse() and the ctor take pattern as QStringView

- parseNextLine takes lines as QStringView and produces the pattern as
  QStringView for QLoggingRule

- (setContent has to wait for QStringTokenizer)

- QLoggingRule::pass()'s first argument is always QLatin1String, so
  take it as one

Use chopped() more, add a std::move().

Change-Id: Ic95ea77464a9922fef452846bc6d5053bd5de56e
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
2020-03-05 13:03:13 +02:00
..
android_testdata.qrc Android: Fix QLoggingRegistry test 2014-12-22 09:27:55 +01:00
qloggingregistry.pro Support for Q_OS_ANDROID_EMBEDDED and android-embedded build flags 2018-01-20 18:16:59 +00:00
qtlogging.ini Logging: Change 'rules' section name to 'Rules' 2014-02-26 12:58:00 +01:00
tst_qloggingregistry.cpp QLoggingRegistry: use QStringView/QLatin1String more 2020-03-05 13:03:13 +02:00