diff options
author | Olivier Goffart <olivier.goffart@nokia.com> | 2010-08-20 15:36:49 (GMT) |
---|---|---|
committer | Olivier Goffart <olivier.goffart@nokia.com> | 2010-08-20 16:03:55 (GMT) |
commit | 2c39814588782f9b30f5205258f72fe5c1dea358 (patch) | |
tree | 62b537d8de227019c330534608a082ac50eba7d3 /tests | |
parent | c6b9ed9c2c0a8617e1d076fcad8f72e60156f455 (diff) | |
download | Qt-2c39814588782f9b30f5205258f72fe5c1dea358.zip Qt-2c39814588782f9b30f5205258f72fe5c1dea358.tar.gz Qt-2c39814588782f9b30f5205258f72fe5c1dea358.tar.bz2 |
QDeclarativeDebug: stream all the context, including the internals ones.
Some public context are within the internal context, so we need to stream
them to get every objects
Reviewed-by: Lasse Holmstedt
Diffstat (limited to 'tests')
-rw-r--r-- | tests/auto/declarative/qdeclarativedebug/tst_qdeclarativedebug.cpp | 2 |
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 4a945f3..20ccccb 100644 --- a/tests/auto/declarative/qdeclarativedebug/tst_qdeclarativedebug.cpp +++ b/tests/auto/declarative/qdeclarativedebug/tst_qdeclarativedebug.cpp @@ -636,7 +636,7 @@ void tst_QDeclarativeDebug::queryRootContexts() QCOMPARE(context.objects()[0].properties().count(), 0); QCOMPARE(context.objects()[0].children().count(), 0); - QCOMPARE(context.contexts().count(), 1); + QCOMPARE(context.contexts().count(), 4); QVERIFY(context.contexts()[0].debugId() >= 0); QCOMPARE(context.contexts()[0].name(), QString("tst_QDeclarativeDebug_childContext")); |