From 1b493d992c1876f280e2cade5ea4a92bd4acbf38 Mon Sep 17 00:00:00 2001 From: Richard Moe Gustavsen Date: Tue, 7 Aug 2018 10:09:49 +0200 Subject: QQuickTableView, auto test: ensure we flick more than one page The included test only flicked one page while testing reusing of items. This must have been an oversight. It should flick several pages while running the test. Change-Id: I74899a540c9428c663bbf35b78e260c26ddaf700 Reviewed-by: Mitch Curtis --- tests/auto/quick/qquicktableview/tst_qquicktableview.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/auto/quick/qquicktableview/tst_qquicktableview.cpp') diff --git a/tests/auto/quick/qquicktableview/tst_qquicktableview.cpp b/tests/auto/quick/qquicktableview/tst_qquicktableview.cpp index bc0990862f..b4c672e5e2 100644 --- a/tests/auto/quick/qquicktableview/tst_qquicktableview.cpp +++ b/tests/auto/quick/qquicktableview/tst_qquicktableview.cpp @@ -1180,7 +1180,7 @@ void tst_QQuickTableView::checkIfDelegatesAreReused() LOAD_TABLEVIEW("countingtableview.qml"); const qreal delegateWidth = 100; - const int pageFlickCount = 1; + const int pageFlickCount = 4; auto model = TestModelAsVariant(100, 100); tableView->setModel(model); -- cgit v1.2.3