qt5base-lts/tests/auto/corelib/itemmodels/qitemmodel
Friedemann Kleint 8f1acd29e4 Merge remote-tracking branch 'origin/5.12' into 5.13
Change-Id: I71cc71881fb638e207d83a8733bad8f267701c0f
2019-03-26 08:27:02 +01:00
..
.gitignore
modelstotest.cpp Fix use of deprecated ItemDataRoles Background/TextColorRole 2018-11-05 21:58:37 +00:00
qitemmodel.pro Remove QT_DISABLE_DEPRECATED_BEFORE=0 from tests not using deprecated API. 2015-09-01 16:57:46 +00:00
README
tst_qitemmodel.cpp Merge remote-tracking branch 'origin/5.12' into 5.13 2019-03-26 08:27:02 +01:00

This is a QStandardItemModel test.  It will help catch a lot of simple problems.  You should still create your own test for custom functionality and functions that your model has.

Add your model to the modelstotest.cpp file (qt model's are included as examples) and modify the pro file accordingly.  Fix the errors in order of failure as later tests assume the ones before them have passed.