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 <mitch.curtis@qt.io>
This commit is contained in:
parent
7400b03e67
commit
1b493d992c
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue