diff options
author | Frederik Gladhorn <frederik.gladhorn@digia.com> | 2014-05-14 21:48:44 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-05-15 08:25:53 +0200 |
commit | 815838373a0b645f099c84e201b3dd8c7db6f953 (patch) | |
tree | 11a248ee328e8e0fb4cdfb4e69111778944094d6 /tests/auto/quick/qquicklistview | |
parent | 10069a0f7ab4a5698eadc9e9628198e800c945bf (diff) | |
parent | bf332f213bce8ee4d139572baf0934620f5d8103 (diff) |
Merge "Merge remote-tracking branch 'origin/stable' into dev" into refs/staging/dev
Diffstat (limited to 'tests/auto/quick/qquicklistview')
-rw-r--r-- | tests/auto/quick/qquicklistview/tst_qquicklistview.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/auto/quick/qquicklistview/tst_qquicklistview.cpp b/tests/auto/quick/qquicklistview/tst_qquicklistview.cpp index c7e821db71..c05434166d 100644 --- a/tests/auto/quick/qquicklistview/tst_qquicklistview.cpp +++ b/tests/auto/quick/qquicklistview/tst_qquicklistview.cpp @@ -3015,6 +3015,10 @@ void tst_QQuickListView::cacheBuffer() controller.incubateWhile(&b); } + // negative cache buffer is ignored + listview->setCacheBuffer(-1); + QCOMPARE(listview->cacheBuffer(), 200); + delete window; delete testObject; } |