diff options
author | Frederik Gladhorn <frederik.gladhorn@digia.com> | 2014-05-13 22:12:48 +0200 |
---|---|---|
committer | Frederik Gladhorn <frederik.gladhorn@digia.com> | 2014-05-13 22:12:48 +0200 |
commit | bf332f213bce8ee4d139572baf0934620f5d8103 (patch) | |
tree | 4706f8378a16910999d3d6bbb6d1ab9cbf232a14 /tests/auto/quick/qquicklistview/tst_qquicklistview.cpp | |
parent | cf7166e266e20d3da940b9f58d8631d23cc38482 (diff) | |
parent | c4a8d4a747559433e94d4af56c810ef86244d91f (diff) |
Merge remote-tracking branch 'origin/stable' into dev
Change-Id: I24827851643247b938b3a1b7182864293e5c3fe7
Diffstat (limited to 'tests/auto/quick/qquicklistview/tst_qquicklistview.cpp')
-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 29755e3890..5cc3c7e642 100644 --- a/tests/auto/quick/qquicklistview/tst_qquicklistview.cpp +++ b/tests/auto/quick/qquicklistview/tst_qquicklistview.cpp @@ -3012,6 +3012,10 @@ void tst_QQuickListView::cacheBuffer() controller.incubateWhile(&b); } + // negative cache buffer is ignored + listview->setCacheBuffer(-1); + QCOMPARE(listview->cacheBuffer(), 200); + delete window; delete testObject; } |