| 84 | } |
| 85 | |
| 86 | void init() |
| 87 | { |
| 88 | createProbe(); |
| 89 | |
| 90 | // we need one view for the plugin to activate, otherwise the model will not be available |
| 91 | view = new QQuickView; |
| 92 | view->setResizeMode(QQuickView::SizeViewToRootObject); |
| 93 | QTest::qWait(1); // event loop re-entry |
| 94 | |
| 95 | itemModel = ObjectBroker::model(QStringLiteral("com.kdab.GammaRay.QuickItemModel")); |
| 96 | QVERIFY(itemModel); |
| 97 | |
| 98 | inspector = ObjectBroker::object<QuickInspectorInterface *>(); |
| 99 | QVERIFY(inspector); |
| 100 | inspector->selectWindow(0); |
| 101 | QTest::qWait(1); |
| 102 | } |
| 103 | |
| 104 | void cleanup() |
| 105 | { |
no test coverage detected