tests: introduce QMessageSpy / QLoggingCategoryEnabler
QMessageSpy allows us to intercept messages from qt's logging framework.
QLoggingCategoryEnabler can enable all tracing / restore it on exit.
Pick-to: 6.12
Change-Id: Ifdcb705a10a605c0a787a92c5e344ce10acca8e8
Reviewed-by: Artem Dyomin <artem.dyomin@qt.io>
| commit | 0fa0173a188aadeaf5479f2994f3fbd04692a22b |
| parent | dd0c949a36bd58e7021d6e04ef5cd7f052acc6ab |
| author | Tim Blechmann <tim.blechmann@qt.io> |
| committer | Tim Blechmann <tim.blechmann@qt.io> |
| commit time | Wed, 19 Aug 2026 01:08:25 +0000 |