qt5base-lts/tests/auto/corelib/kernel/qitemmodel
Jason McDonald 94fc875079 Cleanup corelib autotests
Tidy the autotest .pro files.  Most autotest .pro files should look like
this:

CONFIG += testcase
TARGET = tst_something
QT = core testlib
SOURCES = tst_something.cpp

Change-Id: I877c2194e9fa9dd13478d117895e1e255a948ad7
Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
2011-11-11 02:45:05 +01:00
..
.gitignore Moving relevant tests to corelib/kernel 2011-09-01 12:42:14 +02:00
modelstotest.cpp Fix autotest gui/widgets dependencies 2011-09-19 10:24:25 +02:00
qitemmodel.pro Cleanup corelib autotests 2011-11-11 02:45:05 +01:00
README Moving relevant tests to corelib/kernel 2011-09-01 12:42:14 +02:00
tst_qitemmodel.cpp Cleanup corelib autotests 2011-11-07 13:26:41 +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.