[SOLVED] Testing QAbstractItemModel::data
General and Desktop
3
Posts
2
Posters
2.5k
Views
1
Watching
-
Hello,
I'm working on a model / view software, and so have a couple of QxxxModel.
I manage my unitary tests with the QTest library.I want to test my QxxxModel::data() methods on my unitary tests.
I perhaps miss something, but is there a way to construct QModelIndex with specific row / column for testing purpose?
Thanks!