tests/auto/qtableview/tst_qtableview.cpp
branchRCL_3
changeset 14 c0432d11811c
parent 8 3f74d0d4af4c
--- a/tests/auto/qtableview/tst_qtableview.cpp	Wed Apr 21 12:15:23 2010 +0300
+++ b/tests/auto/qtableview/tst_qtableview.cpp	Wed Apr 21 20:15:53 2010 +0300
@@ -3035,6 +3035,14 @@
       << QPoint(0, 0)
       << 1
       << 1;
+
+    QTest::newRow("QTBUG-9631: remove one span")
+      << 10 << 10
+      << (SpanList() << QRect(1, 1, 2, 1) << QRect(2, 2, 2, 2) << QRect(1, 1, 1, 1))
+      << false
+      << QPoint(1, 1)
+      << 1
+      << 1;
 }
 
 void tst_QTableView::spans()