diff options
author | Bea Lam <bea.lam@nokia.com> | 2010-02-11 03:13:14 (GMT) |
---|---|---|
committer | Bea Lam <bea.lam@nokia.com> | 2010-02-11 03:13:14 (GMT) |
commit | 199d5e4f0a0e72fef2c59aaefe1f843592db937e (patch) | |
tree | d8e39e722eff8fd2f79505e352f24ff3f894619a /tests/auto/declarative/qmldebug | |
parent | 8d8b2e46a7c0a7323ecbbbddc772fdb240d4373d (diff) | |
download | Qt-199d5e4f0a0e72fef2c59aaefe1f843592db937e.zip Qt-199d5e4f0a0e72fef2c59aaefe1f843592db937e.tar.gz Qt-199d5e4f0a0e72fef2c59aaefe1f843592db937e.tar.bz2 |
Clean up
Diffstat (limited to 'tests/auto/declarative/qmldebug')
-rw-r--r-- | tests/auto/declarative/qmldebug/tst_qmldebug.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/auto/declarative/qmldebug/tst_qmldebug.cpp b/tests/auto/declarative/qmldebug/tst_qmldebug.cpp index 7615f9b..82e74ce 100644 --- a/tests/auto/declarative/qmldebug/tst_qmldebug.cpp +++ b/tests/auto/declarative/qmldebug/tst_qmldebug.cpp @@ -330,9 +330,11 @@ void tst_QmlDebug::watch_object() QmlDebugEnginesQuery *q_engines = m_dbg->queryAvailableEngines(this); waitForQuery(q_engines); + Q_ASSERT(q_engines->engines().count() > 0); QmlDebugRootContextQuery *q_context = m_dbg->queryRootContexts(q_engines->engines()[0].debugId(), this); waitForQuery(q_context); + Q_ASSERT(q_context->rootContext().objects().count() > 0); QmlDebugObjectQuery *q_obj = m_dbg->queryObject(q_context->rootContext().objects()[0], this); waitForQuery(q_obj); |