Use QAbstractItemModelTester in all QSortFilterProxyModel tests
This patch installs a QAbstractItemModelTester in the QSortFilterProxyModel tests. Change-Id: I9bdcc21ba12f919c91c5b9514a5f4362437318c2 Reviewed-by: David Faure <david.faure@kdab.com>
This commit is contained in:
parent
ae6dc7d6df
commit
72e802f3b0
@ -72,6 +72,7 @@ void tst_QSortFilterProxyModel::initTestCase()
|
||||
m_model = new QStandardItemModel(0, 1);
|
||||
m_proxy = new QSortFilterProxyModel();
|
||||
m_proxy->setSourceModel(m_model);
|
||||
new QAbstractItemModelTester(m_proxy, this);
|
||||
}
|
||||
|
||||
void tst_QSortFilterProxyModel::cleanupTestCase()
|
||||
|
Loading…
Reference in New Issue
Block a user