diff options
author | Martin Jones <martin.jones@nokia.com> | 2009-11-18 04:25:10 (GMT) |
---|---|---|
committer | Martin Jones <martin.jones@nokia.com> | 2009-11-18 04:25:10 (GMT) |
commit | a84c87af73058cb9ce7716aa2c9e767c8851369c (patch) | |
tree | 24b59609d1a35e7e82a34c30340c1732b4a161e0 | |
parent | eb58c6b1448eb39cb762bdbcc7fc006057bba325 (diff) | |
download | Qt-a84c87af73058cb9ce7716aa2c9e767c8851369c.zip Qt-a84c87af73058cb9ce7716aa2c9e767c8851369c.tar.gz Qt-a84c87af73058cb9ce7716aa2c9e767c8851369c.tar.bz2 |
On more Repeater test.
-rw-r--r-- | tests/auto/declarative/repeater/tst_repeater.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
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() |