qt5base-lts/tests/auto/corelib/itemmodels/qitemmodel
Friedemann Kleint 51e501fa8d Remove QT_DISABLE_DEPRECATED_BEFORE=0 from tests not using deprecated API.
Change-Id: I1955320e7639760b4383a53f37a506c8055933ef
Reviewed-by: Liang Qi <liang.qi@theqtcompany.com>
2015-09-01 16:57:46 +00:00
..
.gitignore Move the qitemmodel test to the itemmodels directory. 2012-01-06 17:21:25 +01:00
modelstotest.cpp Update copyright headers 2015-02-11 06:49:51 +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 Move the qitemmodel test to the itemmodels directory. 2012-01-06 17:21:25 +01:00
tst_qitemmodel.cpp tests/corelib: Replace Q[TRY]_VERIFY(a == b) by Q[TRY]_COMPARE(a, b). 2015-08-19 19:06:33 +00: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.