qt5base-lts/tests/auto/corelib/itemmodels/qitemmodel
Friedemann Kleint 884e3bdd5d tst_QItemModel: Use a QTemporaryDir for test data of QDirModel.
Change-Id: I5943c6656da93d36e1955ac038bf656831da0c5c
Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@theqtcompany.com>
2015-11-27 22:50:26 +00:00
..
.gitignore Move the qitemmodel test to the itemmodels directory. 2012-01-06 17:21:25 +01:00
modelstotest.cpp tst_QItemModel: Use a QTemporaryDir for test data of QDirModel. 2015-11-27 22:50:26 +00:00
qitemmodel.pro Set the Qt API level to compatibility mode in all tests. 2012-08-01 15:37:46 +02:00
README Move the qitemmodel test to the itemmodels directory. 2012-01-06 17:21:25 +01:00
tst_qitemmodel.cpp tst_QItemModel: Register QAbstractItemModel::LayoutChangeHint. 2015-11-25 20:49:51 +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.