From caeb2d433189a500ad52c66ed1eb0d46a4723988 Mon Sep 17 00:00:00 2001 From: Aaron Kennedy Date: Tue, 20 Apr 2010 13:45:04 +1000 Subject: Complete tst_qdeclarativedom::position autotest QTBUG-10036 --- tests/auto/declarative/qdeclarativedom/tst_qdeclarativedom.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/auto/declarative/qdeclarativedom/tst_qdeclarativedom.cpp b/tests/auto/declarative/qdeclarativedom/tst_qdeclarativedom.cpp index 1f0c47c..a951827 100644 --- a/tests/auto/declarative/qdeclarativedom/tst_qdeclarativedom.cpp +++ b/tests/auto/declarative/qdeclarativedom/tst_qdeclarativedom.cpp @@ -1303,7 +1303,8 @@ void tst_qdeclarativedom::position() QCOMPARE(child2Value.length(), 6); // All QDeclarativeDomList - qWarning("QDeclarativeListValue position test required"); + QCOMPARE(childrenList.position(), 189); + QCOMPARE(childrenList.length(), 18); } QTEST_MAIN(tst_qdeclarativedom) -- cgit v0.12