MCPcopy Create free account
hub / github.com/KDAB/GammaRay / init

Method init

tests/quickinspectortest.cpp:62–79  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

60 }
61
62 void init() override
63 {
64 BaseQuickTest::init();
65
66 itemModel = ObjectBroker::model(QStringLiteral("com.kdab.GammaRay.QuickItemModel"));
67 QVERIFY(itemModel);
68 new QAbstractItemModelTester(itemModel, view());
69
70 sgModel = ObjectBroker::model(QStringLiteral("com.kdab.GammaRay.QuickSceneGraphModel"));
71 QVERIFY(sgModel);
72 new QAbstractItemModelTester(sgModel, view());
73
74 inspector = ObjectBroker::object<QuickInspectorInterface *>();
75 QVERIFY(inspector);
76 inspector->setServerSideDecorationsEnabled(false);
77 inspector->selectWindow(0);
78 QTest::qWait(1);
79 }
80
81 void testModelsReparent()
82 {

Callers

nothing calls this directly

Calls 3

initFunction · 0.70
selectWindowMethod · 0.45

Tested by

no test coverage detected