qt6windows7/tests/auto/corelib/itemmodels/qitemmodel
2023-10-29 23:33:08 +01:00
..
CMakeLists.txt qt 6.5.1 original 2023-10-29 23:33:08 +01:00
modelstotest.cpp qt 6.5.1 original 2023-10-29 23:33:08 +01:00
README qt 6.5.1 original 2023-10-29 23:33:08 +01:00
tst_qitemmodel.cpp qt 6.5.1 original 2023-10-29 23:33:08 +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.