summaryrefslogtreecommitdiffstats
path: root/tests/auto/testlib/selftests/blacklisted/tst_blacklisted.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/testlib/selftests/blacklisted/tst_blacklisted.cpp')
-rw-r--r--tests/auto/testlib/selftests/blacklisted/tst_blacklisted.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/testlib/selftests/blacklisted/tst_blacklisted.cpp b/tests/auto/testlib/selftests/blacklisted/tst_blacklisted.cpp
index a419c13160..86f445b926 100644
--- a/tests/auto/testlib/selftests/blacklisted/tst_blacklisted.cpp
+++ b/tests/auto/testlib/selftests/blacklisted/tst_blacklisted.cpp
@@ -89,7 +89,7 @@ static void abort_handler(int)
void tst_Blacklisted::messages()
{
qWarning("This is a warning that should not appear in silent test output");
- QWARN("This is an internal testlib warning that should not appear in silent test output");
+ QTestLog::warn("This is an internal testlib warning that should not appear in silent test output", __FILE__, __LINE__);
qDebug("This is a debug message that should not appear in silent test output");
qCritical("This is a critical message that should not appear in silent test output");
qInfo("This is an info message that should not appear in silent test output");