qt5base-lts/tests/auto/corelib/kernel/qitemmodel
Jason McDonald 578e6d6834 Cleanup corelib autotests
Remove various disabled and/or non-helpful debugging code.

Any test diagnostics that are useful should be part of the regular test
output, as the CI system cannot switch on commented-out code when there
is a test failure.  Diagnostics should also be informative -- simply
printing the value of a variable with no other information about what is
being printed (or why it is being printed) is not informative.

Change-Id: I21a6c2121be86001bb57e80f426507b6e619ee9e
Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
2011-11-14 07:33:57 +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-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.