qt5base-lts/tests/auto/testlib
Christian Ehrlicher 9016def4dc tst_QAbstractItemModelTester: fix unittest
rowsAboutToBeMoved() and rowsMoved() signals aren't emitted for
QSortFilterProxyModel, which meant the two connections in the
ObservingObject's constructor didn't trigger the slots, which let the
test pass (the store/checkPersistentFailureCount stayed at 0).

- Instead connect to layoutAboutToBeChanged() and layoutChanged()
  respectively, these two are emitted for QSFPM
- Use PMF syntax
- Verify m_persistent{Proxy,Source}Indexes aren't empty

Change-Id: I8b83989de02c2bfb22bde9b230cb5b68814f74b6
Reviewed-by: David Faure <david.faure@kdab.com>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
2023-09-08 19:17:36 +03:00
..
initmain Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
outformat Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qabstractitemmodeltester tst_QAbstractItemModelTester: fix unittest 2023-09-08 19:17:36 +03:00
qsignalspy CMake: Make qtbase tests standalone projects 2023-07-05 15:09:32 +02:00
selftests tst_selftests: split the qFatal() test away from tst_Silent 2023-09-06 12:36:06 -07:00
tostring CMake: Make qtbase tests standalone projects 2023-07-05 15:09:32 +02:00
CMakeLists.txt Move the formatting of <chrono> durations to QDebug & QtTest 2023-05-06 17:54:23 +00:00