summaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/qdeclarativedom
diff options
context:
space:
mode:
authorAaron Kennedy <aaron.kennedy@nokia.com>2010-04-20 03:45:04 (GMT)
committerAaron Kennedy <aaron.kennedy@nokia.com>2010-04-20 03:45:49 (GMT)
commitcaeb2d433189a500ad52c66ed1eb0d46a4723988 (patch)
treea5bb0887b9a3cf550f8e6886bec48754cace3273 /tests/auto/declarative/qdeclarativedom
parentb86087963b7b45c2970c612322b2d0425ac7cda3 (diff)
downloadQt-caeb2d433189a500ad52c66ed1eb0d46a4723988.zip
Qt-caeb2d433189a500ad52c66ed1eb0d46a4723988.tar.gz
Qt-caeb2d433189a500ad52c66ed1eb0d46a4723988.tar.bz2
Complete tst_qdeclarativedom::position autotest
QTBUG-10036
Diffstat (limited to 'tests/auto/declarative/qdeclarativedom')
-rw-r--r--tests/auto/declarative/qdeclarativedom/tst_qdeclarativedom.cpp3
1 files changed, 2 insertions, 1 deletions
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)