Remove stale test data from qsortfilterproxymodel test
authorJason McDonald <jason.mcdonald@nokia.com>
Tue, 1 Nov 2011 05:59:40 +0000 (15:59 +1000)
committerQt by Nokia <qt-info@nokia.com>
Wed, 2 Nov 2011 04:44:27 +0000 (05:44 +0100)
The removed test data has been disabled since before the tests were
added to the Qt repository in June 2006, and was incomplete (the
"pattern" field was missing).

Change-Id: I974d03a4dcca76ba1a20f740372702612c8ce02b
Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
tests/auto/widgets/itemviews/qsortfilterproxymodel/tst_qsortfilterproxymodel.cpp

index 8922f05..def1794 100644 (file)
@@ -1351,49 +1351,6 @@ void tst_QSortFilterProxyModel::filterHierarchy_data()
     QTest::newRow("simple hierarchy") << "b.*z"
         << (QStringList() << "baz" << "<" << "boz" << "<" << "moo" << ">" << ">")
         << (QStringList() << "baz" << "<" << "boz" << ">");
-#if 0
-    QTest::newRow("hierarchical")
-        << (QStringList()
-            << "a"
-                   << "<"
-                   << "x"
-                   << "y"
-                   << "z"
-                   << ">"
-            << "b"
-                   << "<"
-                   << "k"
-                          << "<"
-                          << "7"
-                          << "8"
-                          << "9"
-                          << ">"
-                   << "l"
-                   << "m"
-                   << ">"
-            << "c"
-                   << "<"
-                   << "g"
-                   << "h"
-                          << "<"
-                          << "0"
-                          << "1"
-                          << "2"
-                          << ">"
-                   << "i"
-                   << ">")
-        << (QStringList()
-            << "a"
-                   << "<"
-                   << "x"
-                   << "z"
-                   << ">"
-            << "c"
-                   << "<"
-                   << "g"
-                   << "i"
-                   << ">");
-#endif
 }
 
 void tst_QSortFilterProxyModel::filterHierarchy()