diff options
author | Jason McDonald <jason.mcdonald@nokia.com> | 2011-11-01 16:45:36 +1000 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2011-11-02 05:44:34 +0100 |
commit | e9b5cd0266cf51631969898300849c2dcc3ae9d6 (patch) | |
tree | 9b332598587d0d2f5f0958feee00ceee47af9f53 /tests/auto/widgets | |
parent | 5eb0a7be7432b33eab8c7c63b7e9baf3023fa612 (diff) |
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>
Diffstat (limited to 'tests/auto/widgets')
-rw-r--r-- | tests/auto/widgets/itemviews/qsortfilterproxymodel/tst_qsortfilterproxymodel.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/auto/widgets/itemviews/qsortfilterproxymodel/tst_qsortfilterproxymodel.cpp b/tests/auto/widgets/itemviews/qsortfilterproxymodel/tst_qsortfilterproxymodel.cpp index def1794041..8e628411fc 100644 --- a/tests/auto/widgets/itemviews/qsortfilterproxymodel/tst_qsortfilterproxymodel.cpp +++ b/tests/auto/widgets/itemviews/qsortfilterproxymodel/tst_qsortfilterproxymodel.cpp @@ -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() { |