aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/quick/qquicklistview/tst_qquicklistview.cpp
diff options
context:
space:
mode:
authorFrederik Gladhorn <frederik.gladhorn@digia.com>2014-05-14 21:48:44 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-05-15 08:25:53 +0200
commit815838373a0b645f099c84e201b3dd8c7db6f953 (patch)
tree11a248ee328e8e0fb4cdfb4e69111778944094d6 /tests/auto/quick/qquicklistview/tst_qquicklistview.cpp
parent10069a0f7ab4a5698eadc9e9628198e800c945bf (diff)
parentbf332f213bce8ee4d139572baf0934620f5d8103 (diff)
Merge "Merge remote-tracking branch 'origin/stable' into dev" into refs/staging/dev
Diffstat (limited to 'tests/auto/quick/qquicklistview/tst_qquicklistview.cpp')
-rw-r--r--tests/auto/quick/qquicklistview/tst_qquicklistview.cpp4
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;
}