qt6-bb10/tests/auto/corelib
Christian Ehrlicher cdc608359a QSortFilterProxyModel test: fix failing appearsAndSort
Testcase appearsAndSort failed when running the complete testcase but
not as single test. More irritating was the fact that the error was in
QAbstractItemModelTester::headerDataChanged() but the affected test did
not change any header nor does it use the blamed model...
The reason for this is, that QAbstractProxyModel emits a queued
headerDataChanged signal when the header item count changes and
therefore only evaluated when the event loop is run.
Fix it by calling processEvents() after the rowCount change in
filterColumns().
Amends 72e802f3b0

Pick-to: 6.6 6.5
Change-Id: I10cb5aa9c40a6925113cc9c23616774bf15784a4
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
2023-07-07 21:35:47 +00:00
..
animation CMake: Make corelib tests standalone projects 2023-07-05 15:09:32 +02:00
global CMake: Make corelib tests standalone projects 2023-07-05 15:09:32 +02:00
io CMake: Make corelib tests standalone projects 2023-07-05 15:09:32 +02:00
ipc CMake: Make corelib tests standalone projects 2023-07-05 15:09:32 +02:00
itemmodels QSortFilterProxyModel test: fix failing appearsAndSort 2023-07-07 21:35:47 +00:00
kernel CMake: Make corelib tests standalone projects 2023-07-05 15:09:32 +02:00
mimetypes CMake: Make corelib tests standalone projects 2023-07-05 15:09:32 +02:00
platform CMake: Make corelib tests standalone projects 2023-07-05 15:09:32 +02:00
plugin CMake: Make corelib tests standalone projects 2023-07-05 15:09:32 +02:00
serialization CMake: Make corelib tests standalone projects 2023-07-05 15:09:32 +02:00
text QAnyStringView: add QDebug stream operator 2023-07-06 02:18:38 +00:00
thread CMake: Make corelib tests standalone projects 2023-07-05 15:09:32 +02:00
time CMake: Make corelib tests standalone projects 2023-07-05 15:09:32 +02:00
tools CMake: Make corelib tests standalone projects 2023-07-05 15:09:32 +02:00
CMakeLists.txt tests: Remove remains of qmake conversion from CMakeLists.txt files 2023-02-17 21:56:49 +01:00