| CMakeLists.txt |
|
591 |
- |
| tst_qitemview.cpp |
!
See viewstotest.cpp for instructions on how to have your view tested with these tests.
Each test such as visualRect have a _data() function which populate the QTest data with
tests specified by viewstotest.cpp and any extra data needed for that particular test.
setupWithNoTestData() fills QTest data with only the tests it is used by most tests.
There are some basic qDebug statements sprikled about that might be helpfull for
fixing your issues.
|
31036 |
- |
| viewstotest.cpp |
To add a view to be tested add the header file to the includes
and impliment what is needed in the functions below.
You can add more then one view, several Qt views are included as examples.
In tst_qitemview.cpp a new ViewsToTest object is created for each test.
When you have errors fix the first ones first. Later tests depend upon them working
|
4820 |
- |