equal
deleted
inserted
replaced
634 // root context query sends only root object data - it doesn't fill in |
634 // root context query sends only root object data - it doesn't fill in |
635 // the children or property info |
635 // the children or property info |
636 QCOMPARE(context.objects()[0].properties().count(), 0); |
636 QCOMPARE(context.objects()[0].properties().count(), 0); |
637 QCOMPARE(context.objects()[0].children().count(), 0); |
637 QCOMPARE(context.objects()[0].children().count(), 0); |
638 |
638 |
639 QCOMPARE(context.contexts().count(), 1); |
639 QCOMPARE(context.contexts().count(), 4); |
640 QVERIFY(context.contexts()[0].debugId() >= 0); |
640 QVERIFY(context.contexts()[0].debugId() >= 0); |
641 QCOMPARE(context.contexts()[0].name(), QString("tst_QDeclarativeDebug_childContext")); |
641 QCOMPARE(context.contexts()[0].name(), QString("tst_QDeclarativeDebug_childContext")); |
642 |
642 |
643 delete q_engines; |
643 delete q_engines; |
644 delete q_context; |
644 delete q_context; |