From 27b67c5399bc068b4bff34dc53b07b0f6b277617 Mon Sep 17 00:00:00 2001 From: Olivier Goffart Date: Sat, 2 Aug 2014 20:15:33 +0200 Subject: Logging: use the known function when the first frame of the backtrace is unknown Change-Id: Ia591805c82e7bf77dc7af04f1054c7daca58eb6a Reviewed-by: Thiago Macieira Reviewed-by: Olivier Goffart --- tests/auto/corelib/global/qlogging/tst_qlogging.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tests/auto/corelib/global/qlogging/tst_qlogging.cpp') diff --git a/tests/auto/corelib/global/qlogging/tst_qlogging.cpp b/tests/auto/corelib/global/qlogging/tst_qlogging.cpp index 1df5404995..ccf0d2d4a8 100644 --- a/tests/auto/corelib/global/qlogging/tst_qlogging.cpp +++ b/tests/auto/corelib/global/qlogging/tst_qlogging.cpp @@ -720,7 +720,8 @@ void tst_qmessagehandler::qMessagePattern_data() #endif QTest::newRow("backtrace depth,separator") << "[%{backtrace depth=2 separator=\"\n\"}] %{message}" << true << (QList() - << "[MyClass::myFunction\nMyClass::mySlot1] from_a_function 34"); + << "[MyClass::myFunction\nMyClass::mySlot1] from_a_function 34" + << "[T::T\n"); #endif } -- cgit v1.2.3