summaryrefslogtreecommitdiffstats
path: root/src/testlib/qabstractitemmodeltester.cpp
diff options
context:
space:
mode:
authorTor Arne Vestbø <tor.arne.vestbo@qt.io>2021-07-31 15:49:19 +0200
committerTor Arne Vestbø <tor.arne.vestbo@qt.io>2021-08-01 12:44:14 +0200
commit07d8885cccdb759532715598e18ecbe1c1282d25 (patch)
tree686dbb6402c822909dd48d67ee10910e1791a262 /src/testlib/qabstractitemmodeltester.cpp
parent9f092c1077db4d3c9bab57f5f4b74d906ecddb7d (diff)
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 <giuseppe.dangelo@kdab.com>
Diffstat (limited to 'src/testlib/qabstractitemmodeltester.cpp')
-rw-r--r--src/testlib/qabstractitemmodeltester.cpp3
1 files changed, 1 insertions, 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.