summaryrefslogtreecommitdiffstats
path: root/tests/auto/widgets/itemviews/qcolumnview/tst_qcolumnview.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/widgets/itemviews/qcolumnview/tst_qcolumnview.cpp')
-rw-r--r--tests/auto/widgets/itemviews/qcolumnview/tst_qcolumnview.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/auto/widgets/itemviews/qcolumnview/tst_qcolumnview.cpp b/tests/auto/widgets/itemviews/qcolumnview/tst_qcolumnview.cpp
index 82fe134fb7..e7a1a7092f 100644
--- a/tests/auto/widgets/itemviews/qcolumnview/tst_qcolumnview.cpp
+++ b/tests/auto/widgets/itemviews/qcolumnview/tst_qcolumnview.cpp
@@ -976,6 +976,11 @@ void tst_QColumnView::parentCurrentIndex()
QTest::qWait(ANIMATION_DELAY);
QTRY_COMPARE(view.createdColumns[0]->currentIndex(), first);
QTRY_COMPARE(view.createdColumns[1]->currentIndex(), second);
+
+ // The next two lines should be removed when QTBUG-22707 is resolved.
+ QEXPECT_FAIL("", "QTBUG-22707", Abort);
+ QVERIFY(view.createdColumns[2]);
+
QTRY_COMPARE(view.createdColumns[2]->currentIndex(), third);
}