diff options
author | Tor Arne Vestbø <tor.arne.vestbo@qt.io> | 2021-07-31 15:49:19 +0200 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2021-08-01 13:05:19 +0000 |
commit | fe83bc697f09da5eaeeb9179f2dd5abd9ff2f91d (patch) | |
tree | 859f5e9c78bc108c014662268186a5e5cc66bdd6 /src/testlib | |
parent | b35d4fed91ec7f358df6864ca28ab3bc9fbbd897 (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.
Change-Id: I18472fba173ce1323748f1f87301a4defa87020e
Reviewed-by: Giuseppe D'Angelo <giuseppe.dangelo@kdab.com>
(cherry picked from commit 07d8885cccdb759532715598e18ecbe1c1282d25)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'src/testlib')
-rw-r--r-- | src/testlib/qabstractitemmodeltester.cpp | 3 |
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. |