path: root/tests/auto/corelib/global/
Commit message (Collapse)AuthorAgeFilesLines
* Allow customization of qDebug output at runtimeKai Koehne2012-02-091-1/+1
| | | | | | | | | | | | | Check the QT_OUTPUT_PATTERN environment variable in the default message handler to customize the output of messages. Following place holders are right now supported: %{message}, %{type}, %{file}, %{line}, %{function} The original cleanupFuncinfo was written by Thiago Macieira. Change-Id: I6ad25baaa0e6a1c9f886105d2a93ef3310e512a9 Reviewed-by: Olivier Goffart <> Reviewed-by: David Faure <>
* QtDebug: Include file, line, function informationKai Koehne2012-02-011-1/+2
| | | | | | | | | | | | | | Record the file, line, and function where a qDebug, qWarning, qCritical or qFatal call happens, and make this information available in a custom message handler. The patch uses the C preprocessor to replace qDebug, qWarning, ... with a line that also records the current file, line, and function. Custom message handlers can access this information via a new QMessageLogContext argument. Change-Id: I0a9b89c1d137e41775932d3b1a35da4ebf12d18d Reviewed-by: David Faure <>
* Moving relevant tests to corelib/globalHolger Ihrig2011-08-301-0/+8
Task-number: QTBUG-21066 Change-Id: I011e601f599e11365c76598631a443b82ab9fb30 Reviewed-on: Reviewed-by: Qt Sanity Bot <> Reviewed-by: Rohan McGovern <> Reviewed-by: Sergio Ahumada <> Reviewed-by: Jason McDonald <>