Name Description Size Coverage
CMakeLists.txt 611 -
modelstotest.cpp To add a model to be tested add the header file to the includes and impliment what is needed in the four functions below. You can add more then one model, several Qt models and included as examples. In tst_qitemmodel.cpp a new ModelsToTest object is created for each test. When you have errors fix the first ones first. Later tests depend upon them working 11126 -
README 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. 392 -
tst_qitemmodel.cpp ! See modelstotest.cpp for instructions on how to have your model tested with these tests. Each test such as rowCount have a _data() function which populate the QTest data with the tests specified by modelstotest.cpp and any extra data needed for that particular test. setupWithNoTestData() fills the QTest data with just the tests and is used by most tests. 53419 -