Reinstate disabled part of qsortfilterproxymodel test

This test function has been disabled since before the tests were
imported into the Qt repository in 2006, but seems to pass today, at
least on Linux.

Change-Id: I8ff90a11a0fbb260d66b20ae735b5f21c450a5af
Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
This commit is contained in:
Jason McDonald 2011-11-01 16:45:36 +10:00 committed by Qt by Nokia
parent 5eb0a7be74
commit e9b5cd0266

View File

@ -103,7 +103,7 @@ private slots:
void filterColumns();
void filterTable();
// void filterCurrent();
void filterCurrent();
void changeSourceLayout();
void removeSourceRows_data();
@ -1492,7 +1492,6 @@ void tst_QSortFilterProxyModel::removeAfterSelect()
QVERIFY(view.selectionModel()->selectedIndexes().size() > 0); // Should still have a selection
}
#if 0 // this test is disabled for now
void tst_QSortFilterProxyModel::filterCurrent()
{
QStandardItemModel model(2, 1);
@ -1511,7 +1510,6 @@ void tst_QSortFilterProxyModel::filterCurrent()
proxy.setFilterRegExp(QRegExp("^B"));
QCOMPARE(spy.count(), 2);
}
#endif
void tst_QSortFilterProxyModel::changeSourceLayout()
{