From 07d8885cccdb759532715598e18ecbe1c1282d25 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tor=20Arne=20Vestb=C3=B8?= Date: Sat, 31 Jul 2021 15:49:19 +0200 Subject: [PATCH] Update QAbstractItemModelTester::FailureReportingMode documentation The key part of FailureReportingMode::QtTest is that it will result in a test failure (via QTest::qVerify); not that it's using the QtTest logging machinery. Pick-to: 6.2 Change-Id: I18472fba173ce1323748f1f87301a4defa87020e Reviewed-by: Giuseppe D'Angelo --- src/testlib/qabstractitemmodeltester.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/testlib/qabstractitemmodeltester.cpp b/src/testlib/qabstractitemmodeltester.cpp index ec7f43b5a4..48476f9716 100644 --- a/src/testlib/qabstractitemmodeltester.cpp +++ b/src/testlib/qabstractitemmodeltester.cpp @@ -184,8 +184,7 @@ private: This enumeration specifies how QAbstractItemModelTester should report a failure when it tests a QAbstractItemModel subclass. - \value QtTest The failures will be reported through - QtTest's logging mechanism. + \value QtTest The failures will be reported as QtTest test failures. \value Warning The failures will be reported as warning messages in the \c{qt.modeltest} logging category.