qt5base-lts/tests/auto/corelib/kernel/qitemmodel
Rohan McGovern 3385fb91e1 Fixed installation of corelib tests
In .pro files, removed wince/symbian-specific DEPLOYMENT cases and
replaced them with TESTDATA where appropriate.

In .cpp files, removed SRCDIR and relative paths to testdata and
replaced them with the QFINDTESTDATA macro where appropriate.

Modified test helper apps/libs to install themselves under the test
they relate to.

This change allows corelib tests to be correctly installed, along with
their testdata, via `make install'.

Change-Id: I5e202e2f3b577af7e39072d5c9fe13e0ca125304
Reviewed-by: Jason McDonald <jason.mcdonald@nokia.com>
2011-12-01 09:12:52 +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 Fixed installation of corelib tests 2011-12-01 09:12:52 +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-14 07:33:57 +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.