diff options
author | Aaron Kennedy <aaron.kennedy@nokia.com> | 2010-04-20 13:45:04 +1000 |
---|---|---|
committer | Aaron Kennedy <aaron.kennedy@nokia.com> | 2010-04-20 13:45:49 +1000 |
commit | caeb2d433189a500ad52c66ed1eb0d46a4723988 (patch) | |
tree | a5bb0887b9a3cf550f8e6886bec48754cace3273 /tests/auto/declarative/qdeclarativedom | |
parent | b86087963b7b45c2970c612322b2d0425ac7cda3 (diff) |
Complete tst_qdeclarativedom::position autotest
Diffstat (limited to 'tests/auto/declarative/qdeclarativedom')
-rw-r--r-- | tests/auto/declarative/qdeclarativedom/tst_qdeclarativedom.cpp | 3 |
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 1f0c47cd73..a951827569 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) |