diff options
author | Aaron Kennedy <aaron.kennedy@nokia.com> | 2010-04-20 03:45:04 (GMT) |
---|---|---|
committer | Aaron Kennedy <aaron.kennedy@nokia.com> | 2010-04-20 03:45:49 (GMT) |
commit | caeb2d433189a500ad52c66ed1eb0d46a4723988 (patch) | |
tree | a5bb0887b9a3cf550f8e6886bec48754cace3273 /tests/auto/declarative/qdeclarativedom | |
parent | b86087963b7b45c2970c612322b2d0425ac7cda3 (diff) | |
download | Qt-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.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 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) |