summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorKai Koehne <kai.koehne@nokia.com>2011-03-30 11:42:06 (GMT)
committerKai Koehne <kai.koehne@nokia.com>2011-03-30 11:42:06 (GMT)
commite442459e15100c2fcff0f101d8004213c2ce6960 (patch)
tree57b58b476698398543cf197553a3315827d6b62d /tests
parent30d7d4d990f9734ed8cdf418ee5c8361a1633b42 (diff)
downloadQt-e442459e15100c2fcff0f101d8004213c2ce6960.zip
Qt-e442459e15100c2fcff0f101d8004213c2ce6960.tar.gz
Qt-e442459e15100c2fcff0f101d8004213c2ce6960.tar.bz2
QDeclarativeDebug: Fix test case
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/declarative/qdeclarativedebug/tst_qdeclarativedebug.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/declarative/qdeclarativedebug/tst_qdeclarativedebug.cpp b/tests/auto/declarative/qdeclarativedebug/tst_qdeclarativedebug.cpp
index 4597ab4..d3c7032 100644
--- a/tests/auto/declarative/qdeclarativedebug/tst_qdeclarativedebug.cpp
+++ b/tests/auto/declarative/qdeclarativedebug/tst_qdeclarativedebug.cpp
@@ -1012,7 +1012,7 @@ void tst_QDeclarativeDebug::setBindingForObject()
// set handler
//
rootObject = findRootObject();
- QCOMPARE(rootObject.children().size(), 3);
+ QCOMPARE(rootObject.children().size(), 4); // Rectangle, Text, MouseArea, QDeclarativeComponentAttached
QDeclarativeDebugObjectReference mouseAreaObject = rootObject.children().at(2);
QDeclarativeDebugObjectQuery *q_obj = m_dbg->queryObjectRecursive(mouseAreaObject, this);
waitForQuery(q_obj);