diff options
author | Richard Moe Gustavsen <richard.gustavsen@qt.io> | 2018-08-07 10:09:49 +0200 |
---|---|---|
committer | Richard Moe Gustavsen <richard.gustavsen@qt.io> | 2018-08-07 09:02:04 +0000 |
commit | 1b493d992c1876f280e2cade5ea4a92bd4acbf38 (patch) | |
tree | e2c384a983fba5fc0f7272a5ff6a2cc334cd066c /tests/auto/quick/qquicktableview/tst_qquicktableview.cpp | |
parent | 7400b03e679d7144bdae9b5acf05c1e2fce697c8 (diff) |
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>
Diffstat (limited to 'tests/auto/quick/qquicktableview/tst_qquicktableview.cpp')
-rw-r--r-- | tests/auto/quick/qquicktableview/tst_qquicktableview.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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); |