qt5base-lts/tests/auto/corelib/io/qloggingregistry
Kai Koehne b3871dc804 Make parsing of categories in logging rules consistent.
The documentation says that the left side of a logging rule has the syntax

<category>[.<type>]

with optional wildcard '*' as the first or the last character (or at
both positions.

However, so far we didn't allow

qt.*.debug

But what we did allow is implicit dropping of trailing '.', e.g.

qt.* matched also 'qt'

Fix these by splitting up the '.type' in advance, and then do string
matching only on the 'real' category names.

Change-Id: Iab50ad0fc673464e870f5ab8dfb3245d829b3107
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
2014-03-13 13:26:14 +01:00
..
qloggingregistry.pro Allow configuration of logging rules from file system 2014-02-11 20:59:15 +01:00
qtlogging.ini Logging: Change 'rules' section name to 'Rules' 2014-02-26 12:58:00 +01:00
tst_qloggingregistry.cpp Make parsing of categories in logging rules consistent. 2014-03-13 13:26:14 +01:00