From a84c87af73058cb9ce7716aa2c9e767c8851369c Mon Sep 17 00:00:00 2001 From: Martin Jones Date: Wed, 18 Nov 2009 14:25:10 +1000 Subject: On more Repeater test. --- tests/auto/declarative/repeater/tst_repeater.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/auto/declarative/repeater/tst_repeater.cpp b/tests/auto/declarative/repeater/tst_repeater.cpp index c0fa645..48ebd2c 100644 --- a/tests/auto/declarative/repeater/tst_repeater.cpp +++ b/tests/auto/declarative/repeater/tst_repeater.cpp @@ -280,8 +280,10 @@ void tst_QmlGraphicsRepeater::dataModel() QCOMPARE(container->childItems().count(), 4); testModel.addItem("four", "4"); - QCOMPARE(container->childItems().count(), 5); + + testModel.removeItem(2); + QCOMPARE(container->childItems().count(), 4); } void tst_QmlGraphicsRepeater::itemModel() -- cgit v0.12