qt6-bb10/tests/auto/corelib
David Faure 27ea5a65dd QAbstractItemModelTester: fix out-of-bounds index() calls
When removing rows, the tester is looking at the data of the row
"just before" and the row "just after" the removed rows, to see if
they are still the same at the end of the removal operation.
Guard this with bounds check, in case there is no row just before
or just after.

This is the opportunity to use modeltester in tst_qidentityproxymodel,
which was already a testcase for removing the only row in a given parent.

Change-Id: Iec8228c16b9c670b794e2665356d153679178494
Reviewed-by: Giuseppe D'Angelo <giuseppe.dangelo@kdab.com>
2018-06-27 10:11:35 +00:00
..
animation qtbase: cleanup BLACKLIST files 2018-02-13 15:20:33 +00:00
codecs Replace Q_DECL_OVERRIDE with override where possible 2017-09-19 11:53:42 +00:00
global Make tests compile for Android 2018-06-25 08:01:19 +00:00
io Make tests compile for Android 2018-06-25 08:01:19 +00:00
itemmodels QAbstractItemModelTester: fix out-of-bounds index() calls 2018-06-27 10:11:35 +00:00
kernel tst_QTimer: Replace unconditional qWait()s with QSignalSpy 2018-06-26 05:51:15 +00:00
mimetypes QMimeDatabase: fix assert when fetching data for invalid mimetype 2018-04-06 07:19:01 +00:00
plugin tst_QLibrary: Ensure installation order of testdata libs 2018-03-02 07:20:04 +00:00
serialization QJsonDocument: Avoid overflow of string lengths 2018-05-14 10:52:47 +00:00
statemachine tst_QStateMachine: Don't use unconditional waits 2018-04-04 07:07:40 +00:00
thread Make tests compile for Android 2018-06-25 08:01:19 +00:00
tools Android: tst_qtimezone: Blacklist a bunch 2018-06-27 07:52:26 +00:00
corelib.pro Create corelib/serialization and move existing file formats into it 2018-01-26 20:59:50 +00:00